Raised This Month: $51 Target: $400
 12% 

[L4D(2)] AFK Manager


Post New Thread Reply   
 
Thread Tools Display Modes
carredas
Junior Member
Join Date: Jan 2010
Old 07-17-2010 , 21:07   Re: [L4D(2)] AFK Manager
Reply With Quote #51

I dont like "!team" command.
When i lock the teams with "!lockteams", players can change team anyway with this fuckin command. How disable it ?
carredas is offline
realdreams
Senior Member
Join Date: Feb 2010
Old 07-18-2010 , 16:35   Re: [L4D(2)] AFK Manager
Reply With Quote #52

Quote:
Originally Posted by dirka_dirka View Post
fixed that issue .. and tried a few others:
Code:
 *    1.4.5 -    Fixed l4d_afk_kicktime == 0.0  & l4d_afk_spectime == 0.0 not working.
 *                Fixed !teami no longer working.
 *                Another attempt at fixing !teams in coop.
 *                Fixed a chat message that was never updated.
 *                Fixed if an invalid immune flag is entered into the config file.. defaults to 'z'.
 *                Removed 9 globals.
 *                Updated gametype.inc for new modes.
as before: wont compile on its own.. either take the smx, or both the sp and inc file.

20 <Error> "[L4D(2)] AFK Manager" (1.4.4) by Dirka_Dirka
Load Errors:
[L4D(2)] AFK Manager: Error detected in plugin startup (see error logs)

BTW did u change the version number in 1.4.5 or upload the wrong file?



L 07/18/2010 - 163:44: SourceMod error session started
L 07/18/2010 - 163:44: Info (map "c1m2_streets") (file "errors_20100718.log")
L 07/18/2010 - 163:44: [SM] Error parsing gameconfig file "/home/left4dead/l4d2-server/left4dead2/left4dead2/addons/sourcemod/gamedata/l4d_afkmanager.txt":
L 07/18/2010 - 163:44: [SM] Error 1 on line 0, col 0: Stream failed to open
L 07/18/2010 - 163:44: [SM] Native "LoadGameConfigFile" reported: Unable to open l4d_afkmanager: File could not be opened: No such file or directory
L 07/18/2010 - 163:44: [SM] Displaying call stack trace for plugin "l4d_afkmanager.smx":
L 07/18/2010 - 163:44: [SM] [0] Line 225, G:\steam\Servers\left4dead2\left4dead2\addons \sourcemod\scripting\TortoiseSVN\l4d_afkmanag er.sp::OnPluginStart()

------after I put gamedate txt,


L 07/18/2010 - 16:44:17: [SM] Plugin encountered error 25: Call was aborted
L 07/18/2010 - 16:44:17: [SM] Native "SetFailState" reported: [AFK Manager] SetHumanSpec not found.
L 07/18/2010 - 16:44:17: [SM] Displaying call stack trace for plugin "l4d_afkmanager.smx":
L 07/18/2010 - 16:44:17: [SM] [0] Line 235, G:\steam\Servers\left4dead2\left4dead2\addons \sourcemod\scripting\TortoiseSVN\l4d_afkmanag er.sp::OnPluginStart()

I think it's a bug. Im using a linux server.

Last edited by realdreams; 07-18-2010 at 16:47.
realdreams is offline
realdreams
Senior Member
Join Date: Feb 2010
Old 07-18-2010 , 17:16   Re: [L4D(2)] AFK Manager
Reply With Quote #53

Somehow it worked in the end,but
Im using a superversus 7vs7,remove lobby reservation. The second time I go AFK, !team no longer works(I choose 1.survivor but im still spectator.) in co-op mode but !jointeam2(from superversus) always works. No sure if its a problem w/ superversus or some restrictions.


I downloaded the smx file but it says 1.4.4
12 "[L4D(2)] AFK Manager" (1.4.4) by Dirka_Dirka

Last edited by realdreams; 07-18-2010 at 17:21.
realdreams is offline
realdreams
Senior Member
Join Date: Feb 2010
Old 07-18-2010 , 17:26   Re: [L4D(2)] AFK Manager
Reply With Quote #54

BTW is there a cvar to change or disable the kick for !afk, I have enough slots and myself usually go !idle when testing plugins or just being an admin...so I dont really need to auto kick !afk
realdreams is offline
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 07-19-2010 , 10:29   Re: [L4D(2)] AFK Manager
Reply With Quote #55

carredas: you need to chill. if your going to use conflicting plugins, your going to have issues. comment out the RegConsoleCmd lines 245-248 and recompile it.. you might get a warning about unused blah blah - but thats because of the comments. itll work.

