May 09, 2021, 10:44:37 am

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Due to a rise in bot activity, new posters need to be approved before posting.

Join the community Discord server!

Pages: [1] 2

Author Topic: [Server-sent plugin] IRC  (Read 3466 times)

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 7
  • Offline Offline
  • Posts: 3492
  • she's never quite as dead as you think
[Server-sent plugin] IRC
« on: September 22, 2013, 02:30:30 pm »



An IRC plugin! Yes, really. IRC chat in GG2. It's far from fully-featured, but it's fun. Works both as a server-sent and a client-side plugin.

Features:

  • Connections are client-side. When used as a server-sent plugin, the only thing the host does is tell clients which channel to join.
  • Minimal IRC command support: /help, /me, /nick, /msg
  • GG2 name and IRC nickname kept in sync automatically
  • Toggle hide/show with T, type with Y (a la Lorganchat)
  • Support for being both a vanilla plugin (in your Plugins folder) or a server-sent plugin.
  • Server-sent mode: When used in server-sent mode, server host can specify the IRC channel (default #gg2_ingame):
    [Plugins]
    irc_server_sent_server_channel=#gg2_ingame
  • Vanilla plugin mode: You can specify the IRC channel you want to join (default #gg2):
    [Plugins]
    irc_vanilla_plugin_join_channel=#gg2
  • /help command added
  • Fixed some GG2/IRC name synchronisation issues

Get version 1.1 now!
Or to use this plugin in server-sent mode, add irc to the end of ServerPluginList. splitting multiple server plugins with a comma.
« Last Edit: October 09, 2013, 01:54:41 pm by ajf »
Logged
aka Andrea.

did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.

Lord SecretMan

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 511
  • Idiot.
Re: [Server-sent plugin] IRC
« Reply #1 on: September 22, 2013, 02:31:53 pm »

Don't replace this thingy with chat bro. Just give us an IRC menu.
Logged

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 868
  • Force is always the answer.
    • Mah Resume
Re: [Server-sent plugin] IRC
« Reply #2 on: September 22, 2013, 10:48:10 pm »

huh if you implemented this it would be like a global chat for anyone playing gg2.

i see no way this could go wrong.

time to wake up the irc mods.
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4904
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
    • arcticland
Re: [Server-sent plugin] IRC
« Reply #3 on: September 23, 2013, 01:19:47 am »

introducing irc spam
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 7
  • Offline Offline
  • Posts: 3492
  • she's never quite as dead as you think
Re: [Server-sent plugin] IRC chat plugin
« Reply #4 on: October 05, 2013, 10:50:39 am »

New version! Version 1.1, I call it.

What's new?

  • Better font and colours, mostly copied from Lorgan's chat
  • Only show last two lines when background hidden, idea also copied from Lorgan's chat
  • Show background when typing even if normally hidden
  • Server-sent mode: When used in server-sent mode, server host can specify the IRC channel (default #gg2_ingame):
    [Plugins]
    irc_server_sent_server_channel=#gg2_ingame
  • Vanilla plugin mode: You can specify the IRC channel you want to join (default #gg2):
    [Plugins]
    irc_vanilla_plugin_join_channel=#gg2
  • /help command added
  • Fixed some GG2/IRC name synchronisation issues

Get version 1.1 now!

Logged
aka Andrea.

did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 868
  • Force is always the answer.
    • Mah Resume
Re: [Server-sent plugin] IRC
« Reply #5 on: October 05, 2013, 08:25:48 pm »

i would actually use this if the irc was more active.

and if you could have like a hotkey that switched between irc and lorgan's chat
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4904
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
    • arcticland
Re: [Server-sent plugin] IRC
« Reply #6 on: October 05, 2013, 08:43:30 pm »

i would actually use this if the irc was more active.

and if you could have like a hotkey that switched between irc and lorgan's chat
just rebind the keys
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

Lord SecretMan

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 511
  • Idiot.
Re: [Server-sent plugin] IRC
« Reply #7 on: October 06, 2013, 02:32:53 am »

Meanwhile...
(BTW Server) Fag: Hi ummm can i get help pls???
(USS Server) Tha Pro: What do you need
(BTW Server) Fag: How do i shot?
(USS Server) Tha Pro: Same as you clicked to get in the BTW server
(BTW Server) Fag: Ah ok thx cuz there are a bunch of espanols on the forums
(BTW Server) Amigo joined the chat.
(BTW Server) Amigo: Hola amigos!
(BTW Server) Fag left the chat.
Logged

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 7
  • Offline Offline
  • Posts: 3492
  • she's never quite as dead as you think
Re: [Server-sent plugin] IRC
« Reply #8 on: October 08, 2013, 01:26:38 pm »

Minor update: Fixed nickname sanitation upon initial join
Logged
aka Andrea.

did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.

Nova

  • Seasoned Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1740
  • Personal Text
Re: [Server-sent plugin] IRC
« Reply #9 on: October 13, 2013, 03:19:28 pm »

So nicknames will no longer be auto-fucked up? If so, I am changing chats.

Also, what happens if you enter a server with Irc-serversent on channel #A while using the client-side channel #B?


Also, can you make it show in the menu (upper right corner) if clientside?
Logged

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 7
  • Offline Offline
  • Posts: 3492
  • she's never quite as dead as you think
Re: [Server-sent plugin] IRC
« Reply #10 on: October 13, 2013, 04:25:33 pm »

So nicknames will no longer be auto-fucked up? If so, I am changing chats.
No, they're intentionally sanitised upon the plugin running, so "Andrea aka ajf" becomes "Andrea_aka_ajf". It works well for most nicknames.

Also, what happens if you enter a server with Irc-serversent on channel #A while using the client-side channel #B?
The server one's loaded later, so it'll probably just override the client one.

Also, can you make it show in the menu (upper right corner) if clientside?
Menu?
Logged
aka Andrea.

did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.

Nova

  • Seasoned Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1740
  • Personal Text
Re: [Server-sent plugin] IRC
« Reply #11 on: October 13, 2013, 11:55:00 pm »

So nicknames will no longer be auto-fucked up? If so, I am changing chats.
No, they're intentionally sanitised upon the plugin running, so "Andrea aka ajf" becomes "Andrea_aka_ajf". It works well for most nicknames.
Also, can you make it show in the menu (upper right corner) if clientside?
Menu?

1. Well, unless you let it at least restore the name upon leaving I prob. won't host this then.

2. Yes the Main Menu. That thing with the buttons at the beginning of the game.
Logged

Elliot Does Gaming

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 118
    • My origins!
Re: [Server-sent plugin] IRC
« Reply #12 on: October 27, 2013, 08:09:15 am »

......Yes. Finally,a working console!http://static.ganggarrison.com/Smileys/classic/wuv.pnghttp://static.ganggarrison.com/Smileys/classic/c8.png
Logged

\esc144aAroundTheWorld\esca

  • stinkier foot
  • ****
  • Karma: 3
  • Offline Offline
  • Posts: 2869
Re: [Server-sent plugin] IRC
« Reply #13 on: October 27, 2013, 09:02:20 am »

......Yes. Finally,a working console!http://static.ganggarrison.com/Smileys/classic/wuv.pnghttp://static.ganggarrison.com/Smileys/classic/c8.png
just type :_c8_: without the _s. :c8:
and it's not actually a console lol
Logged

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 7
  • Offline Offline
  • Posts: 3492
  • she's never quite as dead as you think
Re: [Server-sent plugin] IRC
« Reply #14 on: October 27, 2013, 02:34:38 pm »

......Yes. Finally,a working console!http://static.ganggarrison.com/Smileys/classic/wuv.pnghttp://static.ganggarrison.com/Smileys/classic/c8.png
just type :_c8_: without the _s. :c8:
and it's not actually a console lol
the most console thing you can do is maybe manage your chatroom with a real IRC client

but that's not really very console-y
Logged
aka Andrea.

did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.
Pages: [1] 2
 

Page created in 0.025 seconds with 36 queries.