# Farmscape Blitz Bugs and Feedback

**URL:** <https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886>\
**Category:** AILeague\
**Created:** [August 3, 2023, 8:34pm UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886 "2023-08-03T20:34:42Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bryukh](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/bryukh/32/19597_2.png) [@Bryukh](https://discourse.codecombat.com/u/Bryukh)\
**Post date:** [August 3, 2023, 8:34pm UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/1 "2023-08-03T20:34:42Z")

</div>

[Farmscape Blitz](https://direct.codecombat.com/play/ladder/farmscape) is in action!  
Put any bug reports and feedback here.  
Any offtopic will be removed.

---

<div class="post-metadata">

**Author:** ![Bryukh](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/bryukh/32/19597_2.png) [@Bryukh](https://discourse.codecombat.com/u/Bryukh)\
**Post date:** [August 3, 2023, 8:34pm UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/2 "2023-08-03T20:34:52Z")

</div>



---

<div class="post-metadata">

**Author:** ![Smloh](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/smloh/32/21750_2.png) [@Smloh](https://discourse.codecombat.com/u/Smloh)\
**Post date:** [August 4, 2023, 1:04am UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/3 "2023-08-04T01:04:28Z")

</div>

I was told there is a bug with poison mist and rain, where if there is one mist, and part of it is cleared out by rain, and then a different mist is cast on it, even the area of the first mist that was cleared by the rain turns into poison mist.

---

<div class="post-metadata">

**Author:** ![Bryukh](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/bryukh/32/19597_2.png) [@Bryukh](https://discourse.codecombat.com/u/Bryukh)\
**Post date:** [August 4, 2023, 5:39am UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/4 "2023-08-04T05:39:47Z")

</div>

Interesting, I think that bug is in my backlog and I didn’t have time to fix it. Will fix it asap, thanks

---

<div class="post-metadata">

**Author:** ![Arthur\_U](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/arthur_u/32/33846_2.png) [@Arthur\_U](https://discourse.codecombat.com/u/Arthur_U)\
**Post date:** [August 10, 2023, 4:11am UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/5 "2023-08-10T04:11:25Z")

</div>

![Screenshot 2023-08-10 102836](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/3X/1/2/1226aef25a082a28c69c37789e95253f23c8e048.png)  
its A to L not A to K

---

<div class="post-metadata">

**Author:** ![Venneth](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/venneth/32/36545_2.png) [@Venneth](https://discourse.codecombat.com/u/Venneth)\
**Post date:** [August 10, 2023, 5:25am UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/6 "2023-08-10T05:25:56Z")

</div>

Fixed, thanks! 20charss

---

<div class="post-metadata">

**Author:** ![Arthur\_U](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/arthur_u/32/33846_2.png) [@Arthur\_U](https://discourse.codecombat.com/u/Arthur_U)\
**Post date:** [August 10, 2023, 7:35am UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/7 "2023-08-10T07:35:05Z")

</div>

np its fine just noticed

---

<div class="post-metadata">

**Author:** ![Arthur\_U](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/arthur_u/32/33846_2.png) [@Arthur\_U](https://discourse.codecombat.com/u/Arthur_U)\
**Post date:** [August 10, 2023, 7:36am UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/8 "2023-08-10T07:36:56Z")

</div>

Vennet theres another one

 ![Screenshot 2023-08-10 153623](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/3X/a/d/ad00a6c0f54d46e78d0c52c4cb15e070785abdb1.png)

---

<div class="post-metadata">

**Author:** ![riticmaster908](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/riticmaster908/32/43503_2.png) [@riticmaster908](https://discourse.codecombat.com/u/riticmaster908)\
**Post date:** [August 13, 2023, 12:27am UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/10 "2023-08-13T00:27:40Z")

</div>

for looping in javascript over a array with positions: (ex:var array=[“A1”,“A2”]) gives a error of cant find undefined.  
either im bad a coding or its just a bug

---

<div class="post-metadata">

**Author:** ![riticmaster908](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/riticmaster908/32/43503_2.png) [@riticmaster908](https://discourse.codecombat.com/u/riticmaster908)\
**Post date:** [August 13, 2023, 12:28am UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/11 "2023-08-13T00:28:47Z")

</div>

also are the AI\_some chinese characters  
actually ai’s?

---

<div class="post-metadata">

**Author:** ![Bryukh](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/bryukh/32/19597_2.png) [@Bryukh](https://discourse.codecombat.com/u/Bryukh)\
**Post date:** [August 13, 2023, 9:34am UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/12 "2023-08-13T09:34:23Z")

</div>

No, they are not AI, 20 chars

---

<div class="post-metadata">

**Author:** ![Bryukh](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/bryukh/32/19597_2.png) [@Bryukh](https://discourse.codecombat.com/u/Bryukh)\
**Post date:** [August 13, 2023, 9:34am UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/13 "2023-08-13T09:34:54Z")

</div>

Could you give at least a fragment of your code?

---

<div class="post-metadata">

**Author:** ![Arthur\_U](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/arthur_u/32/33846_2.png) [@Arthur\_U](https://discourse.codecombat.com/u/Arthur_U)\
**Post date:** [August 13, 2023, 1:36pm UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/14 "2023-08-13T13:36:50Z")

</div>

They are ai younth they are a group in china on the china servers

---

<div class="post-metadata">

**Author:** ![Bryukh](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/bryukh/32/19597_2.png) [@Bryukh](https://discourse.codecombat.com/u/Bryukh)\
**Post date:** [August 13, 2023, 6:44pm UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/16 "2023-08-13T18:44:02Z")

</div>

> [@riticmaster908](#):
>
> either im bad a coding or its just a bug

Your code has an error, I asked the fragment where is the error. Also give an error next time please.

---

<div class="post-metadata">

**Author:** ![averagelua](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@averagelua](https://discourse.codecombat.com/u/averagelua)\
**Post date:** [August 14, 2023, 7:38pm UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/18 "2023-08-14T19:38:45Z")

</div>

I’m having a problem where I can’t seem to interface the “modifier” property of the farm objects. I’ve tried testing them with mist, rain, and boosts but it always seems to return null.

![image](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/3X/b/4/b4ba9d729c4a4c14940e36bea4073b174e08d543.png)

The Field Object Properties tab lists the modifier property as a property of farms but is not mentioned anywhere else. The only other mention of modifiers keyword is under the “boosts” section in hint 9 of the hints menu.

I wrote some Lua code to demonstrate the issue:

```lua
hero.build("wheat", "C3")
hero.mist("wheat", 3) -- I tested this with all types (patch, garden, wheat).

local farm = hero.whatAt("C3")
print(hero.findMists()[2].row)
print(hero.time, farm.modifier)

```

This code outputs:

```python
3
3.1 undefined

```

It’s the same result with rain as well.

I’m not entirely sure if this is just an issue with Lua, but I’d love to know what the problem could be.

---

<div class="post-metadata">

**Author:** ![Venneth](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/venneth/32/36545_2.png) [@Venneth](https://discourse.codecombat.com/u/Venneth)\
**Post date:** [August 15, 2023, 6:01am UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/19 "2023-08-15T06:01:42Z")

</div>

The `field.modifier` property was an API for a previously intended feature that didn’t make it into the final design, guess we forgot to remove the documentation for it, apologies for the confusion, thank you for the report!

---

<div class="post-metadata">

**Author:** ![averagelua](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@averagelua](https://discourse.codecombat.com/u/averagelua)\
**Post date:** [August 18, 2023, 6:49pm UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/20 "2023-08-18T18:49:05Z")

</div>

The “poisonMistRecoverFactor” of rivers is listed as 30% in the hint menu however its actual in-game value is more likely set to 40%. I discovered this after noticing that calculating income for a farm would be incorrect when it was next to a river and had poison mist while considering the 30% factor. I’m not entirely sure which value is correct, so I thought to ask.

![image](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/3X/d/9/d9160da2e247e24def0e579cdda1f20cee05fd22.png)

Also, I can’t seem to find any officially documented way to view what boost is active on a hero. Currently, the only way to see this is very hacky and an official API would be extremely helpful. For example:

```lua
local currentBoost = hero.getCurrentBoost() --> boost object {type: string, duration: number}
print(currentBoost.type, currentboost.duration) --> "fire|water|earth 8"

```

---

<div class="post-metadata">

**Author:** ![Venneth](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/venneth/32/36545_2.png) [@Venneth](https://discourse.codecombat.com/u/Venneth)\
**Post date:** [August 19, 2023, 6:57pm UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/21 "2023-08-19T18:57:02Z")

</div>

Hello, thanks for the report!  
It was indeed 40%, sorry for the confusion, fixed that in the documentation.  
Unfortunately I don’t think we can add additional APIs at this stage of the competition since the period for gameplay, API, and balance changes have ended.

---

<div class="post-metadata">

**Author:** ![averagelua](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@averagelua](https://discourse.codecombat.com/u/averagelua)\
**Post date:** [August 19, 2023, 7:36pm UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/22 "2023-08-19T19:36:21Z")

</div>

Thanks for the clarification. In that case, would it be possible for the behavior of ‘hero.findBoosts()’ to be made easier to work with? Currently, the method returns every single boost on the board, regardless of whether it’s already been picked up or not. This leads to it potentially returning boost objects that don’t actually exist in a given location which makes it a lot harder to manage.

Also, I’m having issues accessing the code editor from Farmscape. Whenever I try to load a level I get this error:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/3X/8/3/83fcf34e0d004e2e24f33bf271b62a5014bb7fc3.png)  
Pressing any of the buttons at the bottom just re-prompts the error message.  
This is what the developer console looks like:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/3X/1/a/1a8afc1dceee64f4bd51d630851eb602ef00e9e1.png)

I get this same error on the direct subdomain, the main website, and also in an incognito tab.

---

<div class="post-metadata">

**Author:** ![Shininglice](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@Shininglice](https://discourse.codecombat.com/u/Shininglice)\
**Post date:** [August 19, 2023, 7:36pm UTC](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886/23 "2023-08-19T19:36:36Z")

</div>

Hello, I am unable to open any games from the farmscape arena. Clicking reset level or comment out my code doesn’t work. I’ve also tried switching accounts, clearing cache, switching browsers, resetting my computer and using a different computer.

Here is a screenshot:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/3X/2/1/21dde793c080e77ccd15d4a39a316a48f9c15a40.jpeg)

Here is the console log:

```python
|Tengri's Archer| Non-UserCodeError: TypeError: Cannot read properties of undefined (reading 'getColumnByX')
TypeError: Cannot read properties of undefined (reading 'getColumnByX')
    at e.update (eval at module.exports.World.loadClassFromCode (https://direct.codecombat.com/javascripts/world.js:2:986349), <anonymous>:266:29)
    at e.exports.e.callChainedMethod (https://direct.codecombat.com/javascripts/world.js:2:964848)
    at e.p [as update] (https://direct.codecombat.com/javascripts/aether.js:2:821917)
    at Existence.update (eval at module.exports.World.loadClassFromCode (https://direct.codecombat.com/javascripts/world.js:2:986349), <anonymous>:112:15)
    at e.exports.e.getNextFrame (https://direct.codecombat.com/javascripts/world.js:2:1000492)
    at module.exports.World.getFrame (https://direct.codecombat.com/javascripts/world.js:2:978296)
    at module.exports.World.loadFrames (https://direct.codecombat.com/javascripts/world.js:2:980597)
    at self.runWorld (https://direct.codecombat.com/javascripts/workers/worker_world.js:1:8889)
    at https://direct.codecombat.com/javascripts/workers/worker_world.js:1:12013
Angel.coffee:197 Infinitely looped. false true Object false

```

[Next page](https://discourse.codecombat.com/t/farmscape-blitz-bugs-and-feedback/35886.md?page=2)
