[Mod] Internet Relay Chat [irc]

User avatar
kaeza
Moderator
 
Posts: 2156
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

[Mod] Internet Relay Chat [irc]

by kaeza » Fri Nov 30, 2012 10:17

Internet Relay Chat Mod



This mod provides a two-way communication between the in-game chat, and an arbitrary IRC channel.
This is done by connecting a bot to the channel, that acts as a "proxy" for messages.

The code of the actual mod is released under the BSD 2 Clause License (see LICENSE.txt).
Licenses for modules/libraries used are on their respective LICENSE files.

Dependencies: default

Check out our official IRC channel ##mt-irc-mod on Freenode!

Note: Should work fine under *nix, but for Windows it needs some special setup.

Important Note: If you intend to run this on a server where non-ASCII characters may be used (e.g. non-english-speaking servers), be sure your environment's language encoding is set to UTF-8. Otherwise, you may see errors about "character conversion failed" or "invalid wstring". Thanks to fireglow for helping sort this out.

By the way, if you want to see a demo of this mod, join #minetest at irc.inchra.net.

Please read the SETTINGS section in the README file for info about how to configure.

Downloads

Add-ons:
  • irc_commands by ShadowNinja - Enables running chat commands via IRC.

Thanks for taking your time to read this :)

I'd like to thank the users who allowed to test this in #minetest, and all of those who suggested improvements, and helped me by providing tips (in no particular order):

0gb.us, Shadow/ShadowNinja, Shaun/kizeren, RAPHAEL, DARGON, Calinou, Exio, vortexlabs/mrtux, marveidemanis, marktraceur, jmf/john_minetest, sdzen/Muadtralk, VanessaE, PilzAdam, sfan5, celeron55, KikaRz, OldCoder, RealBadAngel, and all the people who commented in here. Thanks to you all!

(If I forgot to mention someone, I apologize in advance. Please catch me on #minetest and notice me.)
Last edited by kaeza on Wed Aug 21, 2013 03:32, edited 1 time in total.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
PilzAdam
Developer
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam
 

User avatar
kaeza
Moderator
 
Posts: 2156
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Fri Nov 30, 2012 12:08

Very much appreciated, noble sir!
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
tonyka
Member
 
Posts: 320
Joined: Sat Jun 16, 2012 04:08
Location: Alicante, España

by tonyka » Fri Nov 30, 2012 13:36

100% agree with Adam, great job
My mod: [MOD]3D Forniture 1.0
Download: 3DForniture_v_1.0.zip
Page development (European Castilian):
Moviliario 3D (proyecto 3D Forniture)
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03
 

User avatar
kaeza
Moderator
 
Posts: 2156
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Fri Nov 30, 2012 14:24

tonyka wrote:100% agree with Adam, great job

gracias tonyka!

Mito551 wrote:cool. is it lua?


Thanks Mito551.

It's part in Lua and part in C.
The low-level sockets interface is in C.
The IRC encapsulation, and the mod itself are in Lua.

I will provide a link to source soon.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
jordan4ibanez
Member
 
Posts: 1885
Joined: Tue Sep 27, 2011 18:44
Location: Rhode Island, USA
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Fri Nov 30, 2012 17:24

Oh wow, super nice
If you can think it, you can make it.
Save net neutrality
 

User avatar
rubenwardy
Moderator
 
Posts: 4873
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
 

User avatar
sfan5
Moderator
 
Posts: 3712
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Nov 30, 2012 19:24

This Mo is purely awesome
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Fri Nov 30, 2012 20:09

it's amazing! we'll see how well it goes :D
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Fri Nov 30, 2012 23:16

Will there be support for Windows in the future?
 

User avatar
kaeza
Moderator
 
Posts: 2156
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Fri Nov 30, 2012 23:50

InfinityProject wrote:Will there be support for Windows in the future?


Whenever someone with a Windows environment can compile it.

Added link to GitHub (see first post)
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Sat Dec 01, 2012 02:06

Cool :) is this used to talk to people on IRC while playing?
 

User avatar
kaeza
Moderator
 
Posts: 2156
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Sat Dec 01, 2012 02:09

Josh wrote:Cool :) is this used to talk to people on IRC while playing?

Yeah. Both to talk to IRC from within game and to read from IRC channel too.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Sat Dec 01, 2012 02:12

kaeza wrote:
Josh wrote:Cool :) is this used to talk to people on IRC while playing?

Yeah. Both to talk to IRC from within game and to read from IRC channel too.


Cool!
 

User avatar
yohoho
Member
 
Posts: 13
Joined: Tue Nov 27, 2012 17:47

by yohoho » Sat Dec 01, 2012 04:52

This may seem a little noobish but how to use this mod? I downloaded the master zip from github and I see no "irc" directory to copy over. Do I extract the master zip file and rename that folder irc and copy it? Or must this be compiled somehow first? The "outdated" link looks a lot different than the github master zip.
 

