#Adventure AI v3.5

1866 messages ยท Page 2 of 2 (latest)

wooden bobcat
#

yeah because I don't think they're important

jovial gull
#

First question: Can you repro it?
2nd question: Can you still repro it if you reimport a fresh copy? XD

neon quail
#

with my own compilation
not with yours

jovial gull
#

WONTFIX NO_REPRO
๐Ÿ˜‚

primal dragon
#

Random thought but I realised once you have the boots of phasing it can lose a lot of efficiency as it can sometimes leave one chest near the exit and then grabbing all the others and pathing all the way back to the chest before leaving which makes sense without the boots of phasing as it is going to have to take those steps back anyway.
However once you have them adding a new path finding algorithm that basically finds the shortest path to collect all the chests but not to get the exit included, counting the steps for doing so and then adding the number of steps to get to the exit using phasing rather than the tpyical pathfinding distance will be faster in these situations.

Method would be:

  1. Finds path using current method and records steps.
  2. Finds path using shortest chest collection path (not including going to exit after collecting all chests), then adds phasing steps to get to exit for total.
  3. Chooses shorter of these 2 paths and performs it.

Could probably rewrite it myself but honestly doesn't matter to me too much, just in case anyone feels like updating it to be more efficient, the idea is there.

jovial gull
#

Yeah I actually know the optimal pathing taking phasing into effect, I've just been too lazy to put it in because the pathing is the ugliest part of the code XD

primal dragon
#

Yeah, I fully know the feeling, mainly why I don't want to try it myself either FC_pepelaugh

#

I know it can be even more efficient by checking shortest path for each chest being the final one then adding in phasing but not sure how badly a performance hit that would have.

#

Never tried to do pathing inside of the games AI, just in C programs Ive made in cmd xD

primal dragon
#

Is there any way to disable the ability to kill constraint so it will go to difficulties with higher damage than my armour?

wooden bobcat
#

no I don't think so
then again, it would pretty much die immediately if that didn't exist. it doesn't have much logic for killing enemies

neon quail
#

if you can outdamage them, you can just increase max difficulty

primal dragon
#

Fair enough, may run out manually to get more armour and attack thyen come back and run the levels

wooden bobcat
#

technically yes, the highest difficulty as of now is set by the swords

wooden bobcat
#

(mana armor doesn't count since it's extra health)

neon quail
#

sword 30?

primal dragon
#

Yeah currently at 38 so can get more atm

wooden bobcat
neon quail
#

wow

neon quail
primal dragon
#

97 rn

neon quail
#

you got lantern?

primal dragon
#

Not yet, need to run out manually to get that too

wooden bobcat
neon quail
#

no, do diamonds around d95

wooden bobcat
#

does it matter?..

neon quail
#

that's where it drops

wooden bobcat
#

drops anywhere from d95-99, possibly even higher, but we can't explore higher without it

primal dragon
#

Drop chance is 1% for me so guess I got real unlucky on 95

neon fern
wooden bobcat
#

probably like d100

neon quail
jovial gull
open marsh
#

Question: is there a specific prerequisite I need to find the Relics? I'm on Stage 97 and haven't found any of the three

wooden bobcat
#

treasure bag drops past d100 ||(from mimics)||
other two are unknown

open marsh
#

how much Armor do I need for that?

wooden bobcat
#

