Bots and Simulations > Bot Tavern

Lets make another wikibot!

<< < (2/6) > >>

MysticalDumpling:
So far, it is:

tie inc
*.focuseye .eye5 add * 0 >
*.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
7 .venloc store
-2 .venval store

 :)

Moonfisher:

--- Code: ---start
.tie inc
*.focuseye .eye5 add * 0 >
*.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
7 .venloc store
-2 .venval store
59 << *.robage 192 ceil >> rnd << << ++ store
stop

--- End code ---

Got one more line I'd love to add, would make it able to actually survive in F1 settings I think. But will have to wait :P
Also I'm assuming it's one store, inc, dec or logical operator per line.

MysticalDumpling:

--- Code: ---start
.tie inc
*.focuseye .eye5 add * 0 >
*.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
7 .venloc store
-2 .venval store
59 << *.robage 192 ceil >> rnd << << ++ store
*.eyef 0 sub sgn abs -- abs .focuseye mult inc
stop

--- End code ---
In theory, since focuseye mods, it will allow the bot to focus on any eye.

Moonfisher:
Yeah, but the condition for the eyes right now takes the value in the focuseye and adds the memory location of eye5 (Not the value in it). So it's a bit of a confusing condition I think.

Anyway realized won't matter what lines I add until I clear the boolean stack.
Not sure if this counts as a line.
If not then I'd just add the line from before again after the clearbool :D


--- Code: ---start
.tie inc
*.focuseye .eye5 add * 0 >
*.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
7 .venloc store
-2 .venval store
59 << *.robage 192 ceil >> rnd << << ++ store
*.eyef 0 sub sgn abs -- abs .focuseye mult inc
clearbool
stop

--- End code ---

MysticalDumpling:

--- Code: ---start
.tie inc
*.focuseye .eye5 add * 0 >
*.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
7 .venloc store
-2 .venval store
59 << *.robage 192 ceil >> rnd << << ++ store
*.eyef 0 sub sgn abs -- abs .focuseye mult inc
clearbool
*.refbody << *.timer rnd 3 ceil mult ++ .up store
stop
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version