Metamod: Chatvariables Plugin

voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
edited May 2003 in General Server Discussion
<div class="IPBDescription">Chat variables for faster communication</div> Usage: simply use team chat or normal chat.

%h = health
%r = resources (eg, 10/33)
%a = armor
%l = current location.

The locations for stock maps need the titles.txt (it reads the titles.txt to get the proper names), custom maps dont need the titles.txt however (and yes locations work in custom maps too).

Locations are automatic and attach to the current system in a h4x0ry way, you will not need to make any waypoints or need anything else cept the titles.txt for stock maps.

As for everything else, its simple as pie.


Enjoy <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->

Win32, Linux, & Source.
<a href='http://www.voogru.com/ChatVariables.zip' target='_blank'>http://www.voogru.com/ChatVariables.zip</a>

if you have problems, reply or email me: voogru@voogru.com


-voogru

Comments

  • That_Annoying_KidThat_Annoying_Kid Sire of Titles Join Date: 2003-03-01 Member: 14175Members, Constellation
    thats some good work there voogru
  • Eternal_BlissEternal_Bliss Join Date: 2002-11-07 Member: 7633Members, NS1 Playtester, Contributor
    nice one <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • RoobubbaRoobubba Who you gonna call? Join Date: 2003-01-06 Member: 11930Members, Reinforced - Shadow, WC 2013 - Shadow
    oooh now this one I've been waiting for...

    *snappity snap*
  • RoobubbaRoobubba Who you gonna call? Join Date: 2003-01-06 Member: 11930Members, Reinforced - Shadow, WC 2013 - Shadow
    edited May 2003
    First try, worked fine in ready room, joined server said "say I have %a armour" and that worked fine, got hit worked fine, THEN said "I have %h health and %a armour and I'm at %l come get me" and the server died. I tried shifting the plugin.ini order:

    original:
    win32 addons/metamod/dlls/unstuck_mm.dll
    win32 addons/metamod/dlls/resnode_MM.dll
    win32 addons/metamod/dlls/noleapexploit_mm.dll
    -> in here
    win32 addons/cdeath/cdmod.dll
    win32 addons/adminmod/dlls/admin_MM.dll

    also tried these positions:
    -> here #1
    win32 addons/metamod/dlls/unstuck_mm.dll
    win32 addons/metamod/dlls/resnode_MM.dll
    win32 addons/metamod/dlls/noleapexploit_mm.dll
    win32 addons/cdeath/cdmod.dll
    -> here #2
    win32 addons/adminmod/dlls/admin_MM.dll
    -> here #3

    all the same, but in the case of #2 I was able to broadcast where I was with what health and what armour, but when I died and tried it dead, the server crashed.


    running w32 server (win2k)
    HLDS 4.1.1.<b>0</b>
    latest metamod (after upgrading with the same problem from previous version)
    athlon 1.4, 512GB PC 133 (can't see this being an issue)

    Have disabled now until I can get it sorted as I don't want to disrupt the gaming of 12 people too much whjile fiddling in the dark...

    PM me or ICQ/MSN (edited have emailed you)
    Cheers

    Roo
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    edited May 2003
    did you try saying %l alone?


    I didnt test this plugin with other mods on, it was tested alone. Try loading it before all the other plugins.

    Also take note, the plugin is only loaded at startup.
  • RoobubbaRoobubba Who you gonna call? Join Date: 2003-01-06 Member: 11930Members, Reinforced - Shadow, WC 2013 - Shadow
    yes tried %l on its own but only in the readyroom. That worked fine. Problem with a combination of all three? Though all three worked the second time until I died... after that it said "Cmon you pansies I'm at Hive location: Fusion Reactor and I've got DEAD:0" <crash>
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    whats your server IP so I can check this out and see whats wrong.
  • RoobubbaRoobubba Who you gonna call? Join Date: 2003-01-06 Member: 11930Members, Reinforced - Shadow, WC 2013 - Shadow
    163.1.180.217:27016

    Have disabled for the moment, come to the server (have updated ICQ/MSN details too, I use trillian) and I will re-enable it once you're there (obviously need the restart)
  • RoobubbaRoobubba Who you gonna call? Join Date: 2003-01-06 Member: 11930Members, Reinforced - Shadow, WC 2013 - Shadow
    lol it's full and I keep kicking people but more keep coming... ICQ/MSN me (or e-mail) and I can set you up with temp admin privs <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->
  • RoobubbaRoobubba Who you gonna call? Join Date: 2003-01-06 Member: 11930Members, Reinforced - Shadow, WC 2013 - Shadow
    BTW while we're in the middle of this malarky trying to sort out the plugin, I'd just like to stress what an asset voogru is to the community.

    You the MAN! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->

    (no I'm not q|_|eer <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->)
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    The plugin has been updated and should be working like clockwork, the changes I made are:


    There was a bug where it kept adding to the locations array, after a few people connected it would crash. (Since locations are sent when the client connects, and this is when I catch the information)

    Then I was only checking X and Y locations, not using Z. Now Im using the full origin. (X Y and Z)

    Enjoy.
  • VenmochVenmoch Join Date: 2002-08-07 Member: 1093Members
    <!--QuoteBegin--Roobubba+May 9 2003, 04:20 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Roobubba @ May 9 2003, 04:20 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> "Cmon you pansies I'm at Hive location: Fusion Reactor and I've got DEAD:0" <crash> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    I think I was one of the people that shot you! <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
  • RoobubbaRoobubba Who you gonna call? Join Date: 2003-01-06 Member: 11930Members, Reinforced - Shadow, WC 2013 - Shadow
    edited May 2003
    don't get used to it, I had one hand spamming a key half way accross my key setup <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->


    <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
  • KimboKimbo Join Date: 2003-04-02 Member: 15122Members
    Once again... Another missed feature... AS always great work Voogru...

    This should encourage more team communication. <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->

    ~Kimbo~
  • Simple_CompoundSimple_Compound Join Date: 2003-05-09 Member: 16180Members
    very nice but for some reason AMX's anti-flood recieves the variables as an instant flood.
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    Yea, Take note this plugin may interfere with anti-flood plugins.
  • NiteowlNiteowl Join Date: 2002-09-04 Member: 1274Members, NS1 Playtester, Contributor
    yeah, just to add to this, Clanmods anti flood thingamabobber doesn't like the % variables.


    Winxp
    1.6 Ghz PIV
    512 DDR


    anyone know off the top of their head how to shut off clanmod's anti flood protection?

    and to respond to Roobubba comment about, voogru, i second that <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo--> well done and thanx!
Sign In or Register to comment.