AutoSave Problem

Results 1 to 2 of 2
  1. #1
    Enthusiast ronggyuann is offline
    MemberRank
    Nov 2012 Join Date
    29Posts

    AutoSave Problem

    Hey, i need help on this ! I added a auto save system , From this http://forum.ragezone.com/f427/auto-save-625792/

    , But the first part i have problem with it , rather than having
    PHP Code:
     chr.saveToDB(truetrue); 
    , i have
    PHP Code:
    chr.saveToDB(true); 
    , i try adding another true but it gives me error .
    Then i just put it as true , then i go to my server constants and add the script , they give me the error that is shown below i need help on this thanks !

    Code:
    Nov 29, 2012 8:49:56 PM scripting.event.EventScriptManager init
    SEVERE: null
    javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: Ref
    erenceError: "SECONDS" is not defined. (<Unknown source>#14) in <Unknown source>
     at line number 14
            at com.sun.script.javascript.RhinoScriptEngine.invoke(RhinoScriptEngine.
    java:184)
            at com.sun.script.javascript.RhinoScriptEngine.invokeFunction(RhinoScrip
    tEngine.java:142)
            at scripting.event.EventScriptManager.init(EventScriptManager.java:73)
            at net.channel.ChannelServer.run(ChannelServer.java:222)
            at net.channel.ChannelServer.main(ChannelServer.java:441)


  2. #2
    Alpha Member TiredGuy is offline
    MemberRank
    Mar 2012 Join Date
    Behind YouLocation
    1,527Posts

    Re: AutoSave Problem

    Your suppose to replace seconds with a number.



Advertisement