Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   unloading gmaps or something? (https://forums.graalonline.com/forums/showthread.php?t=134259486)

Jiroxys7 06-12-2010 09:18 PM

unloading gmaps or something?
 
So i had a massive gmap running. it was taking too much cpu to keep the whole thing up. So the gmap was disabled, and i've been working on cutting out the islands into their own gmaps (which i planned on doing a long time ago anyway for various reasons)

So i've cut out an island and put it in its own gmap. problem is, since my computer has already loaded the giant gmap, i cant see if the new, smaller gmap is working right or not. So i figure that i need to delete something that's storing the old gmap data. But FILENAMECACHE and the gmap file in graal/maps/ doesnt seem to be it either. Anyone know what i need to do?

Jiroxys7 06-13-2010 08:34 PM

Anyone? I can get the new gmap to load in the offline editor just fine, but when i try to load it online on the overworld, it keeps the old one there.

Cubical 06-13-2010 08:36 PM

Rename the map if they are named the same.

Jiroxys7 06-13-2010 08:42 PM

They dont share the same name. Also, the old gmap has been taken off gmaps= too.

Cubical 06-13-2010 08:56 PM

Can you /find the gmap on rc?

Jiroxys7 06-13-2010 08:58 PM

zephyrwood_haven.gmap: downloadable, level, 2805 byte, 2010-06-12 18:14:40

Cubical 06-13-2010 09:07 PM

Make sure you aren't loading the other gmap in whichever wnpc is loading the map.

Jiroxys7 06-13-2010 09:30 PM

Still no luck

Bell 06-13-2010 09:45 PM

Quote:

Originally Posted by Cubical (Post 1581761)
Make sure you aren't loading the other gmap in whichever wnpc is loading the map.

This and you still have overworld.gmap in your levels folder. Are you supposed to not be using this one? If not, remove it, do a /savenpcs then do a server restart. It will probably fix the problem. Hopefully.

Jiroxys7 06-13-2010 10:30 PM

Quote:

Originally Posted by Bell (Post 1581772)
This and you still have overworld.gmap in your levels folder. Are you supposed to not be using this one? If not, remove it, do a /savenpcs then do a server restart. It will probably fix the problem. Hopefully.

Alright, I did that but now it sends me back to onlinestartlocal.nw when i reconnect on any of the overworld levels. and rc now gives me a notification that the overworld_*.nw levels arent downloadable. what happened? :confused:

Bell 06-13-2010 11:01 PM

I'm on the server right now and I see one blaring problem.
zephyrwood_haven.gmap: downloadable, level, 2805 byte, 2010-06-12 18:14:40
overworld/Zephyrwood_Haven.gmap: not downloadable, level, 2805 byte, 2010-06-13 18:52:12

capitalization of one and not the other. That sees it as two different things. Hence it cannot read the zepherwood map. Look at your rc and speak to me there if you don't mind.

DustyPorViva 06-13-2010 11:12 PM

I don't see how the size of the gmap would effect CPU, as only 9 levels are loaded at a time(unless your gmap had the configuration to load all levels).

salesman 06-14-2010 01:36 AM

Quote:

Originally Posted by Graal Wiki
LOADFULLMAP
A serverside option: The gmap loading is optimized so that parts are only loaded when they are needed, and afterwards they are removed from memory again. If you put this line, that will be disabled and the full map with all levels will be loaded at once.

Might be why you were lagging...

Jiroxys7 06-14-2010 01:54 AM

Quote:

Originally Posted by salesman (Post 1581814)
Might be why you were lagging...

Nope. That's not in the file. It was the sheer size of the gmap. It wasnt lagging me, but apparently it was starting to cause problems for other servers .

Of course, this wasnt my first reason that i wanted to break apart my gmap. Reasons off the top of my head include:
- Ease of setting custom tilesets for individual islands
- Get to scrap the thousands of 64x64 water levels that i didnt need. (yes, i made this in the level generator)
- I can make one island have a natural weather effect when the player arrives by putting a triggering npc in the level that the boat docks are on.
- I'll probably be able to incorporate some kind of gmap enemy system since most islands arent really big.



Unfortunately, i completely forgot how much work its going to take to actually get my new gmaps to co-operate. I think it took over three weeks for my first online gmap to get working in the first place :(

Right now, with Bell's help, I've gotten the old gmap to 'unload'. now I need to find out why my new gmap won't load.


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

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