Jump to content
  • 0

Question

Posted (edited)

Hello.

 

So I was messing around with ExServerPrimitive packet on aCis and I was trying to draw a circle around a capture point (dominion event).

 

But I've noticed some very strange behaviour of this packet. From my understanding, each primitive is saved in the client under a unique (?) name, like an object id. In addition to that, you need to actually send an empty packet of the name you are modifying if you wish to clear the packet in the client (or exit and open up again).

 

However, if for example I log in 2 clients from the same PC, only the first will get the primitives drawing (even tho the server sends them correctly, I checked).

EDIT: Even stranger, some times it does show it some times it doesn't. I checked for bugs in the code but there are none.

I haven't tried to send a diffrent names for different characters to see if they will be drawn, but I doubt it.

 

So I was wondering if someone knows if the client has any limitations or where is the data from the primitives stored.

Edited by An4rchy

3 answers to this question

Recommended Posts

  • 1
Posted (edited)
On 3/17/2021 at 4:19 PM, An4rchy said:

However, if for example I log in 2 clients from the same PC, only the first will get the primitives drawing (even tho the server sends them correctly, I checked).

EDIT: Even stranger, some times it does show it some times it doesn't. I checked for bugs in the code but there are none.

 

So here is what happens and trust me it took me a fuck ton of time to figure this out when I originally used it in L2BattleRoyale. This is also unique to Interlude and I don't think in happens in future chronicles which means they fixed it. 

 

If both players spawned near the area where the initial creation of the packet happens then they can both see it fine because I am assuming you are using current location as the ExServerPrimitive initial center point. However, if you spawned away from where the packet is created then you cannot see it.

 

In order to fix that you have to store the original Location (x, y, z) of the player when they EnterWorld.

When you create an ExServerPrimitive package you need to provide a name, an x, a y and a z. These values NEED to be the X of the spawn location and the Y of the spawn location. The Z can be -65535 to ensure that the icon will be below the ground.

 

Once you do that this will stop happening.

 

Here is how I handle it in Autobots:

Create Circle Packet method

Using EnterWorld location to initialize the package

Storing the EnterWorld location

Edited by Elfocrash
  • Thanks 1
  • 0
Posted

In High Five you can even create 2.500 lines and it won't have any trouble. In Interlude after few lines client will receive severe delay as if you're trying move while connected to a 0.0005 KB's Dual core 512 ram VPS in Pakistan.

 

In an Interlude server i was working months ago, sometimes it was visible some other it was not (it was like up to client's mood). I don't remember if eventually we gave up on that packet or we did as you wrote different name for each player using his object Id as ExServerPrimitive's name.

 

Still be aware of the lines keep it low "quality". 

  • 0
Posted

Thanks for the insight.

 

I was curious as to why aCis stores enter world location.

 

I got it fixed the way you told me only not knowing it was a bug that required enter world location, just by following what Tryskell did on geo debug.

Guest
This topic is now closed to further replies.


  • Posts

    • The server has been online and stable for over 2 months now, and we’re still going strong! No wipes, no shortcuts ~ just continuous work, daily fixes, events, and improvements to ensure the best possible experience.   Great News! 🔥 CHAPTER II IS COMING — GRACIA FINAL 🔥 On February 16, L2Elixir enters a new era. The server will be officially updated to Gracia Final, opening Chapter II of our journey. Expect new content, improvements, and surprises that will refresh the gameplay while keeping the classic Gracia Final spirit alive.   More challenges, more competition, and more reasons to log in.   📅 Update Date: February 16 ⚔️ Chapter II: Gracia Final This is not a reset. This is evolution.   Prepare yourselves — Chapter II begins soon.   Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs    
    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here 👉https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
    • Hello! We are Genesis, small team that works on new Lineage 2 project. Our goal with this project is to create a fresh new place to play — built around real community feedback, with no aggressive pay-to-win donations and with carefully thought-out quality-of-life improvements, balance changes etc. We believe that even tho we all love this game, everyone has at least one or two things they would like to change in the game to make it more enjoyable. Thats why we want the comunity feedback to shape our server. Main information about the server: • Interlude Classic version • Rates: EXP x4 SP x2 Loot x2, Spoil x2 (not set in stone, might be changed) • Local & Server-Side Dualbox Protection • Complete, Clear Website with Integrated Account Panel (Game account creation, direct communication with support, bug reporting, voting and reward system) • Launcher – External Game Login System: manage all your accounts inside the launcher, “Play” button logs you directly into the game server Here are list of few changes we already added/decided to add to the server: • Reworked Client to fit interlude Era with upgraded Classic Ui • Custom Antibot system • Custom AntiDualBox System • Offline shops • Offline shop with buffs (available only in towns) • Mass Sweeper added to the game • Newbie buffs available all the way to lvl 76 (nothing crazy, but its free) • Slight balance change to Destroyer damage with Polearm and Cancel spell from SPS • PvP zones on every Epic spawn spot • Overbuffing blocked • And more! Since we put big focus on community feedback and suggestions, we are looking for people for our internal tests, that will discuss whether current changes „fit” into the game and maybe suggest some changes themselves. If what you’ve just read sounds interesting to you, if you want to help creating server fitted for you, join our server Discord. Help us to understand what Lineage 2 players in 2026 actually expect and need — so we can meet those expectations and avoid becoming just another server that dies a natural death.     Even if you’re not interested in playing right now, but you are a long-time Lineage 2 player, feel free to join our community. We would greatly appreciate your experience and feedback to help us improve and develop our project. Join the growing L2Genesis community: https://discord.gg/mcuHsQzNCm Also check our website: https://l2genesis.com/
    • I messaged you privately. If you want me to help, message me privately.  
  • 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..