Jump to content

Heidenlarm

Registered User
  • Content Count

    6
  • Joined

  • Last visited

Posts posted by Heidenlarm


  1. On 7/16/2020 at 12:20 PM, Adam Snellgrove said:

    So the map you sent is a VERY old map and according to the logs, you are still running version 0.11 from last year February I believe. We can't really find out from that if what is wrong is because of just unsupported and long eradicated bugs or something, that could be relevant to the live version. @Keranara does this same thing happen to you on the current version of the game? If so, we really would need the map and output_logs from the current version where this is happening...

    Adam, it's global problem. Appears not only in exploration mode. Created a blank map, created a river, gave the character a broken shield generator and cube. In the testing mode, the map assembled the barrier, assembled the ship. I waited for the blocks to harden, left the protective field, drove back and the blocks cannot be destroyed. (checked on the ship hull aft and the ship hull fore; after that all blocks have indestructibility)


  2. subj.
    After work of the map, the counter in the Entity Label does not delete objects. The example shows that if you sleep for two days (adding Entity Label during growth) and try to collect grass, then the Label add/remove counter is often lost. At the same time, if the "Get Entity Count (Entity label)" can ignore this and continue to work normally, then the "Random Array Item (Array)" goes into error.


     

    Spoiler

    Screenshot
    ## Error
    #  has no properties (Plants)
    Stack trace:
    GET Entities (#15, Line:36, Column:66) in Timer (ID:8)
    On Trigger() (#1, Line:35, Column:12) in Timer (ID:8)

     

    
    #logic 1 { // Spawn
      function onPlayerCreated (player_1) {
        player_1.changeRole(Ylands.logics[5], true, true);
        Ylands.logics[3].enableForPlayer(player_1, true);
      }
    }
    
    #logic 2 { // Plants
      function onCountChanged (old_1, new_2) {
        for (player_3 of Ylands.logics[6].entities)
        {
          Ylands.logics[3].getWidget(3, player_3).text = "old: " + old_1 + " new: " + new_2;
        }
      }
    }
    
    #logic 4 { // s
      function onGrow (plant_1) {
        plant_1.attachLabel(Ylands.logics[2]);
      }
    }
    
    #logic 5 { // player
      function onPlayerConnected (player_1) {
        player_1.attachLabel(Ylands.logics[6]);
        player_1.removeLabel(Ylands.logics[7]);
      }
      function onPlayerDisconnected (player_2) {
        player_2.attachLabel(Ylands.logics[7]);
        player_2.removeLabel(Ylands.logics[6]);
      }
    }
    
    #logic 8 { // Timer
      function onTrigger () {
        var robject_2 = Ylands.array.randomArrayItem(Ylands.logics[2].entities);
        if (Ylands.isEntity(robject_2) == true) {
          for (player_1 of Ylands.logics[6].entities)
          {
            Ylands.logics[3].getWidget(4, player_1).text = robject_2.name + " :: " + robject_2.position;
          }
        }
      }
    }

     

    To repeat: run the map. sleep for two days. to collect grass.
    I enclose the map file in upload (Scenarios).
    Reproduced this error on different computers. And I apologize for my English.

    BGR.zip

×