VRocker
Members-
Posts
37 -
Joined
-
Last visited
About VRocker
- Birthday 17/07/1988
Details
-
Location
Midlands, England
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
VRocker's Achievements
Rat (9/54)
0
Reputation
-
Thanks for letting me know about the status issue. That part was kinda rushed so it wasn't tested very well... About the PM thing, i think the first param (labelled as channel) will say the persons nickname if it was a PM. not 100% on that though. The status issue is now fixed for both Windows and Linux. Just need to update your DLL/SO with the attached file(s): http://liberty-unleashed.co.uk/MTA/ml_ircecho.zip Apologies for not releasing this update any sooner and not really touching this module much. Been a tad busy lately
-
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
-
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
-
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
-
Finally figured out how to compile a linux version! From my brief testing it seems to work. It does everything that the windows version does The SO is included in the zip with the windows dll
-
To everybody having the error 'Cannot load/find module 'ml_IRCEcho.dll'... The problem was that you needed the Visual Studio 2005 redist since i compiled the dll on 2005. Now compiled a new dll which i have included in the zip so just simply redownload the package
-
ermm a quick google search on 'Invalid ELF header' suggests its a linux error... This module only works with windows servers at the moment. A linux version is in the pipeline though so be patient
-
Yeh this occurs when the module isn't loaded. The server should say MODULE: Loaded 'IRCEcho' by 'VRocker' (2.0) or something like that on server start. If it doesn't say anything about modules then your using the wrong way to load modules in the mtaconfig.conf In the mtaconfig.conf is says to use example.dll That is the wrong way to load. That will cause the error you are recieving. Instead use It should then work but i have heard of people having issues loading modules (failing to load and not being able to find the file even though it exists in the right place)
-
Updated script to v2! Loads of fixes and a better script. Also added a few more functions which have been requested.
-
This is not a server script. its for the client. tomozj hasn't posted the server script for it. Anyway to get client scripts working, change type="server" to type="client" in your meta. But like i said, if you had it working all it would do is output stuff to the chatbox since theres no server script and it doesn't look finished
-
Right, theres a few things wrong with this script. Suprised the debug didn't moan at you tbh First of all, i notice you do: if ( mouseon == 0 ) then ActivateMouse() end else DeactivateMouse() end LUA doesn't work that way, you have a stray 'end' before your else. It should be: if ( mouseon == 0 ) then ActivateMouse() else DeactivateMouse() end Its the same with elseif's Down on line 72 you have this: function outputStatus() but with no matching end. Every 'function' needs an end even if it doesn't have anything in. Anyway from a quick glance it looks of except for what i've pointed out. Fix those problems and it should work Sorry if my explaination isn't too good.. its late and i'm tired *EDIT* Doh! Dragon beat me to it
-
Updated the script with !say and fixed several crashes. The !players command can easily be added in by looking at the !say command
-
After noticing the lack of IRC Echo bots for MTASA (and after being asked by Mount) i decided to make one. This echo consists of a module and a lua script. The module connects to the IRC server and parses several commands aswell as keeping the connection alive. The script supports multiple connections to the same or differant IRC servers and can change nickname and join channels on demand. Heres a list of functions and callbacks: Functions: ircInit() - Initializes the module with the resource so it can be used ircOpen( IP, Port, Nick, Channel, [ Password ] ) - Readys a connection to a specified IRC Server. Returns IRCConnection ircDisconnect( IRCConnection ) - Disconnects from the IRC Server ircMessage( IRCConnection, channel, text ) - Sends a message to channel (can be channel name or nickname) ircNotice( IRCConnection, Nick, text ) - Sends a notice to Nick (can be nickname or channel name) ircChangeNick( IRCConnection, newNick ) - Changes the bots nickname to newNick ircJoin( IRCConnection, channel ) - Joins a channel ircPart( IRCConnection, channel) - Parts a channel ircRaw( IRCConnection, text ) - Sends raw commands to the IRC Server ircIsVoice( IRCConnection, szChan, szNick ) - Checks if the nickname is voiced on the channel ircIsHalfop( IRCConnection, szChan, szNick ) - Checks if the nickname is a half op on the channel ircIsOp( IRCConnection, szChan, szNick ) - Checks if the nickname is an op on the channel ircIsSuper( IRCConnection, szChan, szNick ) - Checks if the nickname is a super op on the channel ircIsOwner( IRCConnection, szChan, szNick ) - Checks if the nickname is an owner on the channel ircGetStatus( IRCConnection, szChan, szNick ) - Returns the status of the person ( 0 = no status, 5 = owner ) Callbacks: irc_onConnecting( IP, Port ) - Called when the IRC connection is connecting irc_onConnected() - Called when the server is connected irc_onDisconnected() - Called when the server loses connection to the IRC server irc_onFailedConnection() - Called when the server loses connection to the IRC server irc_onPrivMsg( nick, text ) - Called when somebody speaks in the current channel or PMs the bot irc_onNotice( nick, text ) - Called when the bot is sent a notice irc_onJoin( nick, channel ) - Called when a user enters the channel irc_onPart( nick, channel ) - Called when a user leaves the channel irc_onQuit( nick ) - Called when a user quits IRC irc_onNickChange( oldNick, newNick ) - Called when somebody changes their nickname irc_onRaw( text ) - Called when an unrecognised IRC command is recieved Any problems or bugs just let me know and i'll help. Suggestions are always welcome too The echo is now for both Windows and Linux. Linux version may be dodgy so please leave some feedback on it Heres the link (attachment doesn't seem to be working ): Linkeh *UPDATED 11/01/08* Version 2 now released! *UPDATED 14/01/08* Linux version now available!
-
My scariest... an email off Take2 Anti-Piracy team. See below! When i recieved it i was thinking OH SHIT! but if you read it they're simply asking to take it down. The host did that for me anyway, aswell as denying that the site ever existed... I miss my lil torrent site
-
Thats what everybody keeps telling me