Forum

> > CS2D > General > COD Script not saving properly
Forums overviewCS2D overviewGeneral overviewLog in to reply

English COD Script not saving properly

6 replies
To the start Previous 1 Next To the start

old COD Script not saving properly

ViTalIty
User Off Offline

Quote
Hi guy's

i have a COD Script by LooSer and it sometimes saves the xp and level sometimes it doesn't for Eg. I achieve level 7 on one map and after a mapchange it stays the same level 7 yes, but i achieve level 16 on the map then after map change it goes back to level 7. so i decided i'm admin so ill just give myself level 37. so i went into the codsaves foler
(sys/lua/codsaves) and opened my number and changed the xp number to 1000 and i restart the server log in and my level is 100 which is fine by me even though the level limit cap is 37. that was this morning and i left the server running the whole day and i join back my server this evening and my level is 1. can someone please look at this code and tell me what to edit so that it saves properly? after each match and doesn't reset the xp.

Spoiler >
edited 2×, last 25.08.11 03:23:16 am

old Re: COD Script not saving properly

ViTalIty
User Off Offline

Quote
user Bowlinghead has written
But that whole code into a SPOILER/MORE TAG!!!
1
[spoiler][/spoiler]


BTW : MAY YOU JUST SHOW US THE IMPORTANT PART (THE SAVE&LOAD PART)

did that spoiler, but to be honest i dont know where the save-load part is im new to LUA

old Re: COD Script not saving properly

Bowlinghead
User Off Offline

Quote
So if you arent sure that is there a save&load function i am very sure that there is no save&load function...
But if there is a special folder...
I am too lazy now to watch into this script because its soo long!

old Re: COD Script not saving properly

ViTalIty
User Off Offline

Quote
user Bowlinghead has written
So if you arent sure that is there a save&load function i am very sure that there is no save&load function...
But if there is a special folder...
I am too lazy now to watch into this script because its soo long!


it comes with a codsaves folder which you put into the lua folder. that generates a unique number for each person that log on

old Re: COD Script not saving properly

Bowlinghead
User Off Offline

Quote
I know...
io. skills
But I watched the whole code now and I dont find a save&load system...................
But may I overlooked it (because in my country its 04:00 am (night)) and may tomorr I can see it (or other)...

old Re: COD Script not saving properly

ViTalIty
User Off Offline

Quote
user Bowlinghead has written
I know...
io. skills
But I watched the whole code now and I dont find a save&load system...................
But may I overlooked it (because in my country its 04:00 am (night)) and may tomorr I can see it (or other)...

Ok thanx for your help
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview