Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

XP Save configuration


  • Please log in to reply
20 replies to this topic

#1
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 113 posts
13
A step in the right direction

Hello,

 

I have been offline with et for a while.

But after 3 years, it started to ich again:P

I played a little with some old sfs members on F|A.

So i wanted a private fun server again.

 

Gaoesa and Helreturn still here? If yes, a big HI from me.

Maybe they still remember this old noob :P

 

I rented a server from Fragwise with Silent again, but i run, as usual in to some setting problems :P

I found out after 3 years many things changed, haha.

 

I can not get the xp save working, after each map xp is 0 again.

Below are my settings.

Can one of you helpers here see what i done wrong?

 

I can not see in my server config if i run 0.8.2 or 0.9.0, does that matter for xp save settings?

 

// XP Save configuration
set g_XPSave 4
// Only stored XP
set g_XPSaveMaxAge_xp "365d"
// Stored XP and all rating values
set g_XPSaveMaxAge "365d"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "9000"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "1"
//set g_punkbuster 1
 
Greetings,
A_Tosa_Inu
 
sfs-clan

 



#2
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 243 posts
54
Getting Better
  • LocationCornwall, UK

our xp is set as follows and we reset ours by hand once a month.

// XP Save configuration
set g_XPSave 31  //changed from 21
set g_XPSaveMaxAge_xp "5d"  //changed from "30d"
set g_damageXP "0"  //changed from "1"
set g_damageXPLevel "50"
set g_maxXP -1  //changed from "90000"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "0"  //changed from "1"
set g_punkbuster 1
set g_identOptions 31


#3
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 113 posts
13
A step in the right direction

No matter what setting i use, after the nextmap xpp is reset.

 

There is another weird thing, if i give my selfs a level, and i do !nextmap, the level is also gone.

 

Annyone here reconize this?



#4
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 243 posts
54
Getting Better
  • LocationCornwall, UK

yes, you've not got your paths set correctly.

when your in game and you do

!help

in console do you get any response ? if not you need to check the paths to silent directory, shrubbot commands and xpsave can have the same problems.



#5
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 113 posts
13
A step in the right direction

Thanks for answer.

 

!help shows, no level set

 

if i do rcon setlevel...., i see level commands.

And than i have a level, and see the level commands.

 

But after the next map is loading the xp is 0

Server restart or, !nextmap, level is gone.

 

I have a silent id, and pb id, on other servers i play, where there is xp save it works.

So dont think my level isnt saved because of silent or pb guid problems.

 

To me it looks my server isnt saving it.

 

Do you want or need to see post other info from silent.cfg?


Edited by Tosa_Inu, 08 June 2017 - 07:34 PM.


#6
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 113 posts
13
A step in the right direction

If i use:

/rcon password exec silent.cfg

 

The server restarts, loads level and xp, after map is over and new map starts all is gone....

 

Is this caused by bad linking of server startup line?

So? a gameprovider error?

 

Greetings Tosa



#7
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 243 posts
54
Getting Better
  • LocationCornwall, UK

in your start up line you need

+set fs_homepath "silent"

your xp save files are in the database directory, in our case this is in our et install directory server/silent/database and is set in your silent.cfg file

// Shrubbot and Database
set g_dbDirectory "database"

once you get the shrubbot working your xpsave will work as they use the same directory.

for doing rcon commands we find it easier to use rcon unlimited

when you do a command in that you should a result strasight away, to check another way check in the console, the server log will show where its trying to save the xp to or will show an error saving it.


Edited by JohnDory, 08 June 2017 - 11:18 PM.


#8
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 113 posts
13
A step in the right direction

Thanks for respond.

 

I noob fixed, the xp save, copy from older server files i still had, that works now.

And i set in server.cfg: exec silent.cfg

That works now.

 

But is it normal to have a server.cfg in et main and in silent directory?

That looks weird to me.

They where both different, so with a copy and paste from silent directory, i copy it to the server.cfg in et main.

 

I also set in silent.cfg nd server.cfg: exec scrubbot.cfg and userx.db and userdb.db

But that does not work.

In userx.db is just 1 word. Where is that file for? What is it do?

 

But.. the levels are still gone after every map restart.

 

I can give my self a level, that works, but not after map restarting.

Than i am level 0 again, grrr :P

 

Is it possible some post a full server startupline?



#9
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 113 posts
13
A step in the right direction

0:00 InitGame: \sv_sac\0\g_maxConnsPerIP\4\omnibot_playing\0\mod_url\http://mygamingtalk....ame\^1SFS|SuperFight Soldiers\sv_privateClients\0\mapname\goldrush\protocol\84\timelimit\0\version\ET 3.00 - TB 0.7.4 - 2.60b compatible linux-i386
0:00 Start of warmup.
0:00 *=====INITIALISING USER DATABASE
0:00 * Opening user database file userdb.db.
0:00 Existing database file is for wrong server version or corrupted.
0:00 *=====DATABASE IS NOT IN USE
0:00 GeoIP: Error opening database
0:00 === ShutdownGame -------------------------------------------
0:00 *=====CLOSING DATABASE
0:00 Database is not in use. Cleaning only buffers.
0:00 Buffers cleaned.
0:00 *=====DATABASE IS CLOSED
0:00 ShutdownGame: done. Closing log.
0:00 ------------------------------------------------------------

 

 

