Xp hquestion

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

Moderator: Forum Moderator

Locked
Highfighter
WC3Mods Donor
WC3Mods Donor
Posts: 60
Joined: Wed Aug 03, 2005 12:22 pm
Location: Highland Heights, KY
Contact:

Xp hquestion

Post by Highfighter » Wed Aug 03, 2005 12:30 pm

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

User avatar
Lazarus Long
Lead PITA SOB
Posts: 618
Joined: Tue Jul 05, 2005 9:24 pm

Post by Lazarus Long » Wed Aug 03, 2005 12:45 pm

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,
Lazarus

Highfighter
WC3Mods Donor
WC3Mods Donor
Posts: 60
Joined: Wed Aug 03, 2005 12:22 pm
Location: Highland Heights, KY
Contact:

Post by Highfighter » Wed Aug 03, 2005 1:48 pm

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.

Highfighter
WC3Mods Donor
WC3Mods Donor
Posts: 60
Joined: Wed Aug 03, 2005 12:22 pm
Location: Highland Heights, KY
Contact:

Post by Highfighter » Wed Aug 03, 2005 4:52 pm

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
www.elitegamingcorp.com - - Up and growing counter-strike community.

User avatar
Lazarus Long
Lead PITA SOB
Posts: 618
Joined: Tue Jul 05, 2005 9:24 pm

Post by Lazarus Long » Thu Aug 04, 2005 6:57 am

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,
Lazarus

Highfighter
WC3Mods Donor
WC3Mods Donor
Posts: 60
Joined: Wed Aug 03, 2005 12:22 pm
Location: Highland Heights, KY
Contact:

Post by Highfighter » Thu Aug 04, 2005 10:32 am

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...
www.elitegamingcorp.com - - Up and growing counter-strike community.

User avatar
eM-Viper
Militia
Posts: 79
Joined: Thu Jul 07, 2005 9:38 am
Contact:

Post by eM-Viper » Thu Aug 04, 2005 12:17 pm

just notepad

Highfighter
WC3Mods Donor
WC3Mods Donor
Posts: 60
Joined: Wed Aug 03, 2005 12:22 pm
Location: Highland Heights, KY
Contact:

Post by Highfighter » Fri Aug 05, 2005 1:28 pm

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
Attachments
XP.inl
(19.8 KiB) Downloaded 389 times
www.elitegamingcorp.com - - Up and growing counter-strike community.

User avatar
eM-Viper
Militia
Posts: 79
Joined: Thu Jul 07, 2005 9:38 am
Contact:

Post by eM-Viper » Fri Aug 05, 2005 2:30 pm

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.

Highfighter
WC3Mods Donor
WC3Mods Donor
Posts: 60
Joined: Wed Aug 03, 2005 12:22 pm
Location: Highland Heights, KY
Contact:

Post by Highfighter » Tue Aug 09, 2005 10:44 am

hmmmm. can you explain this now please?
www.elitegamingcorp.com - - Up and growing counter-strike community.

User avatar
ferret
Lead Warcraft 3 XP Developer
Posts: 422
Joined: Wed Jul 06, 2005 8:20 am
Location: Atlanta, GA
Contact:

Post by ferret » Tue Aug 09, 2005 11:21 am

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
-< www.gamehavoc.com >-

Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!

Highfighter
WC3Mods Donor
WC3Mods Donor
Posts: 60
Joined: Wed Aug 03, 2005 12:22 pm
Location: Highland Heights, KY
Contact:

Post by Highfighter » Tue Aug 09, 2005 1:34 pm

Thanks ferret :lol: im not the brightest person..
www.elitegamingcorp.com - - Up and growing counter-strike community.

Locked