Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Announcements
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 03-10-2006, 07:53 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Exclamation NPCServer+GServer update

The GServer and NPCServer have been updated to support instant saving of levels after doing tile modifications. The scripting commands are only available for the new scripting engine:

savelevel(levelname)
level.save(x,y) - the position (x,y) defines which map part is saved when you are on a gmap

Levels are only saved when there is really a modification, so it doesn't slow down the server when you are calling that command more than actually needed. It is displaying in RC chat when a level has been saved, can make that optional if it's spamming the RC chat too much.
Reply With Quote
  #2  
Old 03-10-2006, 08:18 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
weee nice new function
thanks

btw: first one
__________________
Reply With Quote
  #3  
Old 03-10-2006, 08:27 PM
Lao_Su2 Lao_Su2 is offline
Panda
Lao_Su2's Avatar
Join Date: Jan 2002
Location: Draper, Utah
Posts: 645
Lao_Su2 is on a distinguished road
Send a message via AIM to Lao_Su2
Stefan! I love you! Thank you so much for saving me a good 10 minutes each day

Great addition!
__________________
Panda
Reply With Quote
  #4  
Old 03-10-2006, 08:35 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
hah.. yeah i was trying to beat panda to posting.. thanks so much
Reply With Quote
  #5  
Old 03-10-2006, 10:50 PM
Lao_Su2 Lao_Su2 is offline
Panda
Lao_Su2's Avatar
Join Date: Jan 2002
Location: Draper, Utah
Posts: 645
Lao_Su2 is on a distinguished road
Send a message via AIM to Lao_Su2
Quote:
Originally Posted by Stefan
The GServer and NPCServer have been updated to support instant saving of levels after doing tile modifications. The scripting commands are only available for the new scripting engine:

savelevel(levelname)
level.save(x,y) - the position (x,y) defines which map part is saved when you are on a gmap

Levels are only saved when there is really a modification, so it doesn't slow down the server when you are calling that command more than actually needed. It is displaying in RC chat when a level has been saved, can make that optional if it's spamming the RC chat too much.
NPC Code:
GraalScript: Function save not found at line 14 in script of LevelEdit (in level abyss.nw at pos (0, 0))

__________________
Panda
Reply With Quote
  #6  
Old 03-10-2006, 10:52 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Did you re-boot the server?
Might also need to be done from the admin panel.
Reply With Quote
  #7  
Old 03-10-2006, 11:05 PM
Lao_Su2 Lao_Su2 is offline
Panda
Lao_Su2's Avatar
Join Date: Jan 2002
Location: Draper, Utah
Posts: 645
Lao_Su2 is on a distinguished road
Send a message via AIM to Lao_Su2
Rebooted the Npc Server, nothing
__________________
Panda
Reply With Quote
  #8  
Old 03-10-2006, 11:10 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by Lao_Su2
Rebooted the Npc Server, nothing
Have the owner use the admin panel to restart the GServer.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #9  
Old 03-11-2006, 02:01 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Ok sorry, the new npcserver was not uploaded to all machines, did that now. If you try the new save thing without restarting the gserver then the npcserver will automatically be disconnected, so better make sure the gserver is restarted before testing it.
Reply With Quote
  #10  
Old 03-11-2006, 10:29 PM
Lao_Su2 Lao_Su2 is offline
Panda
Lao_Su2's Avatar
Join Date: Jan 2002
Location: Draper, Utah
Posts: 645
Lao_Su2 is on a distinguished road
Send a message via AIM to Lao_Su2
Hey Stefan is it already able to disable the RC reporting of when a level is saved? If not I think it is deffinatly needed because it really does spam RC pretty bad haha

Edit:
Even when using level.save(x,y) it's only saving the level for the person who edited it but others still see the old level unless they were in the level when it was edited.
__________________
Panda

Last edited by Lao_Su2; 03-11-2006 at 11:33 PM..
Reply With Quote
  #11  
Old 03-13-2006, 07:46 PM
Projectshifter Projectshifter is offline
The David
Projectshifter's Avatar
Join Date: Apr 2002
Location: USA
Posts: 912
Projectshifter is an unknown quantity at this point
Send a message via ICQ to Projectshifter Send a message via AIM to Projectshifter Send a message via MSN to Projectshifter Send a message via Yahoo to Projectshifter
Perhaps make the RC message a serveroption? Would be bad if it was a param of savelevel(), could be abused and then no one would have any idea until it was too late.
__________________
Who has time for life these days?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 05:59 PM.


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