![]() |
playertouchsme on serverside
when i use playertouchme on serverside
(yes, i use setshape in the npc) the event every time getting called 2 times when i touch the npc. first time when i have a distanz with my player to the npc of ~1. and the second time when i really touch the npc. clientside all works fine, with all versions of graal. i think the event should only be called one time ? |
Quote:
|
Are you sure you have no stray calls to that function, or any random pixels lingering about that you could have bumped into?
|
i used a 32*32 pixel grafik that i created.
there are no random pixel. and i tested it with a serverside charakter npc/shape to. at first i only used setshape on serverside. but i tryd to use it on both sites - same effect. i am sure that there are no other calls to this event/function. i tested it on 2 servers - same effect, every time when i touch the npc, playertouchsme getting called 2 or 3 times ...... |
It's called each time the player makes a step I guess.
On clientside it's remembering the last npc you have touched to not repeat the playertouchsme event too often, could add that on serverside too if its a problem. |
Speaking of playertouchsme...i think it's about time it's changed to playertouchesme.
|
yes, its a problem, please add it stefan <3
|
Quote:
Breaking the habit of typing 'touchs' instead of 'touches' will be too much for me to handle. :cool: |
Preach it napo ^^ and is it that the script is timeout or something of the sort???
|
Quote:
|
wat?
|
is there a timeout(); or something of the sort in it, it would do that is there is
|
Quote:
it's setTimer(float); not timeout(); it is called by using function onTimeOut() {} |
timeout() works for me.... lol XP
|
| All times are GMT +2. The time now is 06:10 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.