Yes i see now.

But what is wrong with it?

 

Existing database file is for wrong server version or corrupted.
0:00 *=====DATABASE IS NOT IN USE

 

 

set g_dbDirectory "database"

 

/silent/database/


Edited by Tosa_Inu, 09 June 2017 - 08:34 AM.


#10
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 243 posts
54
Getting Better
  • LocationCornwall, UK

its most likely because you've copied the old database over as well, delete the copied over databases and it will automatically add new ones if it finds none in the directory.

as you have no use of data from old databases you'll not lose anything.

 

If you have your paths set correctly it will be using the server.cfg from with in your silent directory and not your etmain.

to test which its using just add

set sv_hostname "silent directory"

As the first line in your server.cfg, then when the server is running you'll see the server name changed to what you put and then you'll know which one its using. Don't forget to change the name back again to what you want your server to be seen as.



#11
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 243 posts
54
Getting Better
  • LocationCornwall, UK

you should also when its working change the name of your silent.cfg file to something else to make it harder for other people to make changes if they ever get in.

the silent.cfg I have executed as the last line in my server.cfg



#12
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 243 posts
54
Getting Better
  • LocationCornwall, UK

are you using a windows or linux based server ?



#13
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 113 posts
13
A step in the right direction

Thanks for responding.

 

its most likely because you've copied the old database over as well,

No i did not.

 

You ment i should delete the userdb.db, and than the server makes a new one automaticly?

Without crashing the server?

 

If you have your paths set correctly it will be using the server.cfg from with in your silent directory and not your etmain.

I have not done this, i also cannot see it, its made by game server provider Fragwise.

 

you should also when its working change the name of your silent.cfg file to something else to make it harder for other people to make changes if they ever get in.

Yes, in my old server i have doen that to, many gameproviders think its not needed

 

are you using a windows or linux based server ?

I have no idea, can i see that somewhere?

I do not know what Fragwise is using.

 

I posted here because if i make a trouble ticket it takes 2 to 3 days before they respond on it.

So i try to fix it my self, with help from here.

That helped me years ago also better than the slow help of game providers.

Maybe they should hire someone from here, to respond and fix trouble tickets :P

 

What i found strange that the server did not load the silent.cfg, i personalized, but a clean version of it.

But now it runs the personalized, since i ad: exec silent.cf in server.cfg.

 

 

Tosa


Edited by Tosa_Inu, 09 June 2017 - 03:48 PM.


#14
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 113 posts
13
A step in the right direction

I empty userdb.db and after 3 hours playing it stay empty.

 

All in it is this: SLEnT UDB v0.4



#15
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 113 posts
13
A step in the right direction

Is it possible to delete the user.db form the server, and create a new one?

Does Silent does this automatic, or do i need to upload a new one?

 

I think that all problems above are cause by the userdb.db that stays empty.

Nothing gets written in to there.

 

How do i fix that, Silent 0.8.2

Or is version 0.8.2 bugged with this problem?

 

Please help me, or is the forum death?


Edited by Tosa_Inu, 11 June 2017 - 12:57 PM.


#16
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 243 posts
54
Getting Better
  • LocationCornwall, UK

as far as I know it should breate its own new if you delete the one that is there, but that is not the problem, it sounds like the path is wrong, the easy way to tell if you delete it and restart the server, play and it still does not write any thing, thats whats wrong.

What does it say in the server.log ?



#17
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
339
Will become famous
  • LocationFinland

Silent converts all old database versions to a current version. The wrong version error message is there to prevent older server version to corrupt a newer version of database. I think you may have a file path issue. Use rcon to check fs_homepath and fs_basepath to compare the path to the real directory structure. Also, if you have empty database file, please delete it. Just in case it has gotten some off bits from opening it with a text editor. Very small things can change the file enough so that the silent server will try to protect the file from the silent server itself.

 

http://mygamingtalk....lation#Advanced



#18
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 113 posts
13
A step in the right direction

Thanks  for helping,

 

Fragwise updated silent to 0.9.0 now it all works.

 

But i have a new problem now, our custom made soundpacks and skinpacks, suddendly does not work anymore.

In version 0.8.5 and older versions those 2 packs work, but not in 0.9.0????

 

I tryed them in silent and et-main folder, there on the redirect and also in my own game files.

 

But in server online they dont work.

 

How can this be?

 

Tosa



#19
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 243 posts
54
Getting Better
  • LocationCornwall, UK

add on packs go in the silent directory of the server and the redirect, don't for get to restart the server so tehy gret picked up.

then when you join the server they should download and be used.



#20
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 113 posts
13
A step in the right direction

There in silent directory map.

 

There not downloading from fast server redirect, silent directory.

Maps from et-main are downloaded, the things in the silent directory not.

The path to server redirect is correctly set in silent.cfg.

 

I have them my selfs inside my local et files, so normaly it should work for me.

But i only hear standard silent mod hitsounds, and standard v says menu.

 

So they dont work, in 0.8.2 they worked, in older versions to.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users