Author Topic: Please help  (Read 3111 times)

Offline wilyfriend

  • Bot Neophyte
  • *
  • Posts: 1
    • View Profile
Please help
« on: May 13, 2014, 07:36:53 AM »
I have looked and looked over this and still can't find what is wrong with my program, if anyone knows please tell me.


 

Offline EnderCrypt

  • Bot Builder
  • **
  • Posts: 61
    • View Profile
Re: Please help
« Reply #1 on: May 13, 2014, 08:40:42 AM »
its been some time since i used darwinbots, but ima try help you (but dont trust my information 100%)

*. is used to get a value, for example *.myeye or *.refeye
also, *.refeye checks only with the bot seen by eye5

placing just a dot infront, gets the memory location, not the actual value of that memory

also, i dont think writing just * before a memory name, like *myeye on line 23, actually does anything (im not completly sure)

also, you want to read about the "and" logical gate (http://wiki.darwinbots.com/w/And) to use in your conditions, when you got more then one
« Last Edit: May 13, 2014, 08:45:59 AM by endercrypt »
WARNING: Found unknown Windows version: Windows 7

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: Please help
« Reply #2 on: May 13, 2014, 12:38:14 PM »
You're also missing some spaces between some commands (for instance: '>start').

You might try loading it in the program and looking at the DNA from the bot viewer.  If you see some commands are 0s in the program, it means that it couldn't be parsed when it was trying to be loaded.

Offline Shadowgod2

  • Bot Destroyer
  • ***
  • Posts: 387
    • View Profile
Re: Please help
« Reply #3 on: May 13, 2014, 01:00:37 PM »
it would also help if you didn't put all in 1 line like this

cond
*.nrg 100 >
start
50 .repro store
stop

instead of:

cond *.nrg 100 > start 50 .repro store stop