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 dont work when server restart


  • Please log in to reply
44 replies to this topic

#21
OFFLINE   NiEGaz0wany

NiEGaz0wany

    Member

  • Members
  • PipPip
  • 45 posts
0
Unknown
I do this but its not this...

Server loaded my xp and level but something restet this xp to 0... in my idea...

#22
OFFLINE   NiEGaz0wany

NiEGaz0wany

    Member

  • Members
  • PipPip
  • 45 posts
0
Unknown
maeby this Minxp to 0 ?


etded.x86 +set fs_basepath /home/servers/s19987 +set fs_homepath /home/servers/s19987 +set dedicated 2 +exec server.cfg +set net_strict 1 +set sv_maxclients 20 +set net_ip 79.133.192.44 +set fs_game silent +exec silent.cfg +set net_port 27992
This is starting parameters

#23
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
You can test if g_XPSaveMinXP 0 has any effetct. By default it is -1, which disables it completely.

#24
OFFLINE   NiEGaz0wany

NiEGaz0wany

    Member

  • Members
  • PipPip
  • 45 posts
0
Unknown
Thats command don't do antything... Xpsave dont work:((((

#25
OFFLINE   NiEGaz0wany

NiEGaz0wany

    Member

  • Members
  • PipPip
  • 45 posts
0
Unknown
What i must to do ???


