milkshake333 Posted October 28, 2010 Share Posted October 28, 2010 I got a problem with the IRC Resource. I have the module in my modules folder, and the resource has been given admin rights, but when I try to start it I get: [2010-10-28 17:21:42] Starting irc [2010-10-28 17:21:42] Start up of resource irc cancelled by script [2010-10-28 17:21:42] Stopping irc What could this be? Link to comment
dzek (varez) Posted October 28, 2010 Share Posted October 28, 2010 mta paradise, right? idk why, but paradise is often stopping resources but i dont know the reason. Link to comment
milkshake333 Posted October 28, 2010 Author Share Posted October 28, 2010 I don't know what MTA Paradise is? I have the ml_sockets module and this irc resource. And if MTA Paradise is a resource, then no, I don't have it . Link to comment
dzek (varez) Posted October 28, 2010 Share Posted October 28, 2010 paradise is complete RP gamemode. whatever. the only thing i can suggest you is to stop resources one by one, and check which one is preventing irc from load. oh, i dont know if its possible, but maybe irc is preveting itself from load (like: no configuraion file is filled, or something like that?) Link to comment
milkshake333 Posted October 28, 2010 Author Share Posted October 28, 2010 Okay, well I did the settings.xml, so it should work. But I'll try out by stopping one by one. Link to comment
dzek (varez) Posted October 28, 2010 Share Posted October 28, 2010 try to replace your core.lua with this one: http://upload.dzek.metal.info/pliki/core.rar Link to comment
milkshake333 Posted October 29, 2010 Author Share Posted October 29, 2010 2010-10-29 14:50:35] Starting irc [2010-10-29 14:50:35] SCRIPT ERROR: irc/core.lua:1: unexpected symbol near 'ï' [2010-10-29 14:50:35] WARNING: Loading script failed: irc/core.lua:1: unexpected symbol near 'ï' [2010-10-29 14:50:35] ERROR: irc/irc.lua:93: attempt to call global 'outputIRC' (a nil value) [2010-10-29 14:50:35] irc restarted successfully [2010-10-29 14:51:02] restart: Requested by Rutger [2010-10-29 14:51:02] Stopping irc [2010-10-29 14:51:02] ERROR: irc/irc.lua:101: attempt to call global 'outputIRC' (a nil value) Strange.., there is no i on line 1 ... core.lua:1: -------------------------------------------------------- irc.lua:98-104: addEventHandler("onResourceStop",root, function (resource) if getResourceInfo(resource,"type") ~= "map" then outputIRC("07* Resource '"..(getResourceName(resource) or "?").."' stopped!") end end ) Though the outputIRC function is in the core.lua script, and it's exported... Link to comment
dzek (varez) Posted October 29, 2010 Share Posted October 29, 2010 hmm.. try this one http://upload.dzek.metal.info/pliki/cor2.rar Link to comment
milkshake333 Posted October 29, 2010 Author Share Posted October 29, 2010 Thank you very much, it helped. But can you tell me what the problem was? Things you changed so it could work? Link to comment
dzek (varez) Posted October 29, 2010 Share Posted October 29, 2010 its working o_O ?? and it's doing its job, or just not stopping and not working correctly? (idk what this "irc" is doing).. i just removed one timer to display with delay the error about sockets module not loaded (to display it instantly - because i was thinking this can be reason of it stopping itself w/out error - its preveting itself to load just after creating timer with this error - and this timer have no chance to do its job). if you dont understand this (its so messy sentence) - just know that i didnt changed ANYTHING that should make this actually work.. Link to comment
MCvarial Posted October 29, 2010 Share Posted October 29, 2010 The resource is kinda random because I wrote it in way to little time makes lots of mistakes, it needs a rewrite. Link to comment
milkshake333 Posted October 29, 2010 Author Share Posted October 29, 2010 @Varez: Yes it does work good now, and it's a resource to get an echo bot on an IRC channel 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