Why wont the xp stay?

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Post Reply
quri
Peon
Posts: 12
Joined: Wed Jan 17, 2007 7:34 am

Why wont the xp stay?

Post by quri » Wed Jan 17, 2007 8:15 am

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

erik2k3
Militia
Posts: 73
Joined: Wed Aug 03, 2005 6:34 am
Location: Germany / UK
Contact:

Post by erik2k3 » Wed Jan 17, 2007 8:47 am

which version of wc3ft ? using the vault ? or sql ?
Image

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Wed Jan 17, 2007 9:58 am

Please supply the following results of these commands when typed into your console

amx_plugins
amx_modules
meta list
Image

No support via PM or Email

quri
Peon
Posts: 12
Joined: Wed Jan 17, 2007 7:34 am

Post by quri » Wed Jan 17, 2007 1:40 pm

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.

User avatar
kevlartester
Militia
Posts: 75
Joined: Tue Nov 14, 2006 10:26 am
Location: Germany
Contact:

Post by kevlartester » Wed Jan 17, 2007 1:42 pm

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...
Last edited by kevlartester on Wed Jan 17, 2007 1:45 pm, edited 1 time in total.

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Wed Jan 17, 2007 1:44 pm

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
Image

No support via PM or Email

quri
Peon
Posts: 12
Joined: Wed Jan 17, 2007 7:34 am

Post by quri » Wed Jan 17, 2007 1:52 pm

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)

quri
Peon
Posts: 12
Joined: Wed Jan 17, 2007 7:34 am

Post by quri » Wed Jan 17, 2007 2:07 pm

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.

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Wed Jan 17, 2007 3:29 pm

USE 3.0!!!!!!!!!!! :P
No Support via PM

quri
Peon
Posts: 12
Joined: Wed Jan 17, 2007 7:34 am

Post by quri » Wed Jan 17, 2007 3:40 pm

I use 3.0

quri
Peon
Posts: 12
Joined: Wed Jan 17, 2007 7:34 am

Post by quri » Wed Jan 17, 2007 3:42 pm

At least thats what i downloaded

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Wed Jan 17, 2007 4:14 pm

Use the Image button next time.

What is installed on your server is 2.3.2, not 3.0. Like Geesu said, use 3.0
Image

No support via PM or Email

quri
Peon
Posts: 12
Joined: Wed Jan 17, 2007 7:34 am

Post by quri » Thu Jan 18, 2007 1:13 am

Hmm seems like i dowloaded wrong then. Well thanks for all help.

bacarra
Militia
Posts: 53
Joined: Wed Sep 07, 2005 7:59 pm
Contact:

Post by bacarra » Thu Jan 18, 2007 10:42 pm

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.
Image

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Fri Jan 19, 2007 12:19 am

ur a bug
No Support via PM

bacarra
Militia
Posts: 53
Joined: Wed Sep 07, 2005 7:59 pm
Contact:

Post by bacarra » Fri Jan 19, 2007 8:36 am

roflmao. sorry if that offended you but you know that its true
Image

mexykanu
Rifleman
Posts: 176
Joined: Sun Oct 22, 2006 8:06 am

Post by mexykanu » Sat Jan 20, 2007 5:58 am

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

Post Reply