SphereCommunity
unequip not updating for other chars - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: unequip not updating for other chars (/Thread-unequip-not-updating-for-other-chars)



unequip not updating for other chars - ChaveS - 01-10-2013 04:55 AM

When i use for example

findlayer.1.unequip on PLAYER A

The PLAYER B will keep seeing the weapon on PLAYER A hand.

How can i fix it with script?


RE: unequip not updating for other chars - Shaklaban - 01-10-2013 05:15 AM

you can try to call update function on PLAYER A or item which has unequipped.


RE: unequip not updating for other chars - darksun84 - 01-10-2013 05:27 AM

It will keep seeing on the paperdool or in the "game" character ?


RE: unequip not updating for other chars - ChaveS - 01-10-2013 06:07 AM

I use this function for many times, while PVP etc, cant update the chars it will cause strange behaviors on clients graphic

This is cause when this experimental is activated
// EF_FixCanSeeInClosedConts

Its a very useful flag, but ill let this deactivated

EDIT
PS: a friend told me he could use this experimental without this bug, but he cant remeber how.


RE: unequip not updating for other chars - Wap - 01-10-2013 08:55 AM

Its a very useful flag, that causes random client crashes. Big Grin


RE: unequip not updating for other chars - Ben - 01-21-2013 02:27 AM

uhm... This needs more testing to pinpoint the exact cause of the problem. I can't seem to reproduce this and I have these flags enabled:
Experimental=01|08|040|0200|0400|0800|08000|010000|020000
// EF_DiagonalWalkCheck = 00000001
// EF_New_Triggers = 00000008
// EF_Item_Strict_Comparison = 00000040
// EF_AllowTelnetPacketFilter = 00000200
// EF_Script_Profiler = 00000400
// EF_Size_Optimise = 00000800
// EF_UsePingServer = 00008000
// EF_NPCAct_Triggers = 00010000
// EF_FixCanSeeInClosedConts = 00020000

Could it be a combination of flags and not just 1 that is the cause?
If anyone could test this more, it would be appreciated.