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.


Messages - strangers

Pages: [1] 2 3
1
Multi-Bots / Proeliator Briareus(MB)(stangers)03-11-07
« on: November 03, 2007, 11:39:47 AM »
My first working Multibot:
Code: [Select]
'Proeliator Briareus
'MultiBot Prototype
'By Strangers

cond
*.robage 0 =
start
.tie inc
.numties .memloc store
.in1 .ploc store
stop

cond
*.numties 0 =
*.eye5 0 =
start
50 .repro store
stop

cond
*.numties 0 =
*.eye5 0 >
start
mult 314
stop

cond
*.eye5 0 >
*.refeye *.myeye =
*.numties 1 <
*.memval 1 <
start
.tie inc
stop

cond
*.eye5 0 >
*.refeye *.myeye =
*.numties 0 >
*.refmulti 1 =
start
mult 314 rnd
stop

cond
*.numties 1 =
start
1 .readtie store
1 .tienum store
250 .fixlen store
628 .fixang store
50 .sharenrg store
stop

cond
*.tiepres 0 >
start
*.tiepres .tienum store
stop

cond
*.tiepres 1 !=
*.tiepres 0 >
start
*.tiepres .deltie store
stop

cond
*.numties 1 =
*.trefage *.robage >
start
1 .sharewaste store
stop

cond
*.numties 2 =
*.multi 1 =
start
*.tiepres .deltie store
stop

cond
*.trefeye 0 =
start
99 .sharenrg store
.deltie inc
stop

cond
*.numties 1 =
*.trefage *.robage >
*.eye5 0 =
start
15 .up store
stop

cond
*.numties 1 =
*.trefage *.robage >
*.eye1 *.eye5 >
start
mult -140
stop

cond
*.numties 1 =
*.trefage *.robage >
*.eye9 *.eye5 >
start
mult 140
stop

cond
*.numties 1 =
*.trefage *.robage >
*.eye3 *.eye5 >
start
mult -70
stop

cond
*.numties 1 =
*.trefage *.robage >
*.eye7 *.eye5 >
start
mult 70
stop

cond
*.numties 1 =
*.trefage *.robage >
*.eye1 *.eye5 >
start
mult -140
stop

cond
*.numties 1 =
*.trefage *.robage >
*.eye9 *.eye5 >
start
mult 140
stop

cond
*.numties 1 =
*.trefage *.robage >
*.eye3 *.eye5 >
start
mult -70
stop

cond
*.numties 1 =
*.trefage *.robage >
*.eye7 *.eye5 >
start
mult 70
stop

cond
*.trefage *.robage <
*.nrg 10000 >
start
1 .deltie store
mult 314
stop

cond
*.numties 1 =
*.trefage *.robage >
*.eye5 0 >
start
*.refveldx .dx store
*.refvelup 30 add .up store
stop

cond
*.numties 1 =
*.eye5 30 >
*.refeye *.myeye !=
*.trefage *.robage >
*.multi 0 !=
start
*.refxpos *.refypos angle .setaim store
-1 .shoot store
-16 .shootval store
*.refvelup .up store
*.refveldx .dx store
stop

cond
*.numties 1 =
*.multi 1 =
*.eye5 30 >
*.refeye *.myeye =
*.trefage *.robage >
*.refmulti 0 =
*.multi 0 !=
start
*.refxpos *.refypos angle .setaim store
-1 .shoot store
-16 .shootval store
*.refvelup .up store
*.refveldx .dx store
stop

cond
*.numties 1 =
*.shflav 0 !=
*.shflav -2 !=
*.multi 0 !=
start
*.shang .aimshoot store
64 .shootval store
-6 .shoot store
0 .shflav store
stop

cond
start
.aimdx store
stop

cond
*.waste 100 >
*.trefage *.robage <
start
*.waste .shootval store
-4 .shoot store
stop

cond
*.nrg 2000 >
*.body 4000 <
start
100 .strbody store
stop

cond
*.nrg 500 <
start
100 .fdbody store
stop

cond
*.nrg 1000 >
start
.strpoison inc
stop

end

2
Bugs and fixes / Torroidal Trouble 2.43n RESOLVED 2.43p
« on: October 27, 2007, 02:41:57 PM »
I haven't checked this in 2.43o, but in 2.43n in non-torroidal sims my bots dissapear off screen.
I was using standard F1 conditions with torroidal turned off.

