Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   removeGmap(str) (https://forums.graalonline.com/forums/showthread.php?t=134257385)

fowlplay4 12-20-2009 10:49 PM

removeGmap(str)
 
To compliment the addGmap(str) function.

I was alarmed to see that the gmaps added with the addgmap function appeared in the list in serveroptions, when the npcserver got restarted.

cbk1994 04-18-2011 09:13 AM

This would be really nice.

Demisis_P2P 04-18-2011 09:25 AM

Hey this could be really handy.

MrOmega 04-18-2011 02:33 PM

I approve of this, I'd like to see it.

cbk1994 12-21-2011 11:39 PM

Bump, need this again.

fowlplay4 12-22-2011 02:52 AM

It's essential for future projects that generate gmaps which will most likely be used on iPhone servers.

ffcmike 12-22-2011 03:01 AM

Yep, this will definitely come in handy for iPhone Servers.
Hop on it Stefan!

cbk1994 12-22-2011 01:19 PM

gmaps= is going to be very full again on Kingdoms in a few days unless this (or a way to load GMAPs on-the-fly without adding them to server options) is added.

Gunderak 12-22-2011 02:12 PM

How would generating a gmap be useful for iPhone servers?
Just curious.

Gunderak 12-22-2011 02:13 PM

How would generating a gmap be useful for iPhone servers?
Just curious.

Gunderak 12-22-2011 02:14 PM

Why did it just post that twice o.O
wtf?

callimuc 12-22-2011 02:15 PM

Quote:

Originally Posted by Gunderak (Post 1679031)
How would generating a gmap be useful for iPhone servers?
Just curious.

In example for iKG with quests and stuff where you just want a group of people/a single person to do that quest instead of having all those players in that quest.

ffcmike 12-22-2011 02:17 PM

Quote:

Originally Posted by Gunderak (Post 1679031)
How would generating a gmap be useful for iPhone servers?
Just curious.

Shhhh, it has to be useful to iPhone servers for there to actually be a chance of the request being implemented.

Gunderak 12-22-2011 03:09 PM

Lol ok, Won't say a word...
Just gotta hope Stefan doesn't check these forums..

salesman 12-22-2011 09:31 PM

Well, iPhone would benefit from multiple instances for quests/events (possibly generated as needed) so you don't have 1000 people crammed together in one room.

cbk1994 12-27-2011 10:05 AM

The (permanent) Christmas dungeon on Kingdoms is spawning lots of single-use GMAPs—we really need some way to remove them from server options via script or to load them temporarily without adding them in the first spot.

Loriel 01-07-2012 03:29 AM

Can't you just recycle them or something

fowlplay4 01-07-2012 04:16 AM

Quote:

Originally Posted by Loriel (Post 1681077)
Can't you just recycle them or something

recycling is for squares.

Loriel 01-07-2012 04:24 AM

I also buy new RAM sticks whenever I need to start a new application

scriptless 01-07-2012 04:58 AM

Quote:

Originally Posted by Loriel (Post 1681077)
Can't you just recycle them or something

Well, lets say they do.. What's to stop my from spamming 3 lightning walls that last an hour each in all of the instances.. then anyone who goes in and is b-mode will die almost instantly. :( Not that I would do that.

Regardless the reason, Graal needs support to unload gmap's.

cbk1994 01-07-2012 01:21 PM

Stefan added a way to load GMAPs without adding them to server options, although he hasn't added a way to unload them yet. Calling findLevel on a GMAP name will cause it to be loaded. My understanding is that they would need to be reloaded after a server restart, but that's understandable for obvious reasons.

I think it's only enabled on Kingdoms right now, but hopefully will be available for all servers soon.

Quote:

Originally Posted by scriptless (Post 1681098)
Well, lets say they do.. What's to stop my from spamming 3 lightning walls that last an hour each in all of the instances.. then anyone who goes in and is b-mode will die almost instantly. :( Not that I would do that.

Then you kill all objects inside the map before reusing it. This is already done on the normal treasure maps.

Packratia 01-07-2012 02:19 PM

Couldn't you have a program on the server computer that runs every hour or so that deletes any gmaps in a certain folder that are over 1 hour old?

cbk1994 01-07-2012 02:23 PM

Quote:

Originally Posted by Packratia (Post 1681145)
Couldn't you have a program on the server computer that runs every hour or so that deletes any gmaps in a certain folder that are over 1 hour old?

This is not the issue. We are already deleting maps when they're not in use. The issue is unloading them.

Cubical 11-20-2012 05:46 AM

was there ever an update with this or was there ever a work around to resolve this issue?

Admins 11-21-2012 09:49 PM

The server can theoretically handle unloading of gmaps now but, but haven't got time to debug it yet (don't want it to crash if there are still dbnpcs in it or so)

