Page 1 of 1
Xp hquestion
Posted: Wed Aug 03, 2005 12:30 pm
by Highfighter
Okay, guys here is my question. Where can I find a program, that will let me enter in someone's steam id, to give them a certain level, with out me actually going in game to give them xp. I havent read your forums on your other webpage yet, I just figured that I would check here. if you can let me know that would be sweet. If you dont know what I am asking, basically I have people donate, and I want to just ask for their steam id, and then go and enter in their steam id to a .cfg file I am guessing, and then when they join, they get like 1 xp and then the next time they join/next map they have like 53000 xp or level 10 in the race
Posted: Wed Aug 03, 2005 12:45 pm
by Lazarus Long
Highfighter:
Humm, I see several ways to do it, depends on how you are storing XP and your skill with a web or automation script, but basically it's a DIY thing.
Regards,
Posted: Wed Aug 03, 2005 1:48 pm
by Highfighter
DIY?? do it yourself? and how they are stored is in the vault.ini and looks like this
STEAM_0:1:7094802_1 STEAM_0:1:7094802 108144 1 3 3 3 1 Highfighter2003 07 31 01 13
I dont know what to do with that.
Posted: Wed Aug 03, 2005 4:52 pm
by Highfighter
STEAM_0:1:7094802_1
Steam ID and race...1=undead?
STEAM_0:1:7094802
Steam id again
108144
amount of xp?
1 3 3 3 1
I have no idea
Highfighter2003
user name last used to save it?
if you could correct me and break that down for me that would be great.
sorry for the double post though I was in edit mode
Posted: Thu Aug 04, 2005 6:57 am
by Lazarus Long
Hello, Highfighter:
The vault.ini line structure depends on how you are saving XP, by Steam ID, IP address or name, but you can find how it is built in "addons/amxmodx/scripting/war3ft/XP.inl" around line 301.
Regards,
Posted: Thu Aug 04, 2005 10:32 am
by Highfighter
what kind of program does it take to open the file? because I dont want to open it in not pad and mess something up...
Posted: Thu Aug 04, 2005 12:17 pm
by eM-Viper
just notepad
Posted: Fri Aug 05, 2005 1:28 pm
by Highfighter
Okay, lets see if I can upload something here.
There ya go, thats the file, not exactly sure what I am looking for, but as far I can tell it is saving by client ID
Posted: Fri Aug 05, 2005 2:30 pm
by eM-Viper
Code: Select all
else{ // Save it to a vault :)
new temp[128], string[512]
get_time("%m %d %H %M",timet,31)
get_user_authid(id,playerid,31)
get_user_name(id,playername,31)
get_user_ip(id,ip,31)
format(string,511,"%s %d %d %d %d %d %d %s %s %s",playerid,p_data[id][P_XP],p_data[id][P_RACE],p_data[id][P_SKILL1],p_data[id][P_SKILL2],p_data[id][P_SKILL3],p_data[id][P_ULTIMATE],playername,ip,timet)
if(iCvar[FT_SAVEBY]==0) // Save by steam ID
format(temp,127,"%s_%d",playerid,p_data[id][P_RACE])
else if(iCvar[FT_SAVEBY]==1) // Save by IP address
format(temp,127,"%s_%d",ip,p_data[id][P_RACE])
else if(iCvar[FT_SAVEBY]==2) // Save by Player name
format(temp,127,"%s_%d",playername,p_data[id][P_RACE])
set_vaultdata(temp,string)
}
the answer u r looking for is in here, i just have a headache so i make this a quick post. When the headache is gone and this hasnt been solved and i can think again i will tell u how it works.
Posted: Tue Aug 09, 2005 10:44 am
by Highfighter
hmmmm. can you explain this now please?
Posted: Tue Aug 09, 2005 11:21 am
by ferret
Highfighter wrote:STEAM_0:1:7094802_1 STEAM_0:1:7094802 108144 1 3 3 3 1 Highfighter2003 07 31 01 13
STEAM_0:1:7094802_1 - Vault key, used to retrieve data
STEAM_0:1:7094802 - Steamid
108144 - XP
1 - Race
3 3 3 1 - Skills. 1st skill, 2nd skill, 3rd skill level, and then ultimate.
Highfighter2003 - Name
07 31 01 13 - Time stamp
Posted: Tue Aug 09, 2005 1:34 pm
by Highfighter
Thanks ferret

im not the brightest person..