Navigation

    forum

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

    Seronis

    @Seronis

    15
    Posts
    1442
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Seronis Follow

    Posts made by Seronis

    • RE: Free Tier

      Responses like this encourage tweets suggesting the game should be avoided

      posted in General Discussion
      Seronis
    • RE: Abusive players

      Easy fix, you only get newbie walls when you are defeated. Not for voluntary respawn.

      Easier fix, you only get newbie walls ONCE and then never again. After your first respawn you're not a newbie. Deal with it.

      posted in General Discussion
      Seronis
    • RE: Code that works in game give error in simulation

      Its saying 'for' is unexpected at that point in the code. Meaning whatever you have just BEFORE that point is likely the error

      posted in Technical Issues and Bugs
      Seronis
    • RE: Twitter promo frequency

      Gotcha. I forgot about minimum CPU limit. Which wouldnt be an issue if the limit was a voluntary max and we were charged our actual usage.

      posted in Help
      Seronis
    • RE: In game chat

      There is really zero difference in using the webchat link for the irc room and an in-game one. They're both in your browser.

      posted in Feature Requests
      Seronis
    • RE: Message passing between players

      It would be kind of stupid to consider this cheating. Anyone you are passing messages to by scripts you've obviously talked to directly so that you are using compatible communication protocol. So that means its consentual. And you are using your CPU allotment to do the communication so you paid for it.

      Only issue i see is energy you drop evaporating and causing errors in the message.

      posted in General Discussion
      Seronis
    • RE: How to upgrade room controller to level 2?

      Is your creep using the script above ALSO doing other tasks afterwards? You dont 'break' out of that logic block so if you have an alternate task below that 2nd task will take priority. Fix this by:

      if(creep.room.controller) {
      creep.moveTo(creep.room.controller);
      creep.upgradeController(creep.room.controller);
      return;
      }
      
      posted in Help
      Seronis
    • RE: Get a global function by name

      I do this by not using separate files for each role. and using an organized table

      module.exports = {
          "harvester": {
              body: [WORK,CARRY,CARRY,MOVE,MOVE],
              actn: function(creep)
                  {
                     ...
                  },
              },
          "tower": {
              body: [RANGED_ATTACK,RANGED_ATTACK],
              actn: function(creep)
                  {
                      ...
                  },
              },
          "digger": {
              body: [MOVE,MOVE,WORK,WORK],
              actn: function(creep)
                  {
                     ...
                  },
              },
          "gopher": {
              body: [MOVE,CARRY,CARRY,CARRY,CARRY,MOVE],
              actn: function(creep)
                  {
                     ...
                  },
              },
      };
      

      then a main function looking like:

      var roles = require('roles');
      
      for(var name in Game.creeps) {
          var creep = Game.creeps[name];
          var role = creep.memory.role;
          var body = [WORK,CARRY,MOVE];
          var actn = function(doomed){doomed.suicide()};
          if(role && roles[role]) {
              body = roles[role].body;
              actn = roles[role].actn;
          } else {
              if( !creep.memory.badRole ) {
                  console.log("Invalid role found: " + role + "    Creep: " + name);
                  creep.memory.badRole = true;
              }
          }
      
          if(!creep.memory.oldCreep) {
              console.log(name + ": " + role);
              if(actn) {
                  console.log("   actn: handler found");
              }
              creep.memory.oldCreep = true;
          }
          actn(creep);
      }
      
      posted in Help
      Seronis
    • RE: Twitter promo frequency

      Twitter promo earns you a number of CPU credits. Not a number of days playing. Well technically it earns you NOTHING since they dont seem to actually be activating the feature. But its the complexity of your scripts that determine the rate you will consume the CPU credits you earn from whatever means (buying or promotions)

      posted in Help
      Seronis
    • RE: Version of this game without the scripts?

      @theAemix, not correct. Those libraries are easy to pick up IF YOU ARE ALREADY A PROGRAMMER. Java script doesnt take long to pick up IF YOU ARE ALREADY A PROGRAMMER.

      But Dondergods point is that learning programming from a point of zero knowledge is difficult. And he is right. Learning any language (french, spanish, japanese) from a point of zero knowledge is difficult.

      posted in Help
      Seronis