![]() |
NPC Updating
It seems that when im on my server, and i delete an NPC from the level, i have to restart the npc server in order for it to erase..is there a way to fix this? Also, it seems the server is 'lagging' a bit. For example if i put a door, with onPlayertouchsme(), it waits a second, then opens.
*Can a global please log onto Trenches and help me figure this out? This lag is way too bad |
You could of used the support center.
|
Is the onPlayerTouchsMe() serverside? If so, a one second lag is acceptable.
On the other problem, you may just be able to reconnect to the server in order to see the change. |
It's clientside. And i didn't use the support center because i know i wouldn't have gotten a response for a few days. And i know everyone comes here. I've tried reconnecting, restarting NPC server..
|
Graal is acting slow for me, I dunno, I can't even logon, I dunno if that is the problem tho >_<
|
Nope, it's been like this for a while now.
|
Got any examples of what you example use normally which cause lag?
|
I don't know what causes it..all i know is like, when i place a staffblock, it wont appear for like 3 seconds. So:
I press D, 3 seconds later, it places. |
Do /stats in RC and look at "Top 20 of npcs taken most CPU time:". If any of them have a high value check their code and look for something that is slowing them down.
|
All of them are very low decimals..none of them are even close to a whole number..
|
Meh, try to find a nice experienced scripter to go on your server and look stuff over I guess... :o
|
1) bad code
2) slow server 3) tired gserver or npcserver I think it's one of them, if not, just ignore this post :p |
Quote:
Its a major bug...lemme guess, your NPC is on a gmap :] Well, you could either rename all the levels and links of the gmap, or play around with the server options and restart the NPC server a few times (fixed it for me). I dont know how and why exactly this one happens, but its annoying. Edit: Just read that it takes some time until your staffblocks are placed, not sure if it is the bug I was explaining. |
No, i'ts not on a gmap, and its not just 1 npc, its the whole server. Everything runs slow. I have about 14 levels, and about 10 weapons. Nothing should be lagging it..If anyone can help me, log onto Trenches and ill give you temp rc and we can try to figure this out.
|
| All times are GMT +2. The time now is 08:27 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.