Page 1 of 1

Saving user by his nick

Posted: Tue Feb 12, 2008 12:44 am
by NightRider
Hello.

I have patched CS server, so I cant save users by their Steams IDs. The other saving method requires a unique IP. But some users have dynamic IP, so they have 0 level each time they come to server.
Does warcraft plugin have ability to store XPs by user`s nick?

Posted: Tue May 27, 2008 8:59 am
by mp3por
YES you go to addons -> amxmodx -> cinfigs -> war3ft and there you are looking for a file named
  • war3FT
and inside this file there is a line

Code: Select all

wc3_save_by		2		// What should I save this as?  steam id = 0, IP = 1, name = 2 (default is 0)
if you do it as i have done it (to be 2) you will save peoples XP by nick and not by IP but there is a catch here too if the person change his name he will aoutomaticly have 0 XP because the name is different (i am sorry for the mistakes but i have'n whire in English for a long long time and i have forgoten it sorry one more time)