Can place furniture outside from roomlayout
I got a strange bug on my emulator,
users can set furniture outside from the roomlayout:
http://puu.sh/mgvnP/db74631574.png
the placement is clientsided, they only can see the placed furniture there, the other people see the old place.
http://puu.sh/mgvpq/fa8bd5658d.png
I already tried to debug the placeitem event but I can't finde the check if the furniture is inside the roomlayout.
Any help?
Re: Can place furniture outside from roomlayout
Re: Can place furniture outside from roomlayout
Re: Can place furniture outside from roomlayout
ah, I think that is a known issue as it was released but no further work done and released to the community.
Re: Can place furniture outside from roomlayout
I just need to know how the emulator checks if the furniture is in the X Y coordination from the roommodel
Re: Can place furniture outside from roomlayout
Quote:
Originally Posted by
Keyuko
I just need to know how the emulator checks if the furniture is in the X Y coordination from the roommodel
That can be hard. GTE is based in Swift? Plus? Which Emulator?
If is Swift is more "easy" to see where is, because Plus is little confusing the file structure, but the code is pretty nice.
Try search something like GameMap.cs, RoomUserManager.cs, maybe some void called OnCycle from Rooms folder.. in some related Users.
Probably the Emulator doesn't allow place the item in that place. But he doesn't send an outgoing to the User that tried to place the item.
That can be the head reason, of for other users is normal and for the owner isn't. For the other users never received an outgoing with furniture coordinate update. Soo the place continue the same. But for the owner the place is where he putted, because received no one outgoing with the old coordinates.
Neccessarely is good two outgoings:
1. Item state update with old coordinates
2. The message box (grayed) that shows to the user that tried to change the place that this place isn't allowed.
Azure has these two outgoings.
Probably in GTE exists some return;break;continue; that doesn't reaches to the outgoing. (the servermessage line)
- - - Updated - - -
Tutorial: http://forum.ragezone.com/f335/gte-move-rotate-wired-fix-1077560/
- - - Updated - - -
PS: Is a fix for wired.
Re: Can place furniture outside from roomlayout
Thanks for the help. I fixed it now the problem was the heightmap was wrong coded.