User avatar
sfan5
Moderator
 
Posts: 3712
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Sat Dec 01, 2012 07:51

yohoho wrote:This may seem a little noobish but how to use this mod? I downloaded the master zip from github and I see no "irc" directory to copy over. Do I extract the master zip file and rename that folder irc and copy it? Or must this be compiled somehow first? The "outdated" link looks a lot different than the github master zip.

Do you have Windows?
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

Ragnar
Member
 
Posts: 850
Joined: Thu Oct 25, 2012 15:19
Location: Estonia

by Ragnar » Sat Dec 01, 2012 09:05

OMFG!!!
With this PilzAdam can help me with bugs while im playing :D
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?
 

User avatar
GJH105775
Member
 
Posts: 106
Joined: Thu Sep 27, 2012 16:11
Location: Ohio, USA

by GJH105775 » Sat Dec 01, 2012 13:03

Great, I am a 12.04 user in ubuntu.
Check out my mod xtrablocks, has some different types of marble that you can build with or mine at different depths

I am not here regularly as I just kind of pop in and out. If you want to find me I'll be on quadcopterforum.com helping with multirotor builds and spending other's money haha.

http://i10.photobucket.com/albums/a119/ ... hicons.jpg
 

User avatar
kaeza
Moderator
 
Posts: 2156
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Sat Dec 01, 2012 20:27

yohoho wrote:This may seem a little noobish but how to use this mod? I downloaded the master zip from github and I see no "irc" directory to copy over. Do I extract the master zip file and rename that folder irc and copy it? Or must this be compiled somehow first? The "outdated" link looks a lot different than the github master zip.

Well, first things first. The "outdated" link is a precompiled version I used for testing, and it came in a ready to use mod directory. The github "master.zip" contains the source code which you need to compile. I updated both the Linux package and committed some changes to github (see first post).
Windows users will have to compile and test themselves or wait until someone posts a precompiled version, sorry.

GJH105775 wrote:Great, I am a 12.04 user in ubuntu.

Just download the updated Linux version then :)

EDIT: 100TH POST!!!!1!!!one!!!eleven!!!!
Last edited by kaeza on Sat Dec 01, 2012 20:37, edited 1 time in total.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
yohoho
Member
 
Posts: 13
Joined: Tue Nov 27, 2012 17:47

by yohoho » Sat Dec 01, 2012 21:53

"Do you have Windows?" No on Linux Mint 13.

"0.1.1 - Linux <-- Latest" 404ed

Still don't know how to "prepare" the github master zip to get it working (not overly familiar with compiling of source code without some instructions).

May I suggest adding to github a file on what is needed to compile the mod?
 

User avatar
kaeza
Moderator
 
Posts: 2156
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Sat Dec 01, 2012 22:07

yohoho wrote:"0.1.1 - Linux <-- Latest" 404ed

Sorry, was a typo. It's fixed now.
yohoho wrote:Still don't know how to "prepare" the github master zip to get it working (not overly familiar with compiling of source code without some instructions).

Catch me in IRC if you can, and I may be able to help you. Thanks.
Last edited by kaeza on Sat Dec 01, 2012 22:10, edited 1 time in total.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
MirceaKitsune
Member
 
Posts: 829
Joined: Sat May 21, 2011 22:31
Location: Romania, Bucharest
GitHub: MirceaKitsune
IRC: Taoki
In-game: MirceaKitsune

by MirceaKitsune » Sun Dec 02, 2012 11:19

Very nice mod! I completely approve :D
 

fgr
Member
 
Posts: 85
Joined: Mon Sep 17, 2012 08:22

by fgr » Sun Dec 02, 2012 15:23

no real instruction included ... i compiled it, made the irc folder with the package.sh and placed it into the minetest mod folder, edited my irc server settings and channel, but no more instructions are available. Restartet the server and nothing happened.

after placed some ambigious command like /irc the server crashed.

Code: Select all
ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: ../mods/irc/init.lua:107: attempt to index global 'player' (a nil value)
ERROR[main]: stack traceback:

In thread 7f1b23cec740:
/build/buildd/minetestc55-0.4.3/src/main.cpp:1741: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f1b23cec740:
#0  int main(int, char**)


how about servers and password? If the server reuquests userpassword, does this mod then currently work? I mean MT server password
Last edited by fgr on Sun Dec 02, 2012 15:30, edited 1 time in total.
 

User avatar
guilleelcapoextra
Member
 
Posts: 70
Joined: Sat Oct 13, 2012 23:49
Location: uruguay

by guilleelcapoextra » Sun Dec 02, 2012 16:41

but only good for the Linux version tanvien ubuntu or windows used for community
 

Next

Return to Mod Releases



Who is online

Users browsing this forum: arsdragonfly, Bing [Bot] and 5 guests