Page 1 of 1
Why wont the xp stay?
Posted: Wed Jan 17, 2007 8:15 am
by quri
AS soon as i shut down the server all xp saveings dissapear. Same as the settings for the server.
Is it suppose to do this or can i change so the xp and settings stay until next time i start the server?
Im Useing War3Ft
Thx for any help
Quri
Posted: Wed Jan 17, 2007 8:47 am
by erik2k3
which version of wc3ft ? using the vault ? or sql ?
Posted: Wed Jan 17, 2007 9:58 am
by YamiKaitou
Please supply the following results of these commands when typed into your console
amx_plugins
amx_modules
meta list
Posted: Wed Jan 17, 2007 1:40 pm
by quri
When i type in amx_plugins i get:
Currently loaded plugins:
name version author file status
Admin Base 1.71 AMXX Dev Team admin.amxx running
Admin Commands 1.71 AMXX Dev Team admincmd.amxx running
Admin Help 1.71 AMXX Dev Team adminhelp.amxx running
Slots Reservation 1.71 AMXX Dev Team adminslots.amxx running
Multi-Lingual Sys 1.71 AMXX Dev Team multilingual.am running
Menus Front-End 1.71 AMXX Dev Team menufront.amxx running
Commands Menu 1.71 AMXX Dev Team cmdmenu.amxx running
Players Menu 1.71 AMXX Dev Team plmenu.amxx running
Teleport Menu 1.71 AMXX Dev Team telemenu.amxx running
Maps Menu 1.71 AMXX Dev Team mapsmenu.amxx running
Admin Chat 1.71 AMXX Dev Team adminchat.amxx running
Anti Flood 1.71 AMXX Dev Team antiflood.amxx running
Scrolling Message 1.71 AMXX Dev Team scrollmsg.amxx running
Info. Messages 1.71 AMXX Dev Team imessage.amxx running
Admin Votes 1.71 AMXX Dev Team adminvote.amxx running
NextMap 1.71 AMXX Dev Team nextmap.amxx running
Nextmap Chooser 1.71 AMXX Dev Team mapchooser.amxx running
TimeLeft 1.71 AMXX Dev Team timeleft.amxx running
Pause Plugins 1.71 AMXX Dev Team pausecfg.amxx running
Stats Configurati 1.71 AMXX Dev Team statscfg.amxx running
Restrict Weapons 1.71 AMXX Dev Team restmenu.amxx running
StatsX 1.71 AMXX Dev Team statsx.amxx running
CS Misc. Stats 1.71 AMXX Dev Team miscstats.amxx running
CS Stats Logging 1.71 AMXX Dev Team stats_logging.a running
Warcraft 3 Frozen 2.3.2 Geesu==(Pimp Dad warcraft3FT.amx debug
25 plugins, 24 running
When i type amx_modules i get:
name version author
Fun 1.71 AMX Mod X Dev Team
Engine 1.71 AMX Mod X Dev Team
FakeMeta 1.71 AMX Mod X Dev Team
CStrike 1.71 AMX Mod X Dev Team
CSX 1.71 AMX Mod X Dev Team
Sqlite 1.70 AMX Mod X Dev Team
6 modules
When i type meta list i get:
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.71 ini ANY ANY
[ 2] Fun RUN - fun_amxx.dll v1.71 pl1 ANY ANY
[ 3] Engine RUN - engine_amxx.dll v1.71 pl1 ANY ANY
[ 4] FakeMeta RUN - fakemeta_amxx.dl v1.71 pl1 ANY ANY
[ 5] CStrike RUN - cstrike_amxx.dll v1.71 pl1 ANY ANY
[ 6] CSX RUN - csx_amxx.dll v1.71 pl1 ANY ANY
6 plugins, 6 running
And thank you for helping me.
Posted: Wed Jan 17, 2007 1:42 pm
by kevlartester
in fact that he is new to this i think he downloaded the latest version => v3.0 RC3
next thing i believe is that hes talking about a LAN-server he is running cause he said "until next time i start the server" => who would do things like that with an online server...whatever
if i'm right you can see a "quick" solution for your problem below:
go to the folder
.../cstrike/addons/amxmodx/configs/war3ft/
and open "war3FT.cfg"
in this file you will find this:
"wc3_save_xp 0"
set this to "1" => "wc3_save_xp 1"
if you're running a LAN-server then you should aply the following things (its my configuration for a lan-server and it works fine):
"wc3_save_xp_db 0"
"wc3_save_end_round 1"
"wc3_save_by 1" (=> 0 is steam id, 1 ip, 2 name | on lan there are no steam ids...)
=> now the players can change name and will keep their xp, if its an online server you should save by steam id ("wc3_save_by 0")
save the file and start your wc3 server...it should work now
EDIT:
oh you posted while i was typing....
well....using v3.0 RC3 instead of v2.3.2 it would work like that...
Posted: Wed Jan 17, 2007 1:44 pm
by YamiKaitou
quri wrote:Warcraft 3 Frozen 2.3.2 Geesu==(Pimp Dad warcraft3FT.amx debug
I call that not 3.0 kevlar
Look in your addons/amxmodx/configs/war3FT.cfg file. Post the first 10 cvars
Posted: Wed Jan 17, 2007 1:52 pm
by quri
These?
// Warcraft 3 Frozen Throne Configuration File
mp_savexp 1 // Enables saving of experience (uses a vault, default is 0)
sv_sql 0 // Save using a SQL module (a module needs to be turned on, note: to use this mp_savexp must also be 1, default is 0)
FT_saveby 0 // What should I save this as? steam id = 0, IP = 1, name = 2 (default is 0)
FT_admin_flag "m" // Admin flag required to give/take XP (default is m)
// SQL configuration
FT_sql_host "127.0.0.1" // Host Name
FT_sql_user "root" // User Name
FT_sql_pass "" // Password
FT_sql_db "" // Database Name
FT_auto_pruning 0 // Automatically prunes the database of old users at a mapchange (default is 0)
sv_daysbeforedelete 31 // However many days before deleting XP or pruning from the database (default is 31)
sv_sqltablename "war3users" // Table Name, no need to change (default is war3users)
sv_save_end_round 1 // Save xp at the end of each round (may cause lag, default is 1)
Posted: Wed Jan 17, 2007 2:07 pm
by quri
And no i wasent running a Lan server. Its just when lightnings comes around i dont want the computer on. So thats why i want the xp to stay.
One more thing that i dont understand is that when you play on my server you cant see how much xp you got on every race. There is nothing to the right. I mean on other War3ft servers there shows how much xp you got in every race. Where can i change so the xp shows?
And by some reson the xp is reseted whenever i change race. Same for the skills.
Posted: Wed Jan 17, 2007 3:29 pm
by Geesu
USE 3.0!!!!!!!!!!!

Posted: Wed Jan 17, 2007 3:40 pm
by quri
I use 3.0
Posted: Wed Jan 17, 2007 3:42 pm
by quri
At least thats what i downloaded
Posted: Wed Jan 17, 2007 4:14 pm
by YamiKaitou
Use the

button next time.
What is installed on your server is 2.3.2, not 3.0. Like Geesu said, use 3.0
Posted: Thu Jan 18, 2007 1:13 am
by quri
Hmm seems like i dowloaded wrong then. Well thanks for all help.
Posted: Thu Jan 18, 2007 10:42 pm
by bacarra
why would anyone want to use 3.0? There are so many bugs in it. I think 2.3.2 is still the best release so far.
Posted: Fri Jan 19, 2007 12:19 am
by Geesu
ur a bug
Posted: Fri Jan 19, 2007 8:36 am
by bacarra
roflmao. sorry if that offended you but you know that its true
Posted: Sat Jan 20, 2007 5:58 am
by mexykanu
ANSWER TO PROBLEM:
replace this
Code: Select all
FT_saveby 0 // What should I save this as? steam id = 0, IP = 1, name = 2 (default is 0)
with this
Code: Select all
FT_saveby 2 // What should I save this as? steam id = 0, IP = 1, name = 2 (default is 0)
to prevent players using each other's names use adminmod or amxmodx > and reserve name