Sit Command Bug

yoyok

Member
Apr 24, 2013
197
24
Hi,
I'm update from @Sledmore swf/emulator to a newer production.
But i have now one problem.
When i'm using the command :sit i float. It need to sit down on the ground.
Screenshot:
2qn1t3d.jpg


I have looked now for 2 hours, but can't find a solution.
Does anyone know what this problem is?
 

yoyok

Member
Apr 24, 2013
197
24
Check what the Z-Index is set to upon the sit command. If no Z index is set, change the users Z index to 0
Edited all Z-index from 0.35 to 0 in SitEvent.cs & SitCommand.cs
PHP:
  User.Statusses.Add("sit", "1.0");
                        User.Z -= 0;
                        User.isSitting = true;
                        User.UpdateNeeded = true;
Still the same issue, user is floating.
 

JayC

Well-Known Member
Aug 8, 2013
5,505
1,401
Edited all Z-index from 0.35 to 0 in SitEvent.cs & SitCommand.cs
PHP:
  User.Statusses.Add("sit", "1.0");
                        User.Z -= 0;
                        User.isSitting = true;
                        User.UpdateNeeded = true;
Still the same issue, user is floating.
Go see what the 2nd parameter does "1.0" is doing. That looks like a damn Z-Index to me ><
 

Users who are viewing this thread

Top