Jump to content

Recommended Posts

Posted

Can somebody help with some file about olympiad. I am looking for a file that to count when oly starts and when oly ends. From when oly start till the end to have timer left next to opponent CP/HP

Posted
6 hours ago, xeox said:

Can somebody help with some file about olympiad. I am looking for a file that to count when oly starts and when oly ends. From when oly start till the end to have timer left next to opponent CP/HP


You need to utilise the following packet: `const S_EX_SEND_UI_EVENT = 398;`

It's structure is as follow, or at least on new chronicles:

		writeD(_objectId);
		// EVENT IDs:
		// 0 - Timer: MM:SS (Description on bottom)
		// 1 - Disable Timer
		// 2 - Green Line with percents and timer
		// 3 - Number of residues collected (N pcs.)
		// 4 - Timer: MM:SS (Description on top)
		// 5 - Blue Line with percents and timer
		// 6 - Yellow Egg progress
		// 7 - Red Egg progress
		// 5 - Line with gears, percents and timer
		writeD(_type); // EVENT_ID
		writeD(0x00); // int ASK
		writeD(0x00); // int REPLY
		writeS(String.valueOf(_countUp)); // 0 = count down, 1 = count up timer always disappears 10 seconds before end
		writeS(String.valueOf(_startTime));
		writeS(String.valueOf(_startTime2));
		writeS(String.valueOf(_endTime));
		writeS(String.valueOf(_endTime2));
		writeD(-1); // what message to display by id, if any - NPC String Id
		// you can string several writeS() below, depending on the amount of variables in the npc string. only 1 line if NPC String ID = -1
		writeS("Custom Text To Display or fill in variables in the NPC string by id"); // works in conjunction with the above line


 

Posted
18 minutes ago, Salty Mike said:


You need to utilise the following packet: `const S_EX_SEND_UI_EVENT = 398;`

It's structure is as follow, or at least on new chronicles:

		writeD(_objectId);
		// EVENT IDs:
		// 0 - Timer: MM:SS (Description on bottom)
		// 1 - Disable Timer
		// 2 - Green Line with percents and timer
		// 3 - Number of residues collected (N pcs.)
		// 4 - Timer: MM:SS (Description on top)
		// 5 - Blue Line with percents and timer
		// 6 - Yellow Egg progress
		// 7 - Red Egg progress
		// 5 - Line with gears, percents and timer
		writeD(_type); // EVENT_ID
		writeD(0x00); // int ASK
		writeD(0x00); // int REPLY
		writeS(String.valueOf(_countUp)); // 0 = count down, 1 = count up timer always disappears 10 seconds before end
		writeS(String.valueOf(_startTime));
		writeS(String.valueOf(_startTime2));
		writeS(String.valueOf(_endTime));
		writeS(String.valueOf(_endTime2));
		writeD(-1); // what message to display by id, if any - NPC String Id
		// you can string several writeS() below, depending on the amount of variables in the npc string. only 1 line if NPC String ID = -1
		writeS("Custom Text To Display or fill in variables in the NPC string by id"); // works in conjunction with the above line


 

okay thank but can you tell me this code should i cooy and paste it somewhere or what ? how can i get the full file and just paste it in sustem

Posted
48 minutes ago, xeox said:

okay thank but can you tell me this code should i cooy and paste it somewhere or what ? how can i get the full file and just paste it in sustem

What I sent is something you have in your server's core. You don't need to modify the client. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
    • I think you should check the video more carefully you missing something very important 😛      
    • Im responding to an anonymous account with 3 posts, almost no background, and practically zero useful information added to the discussion. On top of that, the topic title is misleading  calling it "Lucera Source Code" gives a completely different impression from what is actually being presented.   I didn’t say anything different. Therefore, I have no clue how his process produces the same desirable result.   And here you are creating drama. Your topic title clearly says "Lucera Source Code," which is not actually the case, or at least that’s how it looked when I first clicked on it, so I don’t think I was completely off. There’s also no significant information about your process like  what difficulties you faced, what tools you used, or anything else meaningful. Yet you still expect others to provide value based on what? I’m not talking about your project itself which, by the way, good job. I’m talking about the topic itself as a source of value for this forum, because right now it doesn’t really offer much in that regard. So regarding the semantics, yes, wording does matter.  
    • You are funny guy! 😄 😄 😄    I was working with Lucera long before “AI apps” became fashionable. This was not something I generated in one day with a prompt. It took me years of work, testing, debugging and fixing broken decompiled code.   Of course a decompiled source is not the original private repository with the original comments, history and developer structure. Nobody said it is the same Git repository. But saying it is only “guesses” is also wrong.   When you decompile, rebuild, fix thousands of compile/runtime issues, restore broken logic, reconnect scripts, fix bad casts, repair database calls, compile it again and run it in-game, at that point it is no longer just a guess.   It becomes a working reconstructed source base!   The important part is not whether it is byte-for-byte identical to the original private source. The important part is that I can now work directly inside the code, change core logic, rebuild scripts, fix bugs and continue development without being locked behind closed binaries.   Does it compile? Yes. Does it run in-game? Yes. Can I modify core systems directly? Yes. Can I continue development independently? Yes.   So call it reconstructed, decompiled, cleaned, restored or whatever name you prefer. The result is still the same: I have a working source environment that gives me control over the lucera2 project.   And that was exactly the goal!   🙂 
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..