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

    • @GX-Ext I'm just asking because I saw you mentioned several offers. Do you mind if I ask? Maybe I can wait for the next sale and buy it cheaper; you never know.  
    • What's your obsession with me? Or are you just doing this because you're desperate and need to sell something (SkyLord) to eat? Why do you do this on all my posts? Why don't you explain it to the community? ---------------- I will have a special offer until April 19. If you are interested, don’t hesitate to send me a message.  
    • @GX-Ext How many offers does your product have? If I remember correctly, there are about 3.  
    • I will have a special offer until April 19. If you are interested, don’t hesitate to send me a message.
    • ⚔️ LINEAGE II KHADIA ⚔️ Interlude PTS (L2OFF) • Mid Rate PvP • Custom Endgame Experience 🔥 NOT JUST ANOTHER SERVER — A REAL BATTLEFIELD 🔥 Welcome to L2Khadia, where classic Interlude meets competitive PvP and custom progression. No fake numbers, no empty promises — only action, economy, war and long-term gameplay. ━━━━━━━━━━━━━━━━━━━━━━ 📊 SERVER RATES EXP: x100 SP: x150 Adena: x300 Spoil: x15 ━━━━━━━━━━━━━━━━━━━━━━ ⚔️ WHY KHADIA? ✔ Original Interlude Mechanics & Formulas ✔ Mid Rate PvP Balance ✔ Real Clan Wars / Sieges / Olympiad ✔ Stable & Fair Economy ✔ Active Staff Team ✔ Long-Term Project Vision ━━━━━━━━━━━━━━━━━━━━━━ 🗡️ KHADIA CUSTOM CONTENT 🔥 Khadia Weapons – Unique power & visuals 🛡 Khadia Armor – Raid Boss drops & crafting 🧥 Khadia Cloaks – Endgame progression items 💎 Designed for competitive PvP ━━━━━━━━━━━━━━━━━━━━━━ 🎁 REWARD SYSTEMS 🏆 PvP / PK Reward System 📦 Daily PvP Reward Package 👑 Raid Package from Boss Extract Rewards 🗳 Vote Reward System 📈 Rankings: PvP / PK / Clans / Castles ━━━━━━━━━━━━━━━━━━━━━━ 💎 VIP FEATURES ✔ VIP Buff Coin ✔ Nick / Title Colors ✔ Special VIP Chat ( ^ Key ) ✔ Exclusive VIP Benefits ━━━━━━━━━━━━━━━━━━━━━━ 🎮 QUALITY OF LIFE ✔ Auto Loot for Farm ✔ Auto Loot Disabled for Raid Boss ✔ Offline Shop System ✔ Remote Buff Coin ✔ RaidBoss Status NPC ✔ PvP / PK Ranking NPC ━━━━━━━━━━━━━━━━━━━━━━ 🌍 FARM ZONES • Elven Fortress [80] – Medium • Cave of Trials [80+] – Party Hard • Monastery of Silence [80] – Medium • PvP Zones Around Raid Bosses ━━━━━━━━━━━━━━━━━━━━━━ 🏰 CLAN & SIEGE SYSTEM ✔ Full Interlude Clan System ✔ Max Clan Level 8 + Clan Skills ✔ Max 3 Clans per Alliance ✔ No Kick / Leave Penalty ✔ Weekly Castle Sieges ━━━━━━━━━━━━━━━━━━━━━━ 🚀 JOIN NOW – START YOUR LEGEND 🚀 🌐 Website: www.l2khadia.com 💬 Discord: https://discord.gg/DnZrgWn77n ━━━━━━━━━━━━━━━━━━━━━━ No Pay To Win • Fair Gameplay • Real PvP • Custom Endgame Content       We Wish you the best game ! 
  • 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..