[req] Setinfo Check Plugin?

BioHazardBioHazard Join Date: 2002-11-07 Member: 7495Members
another request for the plugin masters...

i wanted to toss a plugin on my server that would check for a setinfo in a persons config and if its not there to play a wav file.
i want to be able to change the setinfo it looks for though.. reason being...

i want to kindly ask people to visit the webpage for updates. on the updates page it will give them the setinfo command they need to put in to stop the wav from playing. this way people will get all the new info they need from the page or get a reminder to go check it. when new news is released i would change the config to check for a different setinfo so the wav would play again and people would hear my voice saying thank you for playing on blah blah server please check our updates at www.blah blah blah.
where they would get new info and change the setinfo command in there configs.

maybe a MM plugin that checks a info.cfg file that has the setinfo variable in it.

Comments

  • statusqstatusq Join Date: 2003-01-10 Member: 12142Members
    Is it necessary? What news you may have that require reading to play on your server?
    It would be totally annoying if a sound played like every 2 minutes.
  • BioHazardBioHazard Join Date: 2002-11-07 Member: 7495Members
    i think i said it played if info didnt match. did i say every 2 mins? didnt think so.
    i run a modded server therefore its an easy way to tell people whats up. dont like it dont join my server.
    easy fix. sorry if i sound like a butt, but im tired of people dissin the plugins and the servers.. dont like em dont play there.
    the plugin would only play the wav if you were to stupid to visit the site. i encourage my patrons to visit the site to keep up on new tweaks and toys on teh server. if they do something against the rules they dont come back. ignorance is no excuse for breaking the rules of the server..
  • SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
    I like the idea and would probably use it myself...
  • mathyoumathyou Join Date: 2002-11-28 Member: 10131Members
    edited February 2003
    I don't like the idea, but I'll just not play there. Couldn't you just disseminate any information that is *actually* important via the motd or a consgreet? That's what I do.
  • BioHazardBioHazard Join Date: 2002-11-07 Member: 7495Members
    edited February 2003
    if you connected to my server you would actually have to stop and scroll back to see the motd if i did that.. i run a few plugins that like to announce themselves but dont tell how they are used... hint hint plugin writters!

    plus the wav would only be downloaded once and only be a few seconds long saying "visit www.clan-dg.net for the latest server news."


    short sweet and to the point.
  • BorisBoris Join Date: 2002-12-30 Member: 11636Members
    I think the idea is ok, as long as you maybe have 1 msg that gets played. That way they don't download a new sound each time.
    Playing it once when they connect would be acceptable(maybe 2-5 seconds into the game- they would probably be in the readyroom still).** I don't suggest repeat msg's as that annoys people. **

    Also, just a question to add to this topic...
    what are the ways to get custom sounds to download *once only* to be played by a plugin I make? I have no experience in custom sounds in how they are downloaded to the user.
    I think I am ok with playing them using the playsound() function. <--- please inform me if a better method is used (this is for ADMINMOD Plugins)

    - Matt
    <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' style='vertical-align:middle' alt='skulk.gif'><!--endemo-->
  • MayhemMayhem Join Date: 2002-11-28 Member: 10128Members
    He's asking for a little help <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo--> You guys dont need to critisize his ideas... Theyre not for you, you don't even play there. If you can help I'd suggest posting here.

    I think I could write what you need using adminmod.... get_userinfo should be able to retrieve stuff they have stored as setinfo...I'd suggest having them exec a "yourservername.cfg" file with their autoexec.cfg. And simply have them download the "latest" version of the yourserver.cfg

    You can probably use < setinfo updateversion "put version number here" > and have your script detect if their version is less than the current version, if so play a sound.. a simple icq type sound would work. I'm actually really busy working on my own projects but if you need further help private message me or post again. I think I saw you post something similar up to adminmods forums... good luck
Sign In or Register to comment.