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.
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!
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)
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!
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!
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
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!
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!
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!
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!
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!
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!
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)
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!
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!
*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!
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)