Jump to content

Question

Posted (edited)

recently i've come over a way to put multiple weapon meshes in 1 ukx HOWEVER it creates a visual bug which can be somewhat 'masked' by what i believe to be server side fix. since this also has client related issues to it, i feel the fix is doable from java by replicating a player DISARMING the weapon than equipping a item

 

so, the thing is that

1: equip weapon using custom ukx

2: equip another weapon using custom ukx

3: they will 'stick' together as in weapon 1 wont dissappear

 

the fix to this is

1: equip weapon using custom ukx

2: UNEQUIP the weapon

3: equip weapon 2

from what ive been trying you have to unequip the weapon in order to 'fix' the 2nd weapon

 

what i know is

1: dropping makes the 'ghost' weapon stay

2: destroying a item makes it go away

3: breaking it with enchant makes it go away

4: crystallizing makes it go away

-----------------------------------------------------------------------------------

im not sure where or what to do for this, but ive tried adding stuff like in inventory.java in equipItem

setPaperdollItem(PAPERDOLL_RHAND, null);
 
unEquipItemInBodySlotAndRecord(slot);
Edited by LE MEMER MASTER xD

9 answers to this question

Recommended Posts

  • 0
Posted

how would i modify the char/user info? or did you mean to  

 

userinfo line:

writeD(_activeChar.getActiveWeaponItem() != null ? 40 : 20);

 

char info line:

writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_RHAND));

 

what would i have to add/change? ive tried putting something like writeD(0x00) above it but when i log i get a critical error

 

 

Don't change anything, create a static charInfo packet containing uneqquiped weapon data, and send it right before the original charInfo

 

I can't detail this more its more easy for me to do it for you. What project is it?

  • 0
Posted

Its not server side, even if the weapon is not unequipped server-side your client will ignore one of the two weapons making it like client will think that the previous weapon is unequipped

 

The happens cause the server writes only one itemId on the weapon packet

 

 

What you explained above can only happen, when the two weapons have different slots server or client side

  • 0
Posted

But you can send a userInfo with itemId=0 and on the next line a userInfo with the normal itemId, that could work

  • 0
Posted

ye it will work, sending an extra userinfo/charinfo with all weaponIds as 0 right before the real userinfo/charinfo will solve the problem for sure, and its efficient and easy also

  • 0
Posted (edited)

how would i modify the char/user info? or did you mean to  

 

userinfo line:

writeD(_activeChar.getActiveWeaponItem() != null ? 40 : 20);

 

char info line:

writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_RHAND));

 

what would i have to add/change? ive tried putting something like writeD(0x00) above it but when i log i get a critical error

Edited by LE MEMER MASTER xD
  • 0
Posted

how would i modify the char/user info? or did you mean to  

 

userinfo line:

writeD(_activeChar.getActiveWeaponItem() != null ? 40 : 20);

 

char info line:

writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_RHAND));

 

what would i have to add/chance? ive tried putting something like writeD(0x00) above it but when i log i get a critical error

WolfGiaS3na, on 08 Jun 2014 - 02:17 AM, said:snapback.png

i am not dumb i can prove u in other things that u are the dumb if u want  :)

u are the dumb

are the dumb

the dumb

dumb

 

 

Thanks for this u make me famous <333333333333333333333

  • 0
Posted (edited)

http://www.twitch.tv/lememermasterxd/b/538906715 - this video contains a animated weapon in INTERLUDE

http://www.twitch.tv/lememermasterxd/b/538909346

 

thanks to xdem i can add stuff like this in interlude, without his help this would prob not make it into a live server but it will

Edited by LE MEMER MASTER xD
Guest
This topic is now closed to further replies.


  • Posts

    • Greetings, MaxCheaters community! We are the development team behind projects like AdenLand, Classic GvE, TinyEssence, PvPEssence, and several others. Over the years of managing high-traffic servers, we’ve built our own ecosystem of tools for datapack and client editing, simply because standard software often failed to meet our production needs or was too slow. Today, we are opening access to these professional solutions for our colleagues in the dev scene. You can explore our suite of editors and utilities here: 👉 https://la2.tools/ Why choose our tools? Battle-Tested: This software is used daily to maintain and update our own live projects. Efficiency: Designed to automate routine tasks that usually take hours or even days. Stability: Built to handle complex client/server structures where generic tools often crash. We are ready to provide consultations on integrating these tools into your development workflow to make your process faster and more secure.  
    • There is such a topics based on java html services!
    • L2Elixir – Patch 9 Is Live! Since November 28, when L2Elixir officially opened, we’ve been here consistently and with dedication. We sincerely thank everyone who continues to support this major effort to bring back the true legacy of L2Elixir, even after 18+ years. It truly makes us happy to see many old players reunite, just like in the old days, and enjoy the game the way it was meant to be played: without RMT, without bug abusers, and without “paid” clans/CPs that disappear after a month. We continue with vision, stability, and respect for the community. Wishing everyone to Have fun! Changelogs: 🏆 Olympiad Olympiad every Monday & Friday (last day: Friday). Fixed an issue with wrong Class ID caused by the Class Change service. ⚔️ Territory Wars Territory Wars will now be held every Tuesday to increase PvP activity. 🛡️ Antibot General updates and additional security improvements implemented. 🔧 Items Augmentation & Attribute are now allowed on PvP weapons. Implemented Premium Coupon (15 Days) (currently not available). 🎉 Events An Auto Event will begin early morning (05:00) for NA players. 💻 Client Added EXP zones to the Map → Hunting Zones section. Renamed them to “XP Bonus” so they appear at the top of the list.   Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs
    • I haven't work in Essence but I have transformed mobius projects into fully stable projects, reach out to me in Discord @cerus0130
  • 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..