Article 1410 of rec.games.corewar: Newsgroups: rec.games.corewar From: pk6811s@acad.drake.edu Subject: ring killers - and more Message-ID: <1992Oct21.102041.1@acad.drake.edu> Lines: 48 Sender: news@dunix.drake.edu (USENET News System) Nntp-Posting-Host: acad.drake.edu Organization: Drake University, Des Moines, Iowa, USA Date: Wed, 21 Oct 1992 16:20:41 GMT Looks like everyone has a solution to the imp-ring problem. Here's mine: ;redcode ;name Eclipse ;author P.Kline ;strategy bscan, ringkiller, clear ;strategy demo-only version hold dat #0 ptr dat #stun next add #2234,ptr scan jmz next,@ptr ; scan for non-zero slt #14,ptr ; check for me jmp next,hold inc mov @ptr,hold ; save whatever is pointed to stun mov bomb,@ptr ; drop a stunner add hold,ptr ; bump pointer up the trail cmp #-1,hold ; don't follow djn streams jmn stun,@ptr ; follow the trail djn next,#4 ; check for enough bomb spl 0 mov 2,<-1 jmp -1 end next Eclipse is based on a program I wrote a couple of years ago to destroy pit-trappers, the kind that dropped 'jmp @0,trap' bombs. All you had to do was add the b-field (trap) to your pointer and you had the location of the trap, which also happened to be the location of the pit-trapper. Unfortunately that style of snare was changed to jmp trap,coresize-trap, and my Hunter program became useless. First time I tried Hunter, it demolished IMPire with no problem, so I streamlined it as above. The current version of Eclipse (not shown) is also effective against modern pit-trappers as well as RotlD2, and probably any other programs that drop pointers to their position all over core. Unfortunately it is a little too big in its present form, but it will be back Real Soon Now. Eclipse is also effective against the kind of paper replicators that form colonies - a result of not bumping the 'next' location after each copy is made. Once it finds a small-number b-field, say '4' or '8', it works its way through the colony, dropping stunners along the way. Unfortunately Note Paper, Flash Paper, etc. aren't around anymore to beat up on. Paul Kline pk6811s@acad.drake.edu