Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Copying a mass amount of levels... (https://forums.graalonline.com/forums/showthread.php?t=73537)

Chandler 04-17-2007 10:00 PM

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!

Gambet 04-17-2007 10:28 PM

Somebody posted a level copying script somewhere on these forums that also saved links I believe.

Chandler 04-17-2007 10:29 PM

Quote:

Originally Posted by Gambet (Post 1300756)
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.

zokemon 04-17-2007 10:39 PM

Other then loading the lines of the file and resaving them, nope :(

godofwarares 04-17-2007 10:39 PM

Quote:

Originally Posted by Chandler (Post 1300757)
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.

Chandler 04-17-2007 10:44 PM

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

zokemon 04-18-2007 07:06 AM

Quote:

Originally Posted by godofwarares (Post 1300764)
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


All times are GMT +2. The time now is 02:53 AM.

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