Jump to content

XP Save configuration


Tosa_Inu

Recommended Posts

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

 

Link to comment
Share on other sites

  • Subscriber

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • Subscriber

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
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

0:00 InitGame: \sv_sac\0\g_maxConnsPerIP\4\omnibot_playing\0\mod_url\http://mygamingtalk.com/\mod_version\0.8.2\g_damageXPLevel\50\g_damageXP\0\g_tyranny\1\g_antilagDelay\0\g_maxlivesRespawnPenalty\0\voteFlags\0\g_balancedteams\0\g_maxGameClients\0\g_bluelimbotime\20000\g_redlimbotime\30000\gamename\silEnT\g_heavyWeaponRestriction\100\omnibot_enable\1\g_gametype\2\g_antilag\1\g_voteFlags\0\g_alliedmaxlives\0\g_axismaxlives\0\g_minGameClients\8\g_needpass\0\g_maxlives\0\g_friendlyFire\0\sv_allowAnonymous\0\sv_floodProtect\1\sv_maxPing\0\sv_minPing\0\sv_maxRate\40000\sv_maxclients\20\sv_hostname\^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
Link to comment
Share on other sites

  • Subscriber

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.

Link to comment
Share on other sites

  • Subscriber

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • Subscriber

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 ?

Link to comment
Share on other sites

  • Management

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.com/wiki/Silent_Mod_Installation#Advanced

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

There is a silent directory in the redirect.

 

But it gets weirder.

 

I have v-say sounds and hit sounds in same pack, i removed from silent en silent redirect the soundpack, i uploaded them again.

Now my custom hit sounds works, but the v-say sounds is still the standard one.

 

Is there a setting to use in silent.cfg, to enable custom v-sounds?

Link to comment
Share on other sites

I have more than 12, v-sound packs, they always worked, silent, jaymod, nitmod.

 

I had server in 0.8.2 they worked, in 0.9.0 they dont.

 

Same settings, same files.

 

Maybe?? i should send you the soundpack, so you test them on your server?

There 10 mb.

Edited by Tosa_Inu
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
Reply to this topic...

×   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...