Jump to content

VRocker

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by VRocker

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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)
  9. Updated script to v2! Loads of fixes and a better script. Also added a few more functions which have been requested.
  10. 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
  11. 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
  12. Updated the script with !say and fixed several crashes. The !players command can easily be added in by looking at the !say command
  13. 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!
  14. 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
  15. Yes san andreas party. the source should be on their site (cant remember what their site is atm....) if its not there then ywa has stopped giving it out and your outta luck
  16. Windows XP x64 FTW!!! Faster and more secure than normal XP since its basically server 2003 with a few things added/removed. Best way to go if you have a 64bit CPU
  17. As baygon said, the only sources that were released to the public were online andreas, RPG Andreas and SAP. OA and RPGA are in VB. SAP is in delphi. To my knowledge theres not a C++ mod with its source released (could be wrong). Still, if you wanna make your own do what most people do. get your hands on one of the above sources and learn from it. Then you can make something in any language you want. GTAForums always helps too since SA is well documented. Oh and RPGA does that black screen thing because some files are missing which the DLL looks for. Nobody has those files anymore either
  18. Yes that is the game you need to play MTA: San Andreas (hints in the mod name) Remeber, get the PC version
  19. Hey all! letting you all know about VRPG This is a lil gang of RPGers that have been playing for ages. We started off with GTA:Rumble (server is still up somewhere with the RPG scripts) but we mostly play MTA:VC now. Server has some great scripts written by me from scratch. Some things are: Buy/sell vehicles Buy/sell houses Market items Bank Safe Interest in the bank All the basic stuff plus more. We also have drag races with automated win detection and payment. Server is a dedicated server hosted by AlienX (http://alienxservers.co.uk) and the scripts are hosted on a dedicated computer for reliability. Scripts are always expanding and always open for suggestions. An IRC echo channel is located on irc.gtanet.com Channel: #vrocker or visit us here: http://vrocker.co.uk/applet.php Website is http://vrocker.co.uk and all players get a signature image of there stats http://vrocker.co.uk/mta/siggen.php Dunno what else to say cept we have lots of members and we recruit often Anyway, hope to see people around and have fun Almost forgot IP: 193.47.83.105 Port: 5500
  20. Man westy, this is totally fucked up! its that bad i'm going have to deny ever knowing you now But anyway, theres atleast 5 errors in this script. So lets play spot the errors!
  21. If anyone wants to play on a good RPG server try the Bond one. it has good scripts and some mission scripts. Come try it at: 85.234.136.196 Port 2004 Hope to see you soon
  22. they need to fix these bugs though! and you think the MTA team wont borrow anyone elses coding? Well lets look at these facts.... 1. The first MTA arrived thanks to a GTA3 trainer thing, IJs started MTA thanks to that program and its open source coding 2. MTASA uses a GUI system called Crazy Eddies GUI which is licenced under the GPL like the VCMP 0.1c source code And also i heard something a while ago about MTA blue uses something that kyeman once made. and yes they may be working on SA but whats 1 day out of SA to keep a few old school mta fans happy? If i knew C++ (which i'm currently trying to learn, its a bastard compared to delphi) then i would offer my knowledge to try and help.
  23. Hey guys! I've just been looking at the MTAVC 05 site and noticed 0.5.1 which said it was going to be released within a few weeks.... this was months ago maybe even a year ago! lol But anyway, i've been thinking. I know i've asked this question before on the GTA3 part of the forum but here goes again. PLEASE could one of the MTA team that developed 0.5 take 1 day out of MTASA to fix a few little things in 0.5? and heres the thing... it wont really require much work! and heres why... Theres bugs in MTAVC 0.5 which isn't in VCMP 0.1c or lower right? well VCMP 0.1c source has been out for ages so just 'borrow' the fixes lol the passenger bug for a bike code is fixed in there (i've looked and messed) Also here another thing, MTAVC is mostly used now for RPG servers as VCMP doesn't have a scripting system yet so mta's sync wouldn't really need fixing as killing in RPG results in people moaning anyway. Also heres a suggestion. maybe have vehicles defined with an ini (psssst, borrow from vcmp) so the servers can be differant. MTAVC has loads of features which make it unique! shame theres a few bugs and it looks as though its been abandoned So here me out and keep the mtavc players happy by doing this! Thanks!
  24. aww ok then well i hope one day they do go back to making multiplayer for gta3 cuz imo its the best gta. Wheres the desync? sorry you must think i'm mad but GTA3 on SSV had great sync! i was playing just last night and it was well synced oh and the 58 hours? 5 were single player and the rest were rumble. I'll leave by saying please remake a mod for gta3! get some more on the team that can write on the blue core for gta3
×
×
  • Create New...