Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Siegfried

Pages: [1]
1
Newbie / PLEASE Need help with sintaxis
« on: December 22, 2008, 12:03:48 AM »
Hey guys, im pretty new in here, no experience before in programing so I need help with some stuff, I need clear examples of the use of the  OR/AND/ELSE commands or whatever they are called, need examples beacuse this place lacks any tutorial or info about them, also I need some help understanding how the one gene bots work because I dont understand how they get their conditions or how do they know against what to react....if do you know what I mean

2
Newbie / HELLO EVERYONE
« on: December 20, 2008, 05:12:55 AM »
Hello everyone, im new to this but I must say this program has excited me and I´ve been doing a bot for two days now, must say most of the genes I copied them from better bots but I understand almost all the language now and been doing modification over those copied genes, so , here it is, ive called Harvester is pretty simple, no tricks at all just plain simple search and fight!

'
'HARVESTER OF SOULS
'
'By Siegfried
'
'A SINGLE FIGHTER BOT
'
'Genes 1/2 PURSUE FAR AND NEAR ENEMIES
'Genes 3 WAIT FOR PREY
'Gen 4 REPRODUCE
'Gen 5 BIRTH JUMP
'Gen 6 EVADE FAMILY
'Genes 7 IDENTIFY
'Gen 8 REAR-DEFENSE
'Gen 9 TIE-DEFENSE
'

' Gene 1. PURSUE FAR ENEMY
cond
 *.in1 20 !=
  *.eye5 0 >
start
*.refxpos *.refypos angle .setaim store
  *.refvelup 30 add .up store
  *.refveldx .dx store
  *.refvelsx .sx store
stop

' Gene 2. PURSUE AND SHOOT NEAR ENEMY
cond
 *.in1 20 !=
  *.eye5 50 >
start
*.refxpos *.refypos angle .setaim store
   16 .shootval store
  -1 .shoot store
  *.refvelup .up store
  *.refveldx 5 add .dx store
  *.refvelsx 5 add .sx store
stop

' Gene 3. WAIT FOR PREY
cond
  *.eye5 0 =
start
  0 .fixpos store
  314 rnd .aimdx store
stop

' Gene 4. REPRODUCE
cond
  *.nrg 7000 >
start
  60 .dn store
  30 .repro store
  *.waste .shootval store
  -4 .backshoot store
stop

'Gene 5 BIRTH JUMP
cond
 *.robage 0 =
start
 60 .dx store
stop

' Gene 6. AVOID FAMILY
cond
 *.in1 20 =
*.eye5 50 >
start
  90 .aimdx store
stop

'Gene 7 Who am I?
cond
 *.out1 20 !=
start
 20 .out1 store
stop

'Gene 8 REAR-DEFENSE
cond
 *.shdn 0 !=
start
 180 .aimdx store
stop

'Gene 9 TIE-DEFENSE
cond
 *.tiepres 0 !=
start
-1000 .tieval store
-1 .tieloc store
 *.tiepres .deltie store
 0 .tiepres store
stop

end

But now I need to know what version do you use in the leagues beacuse I really want to compete, ive been using 2.37.6 so far, I had the 2.44.1 but now its stucked, I want a new simulation but I cant delete a bot from the list becuse it says "Runtime error 380 invalid property value", ive reinstalled it but no luck, please I really want to play the newer one since this version doesnt have boy or venom or virus or shell or slime haha, only ties

Pages: [1]