[Mod] Internet Relay Chat [irc]

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

by kaeza » Sun Dec 02, 2012 19:52

fgr wrote: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**)



Fixed. Thanks for reporting.

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


Let me clean this up for you. Maybe this is what you meant to say:
It's for Linux only. There are Ubuntu and Windows users in the community too.


First of all, Ubuntu IS a DISTRIBUTION of Linux. And maybe you didn't take the time to read the first post, but until someone can compile it on Windows, and post a link to a precompiled package, you'll have to compile it manually. Sorry.
Last edited by kaeza on Sun Dec 02, 2012 19:59, 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
 

leo_rockway
Member
 
Posts: 196
Joined: Tue Jul 31, 2012 20:37

by leo_rockway » Sun Dec 02, 2012 21:46

Great mod, 1K internets for you, my friend.
Try Skyblock for MineClone 2
Listen to this sound and music pack!
 

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

by kaeza » Mon Dec 03, 2012 09:24

leo_rockway wrote:Great mod, 1K internets for you, my friend.

Thanks! I will try to make it even better, and maybe someday this will get into master.
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
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09
Location: Earth

by RAPHAEL » Mon Dec 03, 2012 10:55

I am curious why this mod has FTP and HTTP related lua? How is it useful? I would suggest releasing a "trimmed down to barebones" mod of this. A simple mod that allows the sending/receiving of messages to/from an IRC channel. No special "features". (sorry but I'm a paranoid type)
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

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

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

by kaeza » Thu Dec 06, 2012 01:00

Sorry for the late reply. That's a nice idea. Currently I'm unable to fix this since I'm currently without Internet access at home until December 16th. If you wanty to remove non-IRC related code, do so, and please post a patch/pull request/whatever. Thanks.
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
 

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

by kaeza » Sun Dec 16, 2012 12:58

I'm back with some small updates.
There's now a precompiled Windows version (untested). I used a Linux->MinGW32 crosscompiler, but since I haven't Windows handy, I cannot test it. I'll be thankful if someone tests this for me.
Also, RAPHAEL, the FTP and HTTP are not used, so there's nothing to worry about.
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
 

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

by InfinityProject » Sun Dec 16, 2012 16:44

I tried it out on windows, it crashed. Debug:
Code: Select all
11:40:41: ERROR[main]: ServerError: LuaError: error: ....4-win32\bin\..\games\minetest_game\mods\irc/irc.lua:964: attempt to index upvalue 'irc_sock' (a nil value)
11:40:41: ERROR[main]: stack traceback:
11:40:41: INFO[main]: Searching worlds...
11:40:41: INFO[main]:   In C:\Users\InfinityProject\Downloads\Games\Minetest Games\0.4.4\minetest-0.4.4-win32\bin\..\worlds:
11:40:41: INFO[main]: 0.4.4 Testing CITY mauveworld
11:40:41: INFO[main]: 3 found.
11:40:41: INFO[main]: Waiting for other menus
11:40:41: INFO[main]: Waited for other menus
11:40:41: VERBOSE[main]: error_message = ServerError: LuaError: error: ....4-win32\bin\..\games\minetest_game\mods\irc/irc.lua:964: attempt to index upvalue 'irc_sock' (a nil value)
11:40:41: VERBOSE[main]: stack traceback:
11:40:41: INFO[main]: Created main menu
11:40:41: INFO[main]: locale has been set to:English_United States.1252
11:40:41: INFO[main]: locale has been set to:C
 

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

by kaeza » Sun Dec 16, 2012 16:54

InfinityProject wrote:I tried it out on windows, it crashed. Debug:
Code: Select all
11:40:41: ERROR[main]: ServerError: LuaError: error: ....4-win32\bin\..\games\minetest_game\mods\irc/irc.lua:964: attempt to index upvalue 'irc_sock' (a nil value)
11:40:41: ERROR[main]: stack traceback:
11:40:41: INFO[main]: Searching worlds...
11:40:41: INFO[main]:   In C:\Users\InfinityProject\Downloads\Games\Minetest Games\0.4.4\minetest-0.4.4-win32\bin\..\worlds:
11:40:41: INFO[main]: 0.4.4 Testing CITY mauveworld
11:40:41: INFO[main]: 3 found.
11:40:41: INFO[main]: Waiting for other menus
11:40:41: INFO[main]: Waited for other menus
11:40:41: VERBOSE[main]: error_message = ServerError: LuaError: error: ....4-win32\bin\..\games\minetest_game\mods\irc/irc.lua:964: attempt to index upvalue 'irc_sock' (a nil value)
11:40:41: VERBOSE[main]: stack traceback:
11:40:41: INFO[main]: Created main menu
11:40:41: INFO[main]: locale has been set to:English_United States.1252
11:40:41: INFO[main]: locale has been set to:C


Thanks for testing.
Please compile from sources. I won't be providing updated binaries since the code is still in development. This bug has also been fixed (?).
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
 

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

by kaeza » Tue Dec 18, 2012 23:12

Some updates.
Now that I have set up a script for building both the Linux and Win32 versions, I'll be providing binaries again.
I really need testers for other platforms. Anyone can /join #minetest-irc-testing and share their knowledge with us, and see the mod in action.
Also, as always, the github link is for the bleeding-edge changes to the sources.
I'll try to keep the binaries as up to date as I can.

Thanks again to all of you for your support!
Last edited by kaeza on Tue Dec 18, 2012 23:18, 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
 

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

by kaeza » Sun Dec 23, 2012 19:51

Small update!

  • Now supports auto-connecting to IRC network and auto-joining the channel. These two options are customizable in the `config.lua' file.
  • Overriden /me chat command to "perform an action" (as in IRC). The text is also seen in the channel.
  • Now the bot sends a message to the channel when a player joins/leaves the game.
  • Added support for some "bot commands": `!who' to retrieve the list of players in the game, and `!whereis' to retrieve the location of an arbitrary player in the game world.
  • Fixed a major bug that prevented the bot to join the channel under certain cases. Hopefully this will also fix that dreaded "Quit: Excess Flood" message some users were receiving.

Also fixed one of my maintainer scripts that was used to upload the binaries, so the link to the binaries will be pointing again to the latest binaries again.

Any more feature suggestions are welcome.
Last edited by kaeza on Sun Dec 23, 2012 19:53, 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
 

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

by kaeza » Sat Dec 29, 2012 02:45

Small updates here and there :)
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
 

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

