kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
346 stars 332 forks source link

error in configjs[line90} #1232

Open Femeone opened 5 years ago

Femeone commented 5 years ago

Hey , im totally new to this .. trying run this bot from few days .. got this error after run bot :+1:

Error in config linejs[line90]: load line is not defined Error [0] kolbot libs common configjs95

thx for any help

Elite-Kings commented 5 years ago

Go to your config. Find line 90 in notepad ++ send me everything that line says and i can figure out whats wrong.

On Thursday, February 14, 2019, Femeone notifications@github.com wrote:

Hey , im totally new to this .. trying run this bot from few days .. got this error after run bot 👍

Error in config linejs[line90]: load line is not defined Error [0] kolbot libs common configjs95

thx for any help

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kolton/d2bot-with-kolbot/issues/1232, or mute the thread https://github.com/notifications/unsubscribe-auth/Arr6R-u-lcARQaKHwZBt4k1-fARULTGCks5vNdLxgaJpZM4a8diN .

Femeone commented 5 years ago

common , config?

        LoadConfig.call();
    } catch (e2) {
        if (notify) {
            print("ÿc8Error in " + e2.fileName.substring(e2.fileName.lastIndexOf("\\") + 1, e2.fileName.length) + "(line " + e2.lineNumber + "): " + e2.message);

            throw new Error("Config.init: Error in character config.");

this is from 90 - 95 line

Elite-Kings commented 5 years ago

Okay. What type of character is it? Im on my phone and this error isnt showing up on my phone so im going to open it on my computer

On Thursday, February 14, 2019, Femeone notifications@github.com wrote:

common , config?

  LoadConfig.call();

} catch (e2) {

  if (notify) {

      print("ÿc8Error in " + e2.fileName.substring(e2.fileName.lastIndexOf("\\") + 1, e2.fileName.length) + "(line " + e2.lineNumber + "): " + e2.message);

      throw new Error("Config.init: Error in character config.");

this is from 90 - 95 line

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kolton/d2bot-with-kolbot/issues/1232#issuecomment-463805346, or mute the thread https://github.com/notifications/unsubscribe-auth/Arr6R0DBC8_ntvcoxv2fyuHxj97gUup_ks5vNdVygaJpZM4a8diN .

DarkHorseDre commented 5 years ago

paste the character config for the profile you're running and the config.js to pastebin and paste the links here plx

DarkHorseDre commented 5 years ago

delete what you posted, then Paste to pastebin.com and paste the LINK instead

Femeone commented 5 years ago

Sorry , now i know what you mean :|

Char light sorc with infi 5ktHrtA5.txt

congij js me14QksB.txt

5noop commented 5 years ago

Sorry , now i know what you mean :|

Or so you thought. Anyway it was a bad idea to comment the loadConfig function, so remove the // at line 10 in your char config. Oh and next time post your files here: https://pastebin.com/

Femeone commented 5 years ago

removed now new one : error 73 file kolbot libs config sorc avocado js554 syntaxerror missing } after function body error 0 common config js66 falied to load

5noop commented 5 years ago

This one is pretty self-explanatory, your are missing a } at the end of the file. Now I don't know how you came to remove that but please don't touch the file structure if you don't know what you do, only modify the true/false or what you are clearly allowed to.

Femeone commented 5 years ago

Yea figure it out already .. thx for help :) Last question ... i run bot , and after 3 hrs stash only keys .. somthing wrong or i just dont find anything usseful? shuld i edit kolton.nip somehow? ( all files are stock )

All fine , someone can close this :) thx for help !!