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 01-09-2013, 07:50 PM
Stowen Stowen is offline
Graalian since '01
Join Date: Sep 2005
Location: Massachusets, USA
Posts: 156
Stowen will become famous soon enough
Send a message via AIM to Stowen Send a message via MSN to Stowen
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)
__________________
Quote:
Originally Posted by Felix_Xenophobe View Post
He is no carpenter's son but Stowen will breathe life into pc graal.
Unholy Nation is my home.
Reply With Quote
  #2  
Old 01-09-2013, 07:55 PM
Tim_Rocks Tim_Rocks is offline
a true gentlemen
Tim_Rocks's Avatar
Join Date: Aug 2008
Location: USA
Posts: 1,863
Tim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to behold
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.
__________________
Reply With Quote
  #3  
Old 01-09-2013, 08:07 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by Stowen View Post
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 View Post
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.
Reply With Quote
  #4  
Old 01-09-2013, 08:34 PM
Stowen Stowen is offline
Graalian since '01
Join Date: Sep 2005
Location: Massachusets, USA
Posts: 156
Stowen will become famous soon enough
Send a message via AIM to Stowen Send a message via MSN to Stowen
Quote:
Originally Posted by ffcmike View Post
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
__________________
Quote:
Originally Posted by Felix_Xenophobe View Post
He is no carpenter's son but Stowen will breathe life into pc graal.
Unholy Nation is my home.
Reply With Quote
  #5  
Old 01-09-2013, 08:43 PM
Stowen Stowen is offline
Graalian since '01
Join Date: Sep 2005
Location: Massachusets, USA
Posts: 156
Stowen will become famous soon enough
Send a message via AIM to Stowen Send a message via MSN to Stowen
Ah, nvm! Thanks, Thor. I just wen't through some stuff again and found an enablefeatures() hiding in a class joined to a wep.
__________________
Quote:
Originally Posted by Felix_Xenophobe View Post
He is no carpenter's son but Stowen will breathe life into pc graal.
Unholy Nation is my home.
Reply With Quote
  #6  
Old 01-09-2013, 09:50 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Stowen View Post
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.
__________________
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 01:03 PM.


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