Jump to content

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

0.5.0 XPSAVE


  • Please log in to reply
17 replies to this topic

#1
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better
Hi

Congratulations for your mod, it is very complete work, and thanks for the community.

I've just swaped from jay/enhmod to siLenT, read the f***g manual, but XPSAVE does not work :

my settings:

// XP Save configuration
set g_XPSave 21
set g_XPSaveMaxAge_xp "30d"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "90000"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "1"


Could it be related to the file server.dat, wich comes from a previous test-server ?
( I had this problem with the 2 user.db, log said corrupted, I erased them and OK, but server.dat ...)

Thanks in advance
V55

Edited by blackops, 30 November 2011 - 10:53 PM.


#2
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Server.dat is not a problem. It is used to store server data that needs storing over restarts. You can even delete it if you wish. It will recreate with new values.
About the corruption error. This implies the files were not created by the silEnTmod.

#3
OFFLINE   phantasm

phantasm

    Regular Member

  • Members
  • PipPipPip
  • 118 posts
6
A step in the right direction
user.db is a jaymod file. You cannot copy the user.db from jaymod to silent mod.

userdb.db (and userxdb.db) are the silent mod files.

#4
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better
Thanks guys,

OK I've stopped server, deleted server.dat, and started server.

@phantasm : concerning the 2 db files, I had corrupted message because they came from a second server (silent-mod under windows, and the real-server is a linux) I just had to erase them, and I have no more message about corrupted files.

I can not verify until tonight if XP are well saved since delete of server.dat, I will update post tonight.

V581

#5
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better
please if someone want to test XP saving : 87.98.168.156:27966
I can't wait tonight ... grrrr I've just add this banner :

[banner]
message = ^X sorry problem for XPSAVE - fixed soon
wait = 30
position = bp

lol

Edited by blackops, 01 December 2011 - 10:35 AM.


#6
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better
Sorry for multi-posting :wacko: Here is what saw a mate of me this afternoon :

XPSAVE is saved when you play the maps of the rotation, but if you vote (at the intermission) a map, XP are LOST at this new map.

Does-it help to solve my problem please ?

#7
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3099 posts
216
On the road to fame
  • LocationPoland
@gaoesa, might it be something with the time the player has to be actually playing to have the xp saved?

#8
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
There isn't any functional difference between map rotation maps and when the nextmap is changed by the vote. Can you please paste the log entrys for opening the database files?

#9
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better
Ok thanks for ur help, will active the console.log tonight ... but I think I've found :

set g_dbUserMaxAge "30"

<-------- come from stock silent.cfg zip install ? (can not remember if I've updated this cvar)

Shouldn't be 30d ???

#10
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
You are correct. That would be 30 seconds only. And it has the wrong value in the default config.

#11
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better
OK thanks - please don't close the topic as I must confirm it is resolved.
For exampe, I don't understand in the doc:

Note Storing XP requires PunkBuster GUID. However, XP save is safe to use even if all players wouldn't have GUIDs



Because now that silentID is compatible with old PB etkey, could you explain it in other words please ? :blink:



Hey, I like the smiley :ph34r: it's a blackops member lol ^^

#12
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
The note in the g_XPSave is outdated and can be ignored.

#13
OFFLINE   mrmuppet

mrmuppet

    Newbie

  • Members
  • Pip
  • 4 posts
2
A step in the right direction
Have you added to your cfg;

"g_XPSaveMinXP, when this value is set to above 0 or above, the XP save system will use different timestamp for the XP save then the rest of the database.
this allows cvars like g_XPSaveMaxAge_xp to work correctly."

#14
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better
Thanks mister, but I think problem is resolved (there is set g_dbUserMaxAge "30" instead of set g_dbUserMaxAge "30d" in default silent.cfg)

FYI, i've 90% finished to migrate my jaymod options to silent ones (but it is hard for me, I've always setup only jaymod servers).
I really think I'm going to keep this mod ! Initially choosen for the ETKey feature, it is many fined tunable to have fun !

So please, can I have the link of the ETPub documentation (server cvars etc ...) in the right version corresponding to silent0.050 ?

Thanks in advance,
:ph34r: BLACKOPS :ph34r: figo

Edited by blackops, 03 December 2011 - 12:32 PM.


#15
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
The most current documentation is included in the silent.zip. Look from the doc folder. We can clarify all the cvars here on the forum if the document is not clear about something.

#16
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better
Ok thanks, I will open other post in case of, congratulations again, my regulars & me seem to like your work :ph34r:

V55 good WE

#17
OFFLINE   BettyBoop

BettyBoop

    Regular Member

  • Subscriber
  • PipPipPip
  • 132 posts
11
A step in the right direction
  • LocationFrance
hello
dont found yet how to set to can have xp saved for ever :$
we have that atm

// XP Save configuration
set g_dbDirectory "database"
set g_dbUserMaxAge "3o"
set g_XPSave 21
set g_XPSaveMaxAge_xp "90d"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "10000"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "1"
thanks you
we are moving our nq server for silent tomorrow
cant wait

#18
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better
.... did u read my problem ???

To solve it, you just have to change :

set g_dbUserMaxAge "30"
by
set g_dbUserMaxAge "30d"

But in case of server crashing, I don't know if XP are saved, because server never crash ... thanks silent-mod yeahhh

ciao




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users