New Plugin, Anti-afk And Anti-stuck In One.

2

Comments

  • HtNickoliHtNickoli Join Date: 2002-11-24 Member: 9786Members
    edited January 2003
    Yea, fresh server load allowed plugin to start. Seems to work fine for me. only tested it twice in a row without moving myself. Although server has crashed three times in less then 2 hours since it was installed. So unsure if its stable, or just ns crashing.


    Jan 8 17:06 1042063568.log.gz
    Jan 8 17:50 1042066220.log.gz
    Jan 8 18:18 1042067906.log.gz

    EDIT:

    Bah, after 4th crash 20 mins after 3rd one. I've removed the plugin. To bad too as I really liked it.
  • PoofPoof Join Date: 2002-11-08 Member: 7747Members, Constellation
    Well, it does help to stick the .dll as the first one listed in MM. (At least make AdminMod last as that tends to cause a bunch of problems)

    Anyhow, I've been running his Fireworks, AntiAFK and his Restower ones and they all work fine for me.
    Order of metamod plugins:

    1: Fireworks
    2: AntiAFK
    3: ResTower
    4: AMod (When it was one it caused the server to crash)
  • scottlscottl Join Date: 2002-12-20 Member: 11232Members
    Always load admin mod last, otherwise there may be unexpected results, Also voogru updated some of the plugins that where having problems, And make sure you run the absolute LATEST version of metamod.

    -- Message from Voog!
  • TheiggstaTheiggsta Join Date: 2002-11-05 Member: 6958Members, Constellation
    I have one request for this plugin too:

    can you have it check the mp_serverops list before kicking the idler to see if they are an admin?

    I would love that because as an admin, I would'nt like to be knocked off my server if im accidentally idle because of taking a phonecall. ;-)

    Thats all, great plugin btw =)
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    edited January 2003
    I updated it, it will now ignore admins. Thanks to [WHO]Them for the code to get the full serverops cvar.

    the link is updated but since my server will be down for a re-install of windows i have attached it.


    BTW, Admins will still get the "Are you stuck?" question, they just wont get kicked for being idle.
  • Lightning_BlueLightning_Blue Sunny Domination Join Date: 2002-12-11 Member: 10647Members, Constellation, Reinforced - Silver
    Will this kick the commander if he goes AFK?

    BTW, I've installed it, and will see how it works! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    No, it will ignore commanders and ignore people who are in gest.
  • Lightning_BlueLightning_Blue Sunny Domination Join Date: 2002-12-11 Member: 10647Members, Constellation, Reinforced - Silver
    edited January 2003
    Voogru, nice script, but I found an exploit:

    I was just playing a game on ns_nancy...we aliens ate thier base and had them cornered in subspace...they had relocated there with a CC.

    After 15 mins of stalemate (3 GL gys vs 3 fades with me healing) they figured out that the stuck script teleported them back to the now empty main base! So they tried to rebuild, only discovered by me when I went to build the res there...we killed them, then I plopped O chambers all around, and they stopped stuck transporting over there <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->

    Thing is, if it can be used to go places where there is no base, on purpose, my clanmates have asked me to remove the script. I really don't want to, so can this be addressed? <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • GoleXGoleX Join Date: 2002-11-07 Member: 7681Members
    For some reason, this plugin still causes my server to crash more then usual (so I have disabled it for now). Has anyone else had this problem?
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    Thats kinda the only problem with the script, it teleports to where the team originally started, for aliens it works perfect tho since it teleports them to a hive which is alive.

    I might think of something to make it work better for the marines.
  • Lightning_BlueLightning_Blue Sunny Domination Join Date: 2002-12-11 Member: 10647Members, Constellation, Reinforced - Silver
    That would be nice, cause I'd get to keep it! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • BioHazardBioHazard Join Date: 2002-11-07 Member: 7495Members
    is there a way to make it toss the rine back to the spawn portal?
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    edited January 2003
    If i could figure out a good way to do it, ill do it.


    *Gonna give it a shot*

    I honestly dont know why i didnt think of that before!
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    cuz I put a hex on you....

    wooooooo, *spooky sounds*

    muahahahahahaha,

    *more spooky sounds*,

    or eh, mebbe you were too busy playing the game <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->
  • Lightning_BlueLightning_Blue Sunny Domination Join Date: 2002-12-11 Member: 10647Members, Constellation, Reinforced - Silver
    Well, bad news <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->

    My server just started crashing whenever someone is unstuck...happened three times in a row tonight, and people have said the server itself is a bit more unstable...

    What would cause this?

    It's disabled til I can figure it out... <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' valign='absmiddle' alt='confused.gif'><!--endemo-->
  • GoleXGoleX Join Date: 2002-11-07 Member: 7681Members
    That used to happen on mine too, crashed about 3 times in one hour after installing the plugin. I reinstalled the most recent version of this plugin a few days ago, and the server stayed up for a few days straight so I figured Voogster had fixed the bug somewhere. Maybe its back with the latest version (which I haven't upgraded to)?
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    edited January 2003
    Im gonna have a new version that should work better(if not perfect) the problem with linux is im assuming it doesnt like the way i kill the entities(TakeDamage) so i changed how i kill the entities.


    Once i get someone to compile and test it on linux for me ill post it here.

    There is also a small change, marines now get sent back to the spawn (they are not respawned, just sent back to the spawn) so if they have no spawnpoints there out of luck.

    This prevents marines from being sent to thier "old base" if they have moved bases.
  • Grimm_SpectorGrimm_Spector Join Date: 2002-11-01 Member: 3309Members, Constellation
    Could you add the thing in where a player types unstuck or /stuck and it unsticks them via unbury?
    It'd be nice to have both, for players who know and don't want to get sent back, like when my friend got stuck in an onos and the worst place to be was the marine spawn.

    Grimm Spector <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' valign='absmiddle' alt='skulk.gif'><!--endemo-->
  • Lightning_BlueLightning_Blue Sunny Domination Join Date: 2002-12-11 Member: 10647Members, Constellation, Reinforced - Silver
    Sounds good Voogru, I'll await the new version <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    edited January 2003
    I updated it, there is a linux compile that scott compiled for me, its untested.

    Tell me if there is any problems <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->

    Hopefully it should work without problems.


    Unless linux doesnt like the new way i kill of the ents :/
  • GoleXGoleX Join Date: 2002-11-07 Member: 7681Members
    Thanks for the update Voogru.

    But the little **** on my server have found a way around the anti-afk plugin. They now all go spec when they go AFK, cos the plugin doesn't kick you when you are AFK in spec (obviously). Any ideas on what to do about it? When I am on the server I use my teams plugin to kick them back to the readyroom, but what about when I am not there? I don't think anything can be done unfortunately (other then blocking spec mode for pub games, which I would seriously consider) =/
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    <!--QuoteBegin--GoleX+Jan 25 2003, 03:00 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (GoleX @ Jan 25 2003, 03:00 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Thanks for the update Voogru.

    But the little **** on my server have found a way around the anti-afk plugin. They now all go spec when they go AFK, cos the plugin doesn't kick you when you are AFK in spec (obviously). Any ideas on what to do about it? When I am on the server I use my teams plugin to kick them back to the readyroom, but what about when I am not there? I don't think anything can be done unfortunately (other then blocking spec mode for pub games, which I would seriously consider) =/<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Block Spectator, Since you cant join a team after spec anyways. so if they go spec they might as well be kicked anyways IMHO.
  • Lightning_BlueLightning_Blue Sunny Domination Join Date: 2002-12-11 Member: 10647Members, Constellation, Reinforced - Silver
    The file name is <b>anti_afk.so</b> instead of <b>antiafk_mm.so</b>.

    Does this matter?
  • Lightning_BlueLightning_Blue Sunny Domination Join Date: 2002-12-11 Member: 10647Members, Constellation, Reinforced - Silver
    Loaded it up, and it would not load...


    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
    L 01/24/2003 - 07:17:01: [META] ini: Begin reading plugins list: addons/metamod/plugins.ini
    <b>L 01/24/2003 - 07:17:01: [META] ini: Read plugin config for: <anti_afk.so></b>
    L 01/24/2003 - 07:17:01: [META] ini: Read plugin config for: <admin_MM_i386.so>
    L 01/24/2003 - 07:17:01: [META] ini: Read plugin config for: <w_mm_i386.so>
    L 01/24/2003 - 07:17:01: [META] ini: Finished reading plugins list: addons/metamod/plugins.ini; Found 3 plugins to load
    L 01/24/2003 - 07:17:01: [META] dll: Loading plugins...
    <b>L 01/24/2003 - 07:17:01: [META] dll: Note: Plugin '<anti_afk.so>' interface version didn't match; expected 5:8, found 5:9
    L 01/24/2003 - 07:17:01: [META] ERROR: dll: Plugin '<anti_afk.so>' requires a newer version of Metamod
    L 01/24/2003 - 07:17:01: [META] ERROR: dll: Rejected plugin '<anti_afk.so>' due to interface version incompatibility
    L 01/24/2003 - 07:17:01: [META] ERROR: dll: Skipping plugin '<anti_afk.so>'; couldn't query
    L 01/24/2003 - 07:17:01: [META] ERROR: dll: Failed to load plugin 'anti_afk.so'</b>
    <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->


    What's up now?
  • GoleXGoleX Join Date: 2002-11-07 Member: 7681Members
    Yep, and if I try do "meta list" while the server is running, it crashes. Removing the plugin and going back to the old version fixed it.
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    it was compiled using the latest metamod, make sure you upgrade to the new metamod (released yesterday)
  • BioHazardBioHazard Join Date: 2002-11-07 Member: 7495Members
    when i first setup our server i disabled spec mode and hated it.. it allows you to view the action of death spot till you spawn.. i didnt like that idea.

    we usually have an admin on so peeps wont sit spec for long.
  • GoleXGoleX Join Date: 2002-11-07 Member: 7681Members
    <!--QuoteBegin--voogru+Jan 25 2003, 12:05 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (voogru @ Jan 25 2003, 12:05 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->it was compiled using the latest metamod, make sure you upgrade to the new metamod (released yesterday)<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Thanks, works now.
  • Lightning_BlueLightning_Blue Sunny Domination Join Date: 2002-12-11 Member: 10647Members, Constellation, Reinforced - Silver
    Installed it and upgraded MetaMod.

    Besides admin mod complaining about the new MM version, all seems well <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->

    Will test for sure tonight!
  • invTempestinvTempest Join Date: 2003-03-02 Member: 14223Members, Constellation, Squad Five Blue
    Um... The link isn't working. Does anyone have a link that works to this plugin?
Sign In or Register to comment.