3
Bugs and fixes / Mbot League Problem in 2.43n RESOLVED 2.43o
« on: October 27, 2007, 02:37:29 PM »
In the Multibot league running under 2.43n it's referencing Symboticus 2.5 from the folder "Multibotleagu" instead of "Multibotleague". Then after the first win against Symboticus 2.5 it tries to read it from "Multibotleag", then immeadiately after from "Multibotlea". For the second win it eventually works its way down to "Multib", taking one letter off at a time. But apparently, if you press the cancel button realy fast several times in a row, it works fine. Freakin' weird...

4
Bugs and fixes / 2.43m League Trouble-again RESOLVED 2.43N
« on: October 27, 2007, 02:35:18 PM »
Ok, bots:
Alga Minimalis
Multiply3(peter) bottom of post

Not re-running the league, just when I start the program, I run the league, Multiply beats Martian Tank2 in 5 rounds, then it restarts.
[attachment=675:attachment]
[attachment=676:attachment]

5
Suggestions / Block coding
« on: October 24, 2007, 06:01:41 PM »
Well, I get the biology stuff, I understand about bots evolving their own repro methods, could you atleast try it for viruses?

6
Suggestions / Block coding
« on: October 24, 2007, 04:51:01 PM »
Well, as I was staying up last night watching Transformers, I got to thinking, how could one organize bot code and enable sexual reproduction?; and so I thought of block coding, rather than explain I will show:
Code: [Select]
/initialize block
cond
*.robage 0 =
start
200 rnd 55 store
.eye5 .ploc store
256 41 store
7 989 store
stop

cond
start
stop

cond
start
stop
/end block

/search block
cond
*.eye5 0 =
start
mult 50
stop

cond
*.refeye *.myeye !=
*.eye1 *.eye5 >
start
mult -140
stop

cond
*.refeye *.myeye !=
*.eye9 *.eye5 >
start
mult 140
stop

cond
*.refeye *.myeye !=
*.eye3 *.eye5 >
start
mult -70
stop

cond
*.refeye *.myeye !=
*.eye7 *.eye5 >
start
mult 70
stop
/end block

/movement block
cond
*.refeye *.myeye !=
*.eye5 0 >
start
*.refveldx .dx store
*.refvelup 30 add .up store
stop

cond
start
stop

cond
start
stop
/end block

/shoot1 block
cond
*.eye5 40 >
*.refeye 0 =
*.robage 0 !=
start
*.refxpos *.refypos angle .setaim store
.shoot dec
16 .shootval store
*.refvelup .up store
*.refveldx .dx store
stop
/end block

/shoot2 block
cond
*.eye5 40 >
*.refeye *.myeye !=
*.refeye 0 !=
*.refpoison 0 >
*.robage 0 !=
start
*.refxpos *.refypos angle .setaim store
-6 .shoot store
16 .shootval store
*.refvelup .up store
*.refveldx .dx store
stop
/end block

/shoot3 block
cond
*.eye5 40 >
*.refeye *.myeye !=
*.refeye 0 !=
*.refpoison 0 =
*.robage 0 !=
start
*.refxpos *.refypos angle .setaim store
.shoot dec
32 .shootval store
*.refvelup .up store
*.refveldx .dx store
stop
/end block

/shoot4 block
cond
*.shflav 0 !=
*.shflav -2 !=
start
*.shang .aimshoot store
64 .shootval store
-6 .shoot store
0 .shflav store
stop
/end block
See, with each set of genes having a "block", during sexual reproduction the computer could look at the parents blocks and genes and randomly choose which to give to the offspring, and if one has a certain block and the other doesn't it would have a 50/50 chance of receiving the block or not. This would make sexual reproduction les likely to break a bot.
 Each block type would have a gene limit, if your under the limit just add a blank gene:
Code: [Select]
cond
start
stop
or for evolution sims:
cond
00000000000
start
00000000000
stop
This would also open up oppurtunities for new viruses such as:
Code: [Select]
/virus block
cond
*.nrg 1000 >
*.eye5 20 >
start
100 .vshoot store
*.thisblock .mkvirus store
stop

