Raised This Month: $32 Target: $400
 8% 

[ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)


Post New Thread Reply   
 
Thread Tools Display Modes
Rothgar
Veteran Member
Join Date: Nov 2007
Old 11-17-2008 , 16:56   Re: AFK Manager
Reply With Quote #41

Well that is weird, if it compiled I would assume there would be no problems. Didn't realize I needed to compile in 1.0 but that makes sense I'll download 1.0.4 and recompile soon.

As for the IsClientInGame problem, I can't see any reason for that, as far as I am aware that has been a core function for a long time.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 11-17-2008 , 17:31   Re: AFK Manager
Reply With Quote #42

Got this error trying to compile the compact version with 1.1.0.2419.

SourceMod Version: 1.1.0.2419
SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.1.0-svn)
SourcePawn API: v1 = 4, v2 = 1
Compiled on: Jul 14 2008 23:02:46
http://www.sourcemod.net/

//// afk_manager-compat.sp
// *\orangebox\tf\addons\sourcemod\scripting\inc lude\sktools_stocks.inc(57) : error 001: expected token: ";", but found "for"
//
// 1 Error.
//
// Compilation Time: 0.39 sec


EDIT: NM, looks like this has been addressed before in the first few threads.

EDIT #2: Plugin provided also does not load.

Last edited by retsam; 11-17-2008 at 17:39.
retsam is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 11-17-2008 , 18:45   Re: AFK Manager
Reply With Quote #43

Uploaded new compile version of the "compat" build compiled against 1.0.4
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Rothgar
Veteran Member
Join Date: Nov 2007
Old 11-17-2008 , 19:02   Re: AFK Manager
Reply With Quote #44

I am thinking the IsClientInGame might be because I need to check some other parameters first, can you give me some more information like whether you run fakeplayers? Bots? etc?

Can you also compile with the DEBUG option enabled, it is an option at the top of the plugin.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
nbtc971
Senior Member
Join Date: Sep 2008
Old 11-18-2008 , 00:01   Re: AFK Manager
Reply With Quote #45

Real quickly, I haven't tried your new version but I do run bots on that server.

I compiled your updated version but got same results. Enabling debug returned nothing out of ordinary it would seem, no errors or anything like that. However once again I got this error when doing a "sm plugin lists":
Quote:

Load Errors:
AFK Manager: Error detected in plugin startup (see error logs)
And the error logs showed the same thing as before:

Quote:
L 11/18/2008 - 00:138: [SM] Native "IsClientInGame" reported: Client index 1 is invalid
L 11/18/2008 - 00:138: [SM] Debug mode is not enabled for "afk_manager-compat.smx"
L 11/18/2008 - 00:138: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 12 on
I just tried disabling the bots and got the same error.

Just in case it helps, here are the plugins I'm running:

Quote:
234:08 [SM] Listing 38 plugins:
01 "Auto Name Changer" (3.0) by MoggieX
02 "IRC Relay - Chat Relay Module" (2.1.0) by Olly
03 "Weapon Logging" (2.6) by TTS Oetzel & Goerz GmbH
04 "IRC Relay - Steam Community" (2.1.0) by Olly
05 "SourceBans" (1.3.5) by InterWave Studios Development Team
06 "IRC Relay - Core Plugin" (2.1.0) by Olly
07 "Anti-Flood" (1.0.4) by AlliedModders LLC
08 "Admin Help" (1.0.4) by AlliedModders LLC
09 "TeamSwitch" (1.3) by MistaGee
10 "IRC Relay - Game Info Module" (2.1.0) by Olly
11 "Killer info display" (0.9) by Berni
12 <Error> "AFK Manager" (2.5g-compat) by Rothgar
13 "Nextmap" (1.0.4) by AlliedModders LLC
14 "Reserved Slots" (1.0.4) by AlliedModders LLC
15 "Simple Teleport" (1.1) by Taco
16 "Fun Commands" (1.0.4) by AlliedModders LLC
17 "IRC Relay - Bacon" (2.1.0) by Olly
18 "IRC Relay - Auth Module" (2.1.0) by Olly
19 "Basic Votes" (1.0.4) by AlliedModders LLC
20 "Fun Votes" (1.0.4) by AlliedModders LLC
21 "Spray Tracer" (5.5a) by Nican132, CptMoore, Lebson506th
22 "Simple Teleport" (1.1) by Taco
23 "HL2DM no Spec" (1.0) by FeuerSturm
24 "Fun Commands X" (1.0) by Spazman0 and Arg!
25 "IRC Relay - Relay Module" (2.1.0) by Olly
26 "Admin File Reader" (1.0.4) by AlliedModders LLC
27 "Basic Comm Control" (1.0.4) by AlliedModders LLC
28 "IRC Relay - Admin Commands Module" (2.1.0) by Olly
29 "HLstatsX Plugin" (2.6) by TTS Oetzel & Goerz GmbH
30 "SlapSlay Commands" (1.0.4) by AlliedModders LLC
31 "IRC Relay - Access Module" (2.0.0) by Olly
32 "IRC Relay - Base Commands" (2.1.0) by Olly
33 "Admin Menu" (1.0.4) by AlliedModders LLC
34 "Basic Info Triggers" (1.0.4) by AlliedModders LLC
35 "Basic Commands" (1.0.4) by AlliedModders LLC
36 "IRC Relay - Game Players" (2.1.0) by Olly
37 "Basic Chat" (1.0.4) by AlliedModders LLC
38 "Tag Protection" (1.2) by InstantDeath
Load Errors:
AFK Manager: Error detected in plugin startup (see error logs)

Last edited by nbtc971; 11-18-2008 at 00:35.
nbtc971 is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 11-18-2008 , 00:33   Re: AFK Manager
Reply With Quote #46

Quote:
Originally Posted by nbtc971 View Post
I just tried disabling the bots and got the same error.
Turn on debug mode and that will give him line numbers. Much eaiser to find the problems.
Antithasys is offline
nbtc971
Senior Member
Join Date: Sep 2008
Old 11-18-2008 , 01:45   Re: AFK Manager
Reply With Quote #47

Quote:
Originally Posted by Antithasys View Post
Turn on debug mode and that will give him line numbers. Much eaiser to find the problems.
If you mean during compile I did that and it gave no errors. If you mean after i've installed the plugin, it says:
Quote:

[SM] Could not toggle debug mode on plugin afk_manager-compat.smx.
[SM] Plugin returned error: Plugin is not runnable.
nbtc971 is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 11-18-2008 , 04:48   Re: AFK Manager
Reply With Quote #48

Can you try this version I have enabled the debug flag.

Please load with and without bots.

Change level as well and if it still does not load could you do some troubleshooting like move all the other files into the disabled folder and try loading with just base plugins and the afk manager to see if it's the actual plugin or a conflict?

Please change map and make sure to check the latest SourceMod log file just in case under SourceMod\Logs

I want any output from the AFK Plugin, thanks.

Last edited by Rothgar; 03-12-2010 at 02:09.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Rothgar
Veteran Member
Join Date: Nov 2007
Old 11-18-2008 , 08:14   Re: AFK Manager
Reply With Quote #49

I just changed some things and updated on the previous post, I never had issues with 1.1 branch but it seems that because I was looping through all entity's even if they did not exist in the OnPluginStart block it errored then halted the plugin.

I have made some changes now to the script and have tested on a server start using 1.0.4 and it works for me once I have confirmation I might make a few more changes and release 2.5h
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 11-18-2008 , 14:46   Re: AFK Manager
Reply With Quote #50

Sweet man. Im not really sure what differences this has between Liams version at this point but, id love to try it when its ready.
retsam 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 18:36.


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