Jump to content

[HELP] IRC Resource


milkshake333

Recommended Posts

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

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

  
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 :o...

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

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
  • 2 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...