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 10-16-2005, 05:21 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
updateboard2 bug

This is not a v4 bug, it is a gscript bug.
updateboard2 x,y,xlen,ylen;
When using updateboard2, anything with ylen greater than 1 will not save right. Only the first line seem to save right. This happens with v2 as well as v4 since the command is actually performed serverside. If Stefan can shed light on this problem, please do so.

While we're on the topic of level saving, why is it that different levels seem to save at different rates after using updateboard2. I've tested this using class npc zelph_test on #gscript, basically recursively setting a tile and using updateboard2 on it, and updating the level after an increasing amount of time until the tile actually saves.
shadowblaze_test.nw only took 1-2 minutes to save (it varied for some reason) while
cheetos_leveltest.nw took somewhere around 5-7 minutes to save.
__________________
Reply With Quote
  #2  
Old 10-16-2005, 06:30 PM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
The way it saves seems very strange. If you put down the tiles and update the board, it looks fine, but after the level saves and is updated, the tiles are all mixed up. An example can be seen in cheetos_leveltest.nw near x/y 28, 10. The messed up tiles were originally a tree trunk until the level saved (you can see the script used in the block npc that is next to the trunk).
__________________

Reply With Quote
  #3  
Old 10-19-2005, 07:06 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
Ok I have checked, it was handling tile modifications of width!=2 incorrectly, need to update both npcserver and gserver, will upload those in a few minutes.
Reply With Quote
  #4  
Old 10-19-2005, 09:59 PM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
Hooray, thanks
__________________

Reply With Quote
  #5  
Old 10-20-2005, 01:27 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
nice now i dont have to do 1x1 updateboard2 in a loop
__________________
Reply With Quote
  #6  
Old 11-20-2005, 08:13 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
It seems that updateboard2 no longer saves weird. Now it doesn't save at all.
Tested this several times on N-Pulse, after Stefan restarted the server on the 16th. Tried to save top left part of pics1.png. When tiles are placed, updateboard2 does update the level to show new tiles, however it does not save and upon return several minutes later, newly placed tiles disappear entirely.
__________________
Reply With Quote
  #7  
Old 11-26-2005, 05:55 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
ping *Stefan
__________________
Reply With Quote
  #8  
Old 11-28-2005, 09:44 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
Ok fixed it, was not related to the size of the updateboard though
(fixed on npulse, will upload the gserver to the other machines, they need to be manually restarted).
Reply With Quote
  #9  
Old 12-01-2005, 12:50 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
aah good good, thank you.
__________________
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 02:42 PM.


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