Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-07-2007, 01:56 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
servside savestring?

Yeah I did something like this

NPC Code:

this.test = "blub";
this.test.savestring( "levels/blub.txt", 0 );


and
NPC Code:

this.test = "blub";
this.test.savestring( "blub.txt", 0 );



there snot any blub.txt in levels/ :<
Reply With Quote
  #2  
Old 01-07-2007, 02:13 PM
contiga contiga is offline
Graal2001 Administration
contiga's Avatar
Join Date: Jul 2004
Location: Netherlands
Posts: 419
contiga is an unknown quantity at this point
Send a message via ICQ to contiga Send a message via AIM to contiga Send a message via MSN to contiga Send a message via Yahoo to contiga
Quote:
Originally Posted by projectigi View Post
Yeah I did something like this

NPC Code:

this.test = "blub";
this.test.savestring( "levels/blub.txt", 0 );


and
NPC Code:

this.test = "blub";
this.test.savestring( "blub.txt", 0 );



there snot any blub.txt in levels/ :<
PHP Code:
this.test = new TStaticVar();
this.test.var1 "blub";
this.test.savevars"levels/blub.txt"0); 
__________________
AIM: Contiga122
MSN: [email protected]
Status:
Quote:
Originally Posted by unixmad View Post
I am also awake 3AM to help correct problems.
Quote:
Originally Posted by Bomy Island RC people
Daniel: HoudiniMan is a bad guy =p
*Bell: rofl. I first read that as houdini is a bad man. like the little kid that wants his mommy to keep her away from that boogie man
Daniel: xD
*Rufus: I wouldn't want my kids around him.
Reply With Quote
  #3  
Old 01-07-2007, 02:16 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
doesnt work
and this woudl kinda screw up .png data :>
Reply With Quote
  #4  
Old 01-07-2007, 06:55 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
I am not sure whether NPC-Servers have been updated yet (and if so, which ones), but you might need to give (npcserver) write rights to that folder.
Reply With Quote
  #5  
Old 01-07-2007, 07:32 PM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
In RC: /refreshfilelist

I have to do this whenever I add a file using a script otherwise I can't see it.
Reply With Quote
  #6  
Old 01-07-2007, 08:08 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
sendtorc( "/refreshfilelist"); after obj.savestring()
__________________
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 06:13 PM.


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