realdreams: i usually forget to mention you need the gamedata from the op.. but you figured that out on your own it seems. except that it isnt working for you. try reinstalling it again and restarting your server. the command will not work (ever) if you dont get rid of that error.

if it is a "bug" with the gamedata for linux - i cannot fix it. dont know how and dont have the resources (linux). but i doubt only linux broke.. its most likely an installation issue.

superversus just uses "jointeam 2" console command (!jointeam2 is just a wrapper on that). you cant just use that on a normal server - it creates a 5th survivor.. which is fine for "super versus", but not for 4v4. thats what the gamedata file is for - to allow for proper survivor team changing. since you have super versus and the command works for you - turn off advertising of this and use !jointeam2/3.

and yes, i forgot to update the plugin version in the source so it still reports 1.4.4

there currently isnt an option to not kick !afk .. you could increase the time !afk gets before kicking however.. l4d_afk_idlemulti 6.0 will give 6x as long before kicking (dunno why exactly, but i set 6 as max).. if you want longer change line 170 in the source and recompile
dirka_dirka is offline
realdreams
Senior Member
Join Date: Feb 2010
Old 07-19-2010 , 23:41   Re: [L4D(2)] AFK Manager
Reply With Quote #56

Quote:
Originally Posted by dirka_dirka View Post
carredas: you need to chill. if your going to use conflicting plugins, your going to have issues. comment out the RegConsoleCmd lines 245-248 and recompile it.. you might get a warning about unused blah blah - but thats because of the comments. itll work.

realdreams: i usually forget to mention you need the gamedata from the op.. but you figured that out on your own it seems. except that it isnt working for you. try reinstalling it again and restarting your server. the command will not work (ever) if you dont get rid of that error.

if it is a "bug" with the gamedata for linux - i cannot fix it. dont know how and dont have the resources (linux). but i doubt only linux broke.. its most likely an installation issue.

superversus just uses "jointeam 2" console command (!jointeam2 is just a wrapper on that). you cant just use that on a normal server - it creates a 5th survivor.. which is fine for "super versus", but not for 4v4. thats what the gamedata file is for - to allow for proper survivor team changing. since you have super versus and the command works for you - turn off advertising of this and use !jointeam2/3.

and yes, i forgot to update the plugin version in the source so it still reports 1.4.4

there currently isnt an option to not kick !afk .. you could increase the time !afk gets before kicking however.. l4d_afk_idlemulti 6.0 will give 6x as long before kicking (dunno why exactly, but i set 6 as max).. if you want longer change line 170 in the source and recompile
Thanks. How to turn off !afk advertising? Or change the frenquency?
realdreams is offline
meanracoon
Junior Member
Join Date: Jul 2010
Old 07-20-2010 , 11:10   Re: [L4D(2)] AFK Manager
Reply With Quote #57

Quote:
Originally Posted by realdreams View Post
20 <Error> "[L4D(2)] AFK Manager" (1.4.4) by Dirka_Dirka
Load Errors:
[L4D(2)] AFK Manager: Error detected in plugin startup (see error logs)

BTW did u change the version number in 1.4.5 or upload the wrong file?



L 07/18/2010 - 163:44: SourceMod error session started
L 07/18/2010 - 163:44: Info (map "c1m2_streets") (file "errors_20100718.log")
L 07/18/2010 - 163:44: [SM] Error parsing gameconfig file "/home/left4dead/l4d2-server/left4dead2/left4dead2/addons/sourcemod/gamedata/l4d_afkmanager.txt":
L 07/18/2010 - 163:44: [SM] Error 1 on line 0, col 0: Stream failed to open
L 07/18/2010 - 163:44: [SM] Native "LoadGameConfigFile" reported: Unable to open l4d_afkmanager: File could not be opened: No such file or directory
L 07/18/2010 - 163:44: [SM] Displaying call stack trace for plugin "l4d_afkmanager.smx":
L 07/18/2010 - 163:44: [SM] [0] Line 225, G:\steam\Servers\left4dead2\left4dead2\addons \sourcemod\scripting\TortoiseSVN\l4d_afkmanag er.sp::OnPluginStart()

------after I put gamedate txt,


L 07/18/2010 - 16:44:17: [SM] Plugin encountered error 25: Call was aborted
L 07/18/2010 - 16:44:17: [SM] Native "SetFailState" reported: [AFK Manager] SetHumanSpec not found.
L 07/18/2010 - 16:44:17: [SM] Displaying call stack trace for plugin "l4d_afkmanager.smx":
L 07/18/2010 - 16:44:17: [SM] [0] Line 235, G:\steam\Servers\left4dead2\left4dead2\addons \sourcemod\scripting\TortoiseSVN\l4d_afkmanag er.sp::OnPluginStart()

