Jump to content

Server Problem


Recommended Posts

Posted

I've searched all over the forums for an answer to this but I was unable to find one. My server is running off of Clan-RPG Script v3.17 and GRS. Everything is working and you can get money and everything, but if you log out and log back in all of your money is gone. How can I make it so that the money stays? Please don't just say "learn mIRC and do it yourself", because I'm in the process of learning it and I still haven't been able to find a solution to this. Thanks in advance..

Server:

IP: PICServer.Sytes.net

Port: 2003

Posted (edited)
on *:SIGNAL:mta.part:{
 !writeini -n rpg.ini cash $mta.name($1,$2) 5
}
on *:SIGNAL:mta.join:{
 mta.say $1 $mta.name($1,$2) has $iif($readini(rpg.ini,cash,$mta.name($1,$2)),$v1,0) moneyz
}

::$readini(,) - returns value or null
::!writeini  - writes value

Edited by Guest
Posted
:arrow:The help section exists for a reason, yo.

-Rob

[LVG]Captain

Proper Posting & Grammar Master. :wink:

robones7vf1ey.jpg

Retired FKU Member

My motto: When in doubt, use a stubby! 8)

Posted

Hmm. When I log in it always says that I have 5 dollars when I really don't have any, it doesn't write anything to rpg.ini (it's blank still), and when I log out and log back in my money still goes back to zero.

Server:

IP: PICServer.Sytes.net

Port: 2003

Posted

Sounds like a problem with your INI. I have a good RPG I custom wrote with help from a friend, for .4 ... you could take a look at it and if it could be used, feel free to do w/e with it. :wink:

-Rob

[LVG]Captain

Proper Posting & Grammar Master. :wink:

robones7vf1ey.jpg

Retired FKU Member

My motto: When in doubt, use a stubby! 8)

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...