Please help me :wacko: :(

Edited by NiEGaz0wany, 21 December 2011 - 07:14 PM.


#26
OFFLINE   NiEGaz0wany

NiEGaz0wany

    Member

  • Members
  • PipPip
  • 45 posts
0
Unknown
Maeby PB must be enabled ?

#27
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
PB does not need to be enabled.

#28
OFFLINE   NiEGaz0wany

NiEGaz0wany

    Member

  • Members
  • PipPip
  • 45 posts
0
Unknown
So what i need to do ?


FROM SERVER LOG


*=====DATABASE READY FOR USE
0:02 Lua API: can not open file LVL.lua
0:02 Lua API: can not open file pow.lua
0:02 Lua API: can not open file guid.lua
0:33 === ShutdownGame -------------------------------------------
0:33 *=====CLOSING DATABASE
0:33 Buffers cleaned.
0:33 Big Memory Cache cleaned.
0:33 *=====DATABASE IS CLOSED
0:33 ShutdownGame: done. Closing log.
0:33 --------------------------------------


and i was set xpSave to 31 and this again doesnt work

Edited by NiEGaz0wany, 21 December 2011 - 07:56 PM.


#29
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
0:02 Lua API: can not open file LVL.lua
0:02 Lua API: can not open file pow.lua
0:02 Lua API: can not open file guid.lua

The Lua files are not in the correct folder. If they were but had errors, the log would have error messages from the Lua interpreter. If it is possible for you to set rconpassword temporarily to something meaningless, I could join the server to do some checks. Don't post it here, but if it is possible I could join the server where you could give it.

#30
OFFLINE   NiEGaz0wany

NiEGaz0wany

    Member

  • Members
  • PipPip
  • 45 posts
0
Unknown
I don't have this files on server... Is this a problem ?

and silent.cfg .. it is in etmain folder

Edited by NiEGaz0wany, 21 December 2011 - 08:07 PM.


#31
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
No it's not a problem. Just thinking if you are editing in wrong folder. In this instance I would need to get more information to get further. Also excluding different accidental errors. I have tested the age settings you are using and those did work correctly in the tests.

and i was set xpSave to 31 and this again doesnt work


Try to set it to 9.

EDIT:
Tested 31 without issues. (using !nextmap and /rcon timelimit commands)

#32
OFFLINE   NiEGaz0wany

NiEGaz0wany

    Member

  • Members
  • PipPip
  • 45 posts
0
Unknown
9 doesn't work.. hmmm

So.. if this is not a problem of settings ... the problem is my host? server is a problem ?


// silEnT mod - Sample server.cfg file
// If you need help contact us on forums. http://mygamingtalk.com/
// Generic server cvars //
//set dedicated 2
//set net_ip "localhost"
//set net_port 27960
set sv_hostname "^0|^2GT^0|^2Ganja^0-^2Team ^0@ Zabijaka.pl"
set server_motd0 " ^2Zapr^7a^2szamy!"
set server_motd1 " ^2SK^7=^2warn/^1kick"
set server_motd2 " ^2Cheats/Hacks^7=^1Ban"
set server_motd3 " ^2Przes^7t^2rzegaj Zasad"
set server_motd4 " ^1Duel Tournament^7-^1Zapisy!"
set server_motd5 " ^2g^74^2nj^74^2team.dbv.pl"
set sv_maxclients "20"
set g_password ""
set sv_privateclients 0
set sv_privatepassword ""
set sv_fullmsg "Serwer pelny lecz zaraz zwolni sie miejsce."
set rconpassword ""
set refereePassword ""
set sv_maxRate 25000
set sv_dl_maxRate 42000
set sv_allowDownload 1
set sv_wwwDownload 1
set sv_wwwDlDisconnected 0
set sv_wwwBaseURL "http://s19987.fd.zabijaka.pl/"
set sv_wwwFallbackURL ""
set sv_pure 1
set sv_minping 0
set sv_maxping 0
set g_gametype 6
// silEnT mod supported cvars
set g_antilag 1
set g_antiwarp 1
set g_maxWarp 4
set g_skipCorrection 1
set g_heavyWeaponRestriction 100
set g_altStopwatchMode 0
set g_autofireteams 0
set g_complaintlimit 6
set g_ipcomplaintlimit 3
set g_fastres 0
set g_friendlyFire 0
set g_disableComplaints 0
set g_minGameClients 0
set g_maxlives 0
set g_alliedmaxlives 0
set g_axismaxlives 0
set g_teamforcebalance 1
set g_noTeamSwitching 0
set g_doWarmup 0
set g_warmup 15
set match_latejoin "1"
set match_minplayers 0
set match_mutespecs 0
set match_readypercent 100
set match_warmupDamage 1
set team_maxplayers 0
set g_speed 320
set g_gravity 800
set g_knockback 1000
set g_inactivity 50
set g_spectatorInactivity 0
set g_maxConnsPerIP 4
set shoutcastPassword ""
set g_spoofOptions 3
set g_maxNameChanges -1
set g_watermark ""
set g_watermarkFadeAfter 0
set g_watermarkFadeTime 0
set g_inactivityOptions 3
set g_ettvFlags 3
set g_useralliedrespawntime 6
set g_useraxisrespawntime 6
SET g_ammoCabinetTime 20
SET g_healthCabinetTime 20
// Votes
set g_voting 0
set vote_limit 5
set vote_percent 75
set g_noVoteTime 0
set vote_allow_comp 0
set vote_allow_gametype 0
set vote_allow_kick 0
set vote_allow_map 0
set vote_allow_matchreset 0
set vote_allow_mutespecs 0
set vote_allow_nextmap 1
set vote_allow_pub 0
set vote_allow_referee 0
set vote_allow_shuffleteamsxp 1
set vote_allow_swapteams 0
set vote_allow_friendlyfire 0
set vote_allow_timelimit 0
set vote_allow_warmupdamage 1
set vote_allow_antilag 1
set vote_allow_balancedteams 0
set vote_allow_muting 0
set vote_allow_surrender 0
set vote_allow_nextcampaign 0
set vote_allow_restartcampaign 0
set vote_allow_poll 0
set vote_allow_maprestart 1
set vote_allow_shufflenorestart 0
set vote_allow_cointoss 0
// Logs
set g_log "server.log"
set logfile 2
set g_logOptions 0
set g_logAdmin "admin.log"
set g_cheatLog "cheat.log"
set g_adminProtection "7"
// XP Save configuration
set g_XPSave 9
set g_XPSaveMaxAge_xp "30d"
set g_XPSaveMaxAge "12o"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "900000"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "0"
set g_maxXPResetWarn "0"
//set g_punkbuster 1
// Shrubbot and Database
set g_dbDirectory "database"
set g_dbUserMaxAge "12od"
set g_minConnectLevel "0"
// see documentation about tyranny enabled commands and flags
set g_tyranny "1"
set g_greetingPos "0"
set g_warningOptions "3"
set g_warningDecay "24"
set g_maxWarnings "3"
set g_autoTempBan "0"
set g_autoTempBanTime "1800"
set g_shuffle_rating "1"
//
// Censoring
set g_censor ""
set g_censorNames ""
set g_censorNeil 0
set g_censorNeilNames 0
set g_censorPenalty 0
set g_censorMuteTime 60
set g_censorXP 5
//
// Intermission
set g_intermissionTime 15
set g_intermissionReadyPercent 100
//
// Skill points needed for level
set skill_soldier "15 30 45 60"
set skill_medic "15 30 45 60"
set skill_engineer "15 30 45 60"
set skill_fieldops "15 30 45 60"
set skill_covertops "15 30 45 60"
set skill_battlesense "15 30 45 60"
set skill_lightweapons "15 30 45 60"
set g_serverInfo 1
set g_killRating 1
set g_playerRating 1
set g_playerRating_mapPad 50
set g_playerRating_minplayers 4
set g_stats 0

// Custom configs
set g_mapScriptDirectory "mapscripts"
set g_campaignFile ""
set g_mapConfigs "mapconfigs"
set g_banners "banners.cfg"

// Miscellanous
set g_skills 0
set g_teamDamageRestriction 0
set g_minHits 6
set g_weapons 7143
set g_mg42 3
set g_goomba 5
set g_goombaFlags 1
set g_spinCorpse 1
set g_teamChangeKills 1
set g_poison 25
set g_poisonFlags 7
set g_slashKill 0
set g_spectator 1
set g_medics 4
set g_medicHealthRegen 5
set g_coverts 1796
set g_truePing 0
set g_dropObj 0
set g_hitsounds 9
set g_playDead 1
set g_shove 80
set g_shoveNoZ 0
set g_dragCorpse 1
set g_classChange 1
set g_forceLimboHealth 0
set g_privateMessages 1
set g_packDistance 15
set g_dropHealth 4
set g_dropAmmo 4
set g_tossDistance 5
set g_fear 2000
set g_obituary 1
set g_throwableKnives 1
set g_maxKnives 5
set g_knifeChargeTime 800
set g_constructibleXPSharing 1
set g_asblock 26
set g_panzersVulnerable 1
set g_panzersSpeed 2500
set g_panzersGravity 0
set g_realHead 1
set g_dyno 31
set g_canisterKick 110
set g_canisterKickOwner 1
set g_spreeOptions 1655
set g_multikillTime 1000
set g_medicSelfhealTime 0
set g_maxPanzerSuicides -1
set g_panzerPackDistance 0
set g_maxSelfkills -1
set g_voteResultsMinLevel -1
set g_minCommandWaitTime 0
set g_noSkillUpgrades 0
set g_flushItems 1
set g_headshot 0
set g_instagibDamage 400
set g_staminaRecharge 1.0
set g_mineid 1
set g_tactics 0
set g_landmineNotifyType 1
set g_misc 7
set g_extraStatistics 5
//
// Weapon damages and radius settings
set g_dmgKnife 50
set g_dmgSten 17
set g_dmgFG42 18
set g_dmgPistol 21
set g_dmgSMG 21
set g_dmgPPSh 22
set g_dmgMG42 21
set g_dmgMG 23
set g_dmgFG42Scope 35
set g_dmgInfRifle 43
set g_dmgSniper 65
set g_dmgFlamer 7
set g_dmgGrenade 500
set g_dmgGrenadeRadius 250
set g_dmgGLauncher 600
set g_dmgGLauncherRadius 170
set g_dmgLandmine 400
set g_dmgLandmineRadius 250
set g_dmgSatchel 250
set g_dmgSatchelRadius 250
set g_dmgPanzer 400
set g_dmgPanzerRadius 300
set g_dmgMortar 400
set g_dmgMortarRadius 400
set g_dmgDynamite 400
set g_dmgDynamiteRadius 350
set g_dmgAir 300
set g_dmgAirRadius 400
set g_dmgArty 400
set g_dmgArtyRadius 400
set g_dmg 37
set g_dmgHeadShotMin 50
set g_dmgHeadShotRatio 2.0
set g_dmgTMine 260
set g_knifeThrowDamage 80
//
// Team restrictions
set team_maxMedics -1
set team_maxEngineers -1
set team_maxFieldOps 1
set team_maxCovertOps -1
set g_maxTeamLandmines 35
set g_maxTeamTripmines 8
set team_maxPanzers 1
set team_maxMortars 1
set team_maxFlamers 1
set team_maxMG42s 1
set team_maxGrenLaunchers 4
//
// Friendly fire
set g_reflectFriendlyFire 0
set g_reflectFFWeapons 31
set g_friendlyFireOpts 9
//
// Flood protection
set g_floodprotect 1
set g_floodthreshold 6
set g_floodWait 1000
set g_voiceChatsAllowed 4
//
// Map voting
set g_mapVoteFlags 13
set g_maxMapsVotedFor 30
set g_minMapAge 5
set g_resetXPMapCount 0

//
// Omni-bots
set omnibot_enable 1
set omnibot_path "/omni-bot"
set g_bot_maxXP 50000
set g_bot_minPlayers 8
set omnibot_flags 1
//
// Fun wars
//set g_sniperwar 0
//set g_panzerwar 0
//set g_riflewar 0
//
// Country flags, You need to have GeoIP database installed to use this.
set g_countryFlags 1
//
// ETPub experimental, not advised to use
set g_fixedphysics 0
set g_fixedphysicsfps 125
//
// Lua API
set lua_modules "LVL.lua pow.lua guid.lua"
set lua_allowedModules ""

exec mapvotecycle.cfg
set com_watchdog 60
set com_watchdog_cmd "exec mapvotecycle.cfg"
									   
									   
									   
exec boty.cfg									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   
									   

Again actualy settings

#33
OFFLINE   NiEGaz0wany

NiEGaz0wany

    Member

  • Members
  • PipPip
  • 45 posts
0
Unknown
And...
I downloaded the silent mod from this site so it must work

#34
OFFLINE   NiEGaz0wany

NiEGaz0wany

    Member

  • Members
  • PipPip
  • 45 posts
0
Unknown
hmm ? u got idea ?


Level save working
Xpsave when i restarting server is resets to 0 ...

Edited by NiEGaz0wany, 21 December 2011 - 09:03 PM.


#35
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better
loool - watch your start-command : which file do you exec ? silent .cfg or server.cfg ?

And distinguish 0 and o ? not the same (zero or letter "O" in lowercase)

#36
OFFLINE   NiEGaz0wany

NiEGaz0wany

    Member

  • Members
  • PipPip
  • 45 posts
0
Unknown
I exec the silent.cfg
and i have settings like 12o not 12 with 0 (zero);p
All the time u explain me this and you write o not zero

set g_XPSaveMaxAge "12o" This is 12 and o ... not 0 (zero)

#37
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Indeed blackops, I didn't think about it but I did a quick test with 2 exec commands on the command line and it appeared that the second one was not executed.

NiEGaz0wany, please try using only one exec in the command line. You can exec several config files by adding "exec silent.cfg" inside the server.cfg for example.

#38
OFFLINE   NiEGaz0wany

NiEGaz0wany

    Member

  • Members
  • PipPip
  • 45 posts
0
Unknown
Hmm i seting stopwathcycle mode in server cfg
and g_gametype 2 and xp save working

#39
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Mapvoting is g_gametype 6. You should fix that in the rotation cfg. Also you should set a cvar only in one cfg file. Will help you later if you make changes. I personally chain execs so that I first exec a generic cfg with some settings that are the same or similar (e.g. sv_x cvars) to all servers I may start up. Inside that file I do exec silent.cfg which is more specific to the mod I'm starting. In the very end I exec mapcycle and set watchdog command.

#40
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better

All the time u explain me this and you write o not zero
set g_XPSaveMaxAge "12o" This is 12 and o ... not 0 (zero)


I am very sorry, I wanted to say : "120d"
But I was talking about g_dbUserMaxAge CVAR.

Anyway, Happy to see is solved other way :)

Bye :ph34r:

Edited by blackops, 21 December 2011 - 10:51 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users