Jump to content

level.db help and punkbuster


Oxifresh

Recommended Posts

Hi everyone, I am helping one of my buddies with setting a server up for fun basically. He wants to learn how to use jaymod and all that stuff. I have a little bit of experience but not much to help him out but i know some of you can. He went with some hosting site that I have never used or have no idea about but when he edits the level.db and saves it and restarts server, it will reset back to 1 level. Also there is no punkbuster files for him there. The main thing he wants is to have xpsave which he said he has enabled on config but it still wont save his xp. Last time I used a server hosting site was years ago and it was hard enough for me to figure out so please let me know if u can help him out. thank you:)

Link to comment
Share on other sites

Hi everyone, I am helping one of my buddies with setting a server up for fun basically. He wants to learn how to use jaymod and all that stuff. I have a little bit of experience but not much to help him out but i know some of you can. He went with some hosting site that I have never used or have no idea about but when he edits the level.db and saves it and restarts server, it will reset back to 1 level. Also there is no punkbuster files for him there. The main thing he wants is to have xpsave which he said he has enabled on config but it still wont save his xp. Last time I used a server hosting site was years ago and it was hard enough for me to figure out so please let me know if u can help him out. thank you:)

Did he have an etkey in his etmain folder? Even if his server is set up properly, if he does not have an etkey in his etmain folder, it would not work.

 

If he does have etkey and it still does not work, it would be good if you attach the server.cfg to your post but please remember to remove any sensitive information like rcon password, ref password, shoutcast password as well as the server name (to avoid advertising) etc. This way, other members and I can take a look at it.

Link to comment
Share on other sites

Could he or you please post the level.db contents using the code function? (to the left of quote button)

What is the result of doing !setlevel with rcon?
Was server rebooted after level.db change?

Also: PB dropped support for ET years ago. Turn it off. If you want anticheat, run SilEnT mod.

Link to comment
Share on other sites

He said he added at etmain key now but there are the following categtories he says in his etmain folder which are mp_bin.pk3,objectivecycle,qagame.mp.i386.so,server.cfg,etconfig.cfg, then he added his etmain key now too

Link to comment
Share on other sites

ETMain files have nothing to do with JayMod server, except for map PK3s and server.cfg. What's in the JayMod folder?

In all honesty, we need to see the contents of the files (level.db, shrubbot.cfg) to find out what the problem is- if he's uncomfortable sharing that, then there's nothing we can do.

AFAIK JayMod will automatically create a shrubbot.cfg file with two levels (0 and 1).

In order to save XP, these lines need to be in jaymod or server.cfg

set g_XPSaveFile "xpsave.cfg"
set g_XPSaveMaxAge "nnn"
set g_xpsave "1"
set g_xpmax "nnn"
set g_xpcap "nnn" 

Where 'n' is a variable.

  • Like 1
Link to comment
Share on other sites

what would he set n too? and his level.db is only able to be editing when he is using rcon in server, he can add levels in server and do all that stuff but he cant in his file for some reason on the level.db?

Link to comment
Share on other sites

what would he set n too? and his level.db is only able to be editing when he is using rcon in server, he can add levels in server and do all that stuff but he cant in his file for some reason on the level.db?

He would have to decide that for himself.

 

Common values would be:

set g_XPSaveMaxAge "30d"
set g_xpSaveTimeout "1"
set g_xpmax ""
set g_xpcap "0" 

Restarting the server should not cause those issues, as long as user.db is in the JayMod folder (stores XP and admin levels for each player). There is also the !dbload command which can be used after the server has been started.

 

He should not be typing in these cmds via rcon, but rather putting them manually in his config. If they are set via rcon, the values will reset to default once the server is shut down afaik.

  • Like 1
Link to comment
Share on other sites

He would have to decide that for himself.

 

Common values would be:

set g_XPSaveMaxAge "30d"
set g_xpSaveTimeout "1"
set g_xpmax ""
set g_xpcap "0" 

Restarting the server should not cause those issues, as long as user.db is in the JayMod folder (stores XP and admin levels for each player). There is also the !dbload command which can be used after the server has been started.

 

He should not be typing in these cmds via rcon, but rather putting them manually in his config. If they are set via rcon, the values will reset to default once the server is shut down afaik.

 

As Xernicus has stated, He should edit everything from the folder not rcon.

Link to comment
Share on other sites

does that go in server config, under misc setting^?

 

You can place the cvars anywhere in server config but most likely the cvars already exist in server config so to prevent overwrite you should search for it and replace the cvar variables accordingly. You can read the Jaymod Documentation on XPSave. The server config you should change is the one in jaymod folder.

  • Like 1
Link to comment
Share on other sites

