DazzaJay Posted January 14, 2008 Share Posted January 14, 2008 I have an interesting problem with it.....i have edited the file so it joins #PotholeStudios on irc.rizon.net and ofcourse its name was changed to [PS]DM-Relay that has been the only thing i have changed. When any resource is started / stopped from in game, it relays this to IRC.... [03:52 AM] [PS]DM-Relay: Resource all it says when somone joins the game is this... [03:54 AM] [PS]DM-Relay: * when somone quits... [03:54 AM] [PS]DM-Relay: * when somone says somthing in game, it only relays thier name, and not thier messgae..... [03:54 AM] [PS]DM-Relay: [PS]DazzaJay[AU]: and when somone says somthing in the IRC channel, it does not go to the game, it just shows thier message in the server window: [03:54:06] IRC <> [PS]DazzaJay[AU]: Test Test there are no error messages shown in the server window, so i have no idea whats wrong with it. anyone know why this is happening? Link to comment
VRocker Posted January 14, 2008 Author Share Posted January 14, 2008 I tired this earlier on the IRC server you said and got the same problem I'm puzzled to why this happens but i'll look into it. For now though, i'd suggest using another IRC server (gtanet is a nice one ) *Update* After a few minutes messing around i fixed the problem Just redownload the zip Link to comment
DazzaJay Posted January 14, 2008 Share Posted January 14, 2008 thanks, i will redownload and check it out. also, i have been a user of Rizon for years now, so i dont really want to change to gtanet or any other network. Link to comment
DazzaJay Posted January 15, 2008 Share Posted January 15, 2008 it works great now, altho i have 1 problem. the !say command to send messages to people in game, can i turn this off? so all chat messages in IRC is relayed into the game? mainly because my channel bot allready has an !say command, and it insists on replying every time it is used. that and with Race, we never had to use !say to talk to players in the game, how would i go about changing it so you dont have to !say. Link to comment
VRocker Posted January 15, 2008 Author Share Posted January 15, 2008 Easily done. just change this: if string.find( szText, "!say" ) == 1 then outputChatBox(szNick .. " [iRC]: " .. string.sub( szText, 6 ) ) elseif string.find( szText, "!players" ) == 1 then ircMessage( pIRC, szChannel, "4There are currently " .. getPlayerCount() .. " players connected" ) end to this: outputChatBox(szNick .. " [iRC]: " .. szText ) if string.find( szText, "!players" ) == 1 then ircMessage( pIRC, szChannel, "4There are currently " .. getPlayerCount() .. " players connected" ) end The !say bit can be found under function irc_onPrivMsg( szChannel, szNick, szText ) btw Link to comment
DazzaJay Posted January 15, 2008 Share Posted January 15, 2008 it works Bloody Brilliant mate! Good Job, and thanks for this awesome script. Link to comment
Bazim Posted January 15, 2008 Share Posted January 15, 2008 I have same problem (unable to find and invalid ELF problem) and i redownload this pack. Please say me tutorial for linux. Link to comment
VRocker Posted January 15, 2008 Author Share Posted January 15, 2008 To make it work with linux, just place the ml_ircecho.so in your /server/mods/deathmatch/modules folder and add to your config. If it dont work then, i'm afraid i cant help much. I'm pretty new to linux so dont really know much about it Link to comment
Bazim Posted January 15, 2008 Share Posted January 15, 2008 Yeah! Very thx you! Very very very good script! Very Good Work! Link to comment
NeO_Hardi Posted January 15, 2008 Share Posted January 15, 2008 linux <3 i will test it later and call you if there are probs Link to comment
Bazim Posted January 15, 2008 Share Posted January 15, 2008 Can I have last question? How add someone admin rigts on my irc channel? Because admin rights have just person with nick in the script. I cantt edit that scriipt again. Link to comment
NeO_Hardi Posted January 16, 2008 Share Posted January 16, 2008 the linux crahses my sever i will give it a friend to debug Link to comment
NeO_Hardi Posted January 19, 2008 Share Posted January 19, 2008 *updated* Updated Version but still some bugs in the .so on 10 start ircecho the server crashed 9 times Link to comment
Bazim Posted January 19, 2008 Share Posted January 19, 2008 My ircr eunning on linux server. Can I give permissions someone else without the name, which connect? Link to comment
Guest Posted January 21, 2008 Share Posted January 21, 2008 OMG you are god! Thank you for this Link to comment
DazzaJay Posted January 22, 2008 Share Posted January 22, 2008 Event Log.... The application, C:\Documents and Settings\Administrator\Desktop\MTA DM Server\MTA Server.exe, generated an application error The error occurred on 01/21/2008 @ 21:11:49.288 The exception generated was c0000005 at address 01406244 (ml_IRCEcho!ShutdownModule)For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Dont worry, turned out my VPS didnt have a DNS server listed in the internet connection. Works fine now. Altho, i must say, i have found a small issue with it. If a person has a Number as the first character of thier name, or a number is the first character in any chat message... it changes the font colour. i have fixed this in my server by adding a space to the end of all colour codes. Link to comment
ruby159 Posted January 24, 2008 Share Posted January 24, 2008 nice script but little problem [12:55:36] Starting IRCEcho [12:55:36] Connecting to IRC (<myip>:6667) [12:55:36] start: Resource 'ircecho' started [12:55:36] IRC Notice <> <myip>: *** Looking up your hostname... [12:55:36] IRC Notice <> <myip>: *** Found your hostname [12:56:16] IRC Disconnected i wont connect but i can connect from my pc help Ruby Link to comment
DazzaJay Posted January 24, 2008 Share Posted January 24, 2008 it looks like your trying to connect to your own ip instead of an IRC network. where you have blanked out that should be saying the network its connecting to... like mine says Connecting to IRC (irc.rizon.net:6667) Link to comment
ruby159 Posted January 24, 2008 Share Posted January 24, 2008 it looks like your trying to connect to your own ip instead of an IRC network.where you have blanked out that should be saying the network its connecting to... like mine says Connecting to IRC (irc.rizon.net:6667) indeed i connect to my own ip for my own server but.... i should be connect because i can connect with mirc Link to comment
DazzaJay Posted January 24, 2008 Share Posted January 24, 2008 So your running your own IRC network on your own PC? and your trying to connect the IRC relay to it? Link to comment
ruby159 Posted January 24, 2008 Share Posted January 24, 2008 uhh my irc server is running on my server pc but i havent got a irc. is that the problem? EDIT Its working now thanks Link to comment
DazzaJay Posted January 25, 2008 Share Posted January 25, 2008 i have found an interesting issue, i connect a few of my servers to the same IRC channel, to link the chats together, but the script is not colour compadible on inbound chats..... Coulsd the next ver allow Chat colours from IRC? or remove the colour numbers that show up on inbound chats? (either way would be good, but working colours would be better) also people joining and quitting the IRC channel are not relayed into the game chat, could this be added also? Link to comment
ruby159 Posted January 26, 2008 Share Posted January 26, 2008 also people joining and quitting the IRC channel are not relayed into the game chat, could this be added also? yes i need that to Link to comment
darkdreamingdan Posted January 26, 2008 Share Posted January 26, 2008 You can easily modify the .lua that comes with the script to do this. A new version isn't needed really. Link to comment
DazzaJay Posted January 27, 2008 Share Posted January 27, 2008 i figured a new ver would be needed, because when people join and quit IRC, this stuff happens in the IRC window... ok... say if Mahadeva left the IRC channel.... IRC <> OY*)F*)&^^$%R#eva Left IRC and the same happens on people join. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now