[Adventurer] Subarray Retreat

It’s one more experimental simple level to show you the difference between various algorithms.
Subarray Retreat

Yes, it’s a simple one. Yes, I know it.

3 Likes

@Bryukh theres a weird thing here, I can walk straight through.
29

2 Likes

Fun one, I wrote my own algorithm which ended up being the same one you had in the sample.

Worked good except that I used a y of 41 when I went to collect the gems and thus I kept dying until I realized I needed to set y at 40 instead.

3 Likes

Yeah, I suppose you played at cached version of the level. That bug should be fixed. Please say me if you get that problem again.

3 Likes

You can use item positions :wink: they have Y=40.

3 Likes

Still can walk straight through.

2 Likes

LOL there is a huge bug on the level
i literally just equipped the boots of leaping and jumped straight over the magic missles
XD
bug definitely needs to be fixed @Bryukh

4 Likes

Heh, Thanks! I have one idea how to change the logic to prevent other cheats too.

4 Likes

btw i cant find the level in the normal campaign…

is it released yet??

if so, what part of the map?

2 Likes

Yep, in the Mountain campaign

3 Likes

Should be fixed (maybe it will take some time to refresh cache on servers)

3 Likes

I can still walk through.

2 Likes

Try to play with the direct link https://direct.codecombat.com/play/level/subarray-retreat

3 Likes

I can still go through.

2 Likes

It’s strange. Could you say which username you’re using? I’ll try to research it because I can’t reproduce it.

3 Likes

Submitted patch to avoid further cheats.

2 Likes

It’s not a cheat. I know about those methods. It’s simple level so it’s ok to solve it “straight way” with advanced heroes.

3 Likes

One more – you can’t limit heroes abilities that way.

3 Likes

Oh I’m sorry @Bryukh.

1 Like

LOL
i can still jump through the missles without dying
all i had to do is this:

hero.jumpTo({"x": 40, "y": 64})
while hero.time < 10:
    hero.shield()
hero.moveXY(40, 64)

rip lol

3 Likes