Jump to content

Recommended Posts

Posted

Cvars:
irc_server (default "") - The irc server to connect to
irc_port (default "") - The irc server's port
irc_nick (default "") - The nick to use while connecting
irc_username (default "") - The "real name" of the bot
irc_channel (default "") - The channel to join
irc_identify (default 0; 0|1) - If you want to identify set this to 1
irc_ident (default "") - See info below
irc_map_change (default 1; 0|1) - Set whether or not to display Server name, ip, map and players connected on map change and server start.
irc_show_joins (default 1; 0|1) - Set whether or not to display a message when a player joins the server
irc_to_hlds_say_auto (default 1; 0|1) - Set whether or not to automatically forward messages from IRC to the server
irc_from_hlds_say_auto (default 1; 0|1) - Set whether or not to automatically forward messages from in game to IRC
irc_to_hlds_say_activator (default "@hlds") - If irc_to_hlds_say_auto is 0, the string that needs to be included in the message to have it forwarded to the server
irc_from_hlds_say_activator (default "!irc") - If irc_from_hlds_say_auto is 0, the string that needs to be included in the message to have it forwarded to IRC
------------
Say Cvars (set any of these to "" to disable them):
irc_msg_srvjoin (default "$name ($steamid) has joined the server") - Message to IRC when user joins
irc_msg_srvpart (default "$name ($steamid) has left the server") - Message to IRC when user leaves
irc_msg_srvsay (default "<$name> $message") - Message to IRC when user says something in game
irc_msg_srvteamsay (default "<($team) $name> $message") - Message to IRC when user team_say's something in game
irc_msg_ircsay (default "*IRC* $name : $message") - Message, said to players, when IRC user says something
irc_msg_startup (default "$servername - $ip Current Map: $map $curplayers / $maxplayers players") - Message to IRC when server starts or map changes.
Available vars for irc_msg_srv*
* $name - Person's name
* $steamid - Person's steamid
* $team - Person's team
* $teamn - Person's team number
* $message - What they said
* $connected - How long they have been connected
* $access - Persons access
Available vars for irc* (except irc_msg_startup)
* $name - Persons name
* $message - Message
Available vars for irc_msg_startup
* $servername - Name of the server
* $ip - IP of the server
* $map - Name of the current map
* $curplayers - Current number of players on the server
* $maxplayers - Maximum players allowed on server
------------
Commands:
irc connect - Connect to irc
irc disconnect - Disc from irc
irc say - Send message to irc
irc help - Tells you where to go 
------------
Commands from IRC:
To use commands in the channel, add @ to the front of the command (ie @cmds)
-cmds/commands/info/help - The bot will private message you (display from here on) a list of commands available from IRC. If you have admin access it will also PM you the list of admin commands you have access to.
-map - Display current map
-nextmap - Display nextmap
-timeleft - Display timeleft
-ip - Display server IP
-users - Display users currently on the server
-login <username> <password> - Login as an IRC admin
-logout - Log out of IRC admining. You will be automatically logged out if you part the channel or quit IRC.
------------
Admin Commands from IRC (PM these to the bot):
-amx_rcon <command line> - Just like the normal amx_rcon, but in IRC. You must put quotes around the string, ie. amx_rcon "map de_dust".
-amx_cfg <config file name> - Just like the normal command.
-amx_map <map name> - Just like the normal command.
-amx_slay <name or #userid> - Just like the normal command.
-amx_slap <name or #userid> <times> <damage> - Slap a player in game <times> times for <damage> damage each.
-amx_kick <name or #userid> [reason] - Just like the normal command.
------------
Adding IRC Admins:
1) Start the server with the plugin installed, two files will be created: configs/ircadmins.ini and data/ircloggedin.list
2) In ircadmins.ini put users on seperate lines in the form "username" "password" "access flags" "unique id"
3) Have the user log in by PMing the bot: login username password

Notes: 
-Access flags are exactly like the ones in users.ini, some flags have no commands attached right now but new versions will have more commands
-Unique id MUST be unique for each user and can be whatever you want. The plugin uses it to keep track of admins.
-Admins will stay logged in through map changes, nick changes and even server shut downs if they dont log out.
-Admins will be automatically logged out if they part the channel or quit IRC (if the bot is there).
-DO NOT edit ircloggedin.list, although it's plaintext, leave it alone.
------------
Ok, about irc_ident.. you have to use the raw IRC syntax for sending messages, it really isn't too complex.
To do what /nickserv or /ns does in mirc
"PRIVMSG nickserv :BLAHBLAH"
To send a message to someone:
"PRIVMSG someone :I'm Online"
Get the picture?
If you need help, either post or grab me on the channels mentioned above

Menu stuff:
Use the commands amx_ircmenu or say /irc. Default access level is admin_level_a which can be changed in the plugin. Access to this gives you control of main bot functions, like disc/connect 

FIX BELOW

ok heres the ping fix .. i have tested for a day or two ... and this seems to be working ... 

First of all if your on QuakeNet or on GameSurge pick the closes irc server to your HLDS Server From the list below

Quakenet Servers
http://staff.quakenet.org/servers.phtml

GameSurge
http://www.gamesurge.net/servers/

Next 

heres an sample of that should be in your Server.cfg

irc_server "Netfire.TX.US.GameSurge.Net" <= Your Server From list above

irc_port 6667 <= port for HLDS to connect to IRC also in lists above

irc_nick Servdd <= nick as Seen in IRC ROOM.

irc_channel #nothingmatters <= chan

irc_username servddd <= user name as Seen by IRC server could be wrong but it works LOL

irc_identify 1 <=Set to one olny if you have an auth user name and password From your IRC Server IE GAMESURGE QUAKENET EFNET

