Page 1 of 1

My xp will not save

Posted: Mon Oct 13, 2008 8:35 pm
by obeegoone
Hi

I have looked into other peoples topics and tryed to use same setting but it still just not want to save the damn xp :(

// Warcraft 3 Frozen Throne Configuration File


// Saving Options

wc3_save_xp 0 // Enables saving of experience (default is 0)
wc3_save_xp_db 1 // How should we save XP? (0 = SQLite, 1 = MySQL)

wc3_save_by 0 // What should I save this as? steam id = 0, IP = 1, name = 2 (default is 0)
wc3_save_pruning 0 // Automatically prunes the database of old users at a mapchange (default is 0)
wc3_days_before_delete 31 // However many days before deleting XP or pruning from the database (default is 31)
wc3_save_end_round 1 // Save xp at the end of each round (may cause lag, default is 1)


// SQL Database Information

wc3_sql_dbhost "localhost" // Host Name
wc3_sql_dbuser "root" // User Name
wc3_sql_dbpass "pass" // Password
wc3_sql_dbname "databse" // Database Name

modules.ini


;;;
; To enable a module, remove the semi-colon (;) in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time. Use ;;
;; amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

mysql
;sqlite

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Put third party modules below here. ;;
;; You can just list their names, without the _amxx ;;
;; or file extension. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded ;;
;; as needed. You do not need to enable them here ;;
;; unless you have problems. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

fun
engine
fakemeta
;geoip
;sockets
;regex
;nvault
cstrike
csx
hamsandwich

Do i do anythign wrong ? :/

Re: My xp will not save

Posted: Tue Oct 14, 2008 7:00 am
by obeegoone
Havent i done that alredy ?

wc3_save_xp_db 1 // How should we save XP? (0 = SQLite, 1 = MySQL)

And i have filled in database user,database password and database

Re: My xp will not save

Posted: Tue Oct 14, 2008 8:04 am
by obeegoone
Havent change anything

u said i need to set this to 1

wc3_save_xp 0 // Enables saving of experience (default is 0)

All i was askign now was if i have set the mysql right
wc3_save_xp_db 1 // How should we save XP? (0 = SQLite, 1 = MySQL)
But i guess i have cant be any problem there

Re: My xp will not save

Posted: Tue Oct 14, 2008 5:22 pm
by Geesu
Do you have a MySQL server running somewhere? I'm guessing not. Why not using SQLite?