Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Server (https://forums.graalonline.com/forums/forumdisplay.php?f=14)
-   -   playertouchsme (https://forums.graalonline.com/forums/showthread.php?t=2999)

Er1c 05-16-2001 11:14 AM

playertouchsme
 
Stefan, is there ANYTHING you can do to get playertouchsme to work faster? I know it all needs to go through the server, which takes time, but things like doors not opening for 3+ secconds after you touch them is a real pain.

Admins 05-16-2001 11:21 AM

adding a hidelocal client-side?

Er1c 05-16-2001 11:22 AM

Another thing...
 
Could you also raise the maximum amount of while loops that can take place before a break? I am very strongly against the sleep command and use it as little as possable because it freezes the whole script, and thats the only way to get long while/for loops to complete themselves, so raising the max limit of loops would be a GOOD THING.

I'll tell you why we need it at TOT... GodSpeed and I (he doesn't want me to, but I am anyway) are making weather, and the script needs to check all 4096 tiles for sevaral different tiles in a level. Using sleep for something like this will ruin the movement, timeouts, etc. which will make the script much less reliable. Maybe add setting the max limit of for/while loops a server setting?

Er1c 05-16-2001 11:24 AM

*AMAZED*
 
WOW, you answered that post in 7 minutes!!!

Client-side playertouchsme is still slow... I've used it with message text; and it still takes a while for the server to recognise it.....


All times are GMT +2. The time now is 05:14 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.