Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Disable default map (https://forums.graalonline.com/forums/showthread.php?t=134267748)

Stowen 01-09-2013 07:50 PM

Disable default map
 
Okay, so I'm trying to disable the default map on my server, and I used 2 ways, both of them failed. Is there another way to remove the default map?
I'm trying to use the one Dusty scripted, it works but I have to press M twice, once for the default map, then one more time to get Dusty's to show up.

This is what I have for disabling it in my main system:

PHP Code:

disableMap();
enablefeatures(allfeatures 0x100 0x200 0x1000); 

FEATURES

1 // M key (map)

Tim_Rocks 01-09-2013 07:55 PM

I'm fairly certain you open you .gmap file and under height put NOAUTOMAPPING. That's kind of a guess off the top of my head. So if it's wrong, oops.

ffcmike 01-09-2013 08:07 PM

Quote:

Originally Posted by Stowen (Post 1711870)
Okay, so I'm trying to disable the default map on my server, and I used 2 ways, both of them failed. Is there another way to remove the default map?
I'm trying to use the one Dusty scripted, it works but I have to press M twice, once for the default map, then one more time to get Dusty's to show up.

This is what I have for disabling it in my main system:

PHP Code:

disableMap();
enablefeatures(allfeatures 0x100 0x200 0x1000); 



FEATURES

1 // M key (map)

Both of these should work, are you sure you don't have a script elsewhere which is also using enablefeatures() or enablemap()?

Quote:

Originally Posted by Tim_Rocks (Post 1711873)
I'm fairly certain you open you .gmap file and under height put NOAUTOMAPPING. That's kind of a guess off the top of my head. So if it's wrong, oops.

I believe this disables the saving of level part files used for the map display, rather than the actual usage of the map.

Stowen 01-09-2013 08:34 PM

Quote:

Originally Posted by ffcmike (Post 1711875)
Both of these should work, are you sure you don't have a script elsewhere which is also using enablefeatures() or enablemap()?.

Yeah, I searched through all the system scripts, and any other scripts that may have something of that sort. Everything is clear. I'm really confused

Stowen 01-09-2013 08:43 PM

Ah, nvm! Thanks, Thor. I just wen't through some stuff again and found an enablefeatures() hiding in a class joined to a wep.

cbk1994 01-09-2013 09:50 PM

Quote:

Originally Posted by Stowen (Post 1711879)
Ah, nvm! Thanks, Thor. I just wen't through some stuff again and found an enablefeatures() hiding in a class joined to a wep.

For future note, scriptscan is your friend.


All times are GMT +2. The time now is 10:42 AM.

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