[00:03] Join: |caesar joined #corewars
[00:06] morning,everybody
[00:09] morning
[00:11] aha,how r u,brx?
[00:13] I am angry.
[00:14] oh no,whats wrong, brx?
[00:16] haskell's typesystem is going on my nerves
[00:17] apparently I have to rewrite lots of code to make up for a design mistake
[00:28] that's bad,repair it is a funny i thing
[01:29] MSG:
[02:02] MSG: Remote host closed the connection
[04:26] Join: Mizcu joined #corewars
[04:43] Join: datagram joined #corewars
[04:58] Evening
[04:58] Or morning.
[05:25] Join: fiveop joined #corewars
[05:28] :)
[05:28] that's funny,here's afternoon
[05:29] Yes of course
[05:29] but datagram is deep Evening
[05:30] hey,datagram do u wana sleeping?
[05:31] or maybe i wake up u sleeping time
[05:31] I have a different schedule
[05:31] I sleep during the day
[05:32] ...is it well?
[05:32] iwana sleeping in day2
[05:32] ?
[05:32] So do it
[05:32] yeay,i'll try to do it
[06:12] Join: caesar joined #corewars
[06:14] MSG: Quit: GoodBye , My Friends...
[06:14] Part: caesar left #corewars
[06:14] Join: caesar joined #corewars
[06:18] Part: caesar left #corewars
[06:22] Join: |caesar joined #corewars
[08:05] Join: willvarfa joined #corewars
[08:37] Join: brx joined #corewars
[08:56] Join: Roy joined #corewars
[08:57] Hello everyone
[08:57] hi
[08:58] willvarfa, The hacker buddies who I'm getting into corewar mentioned that we should code a php interface for hills : ) We could probably crank it out in a day if we worked on it together....so maybe your dreams aren't far away
[08:58] Hello Roy
[08:59] What's up
[08:59] wow, that would be cool, do you have scripts for a hill?
[08:59] then we could have a copy&paste hill ;-)
[08:59] No
[08:59] a nice interface to an existing hill would be nice
[08:59] It wouldn't be hard
[08:59] sal comes to mind
[08:59] Or maybe you could include it into SAL
[08:59] * Roy thinks the same
[08:59] it would be nice as an XUL interface too
[09:00] In the third week of november I give a presentation about Corewars to a group of hackers
[09:00] So after that more will be interested
[09:00] Nice, good luck
[09:00] Yes, I have to try to not suck by then
[09:01] Hehe, would be nice to say things like: "Ohw, I'm currently on the top 20 hill, best of the world, come beat me etc etc"
[09:01] I challenged them by saying I'm currently KOTH :-) when I held a presentation at college
[09:03] Heh
[09:03] Well make a hill where only I have warriors
[09:03] I'll for sure kick ass on that one
[09:06] I will run the powerpoint to you guys before I give the presentation so that you can scrutinize it
[09:09] Join: Nenad joined #corewars
[09:09] Hi
[09:09] hi nenad
[09:10] :)
[09:10] did you get my mail?
[09:10] Hi Nenad
[09:10] Hi datagram
[09:10] Did you read the log?:)
[09:11] err... not yet
[09:11] But the text is great :)
[09:11] Read the logs at 8:56+
[09:11] Today
[09:11] So that I don't have to spam : P
[09:11] :) nice.
[09:13] So yes.
[09:14] Also: my warriors are catastrophes
[09:15] they are not...
[09:15] what did you make?
[09:15] avamp?
[09:17] A vampire that eventually turned into a stunner
[09:17] And a very bad bomber
[09:22] Not sure how to proceed
[09:22] well, why is the bomber bad?
[09:22] Heh, 0-10-0 against aeka rave and flashpaper
[09:22] plain bomber cannot defeat aeka or flash
[09:22] you should go for 40-50% against Rave first
[09:23] Does it suicide..?
[09:23] or stun itself?
[09:23] It shouldnt
[09:23] what bombs does it use?
[09:23] The bomber? Dat
[09:23] I think I messed up the stunner though
[09:23] You could paste the code, then we could have a peek
[09:24] One sec and I will
[09:24] Working on multiple terminals
[09:27] Yeah the code for the stunner is messed up
[09:28] what bombs does it use?
[09:28] MSG: Ping timeout: 252 seconds
[09:29] Join: brx joined #corewars
[09:29] so, show us the code...
[09:31] mov.i 4, >3
[09:31] mov.i 4, >3
[09:31] djn.b -2, 1
[09:31] jmp 3, #15
[09:31] spl 0
[09:31] jmp -1
[09:31] mov 2, >2
[09:31] jmp -1
[09:31] dat #0, #5
[09:31] The jmp field doesnt work right
[09:32] It keeps going 15/16
[09:32] Because of the djn
[09:32] the second move overwrites the spl 0
[09:33] in the second line, you ment mov 4, >2?
[09:33] Ah yes
[09:33] try using labels
[09:33] Wait
[09:33] No
[09:33] Wait yes
[09:33] mov 5,>2
[09:33] Haha
[09:34] They are both 4
[09:34] Because it is relative, no?
[09:34] ah yes
[09:34] but the djn.b decreases the pointer, you should try djn.b -2,>1
[09:34] (or something) now it just drops spl's
[09:35] It only puts it at the one location
[09:36] But now it does this
[09:36] spl,jmp,dat
[09:36] I guess that is good anyways?
[09:36] MSG: Ping timeout: 252 seconds
[09:36] The djn makes dat 0, -1
[09:37] If I am understanding correctly
[09:37] Join: brx joined #corewars
[09:37] No, it just decrements the jmp 3,#17 to jmp 3,#16 and then writes a spl again
[09:37] What is causing every third instruction on the bombing path to be dat 0 -1?
[09:37] djn.b -2,@1
[09:38] err djn.b -2,>1
[09:38] It's doign that
[09:39] Rave hit me with spl 0 at the top of my code though
[09:39] : (
[09:40] No, you did that yourself probebly
[09:40] It didn't go all the way around
[09:40] I understand, but how does you code stop you from doing that?
[09:41] It is spl.a
[09:41] My bombs are spl.b
[09:41] Rave's bombs are spl.a
[09:41] Hmm ok, but your code (in a self fight) stuns yourself
[09:42] Yeah the loop to jump out isn't operational yet
[09:42] you keep bombing spl 0 jmp -1 until you hit yourself again
[09:42] It is supposed to jump to the coreclear
[09:42] how?
[09:42] Supposed to, but doesnt work because djn never fails
[09:43] Indeed, let me make some adjustments to the code, one second
[09:43] I know I also need better step sizes
[09:43] But I just wanted to get this working first
[09:43] Is it bad that I'm moving the jmp -1 also? I like that it makes things stuck
[09:44] No its ok, some stunbombers do that
[09:44] here, its a bit better this way:
[09:44] mov.i bomb2 , mov.i bomb1 , djn.b -2 , ptr
[09:44] mov datbomb , >datbomb
[09:45] jmp -1
[09:45] datbomb dat #0, #5
[09:45] ptr dat #0, #-11
[09:45] bomb1 spl #0
[09:45] bomb2 jmp -1
[09:45] I don't like labels
[09:45] They are in the code on the machine I'm running on, but I prefer numbers
[09:45] ok, I'll remove them (makes it easier though)
[09:45] datagram: make a spl 0 jmp -1 bomber instead
[09:45] Well I figure it is easier to just look x lines down or up instead of having to fine the line the label is on : )
[09:46] Nenad, That is what my code is doing, da?
[09:46] mov.i 8 , <6
[09:46] mov.i 6 , <5
[09:46] djn.b -2 , 4
[09:46] mov 2 , >2
[09:46] jmp -1
[09:46] dat #0 , #5
[09:46] dat #0 , #-11
[09:46] spl #0
[09:46] jmp -1
[09:46] datagram: well, no.
[09:46] you're just pushing your bombs through the memory
[09:47] instead of throwing them
[09:47] you warrior is more like a coreclear
[09:47] *your
[09:47] Well, pretend they were spaced right
[09:48] I realize they are sequential, though
[09:48] Roy, it should be mov.i 6 for both, right?
[09:50] Heh, that code bombs itself, I think
[09:52] No it doesn't, because the <6/<5 is placed for away
[09:53] I got it working
[09:53] the djn.b -2,4 decrements the dat#0,#11
[09:53] Before it bombed itself
[09:53] and then that becomes 1 and it jumps to the clear
[09:54] When I ran it it overwrote the dat instruction with a spl
[09:57] Woot
[09:57] I like watching paper get caught
[09:57] It makes me feel special
[09:58] Does it kill it well now?
[09:58] Roy, I changed the code to:
[09:58] mov.i 6, <5
[09:58] mov.i 6, >4
[09:58] Err >5
[09:58] And it works
[09:58] Before you move a dat instead of the spl
[09:58] so it makes dat jmp -1
[09:59] Ah this is cool
[09:59] I'm testing vs flashpaper
[10:00] MSG: Ping timeout: 252 seconds
[10:00] It caught quite a few and now the processes are shooting very high for it; it isn't bombing
[10:00] However I did overwrite myself : )
[10:01] So the dat coreclear didn't fire off
[10:01] But that was fancy enough
[10:05] You want a fancy version? I went rewriting it a bit:
[10:05] sub.ab #1953 , 3
[10:05] mov.i 6 , <2
[10:05] djn.f -2 , 1
[10:05] dat #0 , #-1
[10:05] mov 2 , }-4
[10:05] djn.f -1 , }-5
[10:05] dat #7 , #7
[10:05] spl #1 , 1
[10:07] it bombs with a interval trhough the core with spl #1,#1
[10:07] and when it bombs the dat #0,#-1 line the djn slips through
[10:08] then it has a spl #1,#1 mov 2, }-4 and does a d-clear
[10:08] Hmm
[10:09] But I like the jmp, so that it gets their code stuck and slows them down very badly
[10:09] the spl does the same thing too
[10:09] maybe you should look at WW3 then...
[10:09] But maybe I can change it back to a jmp too
[10:09] WW3 = WinterWerewolf3
[10:09] Oh okay
[10:10] Does the process that split stay where it is for it's next cycle?
[10:10] I thought it moved down 1
[10:10] And only the split process stuck at 0
[10:10] yes, one is let through and the other stays on the spl line
[10:11] Is taking an extra cycle to add jmp -1 behind it that much more inefficient?
[10:12] the problem with the extra jmp is that we now use selfmutation, and placing a spl #1,jmp -1 in your code stuns yourself
[10:12] WW3 is a bit evil, it is good example of self-mutation and getting different kinds of stuff packed in; it becomes even more remarkable once you notice it is in '88
[10:12] yes. :)
[10:12] I like it a lot.
[10:17] ok datagram, new version:
[10:17] (now with spl #1/jmp -1 bombs)
[10:17] mov.i 9 , @4
[10:17] s sub.ab #1954 , 3
[10:17] mov.i 6 , >2
[10:17] djn.a -3 , 1
[10:17] dat #0 , #-1
[10:17] mov 2 , }-4
[10:17] djn.f -1 , }-5
[10:17] dat #7 , #7
[10:17] spl #1 , 1
[10:17] jmp -1
[10:17] end s
[10:19] One second I'm doign a tournament
[10:21] hrm that warrior actualy beats some good warriors :-)
[10:22] MSG: Ping timeout: 252 seconds
[10:23] Roy: send it to 94b just for fun
[10:23] I'd like to try to improve it and then send it
[10:23] ok. :)
[10:24] Try the last version I send you, but don't ruin it ;-)
[10:24] No promises
[10:24] add a huge decoy and boot away
[10:24] it will help against oneshots
[10:24] and a qscan and you're done ;-) (its bad against papers...ssd clear would do better)
[10:24] I don't like scanners very much
[10:24] Join: brx joined #corewars
[10:24] Though I did want to try a vampire scanner
[10:25] But I saw someone trying that, so I didn't feel as original
[10:25] even in my dreams I don't allow myself to be lucky
[10:25] ?
[10:25] Having nightmares again brx? :P
[10:26] Roy: not really nightmares. just *weird* dreams.
[10:26] on speed defeating Maelstrom?
[10:26] ssd clear?
[10:26] datagram: spl - spl - dat clear
[10:26] Ah
[10:27] first wipe the core with spl
[10:27] it ended with me being back in school and PE. teacher saying "from now on your life is 10 fps"
[10:27] and we'd be forced to play fifa on playstation
[10:27]