Consgreet Plugin Testing...

MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
edited March 2003 in General Server Discussion
<div class="IPBDescription">Can ne1 try my consgreet plugin to test</div> ***JUST TO EDIT THIS***
The below file is a simple consgreet, works fine, but you must have "file_access_read 1" in your adminmod.cfg. Thanks for the help guys!
******


I know there is like a billion consgreet plugins out there, even some similar to this one
but I like doing my own thing and learning. This one uses keywords (ex. %HOSTNAME%)
to fill in spots in the file. You simply edit the consgreet file and add all the keywords where
you want them and this plugin will substitute with the info you want.

It is straight forward...no author promo's or anything else. Just pure basic consgreet, but custom.

Thanks,

- [MOM]Boris (Used to use username: Matt(Canada)) <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' style='vertical-align:middle' alt='skulk.gif'><!--endemo-->

PS. Just a note, this is written and compiled for AdminMOD v2.50.51 (LATEST VERSION available is v2.50.52)...will still work in 2.50.52

Comments

  • Eternal_BlissEternal_Bliss Join Date: 2002-11-07 Member: 7633Members, NS1 Playtester, Contributor
    why would anyone wan't to use 2.50.50? it has a huge security hole ;/
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    v2.50.50 is the latest version...with v2.50.51 being the updated DLL. All the functions for AdminMOD were not changed with the addition of 2.50.51 (I believe). I have 2.50.51, just stating v2.50.50 because that is the version of the full download that you get from the site.

    For anyone with concerns...this will work on the latest version of AdminMOD.
  • Eternal_BlissEternal_Bliss Join Date: 2002-11-07 Member: 7633Members, NS1 Playtester, Contributor
    so just say .51 ;/
    i'll use it instead of my current one, i will update it soon
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    edited March 2003
    Eternal, if you notice anything weird, like time displaying incorrectly, or players incorrect by 1, tell me, I wasn't sure exactly how the functions actually collected the data, for it is not detailed on the adminmod website. I just assumed, and worked with that. I hoping the negative times will display properly, like when the map is running longer than mp_timelimit...I noticed the sank_consgreet is similar to mine(and better as I can tell <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo--> ) but I'm hoping mine is sufficient. I will probably add some stuff similar to the sank one but until then... Any comments would be helpful if you would like to see anything else.

    Thanks,

    Matt
  • MGN-EdgeMGN-Edge Join Date: 2003-03-17 Member: 14603Members
    Boris...I'm trying your plugin and haven't gotten it to work. I noticed you updated your post with "...should work fine as long as file_access_read is set to "1"

    I'm new at this and I don't understand where i should set that variable. Server.cfg?


    Thanks for your help.
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    edited March 2003
    Sorry, I'll be more clear...in the adminmod.cfg file in the addons/adminmod/conifg folder. If you go through that you'll come across file_access_read and file_access_write. My plugin only reads so the write one doesn't have to be set to 1, but the read one does.
    You can set this in the server.cfg if you want but the adminmod.cfg already contains it, so you'll have to make sure that it is turned on at some point and stays on. Just search the adminmod.cfg for it, and it's self explainatory. Thanks for helping me out.

    One other thing...make sure "consgreet.txt" is in the right directory. For NS that should be in the ns mod folder in your half-life dir. Ex "c:\sierra\half-life\ns" or dedicated "c:\hlds\ns" <--where your server.cfg is.

    - Matt
  • MGN-EdgeMGN-Edge Join Date: 2003-03-17 Member: 14603Members
    Here's where I'm at:

    file_access_read and file_access_write both set to 1 in admin mod config file.

    c:\sierra\half-life\ns\addons\adminmod\plugin.ini contains this line:
    addon/adminmod/scripts/plugin_consgreet_custom.amx

    c:\sierra\half-life\ns\addons\adminmod\scripts contains the file:
    plugin_consgreet_custom.amx

    c:\sierra\half-life\ns contains the file:
    consgreet.txt

    I am using the previous version you had posted and using the above configuration. Am I missing something?

    Thanks Matt.
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    <!--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-->c:\sierra\half-life\ns\addons\adminmod\plugin.ini contains this line:
    addon/adminmod/scripts/plugin_consgreet_custom.amx
    <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    This part you should check, if this is a copy from the plugin.ini file, then you sould notice that "addons" is missing the "s" in the line. Check that
    <!--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-->I am using the previous version you had posted and using the above configuration. Am I missing something?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Get the latest version as I noticed some things didn't display right, like negative times, and the value of FF. Everything works fine in the newer version(as I know).

    Other than that, looks correct. I think it is just that missing "s" in the plugin file. Also, I assume you have the latest adminmod?

    - Matt
  • MGN-EdgeMGN-Edge Join Date: 2003-03-17 Member: 14603Members
    sorry...the addons without the s was a typo in my post...still a no go.

    All I get is the AdminMod warning about being able to run commands on your client. No greeting.

    Thanks for your help tho! Guess we just dont greet! <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo--> <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo-->
  • Eternal_BlissEternal_Bliss Join Date: 2002-11-07 Member: 7633Members, NS1 Playtester, Contributor
    i'm too lazy to change consgreet <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    <!--QuoteBegin--|MGN|-=Edge=-+Mar 24 2003, 06:12 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (|MGN|-=Edge=- @ Mar 24 2003, 06:12 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->sorry...the addons without the s was a typo in my post...still a no go.

    All I get is the AdminMod warning about being able to run commands on your client. No greeting.

    Thanks for your help tho! Guess we just dont greet!  <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->  <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Do you have any other plugins that work? I don't see what is wrong...
    try this, I compiled a amx file with a little msg saying "missing file" if file not found, and "reading file information below" followed by the info in the consgreet file(it also states value of file_access_read). If you still don't see ANY msgs on connect, there is a problem with the plugin being called, make sure it is in the right place, and referenced in the adminmod plugin file.
    <!--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-->c:\sierra\half-life\ns\addons\adminmod\plugin.ini contains this line:
    addon/adminmod/scripts/plugin_consgreet_custom.amx
    <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    One thing I notice odd about this besides the missing "s" is the dir. plugin.ini should be in the dir ns\addons\adminmod\config\. you have it in the ns\addons\adminmod\ dir. check this.

    Also check to see if any normal plugins work, like plugin_base, make sure you can get timeleft, nextmap, etc.

    If this doesn't give any results, i'm lost for ideas...something is not right...

    Anyways thanks for trying...if still wanting to get it to work, here's the file(backup other .amx file) :
  • MGN-EdgeMGN-Edge Join Date: 2003-03-17 Member: 14603Members
    I hit "report this post to moderator" by accident....sorry....my forums have the reply button in same spot. Creature of Habit.

    It still didn't work...gonna try installing using HLDS directories when I get time.


    Thanks a TON for your support!


    EDGE.
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    Thanks for trying anyways...good luck.
  • razblackrazblack Join Date: 2003-03-26 Member: 14896Members
    edited March 2003
    I'm using this plugin and it works fine.

    I do wish that there were 'text format' controls so that I can make things look better.

    I've noticed that sometimes the text doesn't look exactly like how I've input it into the consgreet.txt file.

    - RAZ

    (I like the 'variables' capability... simple and clean)

    [edit]

    I did recieve this error message though:

    22:14:45 og L 03/26/2003 - 22:10:16: [ADMIN] ERROR: AMX string too small. Required size 21, is 20.
    22:14:45 og L 03/26/2003 - 22:10:16: [ADMIN] ERROR: Plugin c:\hlserver\ns\addons\adminmod\scripts\plugin_consgreet_custom.amx returned error 10 when executing plugin_connect
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    If your not used to how the console looks, things will look different then in your TXT file. For instance, notepad will display every character with equal spacing, whereas the console does not. Things may line up in the txt file, but not on the console. Just play with it and you'll get the feel for it.

    NOTE: console is 125 characters max to one line I believe...If anyone can correct me...please do! It will wrap, but things get ugly. So for my plugin I limited lines to be max of 125 characters, so don't make them longer or they will be cut off!
    ----Take this into account and don't have long single lines of text (USERS don't like this anyway! <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo--> )

    Thanks for helping me out...any suggestions for things you would like to see added, feel free. I like to keep the plugins SHORT and SWEET, no extras. (Get the job done, that's it)

    - Matt <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' style='vertical-align:middle' alt='skulk.gif'><!--endemo-->
  • CaucasianCaucasian Join Date: 2002-11-26 Member: 9993Members
    A very nice consgreet. I like the fact that you can put in it whatever you want.

    Most excellent!
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    <!--QuoteBegin--razblack+Mar 26 2003, 09:54 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (razblack @ Mar 26 2003, 09:54 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->[edit]

    I did recieve this error message though:

    22:14:45 og L 03/26/2003 - 22:10:16: [ADMIN] ERROR: AMX string too small.  Required size 21, is 20.
    22:14:45 og L 03/26/2003 - 22:10:16: [ADMIN] ERROR: Plugin c:\hlserver\ns\addons\adminmod\scripts\plugin_consgreet_custom.amx returned error 10 when executing plugin_connect<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    NO idea what is causing that...I have nothing in there that is using 20 or 21 size strings...very odd. Do you have a different adminmod version?

    I put an updated file on the front of the post...it will fix the problem...although I do not know what is causing that...oh well, it's fixed!

    - Matt <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' style='vertical-align:middle' alt='skulk.gif'><!--endemo-->
Sign In or Register to comment.