Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3] 4 5

Author Topic: Scripted. 'Move left; arm down; arm grab; move right; arm drop'  (Read 3346 times)

crazyabe

  • Bay Watcher
  • I didn't start the fire...Just added the gasoline!
    • View Profile
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #30 on: May 28, 2016, 10:26:11 pm »

Spoiler: code (click to show/hide)
Logged
Quote from: MonkeyMarkMario, 2023
“Don’t quote me.”
nothing here.

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #31 on: May 28, 2016, 10:28:24 pm »

Spoiler: code (click to show/hide)
Invalid opcode: run.
(I will be fullout terminal from now on)

crazyabe

  • Bay Watcher
  • I didn't start the fire...Just added the gasoline!
    • View Profile
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #32 on: May 28, 2016, 10:31:08 pm »

Ok, you want Fallout's Terminals, That is Much Easier.
[ > aibasics ]
Logged
Quote from: MonkeyMarkMario, 2023
“Don’t quote me.”
nothing here.

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #33 on: May 28, 2016, 10:35:24 pm »

Ok, you want Fallout's Terminals, That is Much Easier.
[ > aibasics ]
I said full out
Try simply running call aibasic

RulerOfNothing

  • Bay Watcher
    • View Profile
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #34 on: May 29, 2016, 12:03:45 am »

Spoiler: code (click to show/hide)
Logged

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #35 on: May 29, 2016, 12:33:43 am »

Quote
From what you know, you need to learn about the 'mov' opcode.
The general syntax options are:
mov register, register
mov value, register
mov register, memlocation (you have a free set of 1024 bytes to work with in this sandbox enviornment)
mov value, memlocation
The pop command:
Pops a value to r1 to r16, which are registers.
I.e pop r5
Here are some functions you can call:
sprint
sinput
chk_botarmprt....
Buffer overflow.

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #36 on: May 29, 2016, 01:00:31 am »

12 hours later...
Quote from: researcher
Goood morning! Lets get back to testing, im going to give you control over a robotic arm...
Spoiler (click to show/hide)
See the O? That is the cube, the x is your gripper.
and the o is the destination point, the arm can be moved by pushing the amount of spaces you want it moved, and calling either botarm_left or botarm_right, grab using botarm_sgrab, and drop using botarm_sdrop
« Last Edit: May 29, 2016, 01:02:10 am by MoonyTheHuman »
Logged

RulerOfNothing

  • Bay Watcher
    • View Profile
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #37 on: May 29, 2016, 02:13:02 am »

Spoiler: code (click to show/hide)
Logged

Gwolfski

  • Bay Watcher
  • Strawberries!
    • View Profile
    • ignore pls!
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #38 on: May 29, 2016, 03:22:26 am »

This looks fun.
Logged
Eventually when you go far enough the insane start becoming the sane

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #39 on: May 29, 2016, 10:30:07 am »

Spoiler: code (click to show/hide)
Quote from: Botarm Display
1. X#####o
2. x#####o
3. ######x
4. ######X

Quote from: Researcher
Great job! now, just a tip, when you  are holding something, it pushes things around when moved, i want you to move two cubes over without grabbing or dropping twice
Quote from: Botarm Display
OO#X##o

crazyabe

  • Bay Watcher
  • I didn't start the fire...Just added the gasoline!
    • View Profile
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #40 on: May 29, 2016, 11:00:21 am »

Spoiler: code (click to show/hide)
Logged
Quote from: MonkeyMarkMario, 2023
“Don’t quote me.”
nothing here.

Gwolfski

  • Bay Watcher
  • Strawberries!
    • View Profile
    • ignore pls!
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #41 on: May 29, 2016, 11:05:09 am »

Spoiler (click to show/hide)
Logged
Eventually when you go far enough the insane start becoming the sane

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #42 on: May 29, 2016, 11:21:13 am »

Spoiler (click to show/hide)
Quote from: Virtual terminal
No return, preforming register, stack, and variable dump
R1:  0
R2:  0
R3:  0
R4:  0
R5:  0
R6:  0
R7:  0
R8:  0
R9:  0
R10: 0
R11: 0
R12: 0
R13: 0
R14: 0
R15: 0
R16: 0
CF:  0
PC:  0
RA:  0
Stk: [0/0]
Variables:
svar:
  "Strawberries"
Quote from: Researcher
*Sarcasm* Very funny

Gwolfski

  • Bay Watcher
  • Strawberries!
    • View Profile
    • ignore pls!
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #43 on: May 29, 2016, 04:31:34 pm »

Spoiler (click to show/hide)
Logged
Eventually when you go far enough the insane start becoming the sane

crazyabe

  • Bay Watcher
  • I didn't start the fire...Just added the gasoline!
    • View Profile
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #44 on: May 29, 2016, 04:33:25 pm »

Spoiler: code (click to show/hide)
Logged
Quote from: MonkeyMarkMario, 2023
“Don’t quote me.”
nothing here.
Pages: 1 2 [3] 4 5