Page 1 of 1

XP not saving ?

Posted: Sun Aug 03, 2008 2:33 pm
by madalin
Hello,

I have installed UWC3GEN into an CS1.6 server, with latest adminmod and amxmod but somehow the server doesnt seem to save xp, so on any map change the XP gets lost.

Any ideeas ?

Re: XP not saving ?

Posted: Sun Aug 03, 2008 4:41 pm
by madalin

Code: Select all

// Ultimate Warcraft 3 Next Generation Config file
// Last-Modified Today :)
// main settings
uwc3ng_enabled "1"                      // Enable (1) or Disable (0) Uwc3ng
// Where should we save the XP's then?
uwc3ng_savexp_sql "0"                   // 0 = MySQL, 1 = SQLITE, 2 = NVault
// How should we save the XP's then?
uwc3ng_save_by "2"                      // 0 = SteamID, 1 = IP, 2 = Name
// MYSQL options. You don't have to edit it if you use nvault
uwc3ng_host "127.0.0.1"                 // Server ip where the Mysql Database is hosted
uwc3ng_user "***"                           // The login name from the database
uwc3ng_pass "***"                                // The password from the database
uwc3ng_name "***"                   // The database name
// Psychostats
uwc3ng_enable_psychostats "0"           // 1 = Enable psychostats log, 0 = Disable psychostats log
// Admin options
uwc3ng_admin_flag "m"                   // The required flag for admin commands
// Gameplay
uwc3ng_teleport_protection "1"          // slays people who abuse teleport on some maps (skywalking, map exploiting, default is 1)
uwc3ng_ultimate_cooldown "20"           // Amount of time (in seconds) to delay the ultimates at the start of each round (default is 20)
uwc3ng_teleport_dizziness "0"           // What type of dizziness? (0 is flashbang effect, 1 is fading blue screen, default is 0)
uwc3ng_entangle_drop "0"                // Should the player's primary weapon be dropped when they are entangled? (default is 0)
uwc3ng_spec_position "0"                // 0 is for left, 1 is for right (where to put the information for those spectating, default is 0)
uwc3ng_minmodels "1"                    // Enable (1 default) or Disable (0) minmodels check.
// Items
uwc3ng_boots "0.10"                     // Percentage increase given by boots (.10 = 10%, default is 0.10)
uwc3ng_claw "6"                         // Damage done by Claws of Attack (default is 6)
uwc3ng_cloak "150"                      // Invisibility given with cloak, lower is more invisible (default is 150)
uwc3ng_mask "0.3"                               // Percentage of life gained back by mask of death (default is 0.3)
uwc3ng_frost "125"                      // Speed of victim when attacked with Orb of Frost (default is 125.0)
uwc3ng_health "15"                      // Health bonus given for periapt of health (default is 15)
uwc3ng_glove_timer "10"                 // Interval between receiving a new grenade with the Flaming Gloves of Warmth (default is 10)
uwc3ng_tome "60"                                // XP given for purchasing tome of experience (default is 60)
uwc3ng_sock "0.5"                               // Gravity level for Sock of the Feather (default is 0.5)
// XP options
uwc3ng_save_xp "1"                      // Enable (1) or Disable (0) Saved XP
// XP modifiers
uwc3ng_xp_for_level "5000"              // Default XPs for every level
uwc3ng_min_players "2"                  // Minimum amount of players needed b4 awarding XP (default is 4)
uwc3ng_xpmultiplier "1.0"               // Multiple all xps with this value
uwc3ng_startlevel "0"                   // Defines the startlevel of each player if he connects to the server
// Bots
uwc3ng_ignore_bots "0"                  // 0 = ignore no bots, 1 = ignore bots
uwc3ng_bot_startlevel "0"               // Defines the startlevel of a bot if he connects to the server (default 0)
uwc3ng_bot_buy_item "0.33"              // A percentage chance to buy every spawn an item

Error:

Code: Select all

L 08/03/2008 - 20:59:16: Client CVAR querying is not enabled - check MM version!
L 08/03/2008 - 20:59:16: [AMXX] Run time error 10 (plugin "uwc3ng.amxx") (native "query_client_cvar") - debug not enabled!
L 08/03/2008 - 20:59:16: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/03/2008 - 21:04:25: Client CVAR querying is not enabled - check MM version!
L 08/03/2008 - 21:04:25: [AMXX] Run time error 10 (plugin "uwc3ng.amxx") (native "query_client_cvar") - debug not enabled!
L 08/03/2008 - 21:04:25: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 08/03/2008 - 21:04:38: Client CVAR querying is not enabled - check MM version!
L 08/03/2008 - 21:04:38: [AMXX] Run time error 10 (plugin "uwc3ng.amxx") (native "query_client_cvar") - debug not enabled!
Anyways, i do get:

Code: Select all

[UWC3NG] MySQL X database connection successful
on startup, but if i change the map, XP is lost.

Any hints ?

Re: XP not saving ?

Posted: Mon Aug 04, 2008 8:00 am
by DarkAngel
Yeah. Try to update your metamod version. If this not work try to set the "uwc3ng_minmodels" cvar to 0.

Re: XP not saving ?

Posted: Mon Aug 04, 2008 10:39 am
by madalin
Using the minimodels set to 0 works. But from time to time users with seem to loose their skills and only a resetskills helps on the next round-start.

Second bug i found is: on respawn (vengeance, phoenix) doesnt seem to keep the grenades too, it looses them.

Third bug: The Scroll Of Respawning doesnt seem to always work.

P.S: I could help with a romanian translation :)

Later edit: From time to time it seems to remember one grenade from 3. Mostly it remembers the heg. However all three are 'in-hand' before respawning.

Later later edit: The amx_givexp command seems to give xp to the level 43.

Re: XP not saving ?

Posted: Tue Aug 05, 2008 6:24 am
by DarkAngel
The resetskills bug is known. I'm atm working on it but can't find it currently.

Re: XP not saving ?

Posted: Fri Nov 14, 2008 5:16 pm
by YamiKaitou
No Steam = No Support

Re: XP not saving ?

Posted: Fri Nov 14, 2008 7:17 pm
by YamiKaitou
Both.

Personal because it is illegal. Technical because every server operates differently

Re: XP not saving ?

Posted: Sat Nov 15, 2008 7:00 am
by YamiKaitou
No, the problem is us not wanting to deal with illegal programs. Running CS1.6 without Steam is illegal. It is much easier for the support team (including the Metamod and AMXModX support teams) if we stick with the legal versions. This is also because the NonSteam versions alter the way the game is supposed to be ran so it can get around the Steam requirements. This includes, but is not limited to, memory hacking.


In the words of BAILOPAN,
I do not support No-Steam. This should be obvious, but for those who can't get it:

a)"No-Steam" uses outdated engine binaries. If Valve doesn't support them, how can I support them?
b)"No-Steam" uses outdated CS binaries. This means that internal data can be different, and that means I'd have to support every iteration of CS into the past. The amount of CS internals CSDM relies on is heavy, and this would be a huge amount of work -- just so you can run Steam illegally!
c)"No-Steam" is not legal.
d)Why am I even writing this? No-Steam isn't from Valve, this should all be obvious.

I don't care if your entire country uses it. I don't care if your friends use it. I don't care if your LAN Café/center/party in your remote community in Post-Soviet-Communism Land use it. I am not going to start writing code that will work against every version of CS ever made.

The latest CS 1.6 running on Steam is a requirement, not a suggestion.