Is there any plan for this mod to support windows in the future?kaeza wrote:By the way, this mod does not currently work on Windows, so you may as well not waste your time.
[Mod] Internet Relay Chat bridge [irc]
- CraigyDavi
- Member
- Posts: 582
- Joined: Sat Aug 10, 2013 13:08
- GitHub: davisonio
- IRC: davisonio
- In-game: CraigyDavi
- Location: Hampshire, UK
- Contact:
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
Not in the foreseeable future.CraigyDavi wrote:Is there any plan for this mod to support windows in the future?
IRC Mod crashes Minetest on Windows because they use "different" Lua libraries (they are actually the same, but Minetest uses a statically linked version, and the mod uses a DLL). This magically works on *nix, but not on Windows.
A possible solution would be to make Minetest use a Lua DLL instead of statically linked Lua, and make the mod use the same DLL, but I don't know if this would even work.
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
Check out my stuff! | Donations greatly appreciated! PayPal
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
*BUMP*
New build for Ubuntu 14.04 AMD64 generously provided by Calinou. See first post for links.
New build for Ubuntu 14.04 AMD64 generously provided by Calinou. See first post for links.
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
Check out my stuff! | Donations greatly appreciated! PayPal
-
- Member
- Posts: 139
- Joined: Thu Jul 31, 2014 11:02
- GitHub: thatgraemeguy
- IRC: ThatGraemeGuy
- In-game: thatgraemeguy
- Location: Cape Town, South Africa
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
OK, what am I missing. I figured I need LuaSocket and every Ubuntu package I've tried that i thought may satisfy the dependency hasn't helped. I found an "Installation" page at http://w3.impa.br/~diego/software/luaso ... ation.html, which tells me a lot, except how to install LuaSocket.
- stormchaser3000
- Member
- Posts: 422
- Joined: Sun Oct 06, 2013 21:02
- GitHub: stormchaser3000
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
what version of ubuntu are you using?ThatGraemeGuy wrote:OK, what am I missing. I figured I need LuaSocket and every Ubuntu package I've tried that i thought may satisfy the dependency hasn't helped. I found an "Installation" page at http://w3.impa.br/~diego/software/luaso ... ation.html, which tells me a lot, except how to install LuaSocket.
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
I'm using Kubuntu 14.10 Beta, and I was pulling out my hair because I couldn't get the mod to work.ThatGraemeGuy wrote:OK, what am I missing. I figured I need LuaSocket and every Ubuntu package I've tried that i thought may satisfy the dependency hasn't helped. I found an "Installation" page at http://w3.impa.br/~diego/software/luaso ... ation.html, which tells me a lot, except how to install LuaSocket.
Here's the big trick:
First off, the only additional package that you need to install is lua-socket
So (for those that read along, looking for a solution too) first run
Code: Select all
sudo apt-get install lua-socket
Code: Select all
package.cpath = package.cpath..
";/usr/lib/lua/5.1/?.so"
Code: Select all
package.cpath = package.cpath..
-- ";/usr/lib/lua/5.1/?.so"
";/usr/lib/x86_64-linux-gnu/lua/5.1/?.so"
I do believe that the path is slightly different for 32-bit systems, but I forgot how it is different.
You should be all set now. Don't forget to double check your IRC related config options to minetest.conf!
Hope this helps!
Last edited by Fritigern on Mon Nov 03, 2014 13:36, edited 1 time in total.
--
This is NOT a sig.
This is NOT a sig.
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
If that fails, try these commands:
Code: Select all
sudo apt-get install luarocks
sudo luarocks install luasocket
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
Check out my stuff! | Donations greatly appreciated! PayPal
- Pitriss
- Member
- Posts: 254
- Joined: Mon Aug 05, 2013 17:09
- GitHub: Pitriss
- IRC: pitriss
- In-game: pitriss
- Location: Czech republic, Bohumin
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
Hi, please can you consider adding per user setting to disable autojoin?
I reject your reality and substitute my own. (A. Savage, Mythbusters)
I'm not modding and/or playing minetest anymore. All my mods were released under WTFPL. You can fix/modify them yourself. Don't ask me for support. Thanks.
I'm not modding and/or playing minetest anymore. All my mods were released under WTFPL. You can fix/modify them yourself. Don't ask me for support. Thanks.
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
Could you elaborate and explain what that would do?kaeza wrote:If that fails, try these commands:Code: Select all
sudo apt-get install luarocks sudo luarocks install luasocket
--
This is NOT a sig.
This is NOT a sig.
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
It would AFAIK install luasocket into a standard directory where Lua can find it without adding paths to `init.lua`.Fritigern wrote:Could you elaborate and explain what that would do?kaeza wrote:If that fails, try these commands:Code: Select all
sudo apt-get install luarocks sudo luarocks install luasocket
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
Check out my stuff! | Donations greatly appreciated! PayPal
- DI3HARD139
- Member
- Posts: 154
- Joined: Sat Oct 18, 2014 21:04
- GitHub: DI3HARD139
- IRC: DI3HARD139
- In-game: DI3HARD139 DI3HARD139_
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
One of my servers keeps crashing with this error:
It didn't dump in the debug.txt file so I pulled it from terminal. My 2nd server gets this same error but doesn't crash from it.
Code: Select all
terminate called after throwing an instance of 'ServerError'
what(): /home/di3hard139/.minetest/mods/irc/chatcmds.lua:53: attempt to index a nil value
stack traceback:
/home/di3hard139/.minetest/mods/irc/chatcmds.lua:53: in function 'func'
/usr/share/minetest/builtin/game/chatcommands.lua:40: in function </usr/share/minetest/builtin/game/chatcommands.lua:29>
/usr/share/minetest/builtin/game/register.lua:341: in function </usr/share/minetest/builtin/game/register.lua:329>
Aborted (core dumped)
- Cryterion
- Member
- Posts: 94
- Joined: Tue Jun 10, 2014 08:12
- GitHub: Cryterion
- IRC: Cryterion
- In-game: Cryterion
- Location: Durban, South Africa
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
If anyone can help with the following, have installed luasocker and lua-socket via both scenarios above. The server is 32bit. It indicates that the files cannot be found, could anyone indicate where it might be in ubuntu 14.04?
Code: Select all
2015-05-17 20:01:18: ERROR[main]: ========== ERROR FROM LUA ===========
2015-05-17 20:01:18: ERROR[main]: Failed to load and run script from
2015-05-17 20:01:18: ERROR[main]: /home/server01/MT/minetest/bin/../games/dreambuiler/mods/irc/init.lua:
2015-05-17 20:01:18: ERROR[main]: .../minetest/bin/../games/dreambuiler/mods/irc/init.lua:37: module 'irc' not found:
2015-05-17 20:01:18: ERROR[main]: no field package.preload['irc']
2015-05-17 20:01:18: ERROR[main]: no file '/home/server01/MT/minetest/bin/../games/dreambuiler/mods/irc/irc/init.lua'
2015-05-17 20:01:18: ERROR[main]: no file '/home/server01/MT/minetest/bin/../games/dreambuiler/mods/irc/irc.lua'
2015-05-17 20:01:18: ERROR[main]: no file './irc.lua'
2015-05-17 20:01:18: ERROR[main]: no file '/usr/local/share/lua/5.1/irc.lua'
2015-05-17 20:01:18: ERROR[main]: no file '/usr/local/share/lua/5.1/irc/init.lua'
2015-05-17 20:01:18: ERROR[main]: no file '/usr/local/lib/lua/5.1/irc.lua'
2015-05-17 20:01:18: ERROR[main]: no file '/usr/local/lib/lua/5.1/irc/init.lua'
2015-05-17 20:01:18: ERROR[main]: no file '/usr/share/lua/5.1/irc.lua'
2015-05-17 20:01:18: ERROR[main]: no file '/usr/share/lua/5.1/irc/init.lua'
2015-05-17 20:01:18: ERROR[main]: no file './irc.so'
2015-05-17 20:01:18: ERROR[main]: no file '/usr/local/lib/lua/5.1/irc.so'
2015-05-17 20:01:18: ERROR[main]: no file '/usr/local/lib/lua/5.1/loadall.so'
2015-05-17 20:01:18: ERROR[main]: no file '/usr/lib/x86_64-linux-gnu/lua/5.1/irc.so'
2015-05-17 20:01:18: ERROR[main]: stack traceback:
2015-05-17 20:01:18: ERROR[main]: [C]: in function 'require'
2015-05-17 20:01:18: ERROR[main]: .../minetest/bin/../games/dreambuiler/mods/irc/init.lua:37: in main chunk
2015-05-17 20:01:18: ERROR[main]: ======= END OF ERROR FROM LUA ========
2015-05-17 20:01:18: ERROR[main]: Server: Failed to load and run /home/server01/MT/minetest/bin/../games/dreambuiler/mods/irc/init.lua
2015-05-17 20:01:18: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/server01/MT/minetest/bin/../games/dreambuiler/mods/irc/init.lua
No trees or animals were hurt in the production of this message. However, a large number of Electrons were temporarily inconvenienced.
- Cryterion
- Member
- Posts: 94
- Joined: Tue Jun 10, 2014 08:12
- GitHub: Cryterion
- IRC: Cryterion
- In-game: Cryterion
- Location: Durban, South Africa
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
Nevermind, got it working :)
No trees or animals were hurt in the production of this message. However, a large number of Electrons were temporarily inconvenienced.
- fireglow
- Member
- Posts: 93
- Joined: Fri Mar 28, 2014 11:36
- IRC: fireglow
- In-game: fireglow
- Location: Germany
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
Very cool mod, absolutely love it!
Suggestion: Display the reason for a player leaving the minetest server in the IRC message.
While on IRC, I see a few players always joining/quitting the minetest servers, so it'd be nice to see if they, for example, time out or not.
Suggestion: Display the reason for a player leaving the minetest server in the IRC message.
While on IRC, I see a few players always joining/quitting the minetest servers, so it'd be nice to see if they, for example, time out or not.
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
Thank you.
While I agree that the feature is needed and would be welcome by several server owners, as far as I know there's no way in the Minetest API to distinguish if a player left because of timeout or just disconnected. It may be possible to patch the engine for support (if there's no way already).
Edit: After a little bit of discussion on the dev channel, it would involve too many changes for a feature that maybe one or two mods may find useful. Sorry, but won't implement at this point.
While I agree that the feature is needed and would be welcome by several server owners, as far as I know there's no way in the Minetest API to distinguish if a player left because of timeout or just disconnected. It may be possible to patch the engine for support (if there's no way already).
Edit: After a little bit of discussion on the dev channel, it would involve too many changes for a feature that maybe one or two mods may find useful. Sorry, but won't implement at this point.
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
Check out my stuff! | Donations greatly appreciated! PayPal
- fireglow
- Member
- Posts: 93
- Joined: Fri Mar 28, 2014 11:36
- IRC: fireglow
- In-game: fireglow
- Location: Germany
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
Thanks for your answer.
Yes, I thought it would be rejected, after all, minetests #1 feature is stagnation.
Yes, I thought it would be rejected, after all, minetests #1 feature is stagnation.
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
I think that is not fair to the devs. They put in a lot of time for free. They made the game what it is. I think they deserve a lot more respect.fireglow wrote:after all, minetests #1 feature is stagnation.
If this is something that you really want then you can do the code or hire someone to do it.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!
A list of my mods can be found here
A list of my mods can be found here
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
It was never said that it was rejected, just that it wasn't worth coding, as it would require too much change for too little benefit...fireglow wrote:Thanks for your answer.
Yes, I thought it would be rejected, after all, minetests #1 feature is stagnation.
And actually, it turns out that it wasn't too much change: https://github.com/minetest/minetest/pull/3537
So, maybe there's no need for so much pessimism?
-
- New member
- Posts: 6
- Joined: Thu Oct 09, 2014 15:38
- GitHub: dargow
- IRC: Dargod
- In-game: Dargod
- Location: Russia
- Contact:
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
Don't work with Unicode(
Code: Select all
<minetest> <Dormi> Character conversion failed!
- fireglow
- Member
- Posts: 93
- Joined: Fri Mar 28, 2014 11:36
- IRC: fireglow
- In-game: fireglow
- Location: Germany
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
Hello, we're running the latest git head of this mod and getting
<UserName> <invalid wstring>
in IRC whenever a in-game message includes ö,ü,ä, or ß.
Is there a fix for this issue?
<UserName> <invalid wstring>
in IRC whenever a in-game message includes ö,ü,ä, or ß.
Is there a fix for this issue?
-
- Member
- Posts: 1084
- Joined: Sat Apr 18, 2015 15:50
- IRC: poke
- In-game: poke
- Location: Somewhere in the Universe, on a weird planet called Earth/
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
How to change the channel it reveives?
ARE YOU A NYAN CAT?????
--ABJ
--ABJ
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
Have you tried reading the README?im-poke wrote:How to change the channel it reveives?
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
Check out my stuff! | Donations greatly appreciated! PayPal
- fireglow
- Member
- Posts: 93
- Joined: Fri Mar 28, 2014 11:36
- IRC: fireglow
- In-game: fireglow
- Location: Germany
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
kaeza,fireglow wrote:Hello, we're running the latest git head of this mod and getting
<UserName> <invalid wstring>
in IRC whenever a in-game message includes ö,ü,ä, or ß.
Is there a fix for this issue?
is there anything I can do to help you identify the problem?
Most of my users are speaking German, so we get a lot of those "<invalid wstring>" messages to IRC and other servers.
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
Re: [Mod] IRC Chat (Huge rewrite!) [irc]
I haven't been able to reproduce the bug in the server I tried. Getting in touch with the owner for more info.fireglow wrote:kaeza,
is there anything I can do to help you identify the problem?
Most of my users are speaking German, so we get a lot of those "<invalid wstring>" messages to IRC and other servers.
What I would like to know, is if the users having those problems are using a recent version of the client. Some (illegal) clients on Android and iOS are based on very old versions (or the users could just be using an old version) which may be encoding strings incorrectly, or something.
Note: I'm just guessing here as I have no idea where the problem may lurk. There are a few other places where something could be wrong.
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
Check out my stuff! | Donations greatly appreciated! PayPal
- fireglow
- Member
- Posts: 93
- Joined: Fri Mar 28, 2014 11:36
- IRC: fireglow
- In-game: fireglow
- Location: Germany
Re: [Mod] Internet Relay Chat [irc]
Ah, okay.
I can give the following information:
Server is 0.4.13-9f988e3, running on FreeBSD, cmake is
The tested clients are:
0.4.13 on windows, official download
0.4.13 on linux (mint), launchpad.net/minetestdevs/stable/ubuntu PPA
0.4.13-9f988e3 on FreeBSD
All clients send "öäü", which is displayed correctly on any other client (when on the above server).
All umlaut strings, from any client, are relayed as <invalid wstring> to IRC.
Edit:
kaeza helped me identifying the issue:
LANG must be set in the shell session that launches minetestserver.
In my case, LANG wasn't set.
After setting LANG=en_US.UTF-8, everything works as expected.
Thanks kaeza! :-)
I can give the following information:
Server is 0.4.13-9f988e3, running on FreeBSD, cmake is
Code: Select all
cmake -DBUILD_SERVER=1 -DBUILD_CLIENT=0 -DENABLE_LEVELDB=1 -DRUN_IN_PLACE=1 -DUSE_GETTEXT=1 -DUSE_SOUND=0 -DUSE_CURL=1 -DUSE_FREETYPE=1 -DUSE_LUAJIT=1 ..
0.4.13 on windows, official download
0.4.13 on linux (mint), launchpad.net/minetestdevs/stable/ubuntu PPA
0.4.13-9f988e3 on FreeBSD
All clients send "öäü", which is displayed correctly on any other client (when on the above server).
All umlaut strings, from any client, are relayed as <invalid wstring> to IRC.
Edit:
kaeza helped me identifying the issue:
LANG must be set in the shell session that launches minetestserver.
In my case, LANG wasn't set.
After setting LANG=en_US.UTF-8, everything works as expected.
Thanks kaeza! :-)
Who is online
Users browsing this forum: No registered users and 34 guests