39
so one more cheat armor for you (since you're at d97)

neon quail
#

you can get it right now if you have the lantern

open marsh
#

lantern?

wooden bobcat
#

or yeah, you can play manually until you get the armor drop

#

yes, lantern

neon quail
#

it's a drop

#

look at your loot table

open marsh
#

oh, I have it

neon quail
#

noice
you can run to d100 then
just grab 1 peace of armor/1 sword from d100 and let the AI do its thing

wooden bobcat
#

I think you would need more than 1 sword
also piece*

open marsh
#

I see, will try

open marsh
#

got to d100

#

now it's just a waiting game I assume?

neon quail
#

congrats

#

well, did the AI get you there?

open marsh
#

I haven't found it yet

#

but 48 armor and 49 Swords should suffice? ^^

neon quail
#

probably yes

wooden bobcat
#

wait 48?
you need 39

open marsh
#

I know

#

after getting 39 I just kept getting more

wooden bobcat
#

well, good.
now you can just run ai here and you'll be fine

open marsh
#

aye

open marsh
#

can I also let it do d100+?

#

and is there a max?

wooden bobcat
wooden bobcat
open marsh
#

Higher chances for it to be found or is that just completely random?

wooden bobcat
#

what are you trying to get?

neon fern
limpid roost
#

we recently passed 900

#

plus however many in supporter channels

neon quail
#

hey d0s, will you ever add adventure AI to your main Perfect Tower repo?

solid plume
neon quail
#

wait wut?

#

I shoulda read it

solid plume
# neon quail wait wut?

they're under apache 2.0, which pretty sure is the default license

specifically noting

  1. Redistribution. You may reproduce and distribute copies of the
    Work or Derivative Works thereof in any medium, with or without
    modifications, and in Source or Object form, provided that You
    meet the following conditions:

... (skipping a.)

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

  (c) You must retain, in the Source form of any Derivative Works
      that You distribute, all copyright, patent, trademark, and
      attribution notices from the Source form of the Work,
      excluding those notices that do not pertain to any part of
      the Derivative Works; ...

which source is defined as
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

jovial gull
#

Even putting that aside, I'd leave it where it is for source control reasons, migrating across repos is a pain for version history

neon quail
jovial gull
#

Yeah, I should do that

neon quail
#

thank you :D

crimson onyx
#

what

#

why did this not give a notification

wooden bobcat
#

set the notification settings?

crimson onyx
#

okay but it should at least give the new message thingie

#

like sometimes a one appears on #1093895780865163284

neon quail
#

ey d0s, would it be hard to change the AI's diamonds to squares?

#

honnestly, I should probably @jovial gull ping you XD

jovial gull
#

hard? Maybe... not? But I wouldn't do it because it involves too much difficulty fluctuation

neon quail
#

wonderful, that's all I needed to hear XD
I'll do it myself, I just wanted to know if you'd think it's too hard

jovial gull
#

I think you can just mess with the direction-selecting code and it shouldn't be that bad

obsidian vessel
#

I dunno how I messed it up, but at some point, it switches between rooms and tries killing off a golden ghost. And redownloading the bundle didn't help me. :/

wooden bobcat
#

that is normal

#

it's farming for bombs

obsidian vessel
#

Ah.

#

Guess manual it is.

wooden bobcat
#

also I don't think I've ever seen someone refer to enemies as ghosts

obsidian vessel
#

(do you get bombs off of golden ghosts?)

wooden bobcat
#

yes

obsidian vessel
#

huh.

wooden bobcat
#

they drop a bomb upon death
also have a chance to drop a phoenix feather

obsidian vessel
#

Oh, on second glance, I see these are skulls, my absolute bad.

#

(I'm trying to get to 100 without buying any cheat armor, and I wanna cry.)

wooden bobcat
#

you have to play yourself starting from d94 then
which means manual farming for lantern

jovial gull
#

But the AI can/will still help you when you teleport back to get more health/bombs, just not as much of a help when you're pushing high-distance rooms

neon quail
#

wait what?
you're gonna update it again? XD

jovial gull
#

Maybe someday, but that's not what I meant at all

neon quail
#

oh wow, big misunderstood XD

dreamy dawn
jovial gull
#

You can press K to clear the current room (also engages bomb/health/key farming if you are in the doorway IIRC) without moving on from there

pliant sail
#

Can the AI complete the game alone after getting the lantern and the swords and armor from D100?

neon quail
#

it can safely go up to distance ~ 125

pliant sail
#

It's stuck between 119 and 120.

neon quail
#

that's to be expected
you'd preferably get cheat armor at this point

pliant sail
#

It's in the millions the cheat armor now, those are ridiculous amounts of tokens now.
I would have to do Space hundreds of times at this moment, that's impossible ๐Ÿ˜ฑ

#

Guess I'll never finish Adventure ๐Ÿ˜ญ

neon quail
#

yea... it's pretty hard to finish adventure, considering how some rooms are literally impossible

limpid roost
pliant sail
#

I'm guessing that module and those last 12 books that I'm missing are in the last rooms ๐Ÿ˜ญ

limpid roost
#

the module isnt in chests, the cards im assuming are boss cards, you need to beat their respective bosses first

pliant sail
#

The cards are 12 cards that are in the Adventure rewards, the ones that I'm missing.

pliant sail
limpid roost
pliant sail
#

It doesn't say.

limpid roost
#

which card set(s) are you missing cards from?

pliant sail
#

12 that are in the adventure rewards, I don't know which ones, ehy only have ??? on it, they don''t have a name.

limpid roost
#

go to the cards menu, then show me it

pliant sail
limpid roost
#

not the rewards menu in adventure, the cards tab on the side bar of arcade

neon quail
#

aren't those bosses?

limpid roost
#

though it does seem quite likely that those are boss 4 (mt10) and boss 5 (mt15)

pliant sail
#

Yup, it seems that are the bosses. Still MT9.

#

But yeah, going back on the conversation, stuck on 119 and 120 ๐Ÿ˜ญ
47 armor and 50 sword

#

I went manually to 127 and almost died ๐Ÿคฃ

#

So, getting to 160 seems way too impossible.

#

Is the module in there very important ?

limpid roost
#

its very op, no one uses it though because its annoying to use

#

to get it, you need to be bad at adventure

pliant sail
pliant sail
neon quail
#

nope

#

he means what he said

limpid roost
#

if you are great at adventure youll never get it unless you start pushing too far

limpid roost
neon quail
#

this AI can be modified to farm it by removing just 1 line

pliant sail
#

Well, guess I don't need to do Adventure anymore then, unless I want to have 100% of the modules eventually.

pliant sail
neon quail
#

welp, that's a shame...
I can't give you the modified code or else the modules creator will send nukes to my house

pliant sail
#

He doesn't need to know what he can't see in DM's

#

๐Ÿ‘€

neon quail
#

assuming he can't see in DM's?

#

@narrow crescent this mf thinks he can hide stuff from ya

limpid roost
#

but thats not the modules creator?

pliant sail
#

No one can see private messages from others, this is not NSA pfffffffff ๐Ÿคฃ

neon quail
pliant sail
#

Just kiddiiiiiiiing ๐Ÿคฃ
Wouldn't do that to my boyfriend

neon quail
#

buddo, not in the post of adventure AI

pliant sail
#

No idea what you're talking about ๐Ÿ‘€

limpid roost
#

its not hard to get the module, just get bad at adventure

crimson onyx
neon quail
#

and a lot of the rest of us

crimson onyx
#

they'll go to your house personally to kill you

#

there's no escape now

pliant sail
crimson onyx
#

you'll be obliterated

neon quail
#

fellas please...

crimson onyx
#

anyway

#

for the module just be trash at adventure

#

think about something

#

how is it determined for someone to be bad at something

pliant sail
neon quail
#

at this point, it's better to move to the corresponding progression channel

crimson onyx
#

no actually

#

this goes to #adventure

pliant sail
#

Going to farm the 800+ skillpoints that I'm still missing from there ๐Ÿคฃ

limpid roost
#

well, make sure to farm below 100 so you dont run out of rooms for the last set of 200

narrow crescent
#

HUH

#

why u ping

neon quail
narrow crescent
neon quail
#

can't wait for d0s to wake up and see what happened to his post

narrow crescent
#

@jovial gull L bozo

jovial gull
#

Something has gone terribly wrong when rak is trolling me in my own thread

jovial gull
wooden bobcat
neon fern
#

that's where he gets the most kills

narrow crescent
neon quail
#

hey d0s, why does the AI leave the room with chests at times?

jovial gull
#

That's weird, try to get a video next time? Definitely shouldn't happen

quick swan
#

it seems that i have to adjust max difficulty at certain points
it's intended right?

wooden bobcat
#

alternatively, you can wait until the ai does a loop at the set difficulty, after which it will auto increase the max difficulty by 2

neon quail
#

you don't have to
the AI does it by itself, it just needs to complete a full diamond and if it can survive the higher distance, it'll increase by itself

quick swan
#

i see

#

still, i prefer raising difficulty for now

#

thanks for such a quick response!

neon quail
#

you can also just skip this entirely by setting the internal difficulty_max to 200 and pressing i in arcade

quick swan
#

no i'm not that strong i'll at least get the lantern thank you

neon quail
#

dw, the AI doesn't let you enter areas you can't survive anyway

wooden bobcat
#

it won't go past 100 without lantern

quick swan
#

oh

#

cool

quick swan
#

why would i press it

#

wait

#

internal difficulty?

#

is it in the ai itself?

wooden bobcat
#

yes
it's local, so it doesn't show up on the top-right

quick swan
#

oh ok

#

won't bother

neon quail
quick swan
#

yeah i realised

#

won't be doing it now but will consider

wooden bobcat
neon quail
#

just be aware that it's just an extra safety precaution put in place in case the AI manages to do something stupid, somehow

neon quail
blissful sierra
#

I'm currently running v3 and it's not increasing it's max Difficulty any ideas?

jovial gull
#

Is it stuck at 93 or whatever?

blissful sierra
#

No it's stuck at 2

jovial gull
#

oh, that's weird. max difficulty shouldn't be 2 to begin with

blissful sierra
#

That's all I changed cause I wanted it to full clear for me

jovial gull
#

It should increase it once it does a full loop

blissful sierra
#

It's just sitting in a death loop at 2 it's never reaching the North East South or west points is my guess

jovial gull
#

It's not moving from a single room?

blissful sierra
#

It's just doing a square

#

21212121

jovial gull
#

That is the expected shape

#

Did it fail to acquire enough sword?

#

There is a low but possible chance of that

blissful sierra
#

It got to 2 sword

jovial gull
#

I would try manually increasing maxDifficulty to 3 and see if that improves matters

#

There are keybinds for increase/decreasing it

blissful sierra
#

Yeah u and j

blissful sierra
#

still not auto increasing

neon quail
blissful sierra
#

that was it

dusky heath
#

that's odd, since it does work from 0 for me

wooden bobcat
#

Do you have the map?

dusky heath
#

Now? yes. Back when I had it start? Obviously not

#

though I dont recall if I manually fucked with it before the map

neon quail
# dusky heath that's odd, since it does work from 0 for me

this is the check that must return true for the AI to automatically increment

{cur_difficulty(1.0)} > i2d(leon.adventure.maxDifficulty) && adventure.isCompleted(adventure.roomCoords())

If you don't have the map, adventure.isCompleted(adventure.roomCoords()) returns false, even if the room is completed
this is to say that you either started with leon.adventure.maxDifficulty at a value above 0 and you're mis-remembering, or you started the run, got the map and then set the value to zero afterwards

Or you're saying "since it does work from 0 for me" to mean that it works without any modifications to the code, which is what it should do

jovial gull
#

Ooh good catch. I never thought about that because I hadn't tested/thought about trying to do full clears from the very start, so I'd forgotten about how isCompleted doesn't work without the map.

neon quail
#

if you want to make it compatible without a map, you could change the check to if (entity.count("chests") == 0)

jovial gull
#

yeah that didn't exist when I first made it, but it should work

neon quail
jovial gull
#

You know what they say, when you assumed it was as sum Ed.

dusky heath
wooden bobcat
#

I just had an idea: what if you use Identify Room and then build the path optimized for dealing with mimics, since you know their locations? Could that be done?

jovial gull
#

It could be, but it would be a lot harder. Also (more importantly), identify room takes mana, and you'd have to recover that mana by re-farming it; I think that would more than offset any gains

tropic silo
#

Every time I run the script, The little bot guy flashes between rooms to farm keys, and then dies instantly

#

i imported the last posted version of the script... maybe it broke between updates?

#

nevermind... Figured out my issue

dull lance
#

๐Ÿค”

tropic silo
#

when max diff is set to 0, dummy tries to farm for keys, yet flashes between rooms, set to 1, he dies

#

I can hop in general vc to show what I mean @dull lance

dull lance
#

nvm

tropic silo
#

ok?

jovial gull
tropic silo
jovial gull
#

Current version looks like this when it is running

#

The AI won't be able to tell what rooms have been cleared (and thus auto-increase the difficulty, to continue making bigger diamonds) until you get the map, which happens at distance 10. So I wouldn't recommend starting with a minDifficulty less than 10, unless you want to babysit it a lot.

tropic silo
#

well theres the first issue... im running at TE2.1 register

#

and no turbo

jovial gull
#

Yeah, I think wrong turbo version can cause death glitches like you were seeing

tropic silo
#

Where is the current version?

jovial gull
#

It's linked from the adventure AI

#

Or the pin here

tropic silo
#

Tysm @jovial gull

tropic silo
#

is there a way to have the adventure runner increase difficulty automatically after completing the last one?

wooden bobcat
#

The last diamond? It should already do that.

jovial gull
#

I set it to maxDifficulty 10 and have been letting it run since we spoke before, this is what it looks like now (it progressed to maxDifficulty 24)

neon quail
jovial gull
#

Oh, I know why it does. But the nature of... math... means you have to have gaps, or double back over some rooms. Doubling back would make it a lot more complicated.

stiff fiber
#

is it normal that the bombs are not automatically dropped?

neon quail
stiff fiber
#

should i try to reinstall it?

#

ok it works, thank you

grizzled ivy
#

the little guy is going pretty slow, am I doing something wrong?

jovial gull
#

Your turbo exec might not be working

#

I'll follow up in #ai-help

distant wyvern
#

How much time does this Ai need to get all the key items ?

solid plume
#

the later distance key items require manual work

jovial gull
distant wyvern
#

And how much time does it need to complete the whole map?

#

I have afkd for around 8/9 hours and most of the center has been filled out

jovial gull
#

It can't, past ~D120 requires manual play. If you managed to get the relics from the corners, then it could probably afk everything but I have no idea how long it would take

neon quail
#

without the relics, it'd probably be a lifetime of it just circling the same diamond XD

exotic egret
#

Hey i imported the script at the start of this thread but it doesnt do anyhting, anyone know where a working script is? or if maybe im doing something wrong

wooden bobcat
#

Do you have Turbo Exec?

exotic egret
#

there it is thanks

thorn oyster
#

the diamond shape does not exceed 94 and have this weird gap that does not full it self what is going on?

wooden bobcat
#

You need more damage or armor.

#

As for the inside, it just doesn't because it wants to go to the max difficulty.

jovial gull
#

the gaps on the corners are typical. The little blob gap is slightly unusual, but probably an artifact of "it looks like it went to the outside edge two different times" (probably you changed the max distance or were playing with teleport)

muted ore
#

Can this script be sped up and/or can I leave the arcade while it runs

rapid dawnBOT
#

@muted ore has earned the Ember role!

placid needle
#

what do you want to speed up?

no, ai only works with the same things you can

muted ore
#

I feel that the time it takes to find a path is kinda slow

#

Can I give it more actions per tick to speed it up?

placid needle
#

set budget to -1 if it isnt already

muted ore
#

for all the scripts or only some of them

placid needle
#

i think all

muted ore
#

oki

#

yea that helps a lot

#

ty

wraith shore
#

anyone else getting stuck at ~92?

wooden bobcat
#

You need more armor.

#

7 cheat armor (37 total) can bring you to 94.
8 cheat armor - to 97.
9 cheat armor - to 100 125.

wraith shore
#

but wait

#

i have 39 sword

wooden bobcat
#

That's not enough.

wraith shore
#

oh right, health + armor tho

#

but as long as i can 2-hit an enemy, they would not be able to damage me right?

wooden bobcat
#

They will damage you if you're clearing with AI.

wraith shore
#

ah i gotcha

wraith shore
#

man

#

the script keeps raising the max difficulty automatically

#

does it not know that i've cleared all these rooms?

#

i wish it's second priority after minmaxing difficulty would just be room sweeping

wooden bobcat
wraith shore
#

left it on all night to find that it's been re-runnning old rooms

#

that sucks :\

#

usefulness down like, 80% lowkey

#

does TPT2 not have a condition to access that info?

#

like adventure.room_cleared or something?

#

hmm

#

im trying to think of how to redesign the script to focus on rooms

#

mathematically, the number of rooms on each difficulty is preset

limpid roost
wooden bobcat
#

Apparently, there is one.

wraith shore
#

so if you start on difficulty 1, there's 1 room. 2, there's 4 rooms. 3, there's 8 rooms, etc

#

if im reading it correctly

wooden bobcat
#

You start on 0, and difficulty values are 1 less, but yes.

wraith shore
#

ah gotcha

#

so then theoretically you know exactly how much you need to travel at each layer

#

without even needing to read room completion status

limpid roost
#

at 128 you lose 2 and past that you lose more until it gets back to the start

wraith shore
#

lose more what

limpid roost
#

rooms

wraith shore
#

oh right, coz it hits the edge

#

but still

#

while it would require a lot of hardcoding i imagine, you could set it to loop around the entire thing once instead of having the max difficulty system

#

which would guarantee you get legit all the loot

neon quail
wraith shore
#

would probably be more efficient to do its current behavior and then switch to completion mode

#

yeah i get that, but it would be nice if once it's plateau'd it goes for completion instead

#

once it plateaus and all upgrades are bought, it can teleport you to 0,0 and begin trying to minmax maybe

#

i'll have to see if i can write an addon for that sometime

limpid roost
#

127,127, 0,0 is the 254 corner

neon quail
#

It doesn't really know when it plateau'd, it just keeps trying to increase the max difficulty until you shut it off or it gets killed by a mimic

wraith shore
#

a mimic? ๐Ÿ˜ญ

#

i don't think i got that high lmao

#

i peaked at like 93

neon quail
#

yea, they don't spawn bellow d100

wraith shore
#

gotcha

#

i mean it could easily be extended to know when you plateau

#
catch: you have plateaued```
neon quail
wraith shore
#

damn ๐Ÿ˜ญ

#

that sucks, it sounds tedious but simple

#

but most programming issues do

#

"oh this should be an easy implement"

10 hours later

neon quail
#

it most definitely is tedious... idk about that simple part tho

wraith shore
#

then i think i'll make a simple modification that will require me to check in every once in a while

#

but i'm just gonna disable the line of code that increments max difficulty

#

so i just manually control it

#

that way it's basically just a "loop a diamond shape" script

#

and i can just increment when i see it's done with the current layer

neon quail
wraith shore
#

bet

neon quail
wraith shore
#

well i know

#

i mean below 93 lol

#

but yeah less "increment" and more "move it to a empty or mostly empty ring"

#

i'm currently at d84 because this layer is mostly unharvested and all i need below d100 is skillpoint grinding which can be gotten anywhere

neon quail
#

the last 100 skillpoints can only spawn after d100 iirc

wooden bobcat
#

200, but yes.

neon quail
#

last 200 skillpoints after d100, right?

wraith shore
#

rip

#

honstly

#

lowkey kinda dumb that you have to cheat in armor to win

#

i get that's kind of the joke with arcade games

#

but still

#

kinda annoying

wooden bobcat
#

Well, you could just play manually.

wraith shore
#

true

#

actually take damage ๐Ÿ™„

wooden bobcat
#

Nah, just utilize bombs.

wraith shore
#

true lol

#

i've never played manually past like

#

d5

#

this game is so boring

neon quail
#

imagine getting to one of the corners

wraith shore
#

the only arcade game that's even remotely fun is perfect space lol

#

adventure is a neat concept but it starts way too slow and is way too uninvolved

#

the other two are just extraordinarily grindy gambling

#

would love to see them replaced by more firesword adaptations on classic cabinets

neon quail
jovial gull
#

Enough people seem to want a "full clear" mode that it seems like something worth adding someday... although it would surely be a pain

wraith shore
#

so there are two lines that set leon.maxDifficulty

#

should i just delete both?

wooden bobcat
#

Not line 3. (And I believe you have to decrement all gotos that go past line 12.)

neon quail
#

See?
I knew it was line 12

neon quail
wraith shore
#

alright found my new adventure strat

#

i can barely scrape through 100 and 101

#

so i'm gonna utilize teleport to make expeditions in

#

tp back to early room, max out everything

#

then go in and clear a 100

#

tp out, rinse repeat

jovial gull
#

yup, that's generally how you do it manually. With more smarts the AI could probably do the same, but adding in teleports and stuff would be a lot of new logic.

wraith shore
#

yeah definitely

#

i finally got the d100 armor and sword drops tho

#

so i can clear a lot of adventure now

#

enough that i could get all the skill points at least

#

once i max cheat armor ill go for that module and the rest of the relics

#

then iโ€™m just gonna try and full clear adventure because why tf not ๐Ÿ˜‚

wraith shore
#

hey @jovial gull idk how hard this would be, but as a suggestion, after opening any chest and before attempting to open room chests, and the player can safely tank enemy damage at the current difficulty, can you set the ai to farm hearts to 99 before opening chests?

#

this will increase loot yield while hurt by a large margin by taking hearts out of the pool

#

worst case, you only lose whatever the mimic drops

jovial gull
#

I'm pretty sure that would slow down (useful) drops/second considerably. Maybe not, it's tough to evaluate, but you have to spend the extra time leaving the room and clearing enemies again, and you can't use boots of phasing until you've cleared all the chests.
Once again, this is the tension between the AI as a farming script (what it is designed for right now) and a "clear everything" script. For the latter, you are trying to... well, I'm actually not sure exactly what you're optimizing for. Make a pretty pattern? Certainly, if you clear every room you will exhaust the drop table no matter how you go about it.

neon quail
#

a "clear everything" script would be to adventure what d0s.factory is to factory XD

once activated, it'll calculate and do everything so you don't have to

jovial gull
#

What I meant was, it's a different goal. The current script doesn't try to clear every room, it just clears rooms in the most efficient order it can (roughly).

#

That's what you want if your goal is to get all the drops, but not what you want if your goal is for the map to look nice

neon quail
#

yea, comparing your script to a "clear everything" script is like comparing adventure to factory XD

they have things in common, but they're fundamentally different

wraith shore
#

it does whatever tf this is doing

neon quail
#

it increments by 2, mb, I forgot XD

wraith shore
#

or do i just change the "then 2"

neon quail
#

just change the 2 into a 0

#

that way, if statement is true, it gets incremented by 0, otherwise, it gets incremented by 0

#

it's the change that requires the least ammount of effort

wraith shore
#

yeah i got it

#

thanks!

#

script logic is so much harder to read ๐Ÿ˜ญ

#

can't wait to get Python (or any language really) support

#

i know someone made a visual editor to turn written code into script blocks but that's an external tool

neon quail
#

we do have language support bud... the external editor

wraith shore
#

keyword external

#

im good on all that

solid plume
#

I doubt the ingame is gonna get any language support

wraith shore
#

true

solid plume
#

outside of someone modding in the external editor via mods

wraith shore
#

yeah i was gonna say mods most likely

neon quail
#

integrated editing can only happen with modding, otherwise use the external editor

neon quail
#

crazy thought
I might implement A* pathfinding to this AI XD

implementation hell is gonna be real

jovial gull
neon quail
#

I don't even know how to A*
I vaguely know how to BFS XD

I just try to do a lot of things I have no clue how to

clever hound
#

does this script get you all the modules for adventure ?

rapid dawnBOT
#

@clever hound has earned the Ember role!

limpid roost
#

no

#

not if working correctly at least

neon quail
#

only if you edit it a little bit

clever hound
#

but the modules are in one of chests right?

solid plume
#

no

#

and its just 1 module

clever hound
#

so how do i find the module than ?

solid plume
#

hint is ||just don't get good||

clever hound
#

so this script is making me to good ?

solid plume
#

yeah

clever hound
#

i think what your putting down

dry compass
#

Does this auto play?

wooden bobcat
#

Yes.

#

(Will require help at D92-93.)

dry compass
#

I just have to buy some cheat armor then right?

wooden bobcat
wooden bobcat
#

Which costs ~3.1 million Tokens.

#

Unless you want to play manually, that is.

dry compass
#

Ah

dry compass
#

I feel like it's having problems, it pauses for awhile to run "find path" or "analyze loot" for a noticeable amount of time

wooden bobcat
wooden bobcat
dry compass
wooden bobcat
#

I don't see Turbo Execute.

dry compass
limpid roost
#

tturn on te2.2

dry compass
#

I did

#

Unless I have to press a button

limpid roost
#

its crossed out on that screenshot

dry compass
#

Oops

wooden bobcat
#

The turbo start and turbo stop scripts are for backwards compatibility, and this script just calls the scripts in the TE2.2 folder directly.

dry compass
#

There we go

#

My bad

carmine locust
#

first time trying out the bot, do i need to configure something? it's going in a square, idk if it's looking for something or if i'm meant to change a variable value

#

also, is it safe to stop it at resume later?

limpid roost
#

it might need more armor

carmine locust
#

do i just use all my coins

limpid roost
#

yes

carmine locust
#

cool ty, hit a wall at 5e4 coins, 35 armor

#

the leon.adventure.maxdifficulty is at 81 and the bot is going around 81, should i touch that or not supossed to. I think i started the bot with I not R

limpid roost
#

theother option is to manually go to 100 to get more armor

wraith shore
#

works well

wooden bobcat
dreamy summit
#

Did something break? i cant seem to get this to work. Im pressing R and nothing is happening

#

nevermind

floral cloud
#

hi, any idea why running this script makes my own scripts start multiplying? on their own they run fine, but when I press r in arcade to start this up my own scripts start having dozens of copies running at the same when I turn off the hide active scripts option. their only impulse is wake up

solid plume
#

I'd need to see your script to know for sure

floral cloud
#

it assigns tasks to workers, to cycle through the mine, then restarts itself

#

3ZZNa4NAEIb/Slh6DMuapC30VHrvuYcaZFxHWdSN7AemhPz37q5UgrUQqNSay8A4s+/s+yg4J6K5Eo3R5Gn1fiLAjTjIkJDYMhZt24MqUWkKWotCUgk1xil3PQak8S1sFxsDuqS1kMPSJkQ2EocSPqZvYVby6oTIejXdBaIrLpBfDN+E6XmBEpXgtAVhBv3bH41dxLvnSV2MwfxTjGOml4dxNzfG+5vA+DA3xsfFY0znRGgWj0/O/QVe8/7+AUIf894JzZSoqmn/07+21MXeF+sF8YjcmlFPUeTtJJ3zhH/wCsneCaQ2K9C4DYa5xB3LRL/S+LKoG1tp7FacFkq0TTjm0bln5LuoKzbASyhC3adW48vXlByc2nl//gQ=

solid plume
floral cloud
limpid roost
#

turbo execute is messing with the script then

floral cloud
#

changing the executes to goto seemed to solve it, so I guess for some reason it made them trigger more than once?

solid plume
#

it was pretty much making the script lag behind and execute multiple times

floral cloud
#

I see, thanks for the help

spiral wedge
#

So when Iโ€™m running this, it plateaus at 92-93 difficulty and if I try to push it to 94 it just dies instantly, whatโ€™s going on at 94 that is making the AI so bad/mad?

wooden bobcat
#

They get 1 more damage than your armor.

spiral wedge
#

Oh damn okay, and you canโ€™t like just buy more armor to offset it?

wooden bobcat
#

You can, you just need 8 cheat armor.

spiral wedge
#

Okay, time to get coins for armor

#

Thank you

plucky tartan
#

What is happening?

rapid dawnBOT
#

@plucky tartan has earned the Spark role!

plucky tartan
#

Why the bot doesn't move

limpid roost
#

it's thinking

#

you don't have turbo execute so it's taking a while

neon quail
#

how did you manage to get 2 instances of Follow Path running

plucky tartan
#

I spammed R so much

#

I duped

plucky tartan
wooden bobcat
neon quail
#

it's linked in the post that has the import code

plucky tartan
#

Ok, I added it, now time to leave it afk while I'm sleeping

spiral wedge
#

So how will the ai do if I try to force it into the corners?

wooden bobcat
#

Not good.

neon quail
#

it's guaranteed dead eventually

wooden bobcat
#

(It'd die immediately at the corner, and it would drain the health way before getting there.)

spiral wedge
#

I got it to 130 and it was doing fine so just curious when it falls off

neon quail
#

when mimics are going to kill it

urban magnet
#

I don't understand how can you get armor, you can buy them but that quite expensive and i don't have any token, is there any other ways ? Like im stuck at 80 atm

wooden bobcat
#

You have to buy it at this point, as the next set of 10 armor only spawns at distance 100 or above, for which you need 39 total armor. To get Tokens, play #perfect-space with Town Perks on Token Rewards.

urban magnet
#

I hate perfect space ๐Ÿ˜ญ

wooden bobcat
#

Well, you don't have to win, but winning doubles the Tokens you get.

urban magnet
#

its better to go endless ? or stop at the boss ?

wooden bobcat
#

You gain the Tokens at the same rate in Endless as in pre-Endless if you beat the boss, so up to you.

urban magnet
#

same for the cards i guess ?

wooden bobcat
#

Cards are dropped from the boss.

urban magnet
#

oh there no boss in endless ?

wooden bobcat
#

No, there isn't.

#

You just fight normal enemies until you die, but their health and damage scales with the survival time.

urban magnet
#

make sense

lavish vine
#

the phrasing on the top post is a bit weird, War131's Adventure doesn't support the latest adventure updates but this one does, or are they both outdated?

wooden bobcat
#

This one supports the updated #adventure.

neon quail
#

this one supports it

lavish vine
#

thanks

lavish tendon
#

Is there any reason for the default leon max diff to start at 81?, could it be possible to change the script to start at 2 and still autoincrement at the end of the lap? if I lower the difficulty manually using the "j" key it get stuck at that distance

neon quail
#

do you have the items compass and map?

lavish tendon
#

I just started a new game so I only have the compass

neon quail
#

yea, you need the map too

lavish tendon
#

I didnt know you need the map, the script takes you correctly to distance 81 on default without it

#

I am trying to read the code but it is a little bit hard ehehe

neon quail
lavish tendon
jovial gull
#

The other reason the default is 81 is because you get more rewards at farther distances, but there's also a limit of 93 I think where the AI gets stuck without cheat armor, so 81+ gives you a good amount of farming. And that's what the defaults are set for, optimized farming for drops.

neon quail
#

but yea, I don't think there's any reason to still use adventure.isCompleted instead of chests <= 0

jovial gull
#

does the latter work without map or smth?

wooden bobcat
#

Well, it should be able to see the amount of chests in a room you're in without the map.

neon quail
neon quail
humble lodge
#

Cod did you ever get that full map clear script? i tried combing through the thread and couldn't find it

neon quail
#

sort of
it's really hard to automate it, so the best solution is to just do it manually

humble lodge
#

ah that's unfortunate

neon quail
mild thicket
#

hi, when i try to import the 3.4 bundle (link in pinned message) i get just this

#

pretty sure something is missing, no?

wooden bobcat
#

Are you triple clicking the import code?

#

(Or just pressing the copy button on GitHub?)

#

(Wait... that doesn't look like the original script. Are you sure you're in the correct post? There's #1215715983541403678 as well.)

#

-# And it does look like a thing CodBoy would do...

neon quail
#

yea, d0s's doesn't have the script movement

that's my version

wooden bobcat
neon quail
mild thicket
#

aight thanks! ill get the other part

neon quail
#

what other part?

the entire package is 2 scripts big

mild thicket
#

nvm lol for some reason it bugged the 1st time i tried turning it on

#

its working now! cheers

neon quail
#

happy adventuring

mild thicket
#

i mean, its not reaching for the chest when it uses a key

#

stands 1 square away

#

and leaves, then comes back for it before leaving the room

neon quail
#

ah, so that update is 3.4.1

sorry for that bug, I fixed it on my end but got caught up in other AIs and forgot to push it

mild thicket
#

what are you saying sorry about xd i'm the one thats lazy ahah

#

but just wanted to leave you aware!

neon quail
jovial gull
#

Adventure AI v3.4

neon fern
#

oh sweet an update

#

one less thing I gotta have turbo for

fading fox
#

as the script didnt seem to be buying mana armor when you were out of it, i added that feature to the script, if anyone else wanted it too, then here it is:

neon quail
#

the nightmare that is adding mana armor to the script XD

it keeps going back and forth

fading fox
#

wdym?

neon quail
#

The script doesn't buy mana armor because it's a pain. With the script active, you'll never get hit unless you're farming for bombs, in which case you never run the risk of dying because you won't farm for bombs if an elite could kill you

Having the script buy mana armor is useless because you'll need to buy it again after you re-fill on bombs, and then you won't get hit anymore bc the script doesn't enter rooms it can get hit in

The hard part is that, while the script has no use for mana armor, the player needs it in order to advance into regions the script can't, where having the script buy mana armor will be helpful

So you're fighting the problem of the script is wasting time on buying mana armor, but it's a valuable qol feature that players would like, but they don't like having their time wasted either

fading fox
#

im using the script in d100< though

#

with mimics

#

so i prefer not dying overnight because of encountering 3 mimics in a row due to unlucky me

#

cant you do a thing with if maxdifficulty>100, then auto mana armor script?

neon quail
#

you can, but the script isn't even made to handle mimics

fading fox
#

it works fine though. as long as i have the mana armor so i dont accidently die

neon quail
#

it will still die tho, at a late enough difficulty

fading fox
#

any script will die in a late enough difficulty though

neon quail
#

nah, it's actually pretty easy not to, given you use rng manip to have infinite bombs, but that's not here yet, and I don't think d0s will do it either

#

by do it, I mean implement it

fading fox
#

but what do we need bombs for in late difficulties?

wooden bobcat
#

I don't think the AI uses them at all, but for manual play past D128.

fading fox
#

what do i need them for at >d128 then?

wooden bobcat
#

To kill enemies?

neon quail
fading fox
#

i havent been in d128 since changes :') so idk whats up there i guess

neon quail
#

it's the only way for you to damage enemies without getting damaged yourself

fading fox
#

i havent really done adventure yet. i waited for someone to make a script first xd

#

ic

neon quail
#

well, see you in 2035 where I finish C0D.Adventure and it can get you to the corners

2035 might be too soon tho

fading fox
#

xd

#

how large is the map?

neon quail
#

255x255

wooden bobcat
#

256x256*.

neon quail
#

off by like 257 rooms?

wooden bobcat
#

Difference between x^2 and (x+1)^2 is 2x+1, so... 2*255+1 = 511.

neon quail
#

close enough to 257 ig XD

thx

fading fox
#

ic

#

is it possible to get to corners manually?

wooden bobcat
#

Yes, although incredibly tedious and one single mistake can kill your run, so make sure to make backups if you want to get there.

fading fox
#

but if you get the armor relic at least, then couldnt you just make a run where you get all of the resource drops, and then have 100% drop chance of tokens? :x

#

would take a bit of time though

wooden bobcat
#

Also yes.

sturdy ermine
#

can you exit adventure and return later with script picking up where it left?

placid needle
#

sure?

elfin ore
#

I cant seem to get this to work

#

I have imported it pressed r, k, u, j and basically every impulse button

#

any tips?

placid needle
#

did you press f4?

neon quail
#

are you in arcade?

elfin ore
balmy zephyr
nimble storm
#

is the pinned script the updated one?

placid needle
#

yea

wooden bobcat
#

Yes.

night mantle
#

buddy likes to yawn

acoustic jetty
opaque cove
#

Fun hack: because the script uses contains checks on impulses for performance reasons you can call it from your own script as long as your script's name includes "key.r" and it (mostly) just works. XD

neon quail
#

yup, same thing with d0s.factory

full thunder
#

i have set my max difficulty to 95, but it just keeps going between 93 and 92, is this because the script know it would die if it went further out? And if thats the case, will it automatically update the max afterwards if it progresses?

neon quail
#

yes. It will not go to d95 if you don't have enough armor for the enemies to deal 0 damage.

full thunder
#

hmm alright, i dont have any chance to get any armor from chests tho, so how will i progress?

neon quail
#

manually get the lantern + 1 sword from d100, or buy cheat armor

full thunder
#

alright thanks

neon quail
#

how much armor do you have?

full thunder
#

35 and 35 mana armor

neon quail
#

yea. You're gonna have to get 3 cheat armor to reach d97 and 4 cheat armor for d100

full thunder
#

would i be able to do it manually without getting the extra cheat armor?

#

and do you know at what distance i can get the last cards and the module?

neon quail
neon quail
full thunder
#

i cant for some reason

#

and the module is just random or do i need to explore a certain amount of rooms?

neon quail
#

for the module, the hint is to be bad at adventure

full thunder
#

so im guessing either spend enough tokens on cheats or die without collecting a chest?

wooden bobcat
full thunder
last walrus
#

i wonder if it would be possible for an ai to push past current limits using the teleport spell to return to low level areas to restock its health and mana, use mana armor, then teleport back to go to the next room, thus allowing it to survive higher level areas.

wooden bobcat
#

That's already getting pretty complicated, I think.

last walrus
#

fair enough, just wondering what type of scripting would be required to have it try that

#

oh the ai script editor actually has a teleport function and cast spells for mana armor.

#

guess the main issue would be setting up the logic for when it decides to teleport back and how it would figure out what room to teleport back to. but i know the ai for power stones stores data as the first workers name so possibly storing the room data as a name or some other easily editable group?

#

again all theoretically.

jovial gull
#

The main issue is divergence in goals. The primary goal of the AI is to farm, not to push for higher distance. You can kind of use it for both, but things (like mana armor) that hurt farm speed in favor of distance aren't implemented.

subtle perch
#

Im stuck at like 93, no matter what I do or even if I buy cheat armor it wont go past this. do I have to manually take it to 95 then let it run again or will that also not work? Is there a specific way to get it to actually go past 100 to get mimic drop? I am setting the difficulty to 100 but it wont pass 92/93 ish just hovers around there

jovial gull
#

It's entirely based on how much armor you have. If you go higher and don't play manually, you will probably get yourself killed because you will be taking damage from every enemy.

vocal wedge
#

is this script set so that i can run it and itll get me all the cards, and the artifact and mod if i let it run long enough while afk?

limpid roost
#

no

#

it is too good to get the module

vocal wedge
#

ah ok, so ill have to manually get the mod but itll passively farm everything else?

limpid roost
#

yes, assuming you've beaten the bosses in the Statue of cubos to get the cards

vocal wedge
#

sounds good. is there any kind of fast forward button to speed it up or just the boots item?

limpid roost
#

just the boots

vocal wedge
#

my guys just been farming on 81 difficulty for a while now. do i need to manually up it or will it eventually up it itself once its farmed enough?

jovial gull
#

It will eventually move on from 81, but it will get stuck around 92

#

Well, if the max difficulty is set to 81 it will only increase once it has done a full loop

#

That is on purpose because it's set that way so you can farm a lot

leaden wedge
#

i inputed the script and nothing is happening
what am i doing wrong?

wooden bobcat
#

Is the AI overlay on? Are you pressing R to start the script?

leaden wedge
#

ok i got
i had to press r
thanks

winter dove
#

@jovial gull Is there a way to manually adjust/set the max difficulty, so that the only way for it to increase is through manual input? As a lazy man's stopgap to brute force clearing every single room?

jovial gull
#

I'm not sure I understand what you want. You can already change the max difficulty.

winter dove
#

Never mind, found the set max difficulty in the init script

winter dove
#

Just missed it earlier

#

Just set the initial max difficulty to 1, and the bit that increases it by two to increase by zero instead. Just to go back after getting armor and attack to hopefully get skillpoints

jovial gull
#

The reason it increases it by two is because if it has completed a full ring, all the rooms in that ring are cleared. It is to allow it to clear all the rooms.

#

Basically, it makes circles, stepping up by two each time. If you set max difficulty to a very small number, it should clear everything starting from the center. It won't be very efficient, because it will take you a very long time to get the boots of haste and the spellbook. Also, you won't be able to clear everything no matter what (unless you get to the corners, which is a severe undertaking and not one that can be automated)

winter dove
#

Yeah, just realized that myself, I confused myself because when setting max difficulty low, it kept going back up just trying to get to the low difficulty I had set. I completely misunderstood how it worked.

#

Thanks regardless

#

I just need to start it on that sooner, but took way too long to

#

The only thing I would need for a fresh run to do this is to set the initial max difficulty to 1 or 0

jovial gull
#

Adventure AI v3.5

true coyote
#

I'm not quite sure if i did anything wrong, but the ai stopped at around 38 difficulty and kept going in circles

neon quail
#

can you send a screenshot of the adventure map? (the big one)

wooden bobcat
#

38 is the limit without Market and without cheat armor.

#

With 1 armor (no Market) that jumps to 81.

true coyote
static edge
#

Theย AI shouldย support reโ€‘casting manaย armour whenย itย farmsย mana orย elites forย bombs atย safeโ€‘ishย distances.

#

Also, pleaseย enable GitHubย issues onย theย repository.

jovial gull
#

Huh, I guess that's a consequence of forking it. Issues enabled.

#

The AI doesn't farm mana armor because that would strictly make it slower. Mana armor gets stripped off when farming elites for bombs, and it would then need to get replenished. Since the AI only ever fights in 0 damage situations (we'll ignore mimics for the moment), mana armor is useless to it.
The AI has secondary purposes for doing other stuff, but its main purpose is farming for skillpoints (and other drops) autonomously. I won't make it worse at its main job in order to accomplish the secondary tasks better.

#

(This tension also frequently comes up between what it is designed for vs people who want to fill in the whole map, or at least everything they can access.)

rigid obsidian
#

How long does it take to finish?
first time doing adventure

wooden bobcat
#

A few days, I think.

rigid obsidian
#

Is there a way to diel it, instead of staying here to watch it?

wooden bobcat
#

AI cannot interact with #adventure while not in the minigame, so not really.

rigid obsidian
#

what is the max difficulty reachable?

limpid roost
#

with the ai? how much prep do you want to do to reach higher difficulties?

wooden bobcat
#

Depends on your armor. Before 9 cheat armor, the AI will not go to 100+.

rigid obsidian
#

i am now like this:

limpid roost
#

then you'll need manual progress or more cheat armor to go further

wooden bobcat
#

Here you either play manually or grind Tokens via #perfect-space for 5 more armor upgrades.

ebon magnet
#

whats the best items in market?

wooden bobcat
#

AI will buy them automatically, so you don't need to worry about that, but probably the three sword upgrades.

ebon magnet
#

ok

ebon magnet
#

when do i unlock last 3 and module

limpid roost
#

beat the respective bosses and ||suck at adventure||

ebon magnet
#

man im never gonna die how many floors will i get to

rapid dawnBOT
#

@ebon magnet has earned the Ember role!

ebon magnet
#

the ai started going in rooms its already cleared im at f3826 should i just start a new one

solid plume
#

oh floor

#

what's your distance not floor

ebon magnet
#

93

solid plume
#

yeah you'll have to push manually for more

ebon magnet
#

and 92

#

ok il jsut start a new one then

solid plume
#

well you can't get the last 200 skillpoints below distance 100

#

if that's what you're going for

ebon magnet
#

dam

solid plume
#

you have to push manually for the rest

ebon magnet
#

il just wait with the 100 distance until i get the other 800 at like 200 now

crisp linden
#

Ohh, I found this place. Hello.

winter dove
crisp linden
#

Or manually move up one room at a time, using teleport, and then going back to safety to recharge. Just don't mess up :-)

#

Unless you buy significant quantities of cheat armor, it will eventually stall around distance 92. Getting past this will require manual farming for the Lantern first, and then more swords/armor past distance 100. It will handle mimics past d100, but in a minimal and not-entirely-safe way: It is not 100% rated for high-distance pushing yet.

What is the lantern, and where do I find it?

wooden bobcat
#

Lantern is a chest drop from distance 95+.

crisp linden
#

I thought there was an improved map feature that could be used once dos.boots was unlocked. Was I mistaken, or how is it used?

chilly boughBOT
#
.dmags has been warned

Reason: Posted a link

pallid marsh
#

Is there a way to modify this script so that it can be initiated from a different script instead of a key impulse? I would like to see if I can trigger it from a timer/timer actions script (EG: d0sboots own Timed Task looping).

My thoughts are that it is not a trivial change as I think a lot of these scripts are written to assume that a "key" impulse will be the trigger, and various scripts exit based on that. But I figured I would ask just in case there's something I am overlooking.

limpid roost
#

you might be able to replace the instances of key.r with whatever you want, but i cannot guarentee it will work

jovial gull
limpid roost
#

yeah, you could probably just ctrl F with that

jovial gull
#

You'd be looking for all the places impulse() are used and you'd want to augment them

#

Because due to the multi-purpose nature of the scripts, it's not enough to just respond to being exec'd, you'd need some extra global variable signal probably

limpid roost
#

yeah, im just assuming that the only thing being done is activating the script through another script (for some reason), its possible that the functionalities are other in some sense, in which case it would be other instances of impulses being modified

pallid marsh
#

Gotcha, so I'd set up a global variable in my timer script and reference it. Then change the places that check for impulse key.r or impulse key. to check for either the impulse or the global variable.

This would preserve the functional elements of the scripts that look for a manual "key.r" or "key." impulse but also bypass them when there is a specific global variable.

limpid roost
#

well impulse key. is all of the impulses

pallid marsh
#

Ended up with a different solution. I created a local variable within Adventure v3.5:init to input the name of the script that would trigger it. Then wherever Adventure v3.5:init checks the impulse against key.r I also checked against the local variable.

It does limit the number of scripts that can execute Adventure v3.5:init to whatever the local variable is (its effectively a whitelist of 1), But it works without creating a global variable that would otherwise have to be created outside of the Adventure package and has no impact on the core functionality at all.

marble nova
#

Ty for this script i couldnโ€™t imagine farming all this manually

crisp linden
#

Neither could I.

neon timber
#

Would there be any way to essentially copy the "kill enemies" script but instead of waiting to be attacked have it place bombs down at the appropriate distance? In my mind it would work by a conditional if/then statement when beyond a certain distance, or maybe turned on by a toggle since the area you'd be using it for is a little dicey. You'd obviously need to babysit the bot as it goes on, but I don't know enough about coding to know if the idea in my head is plausible really

solid plume
#

but to do it in a large room with lots of enemies it would be quite hard to calculate which enemy to bomb and how to wait to where each enemy is in a good spot to bomb them

#

wouldn't be hard to do with just one enemy

neon timber
#

That's fair, I suppose the crux of it too would be moving to accommodate an additional bomb placement if there's more enemies than 1 bomb could handle

#

Would you accomplish this by changing the vectors referenced in the script to search for enemies 3+ blocks away?

solid plume
#

the problem is that enemies are coming from 3 or 2 directions, you have to choose at what point to move in the right directions to where you can bomb most enemies to the point where you won't die, and this is different for every room as they're all randomly generated

#

finding a good solution that works for every room type is the hard part

jovial gull
#

The really hard part is that when enemies meet at a junction, you don't know which one will go first. If we had perfect information, this would have already been solved by now.

#

(This means that the pattern of enemies you'll have to deal with in the future depends on factors you can't know yet now, in the present)

limpid roost
#

its enough to take care of enemies a few at a time usually

crisp linden
#

So the scripts by ManyMiltonSticks does, in fact, do this. It uses bombs, it uses identify room to locate mimics (and bombs to take them out), and it uses magic armor to survive longer.

It's also a lot more complicated, can take multiple seconds per move in the hardest cases, and fundamentally requires having all possible cases known ahead of time (the core data structure basically encodes enemy patterns and resultant actions, because there are not enough lines for all the if-then logic.).

Oh, and the package is (previous version) 47 scripts. The newest version he sent me in DM is too big for discord to copy (61 kb).

limpid roost
#

i really do need to look at that script, it surely can be taken down from 47 scripts

jovial gull
#

Yeah, you definitely don't need to write out tons of cases. The base logic is pretty straightforward to simulate; the hard part is the part I said above.

limpid roost
#

my way to deal with that as a human is to just not look that far ahead unless things go badly, an alternative way would be to solve the spawning logic and use that with rng searching to figure out which enemies spawn where

jovial gull
#

Yeah, that was actually my motivation for looking into rng stuff

#

Unfortunately even if you peek or manip the spawns, doing that requires knowing the room layout, which is potentially a bigger problem

limpid roost
#

time to look at the way adventure makes rooms based on seeds then, and figure out either how to manip the seed or how to find the seed from an ongoing run

jovial gull
#

Yeah that's another big project

limpid roost
#

i am curious about my own adventure seed

neon quail
neon fern
#

I kinda meant it as a joke

neon quail
#

you uttered the name of he who shall not be named

neon fern
neon timber
crisp linden
tight stone
#

Is the message at the top the most updated version?

limpid roost
#

most likely

fast bluff
#

i left it afk for a few hours and for some reason its constantly going back through cleared rooms and killing all the enemies? is that supposed to happen?

#

i looked at the world map and i just realised what path its taking, its like making a huge diamond shape around the whole map. but its in a loop and wont stop taking this path

#

i guess i just needed to turn it off briefly and manually force it to go to a new room

#

now its actually making progress again

jovial gull
#

I'm guessing you bought more cheat armor, the rooms it goes to are based on max distance and what it can safely kill

humble hearth
#

Im looking at the code and i dont understand what im reading.....

#

like im too dumb

#

i wanted to make my own room solving ai but i dunno

#

it feels to complicated

#

how does it find a path to take?

solid plume
humble hearth
#

i... think i get it

#

maby?

#

it checks spaces next to the character, if no chest it checks spaces 2 away, then 3, 4 and so on

#

spaces if its not a wall

#

yeah?

solid plume
#

bfs is a bit hard to explain but its something you can look up for a lot of resources

fast bluff
limpid roost
#

observe it doing a loop, when does it increase the leon.maxDifficulty?

fast bluff
#

um maybe ill test it later and see

stray geyser
limpid roost
#

theoretically it only increases when it reaches a cleared room, but if you have a straight line chain, it can just loop the difficulty increase back until the highest point it can go

fast bluff
#

im thinking i should just restart the run

stray geyser
#

you can use the manual keys to force it all the way down to 1

limpid roost
#

well setting it up so that it will actually automatically clear all of the diamonds is going to require manual effort

fast bluff
#

yea

stray geyser
#

you don't need the master armor or master sword to get all cards, skillpoints and the bag artifact/relic, as you just need to get to distance 100+ for the mimics, as well as the last 200 skillpoints

limpid roost
#

you might be able to make a script that detects when the number changes, and then force the number back down to the value needed, so if the value exceeds your current distance plus 2, then you set the value to your current distance plus 2, and set that to be your new current distance

fast bluff
limpid roost
#

note that the script wont clear the corners of the diamond well

fast bluff
#

the what..?

stray geyser
#

i think yoshi means the corners of the world map (click the arrow to see your own world map (note the world map only refeshes when opened)

limpid roost
#

i meant the vertical and horizontal, the ai doesnt clear those well as far as i know

fast bluff
#

mm okay

fast bluff
rapid dawnBOT
#

@fast bluff has earned the Ember role!

limpid roost
#

yes

fast bluff
#

so, the problem with setting the max difficulty to 1 when i run the script, is that the character is moving and doing stuff while im doing that and it takes awhile to get it from 81 the default to 1. is it possible i can just edit it to start at 1 instead ?

#

wait nevermind? when i turned off the script, the max difficulty variable is still there and i can change it. so i guess ill just change it to 1 before running it again

#

why did the difficulty jump from 1 to 3 when it was done with 1?

limpid roost
#

it jumps in increments of 2, this makes it clear faster without it looping back to rooms its been in before about half the time, but does allow it to skip the vertecies of the diamond

fast bluff
#

riight. i was sort thinking that

fast bluff
limpid roost
#

the script will not properly clear the vertecies due to the way it clears in diagonal lines

fast bluff
#

what can i do about that?

limpid roost
#

not much, you could manually clear them later i suppose

fast bluff
#

yea i guess so

#

ill be able to just teleport next to them later. as these gaps build up, it might take awhile tho

limpid roost
#

im now trying to figure out how it actually paths this that causes problems

fast bluff
#

im assuming the vertecies are on one higher difficulty, while the inside is on one lower difficulty

#

the actual difficulty its aiming for is on a perfect diagonal, but obviously it cant go in that direction

#

i mean the outer vertecies

limpid roost
#

the vertical and horizontal are at least easy to clear manually

fast bluff
#

mmhm

jovial gull
#

The script isn't really designed for clearing every room because it's a bad strategy (aside from the metric of "I want my map to look pretty," which admittedly may be the only thing you care about). You will spend a much longer time without key upgrades like phasing or the boots of speed and such. For getting skillpoints, the best strategy is to quickly reach a reasonable level (~81 or such), do incrementing loops until you run out of new rooms, and then restart.

fast bluff
fast bluff
limpid roost
fast bluff
#

i didnt know that

stray geyser
#

Boss 5 isn't available till mt15, anyway

fast bluff
#

ya