Navigation

    forum

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    1. Home
    2. bikewrecker
    • Flag Profile
    • block_user
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Groups
    • Blog

    bikewrecker

    @bikewrecker

    2
    Posts
    586
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    bikewrecker Follow

    Posts made by bikewrecker

    • RE: [SOLVED] Can't Operate Console When Experiencing Error

      Thanks, Tedivm!  I ran into the same error again today, but using the try/catch block allowed me to fix the problem on the fly. Much appreciated!

      posted in Technical Issues and Bugs
      bikewrecker
    • [SOLVED] Can't Operate Console When Experiencing Error

       Hi folks, I recently had an issue where one of my creeps spawned with nothing in its memory for some reason, so I started getting an error

      " TypeError: Cannot read property 'run' of undefined

      at Object.Creep.runRole [...]"

      which makes sense since the creep doesn't have a role set in its memory. The problem I'm having is that I can't fix the situation by editing the creeps memory manually via the console. I tried

      Game.creeps.[creepname].memory.role = "creepRole"; 

      But since the error was repeating every tick, the console wouldn't apply the changes to the creeps memory because of the error which would be fixed if the console applied the changes to the creeps memory... I also tried entering the role in the memory console as well, but those changes wouldn't stick either. Anyways, if there is a workaround I could use in future situations of this type, I would love to hear it.  

      Thanks!

      posted in Technical Issues and Bugs
      bikewrecker