hmm i did put that in my jaymod config but it still is not working, I will try to get the files for you guys soon but it is now saying no guid again for everyone. My question is do i edit under server.cfg or jaymod.cfg whats the difference?

Link to comment
Share on other sites

do you have exec jaymod.cfg in your server.cfg?;

 

There is no difference (I thtink.. i'm not sure about speed), it's just organisation, each mod has different cfg settings, so you can split your settings into general settings and mod specific settings, that way if you decide to have a noquarter server you don't have to start from scratch or have  a bunch of jaymod settings. you would do exec noquarter.cfg and instead and load up your mod-related settings from there.

Link to comment
Share on other sites

This is his server.cfg

 

 

// PASSWORDS & CLIENTS 

set g_password "" // set to password protect the server

set sv_privateclients "0" // if set > 0, then this number of client slots will be reserved for connections

set sv_privatepassword "" // that have "password" set to the value of "sv_privatePassword"

set rconpassword "" // remote console access password

set refereePassword "" // referee status password

 

// DL, RATE

 

set sv_maxRate "40000" // 10000 standard but poor for ET 

set sv_dl_maxRate "42000" // increase/decerease if you have plenty/little spare bandwidth 

set sv_allowDownload "0"         // global toggle for both legacy download and web download

set sv_wwwDownload "0" // toggle to enable web download

set sv_wwwBaseURL "" // base URL for redirection

set sv_wwwDlDisconnected "0" // tell clients to perform their downloads while disconnected from the server

set sv_wwwFallbackURL "" // URL to send to if an http/ftp fails or is refused client side

 

// MOTD ETC

 

set sv_hostname " -------" // name of server here

set server_motd0 " ^NEnemy Territory ^7MOTD " // message in right corner of join screen here

set server_motd1 ""

set server_motd2 ""

set server_motd3 "`````"

set server_motd4 ""

set server_motd5 ""

 

// MISC SETTINGS

 

 

set g_XPSaveMaxAge "30d"

set g_xpSaveTimeout "1"

set g_xpmax ""

set g_xpcap "0"

set g_log         "2"

set g_logOptions  "0"

set g_logSync     "0"

set g_adminLog    "1"

set g_admin "1"

set g_misc "1"

set g_heavyWeaponRestriction "100"

set g_antilag "1"

set g_altStopwatchMode "0"

set g_autofireteams "1"

set g_complaintlimit "6"

set g_ipcomplaintlimit "3"

set g_fastres "0"

set g_friendlyFire "0"

//set g_gametype "4" // Game type should be set from map rotation script

set g_minGameClients "12"

set g_maxlives "0"

set g_alliedmaxlives "0"

set g_axismaxlives "0"

set g_teamforcebalance "1"

set g_noTeamSwitching "0"

set g_voiceChatsAllowed "4"

set g_doWarmup "0"

set g_warmup "30"

set g_spectatorInactivity "0"

set sv_floodProtect "1"

set sv_allowDownload "1"

set sv_pure "1"

set sv_minping "0"

set sv_maxping "0"

set match_latejoin "1"

set match_minplayers "4"

set match_mutespecs "0"

set match_readypercent "100"

set match_timeoutcount "0"

set match_warmupDamage "1"

set team_maxplayers "0"

set team_nocontrols "1"

set pmove_fixed "0"

set pmove_msec "8"

 

// VOTING

 

set g_allowVote "0"

set vote_limit "5"

set vote_percent "50"

set vote_allow_comp "1"

set vote_allow_gametype "1"

set vote_allow_kick "1"

set vote_allow_map "1"

set vote_allow_matchreset "1"

set vote_allow_mutespecs "1"

set vote_allow_nextmap "1"

set vote_allow_pub "1"

set vote_allow_referee "0"

set vote_allow_shuffleteams "1"

set vote_allow_swapteams "1"

set vote_allow_friendlyfire "1"

set vote_allow_timelimit "0"

set vote_allow_warmupdamage "1"

set vote_allow_antilag "1"

set vote_allow_balancedteams "1"

set vote_allow_muting "1"

 

 

// LOGGING

 

set g_log "etserver.log" // Game logging

set g_logsync 0

set logfile 0 // Console logging ( 1: enable 2: enable and sync )

 

// MAP ROTATION

 

exec objectivecycle.cfg // Objective mode

 

 

// WATCHDOG

 

// in case the game dies with an ERR_DROP

// or any situation leading to server running with no map

//set com_watchdog 10 // defaults 60

set com_watchdog_cmd "exec objectivecycle.cfg" // defaults to quit
Edited by Oxifresh
Link to comment
Share on other sites

add exec jaymod.cfg;

and any other cfg you want your server to use

and I strongly recommend that you read the manual

where is set dedicated...

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...

Important Information

By using this site, you agree to our Terms of Use.