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-17-2007, 10:00 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Copying a mass amount of levels...

Well, I guess copy level would work, however I'm wanting to copy a gmap [9x9 levels], similar to GKs treasure maps. Would I just state the old level names, and then just re-name them / re-save? copylevel wouldn't do this, as it doesn't copy the level links. Anyone have any suggestions? thanks!
Reply With Quote
  #2  
Old 04-17-2007, 10:28 PM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Somebody posted a level copying script somewhere on these forums that also saved links I believe.
Reply With Quote
  #3  
Old 04-17-2007, 10:29 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Quote:
Originally Posted by Gambet View Post
Somebody posted a level copying script somewhere on these forums that also saved links I believe.
Yeah, that was me. I'm wondering if there is any other way though, hehe.
Reply With Quote
  #4  
Old 04-17-2007, 10:39 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Other then loading the lines of the file and resaving them, nope
__________________
Do it with a DON!
Reply With Quote
  #5  
Old 04-17-2007, 10:39 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 Chandler View Post
Yeah, that was me. I'm wondering if there is any other way though, hehe.
You could just copy the file serverside using loadlines() and savelines(), but I guess you need to allow the NPC Server the rights to do that...

If you save it like that, Then all the links are saved as well, although you may want to change them accordingly.
__________________
What signature? I see no signature?
Reply With Quote
  #6  
Old 04-17-2007, 10:44 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
http://forums.graalonline.com/forums...ad.php?t=71587

Yeah, here is one that I did awhile ago. I guess I'll need to do this! I didn't want to though...Thanks
Reply With Quote
  #7  
Old 04-18-2007, 07:06 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by godofwarares View Post
You could just copy the file serverside using loadlines() and savelines(), but I guess you need to allow the NPC Server the rights to do that...

If you save it like that, Then all the links are saved as well, although you may want to change them accordingly.
I just said that o_o
__________________
Do it with a DON!
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 03:20 AM.


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