Help with database file ( Cops-Robbers-RPG )
#1

Hello, I setup San Fierro Cops-Robbers-RPG v1.1 https://sampforum.blast.hk/showthread.php?tid=223963 on my linux server but I have some problems. I edit userfile ( admin.dudb.sav ) and tried to promote myself to CIA however on login I couldn't.

Here is the file :

Код:
password_hash=*********
Money=7500
Bankcash=5000
Score=1000
Adminlevel=1337
Nameban=0
Army=0
CIA=1
RegularPlayer=1
DrugHouseOwner=0
OttoOwner=0
TSkill=0
RobSkill=1
HasPackC4=0
HasPackRope=0
HasPackMoney=0
SavedJailTime=0
SavedWantedLevel=0
IP=**********
Cash=87496
I'm not really a friend with text based database therefore not sure if I'm doing right.
Initially CIA was 0 and I changed it to 1.
Reply
#2

If you're editing a user file, you need to make sure you're offline whilst doing this, or the player that you're editing is offline, or else it can cause conflicts. I'd suggest also that when you're editing files, use a file editor instead of notepad, because some servers will only allow you to use file editors, i.e. gVim.
Reply
#3

I was offline, I try your suggested editor. I use Notepad ++ for general development.

--
Still nothing, I even switch off the server when I was uploading the file but nothing.
Reply
#4

It seems like the server's not loading that variable then from the script.
Reply
#5

Any idea how to make it working ?
Reply
#6

UP !
--
Sorry for double post.
Reply
#7

See inside the script.I assume if you set cia to 1337 you might get it.Try it.Because SFCRRPG dosent save CIA as 1.It saves as 1337.Try it out and tell the result.
Reply
#8

Awesome Works
Thank you. +REP ( I add it tomorrow )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)