cond
*.myeye 20 !=
start
80 .repro store
300 .vshoot store
stop

cond
*.myeye 20 !=
*.refeye *.myeye =
start
-1 .shoot store
32 .shootval store
*.refxpos *.refypos angle .setaim store
stop
/end block
stop
Block viruses could be limited to just 3 genes, anyless and they'd be no different than regular viruses, possibly even specific block virus sysvars like .bvtimer, .bvshoot, and .mkbvirus.
Any questions, or does it need further explanation?

7
Bugs and fixes / 2.43m League Trouble-again RESOLVED 2.43N
« on: October 21, 2007, 06:22:37 PM »
Well it seems to be working, but when I tied to load a bot called Multiply3 it kept redoing the contest between MartianTank2 and itself, never moving on to MartianTank3, it does all five, resets to zero, and repeats.

8
Bugs and fixes / 2.43m League Trouble-again RESOLVED 2.43N
« on: October 11, 2007, 07:56:43 PM »
In 2.43m the program is referencing the F1 league table as just leaguetable.txt instead of f1leaguetable.txt and F1league folder as just league, just thought you should know.

9
Bugs and fixes / Two Bugs(maybe) 2.43j RESOLVED 2.43k
« on: September 27, 2007, 09:11:00 PM »
When I change a bot in the 'New Sim' window, then open up the mutation window for the bot, the bot changes back to the last bot that was in the same place, this happens EVERY time, no exceptions.

When I try to run the F1 league the standings window opens but then a runtime error appears:
"Run-time error '5': invalid procedure call or argument"
then when I click ok another window appears:
"League Name Needed-
No league name. League must have a name."
then DB crashes.
Sorry if this has been disscussed already or needs to be moved.

10
Off Topic / Spore
« on: September 04, 2007, 09:48:43 PM »
Just a small correction, people don't simultaneously, each person has a universe, then things like vehicles, species, and planets are uploaded to a server and can be downloaded by other players to populate their universe, but their is no direct contact between players. I've been following this game for a while, you know they cut out underwater civilizations?

11
Bot Tavern / My first SG bot
« on: August 10, 2007, 11:27:39 PM »
Still in need of hel here... It avoids conspecs, but refuses to turn properly, also it can't even beat Martian Tank 2 in the leagues. Then I've another bot, it can beat M. Tank 2, but not 3. He could use some help with energy efficiency, actually both of them could.

Code: [Select]
'Proeliator Sphinx
'by Strangers
'


'Initialize
'**********
cond
start
*.refeye *.myeye sub dup div *.eye5 sgn mult 973 store
*.refeye *.myeye sub sgn abs 1 sub -1 mult *.eye5 sgn mult 972 store
200 rnd 55 0 *.robage sub sgn 0 floor mult store

'Spinning
'************
314 rnd .aimdx *.refeye *.myeye sub sgn abs 1 sub -1 mult *.eye5 sgn mult *.eye5 sgn 1 sub -1 mult add sgn abs mult

'Search
'*********
*.eye9 *.eye1 sub sgn 60 mult .aimdx store
*.eye2 *.eye8 sub sgn 50 mult .aimsx store
*.eye7 *.eye3 sub sgn 40 mult .aimdx store
*.eye4 *.eye6 sub sgn 30 mult .aimsx store


' Moving
'**********
*.refveldx .dx *973 mult store
*.refvelup 30 add .up *973 mult store

' Obtaining Food and Shooting
'***********************************
*.eye5 40 sub sgn 0 floor *.refeye *.myeye sub abs sgn mult 974 store
-6 .shoot *974 mult store
-32000 .shootval *974 mult store
*.refxpos *.refypos angle .setaim *974 mult store
*.refvelup 10 add .up *974 mult store
*.refveldx .dx *.eye5 0 sub sgn 0 floor *.refeye *.myeye sub abs sgn mult *.memval *.genes sub abs sgn mult mult store
*.body 100 div .shootval *.eye5 0 sub sgn 0 floor *.refeye *.myeye sub abs sgn mult *.memval *.genes sub abs sgn mult mult store

'Avoid conspecifics
'**********************
*.maxvel *.vel add *.eye5 mult 50 div 15 ceil .dn *972 mult store

'Reproduction
'****************
80 *.nrg 3000 sub sgn 1 sub sgn 1 add .repro mult store

