Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-06-2007, 06:01 PM
pig132 pig132 is offline
professional troll
Join Date: May 2006
Posts: 260
pig132 will become famous soon enough
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

Last edited by pig132; 01-06-2007 at 06:30 PM..
Reply With Quote
  #2  
Old 01-06-2007, 06:32 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
You could of used the support center.
__________________
Reply With Quote
  #3  
Old 01-06-2007, 06:33 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
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.
Reply With Quote
  #4  
Old 01-06-2007, 06:38 PM
pig132 pig132 is offline
professional troll
Join Date: May 2006
Posts: 260
pig132 will become famous soon enough
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..
Reply With Quote
  #5  
Old 01-06-2007, 07:22 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Graal is acting slow for me, I dunno, I can't even logon, I dunno if that is the problem tho
__________________
Reply With Quote
  #6  
Old 01-06-2007, 07:23 PM
pig132 pig132 is offline
professional troll
Join Date: May 2006
Posts: 260
pig132 will become famous soon enough
Nope, it's been like this for a while now.
Reply With Quote
  #7  
Old 01-06-2007, 09:32 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Got any examples of what you example use normally which cause lag?
__________________
Reply With Quote
  #8  
Old 01-06-2007, 09:40 PM
pig132 pig132 is offline
professional troll
Join Date: May 2006
Posts: 260
pig132 will become famous soon enough
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.
Reply With Quote
  #9  
Old 01-06-2007, 09:44 PM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
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.
Reply With Quote
  #10  
Old 01-06-2007, 10:01 PM
pig132 pig132 is offline
professional troll
Join Date: May 2006
Posts: 260
pig132 will become famous soon enough
All of them are very low decimals..none of them are even close to a whole number..
Reply With Quote
  #11  
Old 01-06-2007, 10:53 PM
zell12 zell12 is offline
Gone
zell12's Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,541
zell12 has a spectacular aura about
Send a message via ICQ to zell12 Send a message via AIM to zell12 Send a message via MSN to zell12
Meh, try to find a nice experienced scripter to go on your server and look stuff over I guess... :o
__________________
Reply With Quote
  #12  
Old 01-07-2007, 01:03 AM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
1) bad code
2) slow server
3) tired gserver or npcserver

I think it's one of them, if not, just ignore this post
__________________
Reply With Quote
  #13  
Old 01-07-2007, 02:20 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Chompy View Post
1) bad code
2) slow server
3) tired gserver or npcserver

I think it's one of them, if not, just ignore this post
*ignores*

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.
Reply With Quote
  #14  
Old 01-07-2007, 04:05 AM
pig132 pig132 is offline
professional troll
Join Date: May 2006
Posts: 260
pig132 will become famous soon enough
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.

Last edited by pig132; 01-07-2007 at 04:24 AM..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:33 PM.


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