This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Advanced Team Attack Control v2.5.3d - By f117bomb/T(+)rget


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Damocles
Member
Join Date: Jan 2005
Old 01-03-2005 , 13:00  
#201

hey, this is a great plugin, altho i was after something a bit more basic.

For example, on my server ive turned all the revenge options off. All i wanted was aplugin that would store the TKs and TWs of players and ban them if they continue to shoot team members.

I was wondering if there is anyway to allow a player to forigve someone for killing them at any point during a map. I know the menu that comes up once you have been killed provides a 'forgive' option but i cant find a way of allowing just that option to appear. Even if you could use this method of using the menu with just the single forgive option. Is there a command you can enter to forgive the last person who TKd you ?
Damocles is offline
ToT | V!PER
Senior Member
Join Date: Jun 2004
Location: Germany
Old 01-05-2005 , 06:46  
#202

Quote:
Originally Posted by FF1987
I have this error in my log files, when someone tries to use this mod:

Code:
[AMXX] Run time error 10 (native) (plugin "amx_atac.amxx") - debug not enabled.
[AMXX] To enable debug mode, add " debug" after the plugin name in plugins.ini (without quotes).
There are some more runtime errors occuring. Is anybody looking at this?
ToT | V!PER is offline
Send a message via ICQ to ToT | V!PER
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 01-05-2005 , 07:16  
#203

it only occurs every so often, when a player TKs and then leaves the server before they are "punished" or "forgiven" then the person TK tries to punish them or forgive them
__________________

BigBaller is offline
ToT | V!PER
Senior Member
Join Date: Jun 2004
Location: Germany
Old 01-05-2005 , 07:26  
#204

No way to intercept this?

Compiled it and a warning occured:

amx_atac.sma (1824) : warning 225 : unreachable code

Here the function:
Code:
/**********************************  STATUS FUNCTION ********************************/
public update_stat_text(id)
{
	#if !defined NO_STEAM
	return PLUGIN_CONTINUE
	#endif
	// WarCraft 3 XP Compatibility
	if(get_cvar_num("sv_warcraft3") || !get_cvar_num("atac_status"))
		 return PLUGIN_CONTINUE
	if(is_user_bot(id) || id == 0)
		return PLUGIN_CONTINUE
	if(atac_status_off[id])
		return PLUGIN_CONTINUE

	new status[64]
	new atac_ta_equal_v = get_cvar_num("atac_ta_equal_v")
	new atac_tk_before_ban = get_cvar_num("atac_tk_before_ban")
	format(status, 63, mg32[LANGUAGE], KickMe[id], atac_tk_before_ban, TA[id], atac_ta_equal_v)
	message_begin(MSG_ONE, gmsgStatusText, {0,0,0}, id)
	write_byte(0)
	write_string(status)
	message_end()

	return PLUGIN_CONTINUE
}
Line 1824 is:
Code:
	if(get_cvar_num("sv_warcraft3") || !get_cvar_num("atac_status"))
And would it be possible to make a new version of ATAC that provides multilanguage support with lang-file for beeing conform with AMXX 1.0 ? :-)
ToT | V!PER is offline
Send a message via ICQ to ToT | V!PER
T(+)rget
Senior Member
Join Date: Mar 2004
Old 01-05-2005 , 10:33  
#205

Change the above to this:
Code:
public update_stat_text(id) { #if defined NO_STEAM    // WarCraft 3 XP Compatibility    if(get_cvar_num("sv_warcraft3") || !get_cvar_num("atac_status"))        return PLUGIN_CONTINUE    if(is_user_bot(id) || id == 0)       return PLUGIN_CONTINUE    if(atac_status_off[id])       return PLUGIN_CONTINUE    new status[64]    new atac_ta_equal_v = get_cvar_num("atac_ta_equal_v")    new atac_tk_before_ban = get_cvar_num("atac_tk_before_ban")    format(status, 63, mg32[LANGUAGE], KickMe[id], atac_tk_before_ban, TA[id], atac_ta_equal_v)    message_begin(MSG_ONE, gmsgStatusText, {0,0,0}, id)    write_byte(0)    write_string(status)    message_end() #endif    return PLUGIN_CONTINUE }
T(+)rget is offline
ToT | V!PER
Senior Member
Join Date: Jun 2004
Location: Germany
Old 01-05-2005 , 11:30  
#206

Fine to see you alive target, has been a long time we´ve spoken ;-)
Check your PMs plz ;-)
ToT | V!PER is offline
Send a message via ICQ to ToT | V!PER
sauza
Junior Member
Join Date: May 2004
Location: Seattle
Old 01-06-2005 , 16:59  
#207

Thanks for the code update. It's running great on my CZ server.
sauza is offline
Trip~Hazard
Senior Member
Join Date: Jun 2004
Location: North Carolina
Old 01-07-2005 , 01:43  
#208

OK can't find a definitive answer on this recently: For AMXX 1.0, does the atac folder go in amxmodx/configs/custom or do we leave out the custom directory and place atac folder in configs only?

The reason I ask is my ATAC doesn't seem to be obeying my settings and I currently do not have the atac folder in a custom directory.
Trip~Hazard is offline
sauza
Junior Member
Join Date: May 2004
Location: Seattle
Old 01-07-2005 , 02:17  
#209

My atac folder is in my configs folder,

addons/amxmodx/configs/atac

Make sure you use the amx_atac_cfg.amxx plugin to set your in-game settings. I had some trouble when I tried setting the variables in the atac.cfg file. It didn't seem like the amx_atac.amxx plugin was reading them properly. I finally read the amx_atac_cfg.sma file and saw that you can bring up the variable menu in game by hitting your say key and typing:

/atacmenu

After I did this I had no troubles and all the variables I set were followed by the amx_atac.amxx plugin.
sauza is offline
Trip~Hazard
Senior Member
Join Date: Jun 2004
Location: North Carolina
Old 01-07-2005 , 02:29  
#210

Thanks bro. I tested and know now that the custom isn't working so i will put the folder in configs. I also need to get the amx_atac_cfg.amxx uploaded. I tried it back with AMX and never could get the menu to appear...after that I never used it.
Trip~Hazard is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode