Saving user by his nick

This is the place for general discussion about Warcraft3 XP, including install help.

Moderator: Forum Moderator

Post Reply
NightRider
Peon
Posts: 1
Joined: Tue Feb 12, 2008 12:38 am

Saving user by his nick

Post by NightRider » Tue Feb 12, 2008 12:44 am

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?

mp3por
Peon
Posts: 24
Joined: Wed Apr 23, 2008 1:20 am

Post by mp3por » Tue May 27, 2008 8:59 am

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)

Post Reply