Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-10-2008, 03:13 AM
[email protected] zergonp2p@hotmail.com is offline
Registered User
Join Date: Dec 2007
Posts: 8
zergonp2p@hotmail.com is on a distinguished road
Question Graal GMAP NPCs

I cant seem to see the script I out into a text generated GMAP... I made a notepad document with a gmap script:
GRMAP001
WIDTH 6
HEIGHT 6
LEVELNAMES
"fourstones_a1.nw","fourstones_b1.nw","fourstones_ c1.nw","fourstones_d1.nw","fourstones_e1.nw","four stones_f1.nw"
"fourstones_a2.nw","fourstones_b2.nw","fourstones_ c2.nw","fourstones_d2.nw","fourstones_e2.nw","four stones_f2.nw"
"fourstones_a3.nw","fourstones_b3.nw","fourstones_ c3.nw","fourstones_d3.nw","fourstones_e3.nw","four stones_f3.nw"
"fourstones_a4.nw","fourstones_b4.nw","fourstones_ c4.nw","fourstones_d4.nw","fourstones_e4.nw","four stones_f4.nw"
"fourstones_a5.nw","fourstones_b5.nw","fourstones_ c5.nw","fourstones_d5.nw","fourstones_e5.nw","four stones_f5.nw"
"fourstones_a6.nw","fourstones_b6.nw","fourstones_ c6.nw","fourstones_d6.nw","fourstones_e6.nw","four stones_f6.nw"
LEVELNAMESEND

...to fit my GMAP, they are all linked fine, signs work, doors work... However I can't seem to get my text scripts to work... I tried GS2 and GS1 both clientsided and it didn't show the text I scripted, heck it didn't show any at all. Yes my GMAP is correctly added the the server options list, without the ".gmap" extension (gmaps="fourstones")... Can anyone shed some light on my situation?
Reply With Quote
  #2  
Old 05-10-2008, 03:18 AM
Rapidwolve24 Rapidwolve24 is offline
North*
Join Date: Oct 2007
Location: Massachusetts
Posts: 178
Rapidwolve24 is on a distinguished road
Send a message via AIM to Rapidwolve24 Send a message via MSN to Rapidwolve24
I hated using gmaps for the first time, they worked 10% of the time the first time.
>_> god stefan
Reply With Quote
  #3  
Old 05-10-2008, 03:26 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
You just seem to have trouble outputting the text to a .gmap file? Are you saving it to an array like:
PHP Code:
temp.lines = {};
lines.add("GRMAP001");
lines.add("WIDTH " temp.gmapwidth);
lines.add("HEIGHT " temp.gmapheight);
lines.add(etc); 
If are you doing it like that (which you should be) then first try to echo(lines[0]) and see if you get "GRMAP001". Then try lines.savelines("test.txt", 0) and see if the text file saves right. After that then just replace test.txt with your gmap file name .

Also, if you are saving serverside, the (npcserver) needs rights to the file you are trying to access. If it doesn't have rights, the file will be saved in the "scriptfiles/" folder in the file browser.
__________________
Do it with a DON!
Reply With Quote
  #4  
Old 05-10-2008, 04:06 AM
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
I think he means that scripts placed in the GMAP do not work.

Did you try restarting the Gserver?

Have the owner say this in RC Chat: /global servercontrol restart
__________________
Reply With Quote
  #5  
Old 05-10-2008, 11:13 AM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
Quote:
Originally Posted by [email protected] View Post
Yes my GMAP is correctly added the the server options list, without the ".gmap" extension (gmaps="fourstones")...

its gmaps=fourstones ( with no " " !)
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
Reply With Quote
  #6  
Old 05-10-2008, 06:05 PM
Bell Bell is offline
Registered User
Bell's Avatar
Join Date: Feb 2007
Posts: 1,824
Bell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud of
Its fixed, he just updated the gmap and they worked fine.
__________________
For support contact
http://support.toonslab.com/
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 11:39 PM.


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