Cubical 11-22-2012 04:39 PM

Is it possible to have it added to the current UC/Classic servers, I don't plan on putting DBnpcs in any of those maps anyways.

Cubical 03-03-2013 05:48 PM

Quote:

Originally Posted by Stefan (Post 1708014)
The server can theoretically handle unloading of gmaps now but, but haven't got time to debug it yet (don't want it to crash if there are still dbnpcs in it or so)

bump, height maps dont look good when they are only 1 level and i dont want to overload the serveroptions with gmaps

Cubical 03-13-2013 02:30 PM

bump bump

fowlplay4 03-13-2013 08:28 PM

i need this for an iclassic update ok

devilsknite1 07-13-2013 05:44 PM

Need this for multiple instances being made on UN + future iUN instances. Buummmppp

Tim_Rocks 07-14-2013 06:27 AM

Quote:

Originally Posted by devilsknite1 (Post 1720585)
Need this for multiple instances being made on UN + future iUN instances. Buummmppp

Ya guys, UN is the future of Graal.

devilsknite1 07-15-2013 06:30 PM

Quote:

Originally Posted by Tim_Rocks (Post 1720609)
Ya guys, UN is the future of Graal.

It doesn't matter what it's needed for, it's just a sensible feature to have. You know, efficiency... That thing that Era is absolute **** at

cbk1994 07-15-2013 06:53 PM

Oops, forgot to reply to this. You can load GMAPs dynamically now by using findLevel(gmapName) but as far as I know there is still no way to unload them without restarting the server. This does mean you don't need to add GMAPs to the server options to load them, though.

Here's an excerpt from the email from Stefan, I don't think he'll mind me sharing this:

Quote:

This new version should make it easier to add gmaps. Instead of calling addgmap just call findlevel(levelname) to force loading, it will then also automatically load it on the gserver.
When you want to delete the instance then just deletelevel() the gmap and nw files. Right now the gserver is not unloading the gmap, but i will add that sometime (need to make sure that it's not crashing when removing the gmap from memory so I don't want to risk random server crashes).

MattKan 07-21-2013 04:45 PM

Even I kinda need this so you know we're getting pretty desperate...

cbk1994 07-22-2013 07:00 AM

Quote:

Originally Posted by MattKan (Post 1720866)
Even I kinda need this so you know we're getting pretty desperate...

Did you read my post? Stefan already added dynamic GMAP loading, which is a much less stupid method of handling temporary GMAPs than adding and removing them from server options constantly. The only thing missing (if it's still missing?) is a method to unload dynamically loaded GMAPs.

MysticalDragon 07-28-2013 06:13 AM

bump still need a way to remove Instance gmaps from the server options (Without restarting the server). While we're not being released we're looping the instance creation, but with a lot of players this can become an issue.

cbk1994 07-28-2013 08:14 AM

Quote:

Originally Posted by MysticalDragon (Post 1721166)
bump still need a way to remove Instance gmaps from the server options (Without restarting the server). While we're not being released we're looping the instance creation, but with a lot of players this can become an issue.

You don't need to remove them from server options (you don't need to add them in the first place), you just need a way to unload GMAPs without restarting the server. I doubt it but it's possible Stefan already added a way. You should email him.


All times are GMT +2. The time now is 09:01 PM.

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