'Tie Feeding
'****************
*55 .tie *.eye5 30 sub sgn 0 floor mult *.refeye *.myeye sub dup div mult store
*55 .readtie *.eye5 30 sub sgn 0 floor mult *.refeye *.myeye sub dup div mult store

-1 .tieloc *.numties 0 sub sqr dup div mult store
-1000 .tieval *.numties 0 sub sqr dup div mult store
*55 .tienum *.numties 0 sub sqr dup div mult store

*55 .deltie *.trefeye *.myeye sub dup div 1 sub abs mult store

*.tiepres .deltie *.tiepres *55 sub dup div mult store

*.tiepres .deltie *.tiepres *55 sub dup div 1 sub abs mult *.pain 900 sub sqr dup div mult mult store

99 .sharenrg *.multi 1 sub dup div 1 sub abs mult *.trefeye *.myeye sub dup div mult mult store
.sharewaste *.multi 1 sub dup div 1 sub abs mult *.trefeye *.myeye sub dup div mult mult inc

'Body Management
'**********************
100 .strbody *.nrg 2000 sub sgn 0 floor 10000 *.body sub sgn 0 floor mult mult store
100 .fdbody 200 *.nrg sub sgn 0 floor mult store

'Slime Management
'************************
500 *.slime sub .mkslime 500 *.slime sub sgn 0 floor *.nrg 5000 sub sgn 0 floor mult mult store

'Shell Management
'**********************
50 *.shell sub .mkshell 50 *.shell sub sgn 0 floor *.nrg 5000 sub sgn 0 floor mult mult store

'Waste Management
'*************************
1 .backshot *.waste 100 sub sgn 0 floor mult store
-4 .shoot *.waste 100 sub sgn 0 floor mult store
*.waste .shootval *.waste 100 sub sgn 0 floor mult store

'Anti Virus and Defense
'***************************
0 .shoot *.shoot -2 sub dup div 1 sub abs mult store

.fixpos *.fixpos 0 sub sqr dup div mult dec

.delgene inc
.delgene inc
stop

end


Second Bot:
'Proeliator Lycaon
'by Strangers
'


'Initialize
'*********
cond
*.robage 2 <
start
15 .up store
.tie *.robage 1 add mult inc
.deltie inc
500 rnd 55 store
7 989 store
stop

'Spinning
'**********
cond
*.eye5 0 =
start
mult 314 rnd
stop

'Search
'*********
cond
*.refeye *.myeye !=
*.refshoot *.myshoot !=
*.eye1 *.eye9 >
*.eye1 *.eye5 >
start
mult -140
stop

cond
*.refeye *.myeye !=
*.refshoot *.myshoot !=
*.eye9 *.eye1 >
*.eye9 *.eye5 >
start
mult 140
stop

cond
*.refeye *.myeye !=
*.refshoot *.myshoot !=
*.eye2 *.eye8 >
*.eye2 *.eye5 >
start
mult -105
stop

cond
*.refeye *.myeye !=
*.refshoot *.myshoot !=
*.eye8 *.eye2 >
*.eye8 *.eye5 >
start
mult 105
stop

cond
*.refeye *.myeye !=
*.refshoot *.myshoot !=
*.eye3 *.eye7 >
*.eye3 *.eye5 >
start
mult -70
stop

cond
*.refeye *.myeye !=
*.refshoot *.myshoot !=
*.eye7 *.eye3 >
*.eye7 *.eye5 >
start
mult 70
stop

cond
*.refeye *.myeye !=
*.refshoot *.myshoot !=
*.eye4 *.eye6 >
*.eye4 *.eye5 >
start
mult -35
stop

cond
*.refeye *.myeye !=
*.refshoot *.myshoot !=
*.eye6 *.eye4 >
*.eye6 *.eye5 >
start
mult 35
stop

'Moving
'*********
*.eye5 0 >
*.refeye *.myeye !=
*.refshoot *.myshoot !=
start
*.refvelup 30 add .up store
*.refveldx .dx store
stop

'Avoid conspecs
'******************
cond
*.refeye *.myeye =
*.refshoot *.myshoot =
start
*.maxvel *.vel add *.eye5 mult 50 div 15 ceil .dx store
stop

