Little Metamod Plugins

Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
edited March 2003 in General Server Discussion
I made 3 plugins today,just try them <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
only for windows with source sode

mm_res.dll
-giveres when you press +use key
«1

Comments

  • Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
    edited March 2003
    mm_push.dll
    -push other players..

    <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.gif'><!--endemo--> linux binary available <!--emo&::gorge::--><img src='http://www.unknownworlds.com/forums/html/emoticons/pudgy.gif' border='0' style='vertical-align:middle' alt='pudgy.gif'><!--endemo-->
  • Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
    edited March 2003
    mm_tld.dll
    -add tld code(country tag) to your name

    <a href='http://www.iana.org/cctld/cctld-whois.htm' target='_blank'>http://www.iana.org/cctld/cctld-whois.htm</a>

    fixed bug
    <a href='http://www.unknownworlds.com/forums/index.php?act=Attach&type=post&id=315015' target='_blank'>ip_plugin.zip</a>

    <a href='http://www.unknownworlds.com/forums/index.php?act=Attach&type=post&id=308990' target='_blank'>ip.txt</a>
  • Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
    edited March 2003
    ip.txt for mm_tld.dll
    ip.zip 107.3K
  • RellixRellix Join Date: 2003-02-15 Member: 13572Members, Constellation, Reinforced - Shadow
    <!--QuoteBegin--Nearly_Civilized+Mar 4 2003, 08:23 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Nearly_Civilized @ Mar 4 2003, 08:23 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I made 3 plugins today,just try them <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
    only for windows with source sode

    mm_res.dll
    -giveres when you press +use key <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Some people would call this chating.
  • RoobubbaRoobubba Who you gonna call? Join Date: 2003-01-06 Member: 11930Members, Reinforced - Shadow, WC 2013 - Shadow
    others might call it cheating <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
  • j0ej0e Join Date: 2002-11-01 Member: 2840Banned
    what do tld and ip do?
  • Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
    heh. chating <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->

    copy ip.txt to moddir/ip.txt
    and mm_tld.dll rename your name to [US]j0e if you are from USA.
  • RoobubbaRoobubba Who you gonna call? Join Date: 2003-01-06 Member: 11930Members, Reinforced - Shadow, WC 2013 - Shadow
    that's great but you haven't explained what they do and why anyone would want them....
  • Eternal_BlissEternal_Bliss Join Date: 2002-11-07 Member: 7633Members, NS1 Playtester, Contributor
    yeh... explain more, like how the res system works and push, why the hell you want to push people?
    and lamers can absue it..
  • jabsjabs Join Date: 2002-12-14 Member: 10773Members
    I think the one gives you your country's tag... That resource plugin could be used in placed of sv_cheats 1 and givepoints. I think the purpose of it was to maintain the slower building time while being able to give yourself as many resources as you want?
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    i took a look at the giveres code, and it doesn't spawn resources out of nowhere...

    whenever a team 2 player presses use while touching another team 2 player, 3 res are exchanged.



    I do have one question for the author though. I see you're using my resource search code, but why all the funny conversions like making the return value void* and converting the players edicts to their player # and then back to cbaseplayer within the function ? wouldn't it be easier to just leave the return value as float * , and pass in the player's cbaseentity pointer ?
  • Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
    edited March 2003
    because I'm C++ noob <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> and lazy
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    edited March 2003
    ok then <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->

    good work for a noob
  • Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
    edited March 2003
    ok,I fixed it .I think... <!--emo&::gorge::--><img src='http://www.unknownworlds.com/forums/html/emoticons/pudgy.gif' border='0' style='vertical-align:middle' alt='pudgy.gif'><!--endemo--> thx for advise
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    edited March 2003
    just a heads up, I know for a fact that the new code for res_plugin will never work for linux because of the completely hardcoded offset. But if it's windows only then u got no problems that I know of.


    although the pointer math doesn't seem quite right, have u actually tested this one ? if so then ignore me
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
    Just ignore him anyway.. you will live a longer happier life <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.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-->
  • RellixRellix Join Date: 2003-02-15 Member: 13572Members, Constellation, Reinforced - Shadow
    Only one I could possible see me sing is country tag....
    Even then it would cause confusion.
  • Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
    edited March 2003
    mm_tld.dll bug fixed(added country tag evrytime he connects..)

    copy ip.txt to /ns dir.
    <a href='http://www.unknownworlds.com/forums/index.php?act=Attach&type=post&id=308990' target='_blank'> new ip.txt</a>

    and added linux binary today 2003/03/13
  • Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
    I made <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.gif'><!--endemo--> ride plugin <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.gif'><!--endemo-->
    you can ride someones's back when you press +use key <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
  • Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
    edited March 2003
    aw,I found a bug
    *bump*
  • ArkaineArkaine Join Date: 2002-07-12 Member: 914Members
    edited March 2003
    The country thing is neato. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
    I assume it could be edited to simply leave an "ssay" message like "Arkaine hails from US." <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
    ...on player join, obviously...
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    <!--QuoteBegin--Nearly_Civilized+Mar 13 2003, 05:16 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Nearly_Civilized @ Mar 13 2003, 05:16 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> aw,I found a bug
    *bump* <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    mind releasing the source ?

    I haven't actually used this plugin, but I wanna see how you handled shared movement to try to get some ideas.
  • Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
    edited March 2003
    <!--QuoteBegin--Nearly_Civilized+Mar 13 2003, 08:16 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Nearly_Civilized @ Mar 13 2003, 08:16 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> aw,I found a bug
    *bump* <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    fixed a bug of res plugin.(forgot to remove health pack at round restarts)

    this is nsadmin mod copy plugin <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> hehe
    <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> <!--emo&::gorge::--><img src='http://www.unknownworlds.com/forums/html/emoticons/pudgy.gif' border='0' style='vertical-align:middle' alt='pudgy.gif'><!--endemo-->

    2003/03/25
    little fix
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    I was talking about the ride, gimme some source for that ride plugin man <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
  • Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
    <!--QuoteBegin--[WHO]Them+Mar 13 2003, 02:42 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> ([WHO]Them @ Mar 13 2003, 02:42 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> mind releasing the source ?

    I haven't actually used this plugin, but I wanna see how you handled shared movement to try to get some ideas. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    ok,here it is.
    <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->

    <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' style='vertical-align:middle' alt='skulk.gif'><!--endemo-->
    <!--emo&::gorge::--><img src='http://www.unknownworlds.com/forums/html/emoticons/pudgy.gif' border='0' style='vertical-align:middle' alt='pudgy.gif'><!--endemo-->
  • Grimm_SpectorGrimm_Spector Join Date: 2002-11-01 Member: 3309Members, Constellation
    laf

    I'm assuming the ride plugin is somewhat like lerklift....

    but anyway back to: laf <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
  • Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
    edited March 2003
    Snark Plugin:p
    <!--emo&::gorge::--><img src='http://www.unknownworlds.com/forums/html/emoticons/pudgy.gif' border='0' style='vertical-align:middle' alt='pudgy.gif'><!--endemo--> <!--emo&::gorge::--><img src='http://www.unknownworlds.com/forums/html/emoticons/pudgy.gif' border='0' style='vertical-align:middle' alt='pudgy.gif'><!--endemo-->
    gorge spwans snarks by command "impulse 13".
    it uses 2 resources to spawn one snark..
    (ripped code from botman's monster plugin and hlsdk)

    for windows
  • Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
    edited March 2003
  • Nearly_CivilizedNearly_Civilized Join Date: 2003-03-04 Member: 14298Members
    edited March 2003
  • saubloedsaubloed Join Date: 2002-11-02 Member: 3996Members
    edited March 2003
    <!--QuoteBegin--Nearly_Civilized+Mar 10 2003, 02:24 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Nearly_Civilized @ Mar 10 2003, 02:24 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> mm_tld.dll bug fixed(added country tag evrytime he connects..)

    copy ip.txt to /ns dir.
    <a href='http://www.unknownworlds.com/forums/index.php?act=Attach&type=post&id=308990' target='_blank'> new ip.txt</a>

    and added linux binary today 2003/03/13 <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Can you add an option to disable namechange?
    Maybe you can use the code of this bugfix (instead stopcommandermode name command):
    <a href='http://www.unknownworlds.com/forums/index.php?act=ST&f=8&t=16626&hl=bugfix&s=' target='_blank'>http://www.unknownworlds.com/forums/in...26&hl=bugfix&s=</a>
    Or can you check the country tag every time a user changes the name?
Sign In or Register to comment.