Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-24-2007, 12:30 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Question Update Level

Is there any posible way to update a level using script?
in one of my levels you can place your own tiles but i found a glich...
the only way to fix this glich is to update the level so it the a way?
__________________
**FLIP OUT**
Reply With Quote
  #2  
Old 04-24-2007, 12:55 AM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
"update level"
Unless you are talking about tile editing on the level
Reply With Quote
  #3  
Old 04-24-2007, 12:57 AM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
sendtorc("/updatelevel levelname.nw"); ?
__________________

Coming soon (Hopefully:P)
Reply With Quote
  #4  
Old 04-24-2007, 01:28 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Quote:
Originally Posted by JkWhoSaysNi View Post
sendtorc("/updatelevel levelname.nw"); ?
wont that just spam the rc?
__________________
**FLIP OUT**
Reply With Quote
  #5  
Old 04-24-2007, 02:02 AM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
well spam rc AND update the level :P

If you're calling it enough for it to spam RC it's the glitch in your script that needs fixing.
__________________

Coming soon (Hopefully:P)
Reply With Quote
  #6  
Old 04-24-2007, 02:13 AM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Quote:
Originally Posted by theHAWKER View Post
Is there any posible way to update a level using script?
in one of my levels you can place your own tiles but i found a glich...
the only way to fix this glich is to update the level so it the a way?
updateboard(x, y, width, height);

Works for me, without updating the level.
Example, to update the whole level:

PHP Code:
updateboard(006464); 
__________________
What signature? I see no signature?
Reply With Quote
  #7  
Old 04-24-2007, 02:17 AM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by godofwarares View Post
updateboard(x, y, width, height);

Works for me, without updating the level.
Example, to update the whole level:

PHP Code:
updateboard(006464); 

updateboard is for displaying any changes to the tiles in a gmap via script, I'm not sure that it works the same as updatelevel.
Reply With Quote
  #8  
Old 04-24-2007, 02:31 AM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
It doesn't, but it'll update the tiles. NPC's wont get recreated.
__________________

Coming soon (Hopefully:P)
Reply With Quote
  #9  
Old 04-24-2007, 02:48 AM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Quote:
Originally Posted by theHAWKER View Post
wont that just spam the rc?
It'll send one line to the RC. I wouldn't classify that as spam. Or just make a chat function that triggers the server to do this upon certain chat.
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote
  #10  
Old 04-24-2007, 12:32 PM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Quote:
Originally Posted by Gambet View Post
updateboard is for displaying any changes to the tiles in a gmap via script, I'm not sure that it works the same as updatelevel.
Quote:
...in one of my levels you can place your own tiles but i found a glich...
He is implying that he is making a scripted level editor, but apparently is having trouble making them display. 'updateboard' is the reasonable choice here.
__________________
What signature? I see no signature?
Reply With Quote
  #11  
Old 04-25-2007, 03:06 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Quote:
Originally Posted by godofwarares View Post
He is implying that he is making a scripted level editor, but apparently is having trouble making them display. 'updateboard' is the reasonable choice here.
yeah, but update board dosn't work
__________________
**FLIP OUT**
Reply With Quote
  #12  
Old 04-25-2007, 03:13 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by theHAWKER View Post
yeah, but update board dosn't work
Add this to server options:

savelevels=true
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #13  
Old 04-25-2007, 03:20 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
If you want it to save, I think it's updateboard2?
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:42 PM.


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