Error with war3ft server

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

Moderator: Forum Moderator

Post Reply
Gazzi
Peon
Posts: 12
Joined: Sun Oct 08, 2006 3:17 pm
Location: Iceland

Error with war3ft server

Post by Gazzi » Sun Aug 09, 2009 12:46 pm

Hey there.
I'm recently started running a war3ft server again after a long pause from cs.

I'm running the newest amxx mod and war3ft mode but I got a problem.

Everytime I join I select a race. Then I type in console amx_givexp "name" "xp" and then my server crashes and a windows error report window pops up.
I have already modified my users.ini file so that when I join I get admin rights(both my name and steamid).

Another problem is that I don't understand the new xp settings.
I was going to change the "xp gain" in war3ft.cfg file but it wasn´t there so I looked it up and it's been changed to xp.inl file. When I open that file up I really don't understand anything.

I really don't understand any of this. and this is just a random line I took from the file.

Code: Select all

// Called when a user defuses the bomb
public bomb_defused( defuser )
{
	if ( !WC3_Check() )
	{
		return;
	}

	new iBonusXP = XP_Give( defuser, DEFUSED_BOMB );

	if ( iBonusXP != 0 )
	{
		client_print( defuser, print_chat, "%s You have been awarded %d XP for defusing the bomb", g_MODclient, iBonusXP );
	}

	g_iPlayerRole[defuser] = 0;
}
Is there a way to set up the xp gain by adding lines in the war3ft.cfg file? e.g. like this(I had my previous war3ft.cfg file stored on my harddrive)

Code: Select all

// Experience options
mp_xpmultiplier		9		// set the level required to gain a level as a multiple (default 1.0)
mp_weaponxpmodifier	1		// gives additional XP for using certain weaker weapons (default is 1)
FT_min_b4_XP		2		// Minimum amount of players needed b4 awarding XP (default is 2)
FT_objectives		1		// If enabled, will display message in chat to show XP they gain for completing certain objectives (default is 1)
FT_kill_objectives	0		// Shows how much XP you gain for killing someone (each kill, default is 0)
FT_bombplanterxp	8		// XP given for planting the bomb (default is 15)
FT_defusexp		10		// XP given for defusing the bomb (default is 30)
FT_hostagexp		2		// XP given for helping to rescue the hostages (default is 25)
FT_killrescuemanxp	6		// XP given for killing the person rescuing the hostages (default is 25)
FT_xpbonus		50		// XP given for purchasing tome of experience (default is 50)
FT_kill_bomb_carrier_bonus 2		// XP given for killing the bomb carrier (default is 25)
FT_defuser_kill_bonus	4		// XP given for killing the defuser (default is 25)
FT_VIP_kill_bonus	6		// XP given for killing the VIP (default is 25)
FT_VIP_escape_bonus	12		// XP given when the VIP escapes (default is 30)
FT_headshot_bonus	2		// XP given for getting a headshot (default is 9)
FT_xp_radius		550		// Radius to give XP to teammates near where the special objective is completed (rescued hosties, bomb planted, killed vip, vip escaped, default is 750)
FT_round_win_XP		2		// Experience given to the winning team (default is 35)

I'd really appreciate someone helping me.
Thanks in advance


Regards,
Gazzi

Gazzi
Peon
Posts: 12
Joined: Sun Oct 08, 2006 3:17 pm
Location: Iceland

Re: Error with war3ft server

Post by Gazzi » Sun Aug 09, 2009 2:10 pm

awesome thanks that works.
but how do I setup the "xp gain"?

Post Reply