09-07-2012, 04:32 AM
That has been addressed in rev 841, so rev 842 should be good.
Working on Portals, related questions
|
09-07-2012, 04:32 AM
That has been addressed in rev 841, so rev 842 should be good.
09-07-2012, 04:50 AM
New problem:
Code: local _check_cuboid = cCuboid() Quote:Plugins/Portal/portal_functions.lua:104: error in function 'Sort'.What I did wrong?
You're using Sort as if it is a static function (calling on a class), while you should actually call it on a cCuboid object.
So you should use _check_cuboid:Sort() instead Also, all this function does is make sure the p1 coordinates are all lower values than the p2 coordinates. This will make sure the IsInside() functions work
09-07-2012, 05:17 AM
Al right, this is totally cool:
http://rghost.ru/40225174/image.png One leftclick, one rightclick. WHY, for Random sake, second fantom rightclick appears?!
09-07-2012, 05:22 AM
ye i had that to when i tried your uploaded version :O
09-07-2012, 05:25 AM
(09-07-2012, 05:17 AM)Taugeshtu Wrote: Al right, this is totally cool: Looks like the client thinks you're rightclicking in the air. I blame Notch
09-07-2012, 05:29 AM
Quote:Looks like the client thinks you're rightclicking in the air. I blame NotchI suggest to correct it on serverside. Or we may log rightclick packets (somehow) to see if this is really client's fault. BTW, when I used r836 there was clearly just one rightclick. (probably, server hanged after it)
09-07-2012, 05:29 AM
are you sure? look at the coords they are to far away to rightclick in the air.
Actually, that is fully documented - when using tools, the client sends another packet with coords all set to -1. Same thing happens with lava buckets (resulting in the server placing the lava at [-1, 255, -1])
Rev 836 had problems parsing rightclicks, so the second rclk actually never made it to the server
09-07-2012, 05:44 AM
|
« Next Oldest | Next Newest »
|