irc_ident "authserv auth USERNAME PASS " <=== given or made when you Create an Auth with the IRC Server E GAMESURGE QUAKENET EFNET

irc_debug 0 <= if your having Problems use this Set to one and post any error msg...

the Best way to stop from disconnecting it auth with the server for some reason it works ... 

Exsample OF WORKING GAME SURGE ACCOUNT !! as Seen in #randommapfun or #IRCHLDS 

Code:
irc_server "65.19.161.32"
irc_port "6667"
irc_nick "Server"
irc_channel #randommapfun
irc_username "NMServer101"
irc_identify 1
irc_ident "authserv auth NMServer101 PASS"

Credits:

Devicenull

twistedeuphoria & {NM}JRBLOODMIST

Download irc.sma:

http://www.megaupload.com/?d=8XRB2DAK

Download irc.amxx:

http://www.megaupload.com/?d=F0OABDYU

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Since technical talk offends people, I believe I should return back to writting my Lineage 2 lore stories. Here's the next one:   Once upon a time, there was a boy and a small adorable wolf.    The boy really loved the wolf but as the wolf grow older and bigger, it became agressive and would bite the boy. One day the boy and the wolf decided to go to the city to buy potions. The road was long and hilly so the boy moved all his adena to the wolf bags to help his legs and reach the city easier.   When they reached the city, the boy tried to take the adena out of the wolf's bags. But the wolf would not ! He bit the boy and said "You will not get this adena back, this is my adena". The boy got angry. He decided to go to the pet master and ask for help.    "Pet master, pet master ! My wolf is big, bad and angry and it won't obey me. I want my adena back and it bites me. "   The pet master looked at the big angry wolf, then looked at the boy and said. "I have a solution for your problem young one. I have magic. Dark magic. I can turn your big bad elder wolf into a younger puppy for free, all you have to do is spell the magic chants. Nothing more, no wolf modifying wands, just your say".   The boy thought about it for a bit, and decided that he indeed wanted to turn things back. But when he was about to spell the magic words, guards arrived at the pet master.    The city guard captain said "Is this the big bad angry wolf that bites people and doesn't give back his adena ? We will kill this wolf !"    For a moment the boy hesitated but he said "This wolf is big bad and angry, but I love this wolf and I dont want it to die ! Please don't kill the big bad angry wolf." But the boy was not fast enough. The guards jumped the wolf and started slashing on him with their swords. The boy didn't know what to do, so in it its final moments right as the wolf was about to die, it spelled the magic words. "Pet master, make my wolf young and adorable again !"   But he was not fast enough. The wolf got slashed and killed by the guards just one moment before the boy could finish his last word.    But as the words came out of his mouth, with the wolf's dead body on the floor, a younger wolf manifested out of thin air. The magic was real. The guards got scared and run away. Now the boy was left with a dead old bad angry wolf and next to him an alive younger version.    The boys joy was even bigger when it opened the new wolfs bags and his adena was finally there. He took the adena and went back to buy potions in the city.   Twenty four hours later, the boy couldn't believe how his fortune would change ...   (No AI was used to write this story)
    • This is like 2017 MaxCheaters. i love it.
    • NEW SEASON GRAND OPENING FROM - 30 OCTOBER 2026, FRIDAY, 20:00 +2 GMT !
    • My bug report was a proper submission. I shouldn't have shown the exploit, I will accept that. Let's end it here. 
    • To Finish this, because it's need a explanation   1. “I come to your forum” — It's the L2JMobius forum, not mine. I'm a contributor, not the owner or the maintainer responsible for deciding which fixes get committed.   2. “Which is why I left” — That's not an accurate account of what happened. You may have left voluntarily once, but you were also banned from the Discord server three times after repeatedly returning and causing the same disruptions. Those are not the same thing.   3. “You personally reply and reject that it works” — I asked how a negative withdrawal could be performed and later requested a demonstration of the claimed exploit. At no point did I reject the patch or claim the vulnerability was impossible. Asking for evidence is not the same as rejecting someone's work.   4. “You leave it unpatched for days” — I don't make that decision. Whether and when a patch gets committed is entirely up to the project maintainer, not me.   5. “You challenge me to post a video” — Yes, I asked you to demonstrate the exploit. You interpreted that as a rejection of your work, which it wasn't. Requesting proof of a claimed exploit is a perfectly reasonable part of technical discussion.   6. “Asshole-ness is a mutually contracted disease” — You're responsible for your own behavior, just as I'm responsible for mine. Disagreeing with you or questioning your claims doesn't justify personal insults. If you believe I've treated you unfairly, address what I actually said rather than making my behavior an excuse for yours.   And one question remains unanswered: why did you publicly disclose the exploitationmethod before the fix was released, after previously saying you wanted to avoid harming the project?   The vulnerability was real, the fix was accepted, and the commit was published. I have no problem acknowledging any of that.   My disagreement has never been about whether the bug deserved to be fixed. It's about how you've handled the discussion and repeatedly misrepresented my role in it.     I have nothing against you personally. My issue is with the way you conduct yourself in these discussions.   And no, you're not obligated to prove anything to me. However, when you make a technical claim, the burden of proof is on you. You cannot reasonably expect others to accept your claims without sufficient evidence.   Questioning a claim is not the same as rejecting it, nor is it a personal attack.   This isn’t about fanaticism; it’s about pushing back against the completely senseless attacks constantly leveled at the project as a whole.   It’s always the same thing: they badmouth it, claiming the project is worthless—yet the very same people criticizing it are the first in line to download a leaked version.   Enough is enough. This discussion has dragged on far too long over something that ought to be straightforward; if you’re going to submit a bug report, you should at least do it properly.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..