I think it's a bug. Im using a linux server.
Same problem here on Linux server

Code:
L 07/20/2010 - 16:39:18: SourceMod error session started
L 07/20/2010 - 16:39:18: Info (map "c1m1_hotel") (file "errors_20100720.log")
L 07/20/2010 - 16:39:18: [SM] Error parsing gameconfig file "/home/testttommm/left4dead2/left4dead2/addons/sourcemod/gamedata/l4d_afkmanager.txt":
L 07/20/2010 - 16:39:18: [SM] Error 1 on line 0, col 0: Stream failed to open
L 07/20/2010 - 16:39:18: [SM] Native "LoadGameConfigFile" reported: Unable to open l4d_afkmanager: File could not be opened: No such file or directory
L 07/20/2010 - 16:39:18: [SM] Displaying call stack trace for plugin "l4d_afkmanager.smx":
L 07/20/2010 - 16:39:18: [SM]   [0]  Line 225, G:\steam\Servers\left4dead2\left4dead2\addons\sourcemod\scripting\TortoiseSVN\l4d_afkmanager.sp::OnPluginStart()
Hopefully this makes debugging a bit easier, it's running on CentOS 5 (Linux).

EDIT: After closer examination I got this fixed, I checked all the directories and I didn't find l4d_afkmanager.txt in my gamedate folder. After adding it to my gamedate folder I didn't got any error anymore Maybe you forgot as well?

Last edited by meanracoon; 07-20-2010 at 11:19.
meanracoon is offline
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 07-20-2010 , 14:12   Re: [L4D(2)] AFK Manager
Reply With Quote #58

he remembered, but then i think he didnt restart after that..

anyway i added the gamedata file to my last post.. its just a copy of what is on the op.
dirka_dirka is offline
realdreams
Senior Member
Join Date: Feb 2010
Old 07-21-2010 , 01:12   Re: [L4D(2)] AFK Manager
Reply With Quote #59

Quote:
Originally Posted by dirka_dirka View Post
he remembered, but then i think he didnt restart after that..

anyway i added the gamedata file to my last post.. its just a copy of what is on the op.
After !AFK, I use !team--> Survivors to rejoin the team but it says team is full. So the only thing the plugin can do for me is to go AFK(spec)...
So I want to turn off the advertising but I've no idea how to do it....

Regarding bug:

L 07/18/2010 - 16:44:17: [SM] Plugin encountered error 25: Call was aborted
L 07/18/2010 - 16:44:17: [SM] Native "SetFailState" reported: [AFK Manager] SetHumanSpec not found.
L 07/18/2010 - 16:44:17: [SM] Displaying call stack trace for plugin "l4d_afkmanager.smx":
L 07/18/2010 - 16:44:17: [SM] [0] Line 235, G:\steam\Servers\left4dead2\left4dead2\addons \sourcemod\scripting\TortoiseSVN\l4d_afkmanag er.sp::OnPluginStart()

Absolute path?
-------------------------

About superversus:
I think !jointeam2 will let the player take over a bot, but !team attempts to add a player to the team so it gives the team already full error.



---------------------------
cvars

afk_immuneflag
Admins with this flag will not be kicked (default: "z")
afk_adinterval
Interval in which the plugin will advertise the 'idle' command. (default: "120", set to "0" to disable)
afk_spectime
Maximum time someone can be idle before (s)he is moved to the Spectator team. (default: "20")
afk_kicktime
Maximum time someone can be spectating before (s)he is kicked. (default: "40")
afk_messages
Message level. (default : "3", 0 = disable, 1 = spec, 2 = kick, 3 = spec + kick)

All except the version cvar are not working.

Last edited by realdreams; 07-21-2010 at 01:30.
realdreams is offline
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 07-21-2010 , 10:20   Re: [L4D(2)] AFK Manager
Reply With Quote #60

realdreams, meanracoon has a linux server and the gamedata file is working for him, you simply have it installed wrong.

the path listed in an error log is the path of the sp file when it was compiled.. you now know my directory structure where sourcemod is installed.

nothing is going to work because the plugin is failing due to the gamedata file. recheck and check again that you have the correct file in the correct location.

once you solve that error, report any issues.. otherwise it ALL leads back to incorrect installation.
dirka_dirka is offline
Reply



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 10:57.


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