'Shooting
'**********
cond
*.eye5 45 >
*.refeye *.myeye !=
*.refshoot *.myshoot !=
*.refeye 0 !=
*.refpoison 0 >
start
*.refvelup .up store
*.refveldx .dx store
*.refxpos *.refypos angle .setaim store
-6 .shoot store
-32000 .shootval store
stop

cond
*.eye5 45 >
*.refeye *.myeye !=
*.refshoot *.myshoot !=
*.refeye 0 !=
*.refpoison 0 =
start
*.refvelup .up store
*.refveldx .dx store
*.refxpos *.refypos angle .setaim store
-1 .shoot store
-32000 .shootval store
stop

cond
*.eye5 45 >
*.refeye *.myeye !=
*.refshoot *.myshoot !=
*.refeye 0 =
start
*.refvelup .up store
*.refveldx .dx store
*.refxpos *.refypos angle .setaim store
-6 .shoot store
-32000 .shootval store
stop

cond
*.eye5 0 =
*.refeye *.myeye = or
*.refshoot 0 = or
*.shflav 0 !=
*.shflav -2 !=
start
942 *.shang sub .setaim store
0 .shflav store
stop

cond
*.shflav 0 !=
*.shflav -2 !=
start
*.shang .aimshoot store
32 .shootval store
-6 .shoot store
0 .shflav store
stop

cond
*.shoot -2 =
*.eye5 0 !=
*.refeye *.myeye !=
start
mult
500 .up store
mult 900 rnd 100 add
stop

cond
start
.aimdx store
stop

'Repro
'*******
cond
start
80 *.nrg 3000 sub sgn 1 sub sgn 1 add .repro mult store
stop

'Resources
'*************
cond
*.nrg 300 >
start
.mkshell inc
.strpoison inc
.strbody inc
stop

'Tie Feeding
'****************
cond
*.myshoot *.refshoot !=
*.eye5 30 >
*.refeye *.myeye !=
*.pain 900 <
start
*55 .tie store
*55 .readtie store
stop

cond
*.tiepres *55 =
*.pain 900 <
start
-1 .tieloc store
-1000 .tieval store
*55 .tienum store
stop

cond
*.tiepres *55 !=
*.tiepres 0 >
start
*.tiepres .tienum store
.tieval .tieloc store
1000 .tieval store
stop

cond
*.tiepres *55 =
*.pain 900 >
start
-1000 .tieval store
*.tieval 1000 div .tieloc store
stop

cond
*.trefeye *.myeye =
*.trefshoot *.myshoot =
start
*55 .deltie store
stop

cond
*.multi 1 =
*.trefeye *.myeye !=
*.trefshoot *.myshoot !=
start
99 .sharenrg store
.sharewaste inc
stop

'Waste
'*********
cond
*.waste 100 >
start
*.waste .shootval store
1 .backshot store
-4 .shoot store
stop



end
Any help is appreciated.

12
Bot Tavern / My first SG bot
« on: July 24, 2007, 12:53:21 PM »
Actually the initialize is just used to see if it sees anything and if it's a conspec then it stores either a 1 or 0 in 972 and references it in the search genes.
Edit: Oh yeah, I forgot to cut out the part that checked memval, that might help.

13
Bot Tavern / My first SG bot
« on: July 23, 2007, 11:46:27 PM »
 
MOVED FARTHER DOWN THE LINE
Well first off I'd like to say, SG bots get complicated, fast. Apparently somethings is going wrong in the initialize gene and the search gene, so by extension it doesn't move or avoid conspecs. Originally this was supposed to be a SGized version of P. Gryphus, but once I get the kinks worked out this will be its own bot. Any help will be appreciated. Thanks in advance!

14
Bug reports / Overflow
« on: July 04, 2007, 07:02:52 PM »
Yeah, it let's me continue, so I just let it run for a few mintues then when I comeback it always shows an overflow error. It ussually happens anywhere between five and ten minutes.

15
Bug reports / Overflow
« on: June 27, 2007, 12:31:23 AM »
While running an evo sim with Animal Minimalis, after some 200k cycles I got an overflow error. I was running it with all the speed increasing things turned on.  

http://h1.ripway.com/Strangers007/ErrorSim.zip

Pages: [1] 2 3