Jump to content
  • 0

Server not Saving $vars


Z3R0

Question


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  615
  • Reputation:   201
  • Joined:  11/09/11
  • Last Seen:  

hey guys!

I know, what's a mod doing asking for server support?

Well, unfortunately, I'm a scripting mod, and that's pretty much here I draw the line... (npc scripting that is)

in any case...

I have TXT server, the config file shows

// Mapserver permanent script variables ($-type)

mapreg_txt: save/mapreg.txt

so this should be right? right?

While doing a recording for Scripting for Dummies I came across the concept that for some reason my server was NOT storing $var and $var$ in this file...

I can move to SQL if preferred, but I like TXT because it loads faster...

thoughts? should I just give up and use an SQL installation? (I guess eventually I will have to, to show SQL in my Scripting for Dummies Lessons)

* Edit * Pulled Revision 14998 from the google-code SVN ...

Will not compile.... failing with limits.h from 3rd party... ?

Anyone have a sql server I can download from them ?? <33

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

Create a /save folder, and copy the contents of the /save-tmpl folder to it.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  615
  • Reputation:   201
  • Joined:  11/09/11
  • Last Seen:  

That's what i thought, but I have /save/ and all the files... all permission = full access...

I don't know, maybe it was a problem with the server vbrenth gave me... I modified it to use sql anyways (since my tutorial series will eventually be branching into the sql eventually) and everything worked fine... so either way, I'm good.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

This is what I tested.

Script

qq20111127170744.png

1.Open server

qq20111127170756.png

2.Close server

qq20111127173003.png

3.Open server again.

qq20111127170806.png

(It seem server didn't saving it.)

4.Open server

5.Close map-server by typing @mapexit.

qq20111127171514.jpg

6.Close all.

qq20111127173003.png

7.success.

qq20111127171529.png

So maybe problem is on server saving delay.

Edited by goddameit
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...