by kaeza » Sat Dec 29, 2012 09:30

New small update.
- Fixed a bug not auto-joining the players (only the ones at channel connect would get "joined").
- Updated binaries accordingly to latest git.
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
 

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

by kaeza » Mon Dec 31, 2012 17:29

Fixed a problem at `pack_mod' stage on CMake versions prior to 2.8.7 (?).
Thanks goes to xy and RAPHAEL for reporting the error.

New Features:
- /irc_disconnect and /irc_reconnect commands.

As always, latest binaries are available for Win32 and Linux.

(I desperately need Windows testers)
Last edited by kaeza on Mon Dec 31, 2012 17:31, 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
 

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

by kaeza » Thu Jan 03, 2013 01:12

Added binaries for Debian Squeeze 64 bits, generously contributed by vortexlabs/mrtux.
Many thanks to him for this contribution.
See first post for link.
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
 

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

by kaeza » Thu Jan 03, 2013 10:57

Added binaries for Ubuntu 12.10 AMD64, generously contributed by Calinou.
Many thanks to you Calinou!
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
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Thu Jan 03, 2013 22:46

can you make this mod work without outside programs
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
xavier108
Member
 
Posts: 227
Joined: Sat Nov 24, 2012 06:05
Location: Black Mesa Facility
IRC: Ezlif

by xavier108 » Sat Jan 05, 2013 07:19

This is great
Ezlif :D
 

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

by kaeza » Sat Jan 05, 2013 08:14

jojoa1997 wrote:can you make this mod work without outside programs

Minetest does not export a networking API, so I must resort to external libraries to do it.
If you have problems compiling, catch me on ##mt-irc-mod or #minetest and I will help you.
BTW: As I said elsewhere, the Windows version is relatively UNTESTED. You can help me by testing it and reporting any problems.
This works well on all Linux systems on which it was tested.
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
 

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

by kaeza » Sun Jan 06, 2013 11:47

Small bug fixes and updated documentation.
Added auto-reconnect on /kick
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
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09
Location: Earth

by RAPHAEL » Sun Jan 06, 2013 16:17

Already informed Kaeza but Windows binaries don't work. Sorry to those using Windows. Maybe it can get fixed lol
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

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

by kaeza » Sun Jan 06, 2013 17:35

RAPHAEL wrote:Already informed Kaeza but Windows binaries don't work. Sorry to those using Windows. Maybe it can get fixed lol

I'll take a look at the Win32 part of luasocket.
I may be able to test this under Wine, but I'm not 100% sure if this will a reliable indicator. Nevertheless, is as a good guess as any.
Last edited by kaeza on Sun Jan 06, 2013 18:03, 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
 

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

by kaeza » Tue Jan 15, 2013 20:25

AFAIK, the Windows binaries do not work. May be a faulty crosscompiler.
Awaiting someone to offer a precompiled version built using a native Windows compiler (MSVC, MinGW, etc)
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
 

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

by kaeza » Tue Jan 29, 2013 17:23

*BUMP*
This mod isn't dead; I'm just too lazy to update every small change I do.
I'm proud to say that this mod is since 2 months or so ago featured in all of OldCoder's and MarkTraceur's worlds.
Still waiting for someone to be able to compile natively on Windows though.
Last edited by kaeza on Tue Jan 29, 2013 17:24, 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
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09
Location: Earth

by RAPHAEL » Tue Jan 29, 2013 18:51

kaeza wrote:*BUMP*
This mod isn't dead; I'm just too lazy to update every small change I do.
I'm proud to say that this mod is since 2 months or so ago featured in all of OldCoder's and MarkTraceur's worlds.
Still waiting for someone to be able to compile natively on Windows though.


I have a Windows install here but no idea how to setup a compile environment on Windows. If someone could give a detailed howto or at least a howto I could give it a shot (never successfully compiled anything on Windows).
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

PreviousNext

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 29 guests