From news-rocq.inria.fr!jussieu.fr!math.ohio-state.edu!cs.utexas.edu!howland.erols.net!feed1.news.erols.com!insync!news.azstarnet.com!news Tue Oct 22 11:21:05 1996 Article: 6328 of rec.games.corewar Path: news-rocq.inria.fr!jussieu.fr!math.ohio-state.edu!cs.utexas.edu!howland.erols.net!feed1.news.erols.com!insync!news.azstarnet.com!news From: Franz Newsgroups: rec.games.corewar Subject: Re: Help again: fix/speed up this vamp Date: Mon, 21 Oct 1996 23:21:15 -0700 Organization: Starnet Lines: 106 Message-ID: <326C67DB.2D84A32A@azstarnet.com> References: <54gugr$gc1@news2.texas.net> NNTP-Posting-Host: usr6ip44.azstarnet.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (X11; I; Linux 1.2.13 i586) > Ok, another request for help. This thing is slow, and the fang doesn't want to > send the victim to the pit > Thanks in advance > try a more agressive pit like also use the # on spl 0 to protect it from decrements spl #0 spl -1 spl -2 spl -3 > pit spl 0, >-10 > spl 0, >-11 > spl 0, >-12 > jmp -3, >-13 > > step dat #-5, #5 > incr add step, fang > mov fang, @fang > djn.b incr, #1000 > spl 0, >-3 > mov 1, >2 > dat 0, 0 do this > fang jmp pit, #0 since pit is the pointer from the fang which will start 100 locations from here or you can do > fang jmp pit-100, #100 ok lets go improving this warrior ... now the pit just splits the warrior so it's more just a pit trapper then a vampire which actually uses the proccesses .... my vampire (never any good) has apit similiar to this spl #0 mov -1,<2000 spl -2 jmp -3 this will build up 2000 adresses long spl carpet killing teh enemy ... but this needs a spl/dat clear or a dat/dat clear since it leaves some time for the enemy to survive in the carpet ... we could make the pit bomb dats but then the mov would have to be at the end so the pit would still replicate enough once the bombs kill the mov ... ok lets go about doing this .... i will do a spl carpeting pit and a spl/dat forward clear ... VERY simple nothing fancy so tehre will be a LOT of room to improve on this warrior ... and i will not bother to test it and the biting step would have to be optimized too ... but lets not worry about that yet ... ;redcode-94 ;name MoreVamp ;author Franz ;start vampire ;assert (CORESIZE%5)==0 org incr ;lets start at 2000 since that should be covered with the pit ccp dat cc,2000 dat 0,0 gate dat 0,0 dat 0,0 dat 0,0 ;i'll ad self splitting to enhance the durability ; vamp spl #0,>gate incr add.f pit, fang mov.i fang, @fang ;this will give us not only detection of our fangs ;coming in but also of imps! and the clear is fairly anti imp ;not the best but worth the effort:) jmz.f incr, fang-100 ;standard spl/dat coreclear cc spl #2, #30 mov *ccp, >ccp jmp -1,>gate fang jmp pit-100, #100 ;lets put the pit on the bottom so we can have it carpet bomb ;and to optimize a bit we'll put the stepsize on the first spl ;to avoid the dat pit spl #-5, #5 mov -1,<2000 spl -1, >gate jmp -3, >gate end getting this smaller is your excersise think about self mutation of the vampire loop into a coreclear ... Franz From news-rocq.inria.fr!jussieu.fr!math.ohio-state.edu!howland.erols.net!feed1.news.erols.com!insync!news.azstarnet.com!news Tue Oct 22 11:21:34 1996 Article: 6333 of rec.games.corewar Path: news-rocq.inria.fr!jussieu.fr!math.ohio-state.edu!howland.erols.net!feed1.news.erols.com!insync!news.azstarnet.com!news From: Franz Newsgroups: rec.games.corewar Subject: Re: Help again: fix/speed up this vamp Date: Tue, 22 Oct 1996 00:07:43 -0700 Organization: Starnet Lines: 11 Message-ID: <326C72BF.28DC2792@azstarnet.com> References: <54gugr$gc1@news2.texas.net> <326C67DB.2D84A32A@azstarnet.com> NNTP-Posting-Host: usr6ip44.azstarnet.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (X11; I; Linux 1.2.13 i586) > ;redcode-94 > ;name MoreVamp > ;author Franz > ;start vampire > ;assert (CORESIZE%5)==0 > > org incr whoops should have been or vamp Franz