[00:00] yes how do i throw a dat??? [00:00] By using the Mov (move) -instruction [00:00] More exactly, Mov.i which moves whole instructions [00:02] say, Mov.i bomb, target [00:02] with bomb meaning an instruction that is a dat, and target is where you want to throw it [00:03] oh ok [00:05] just remember, that you dont know the position of your opponent in the start, so you either have to find it, or just throw bombs at different places and hope you hit. [00:07] hey i made my own bomber [00:07] Thats where it starts from [00:08] org launch|bomb dat 0, 0|launch mov bomb, 3| add #1, -1| jmp launch|end launch [00:08] you dont need both org and end [00:09] ok [00:09] but is there no way to jump back automaticall instead of using the jmp command cause it adds another process [00:10] jmp changes position of the current process [00:10] but no, there is no other way to go back than Jumping or Splitting [00:10] launch mov 3, 3 add #1, -1 jmp launch [00:12] one thing to change would be the distance between bombs, which is currently 1 (or they are next to each other) [00:12] I believe you have played Battleship either on computer or as a sort of board-game, right? [00:13] yes [00:14] In battleship it is very bad tactic to put you bombs one after another, and better to spread them out widely, and then putting bombs on the holes between the spread. [00:15] Because the ships are bigger than one, and they have more area where to hit [00:15] Same applies to corewars [00:15] ah [00:15] Usually a one bomb is enough to kill, or cripple a program. (Or part of program if the opponent copies itself) [00:16] And most programs are between 3-15 instructions in size [00:16] Or more, if you include components like decoys [00:17] how do i make a decoy [00:17] how would it work [00:17] because there might be too many ways to make adecoy [00:17] Have you heard about Stone/Paper/scissors , or otherwise Bomber/Replicator/Scanner ? [00:17] As a corewar -term [00:18] yes but i haven't read it thouroughly [00:19] Scanners are programs that search for something abnormal in core, and then attack it. [00:19] However, it is hard for a scanner to see difference between an opponent and junk, since analyzing it would take a LOT of instructions [00:19] And decoys are intentional junk used against scanners [00:20] There are two, or actually three types of decoys [00:20] alot of instuction = dead right [00:21] wait what does the @ do?? [00:21] A) the maximum size of warrior in ordinary core is 100 instructions. So you can fill anything you dont use with junk. This is usually combined with boot to move the important part of warrior away from the starting position. You wouldnt want to sit next to shooting-target anyway. [00:22] B) You run some code that modifies a part of core, so that the part of core is found by scanner [00:22] C) Every bomb a bomber throws can be used as a decoy, as long as you throw something different than Dat 0,0 [00:23] And now about the @.. [00:23] the official name of the addressing mode @ being indirect using b-field [00:24] think it this way: you use a mov-instruction to throw bombs or something else harmful. But you cannot modify the b-field, where the bomb lands [00:25] how do i battle [00:25] You can modify it ofcourse, but this is an example [00:25] So instead you modify some other instruction to hold the target, and you tell the mov to check the target from the intermediate instruction [00:26] This is exactly what * and @ do [00:26] they look at the instruction that number points to, and then either takes either the a or b-field of the instruction number points to, and uses THAT number as the target [00:27] example: [00:27] add #1, @1 [00:27] dat 0, 1 [00:27] dat 0, 0 [00:28] the add will first look at the instruction @1, which is dat 0, 1. Then it takes the b-field of dat 0,1 , and add to the position dat 0,1 points to, in this case dat 0,0 [00:28] * checks a-field, @ checks b-field [00:30] and after running the add, there will be | add #1, @1 | Dat 0, 1 | dat 0, 4 [00:31] the process that just run add will fall to dat 0,1 , and die. But this is an example anyway. [00:31] If you would instead use add #1, *1, it would result as add #1, *1 | dat 0, 5 | dat 0,0 [00:32] as the a-field in second instruction is zero, the add would add into that instruction [00:32] Did i explain that clearly enough? [00:35] so its like a pointer in c++??? [00:35] exactly [00:37] And about that putting warriors to fight eachother - [00:38] instead of being a number it points to the value in the b field of the appropriate instruction number [00:39] yes [00:39] but you can modify it so that it uses wrong (or some cases not wrong)instruction as pointer too [00:40] Do you use Windows or Unix? [00:40] * is for the a field and # is for the b field... im windows [00:40] * is for the a-field, and @ for the b [00:41] yeah sorry [00:41] to fight warriors, you need a redcode-simulator. There more user-friendly simulator today is corewin, and i suggest it to all beginners. http://www.geocities.com/corewin2/ [00:42] Most other simulators are not point-n-click so corewin is good for starting [00:43] And it should be obvious enough so that you dont need to be taught anything special. [00:48] i think i have to say bye now, It getting 3 in the morning here, and i do need to sleep [00:49] The others at this channel arent gonna be much help, as they are just dummy stand-ins (unless Pak21 has been lurking around) [00:50] bye [00:50] MSG: [01:04] MSG: Quit: Chatzilla 0.9.70 [Firefox 1.0.7/20050915] [01:38] Join: fiveop joined #corewars [01:48] Join: cgi_brx joined #corewars [01:48] FUCK [01:48] FUCKFUCKFUCKFUCK [01:48] drew: sorry, isp dns issues it seems [01:49] I knew metcalf posted some cgi client urls into the logs, so I wanted to use one, however, koth.org couldn't be resolved either. same for google. my jabber account and shoutcast kept working though :) [01:49] now I can access koth.org [01:49] not irc.koth.org though [02:25] I hope this problem doesn't persist. [03:34] Join: brx joined #corewars [03:43] woot! [03:44] MSG: Quit: CGI:IRC (Ping timeout) [07:49] Join: ice89 joined #corewars [07:49] hello? [07:50] anyone here??? [08:09] MSG: Quit: Chatzilla 0.9.70 [Firefox 1.0.7/20050915] [08:26] Join: Roy joined #corewars [10:16] MSG: Read error: Operation timed out [10:21] Join: cgi_brx joined #corewars [10:24] could someone please resolve irc.koth.org? [10:27] 192.136.64.212? [10:28] god dammit [10:28] * cgi_brx will destroy his isp [10:38] * cgi_brx curses [10:39] Join: brx joined #corewars [10:39] MSG: Quit: CGI:IRC (EOF) [10:39] yes! [11:07] heh, you are repeating yourself.. [11:07] the logs had something pretty similair to this in them ;-) [11:08] I can't seem to access specific websites [11:08] each time I connect it appears to be a different set. [11:08] censurship in germany! [11:13] hrm, H5N1 in Germany.. thats not so good news [11:14] * brx never leaves house [11:15] Heh, but do you have birds comming in and out of that house, thats the question :-) [11:16] answer is no :) [11:16] In Holland we already have a big flu thing, just not the birdflu... there is a school in a part of Holland and 200 of the 300 students had the flu there a week ago [11:17] very good. pray that h5n1 never reaches you :) [11:17] heh, it'll clean up the old and sick people (looks at the positive side) [11:18] maybe I played with evolvers too much.. [11:18] maybe [11:19] Well, its might be cruell and immoral to say, but a big flu would make earths population stronger etc, but you are just not allowed to say it oud loud [11:20] oud/out [11:20] sure. you are not allowed to say the same about wars either. [11:21] Yeah, wars are good too... especially for technological advances.. [11:21] But I say it anyway ;-) [11:21] brb [11:55] back [11:56] wb [11:56] ty [11:58] Join: John joined #corewars [11:58] hiya [11:58] hi [12:01] Hi [12:03] Has anyone else solved the riddles? [12:03] which one? [12:03] buttons? [12:04] Join: willvarfa joined #corewars [12:05] 4 buttons: you and michal [12:05] (roy tried ;)) [12:06] hi will. [12:07] hi folks [12:11] I got close, but not working :( then I gave up because I hate puzzles/riddles [12:11] Did manage to confuse brx quite a bit ;-) [12:11] yes you did. (I tried showing him why his solution was wrong and ended up making two mistakes in the examples) [12:17] :-) [12:18] what was the problem? [12:18] * brx could now plug the blog but well.. [12:19] http://www.ocf.berkeley.edu/%7Ewwu/riddles/intro.shtml [12:20] willvarfa: hard -> button trap problem [12:30] interersting [12:30] you folks know the answer? got a good foolproof algorithm? [12:30] not generalized yet [12:31] but there is a very simple algorithm. ;) [12:32] willvarfa: for top times go to brx-019.blogspot.com ;) [12:38] brx: With the lightbulb initially off, JM solved that right? [12:38] Roy: sure. [12:42] err, unknown state I mean [12:43] oh. no. [12:44] brx, /query me for my take on it [13:00] bbiab [14:15] MSG: Ping timeout: 252 seconds [14:25] Join: John joined #corewars [14:40] HOLES> (solve 2 4) [14:40] (((T NIL T NIL) (T T NIL NIL) (T NIL T NIL) (T T T NIL) (T NIL T NIL) (T T NIL NIL) (T NIL T NIL))) [14:46] Join: John_ joined #corewars [14:47] MSG: Ping timeout: 252 seconds [14:47] Nick Change: John_ changed nick to John [14:59] MSG: Ping timeout: 252 seconds [15:00] Join: Mizcu joined #corewars [15:28] MSG: [15:51] hrm [15:52] is the code of The Phantom Menace avialable somewhere? [16:00] * willvarfa yawns [16:05] yay, over 17:00, time to go home again :-D [16:05] MSG: [16:31] Join: DrewHK joined #corewars [16:32] hi [16:57] Join: John_ joined #corewars [16:57] Nick Change: John_ changed nick to John [17:39] MSG: Read error: Connection reset by peer [17:41] Join: johnkw joined #corewars [17:43] MSG: Read error: Connection reset by peer [17:44] Join: johnkw joined #corewars [17:45] happy microsquish patch day [17:47] a new patch out, or? [17:50] yea [17:50] well, yesterday [18:47] Join: Core29 joined #corewars [19:30] MSG: Ping timeout: 252 seconds [19:32] * brx hits himself real hard [19:37] whatsup? [19:37] ah hi drew. sorry. isp screwed up. [19:37] no prob [19:37] for me :) [19:38] :P [20:24] MSG: Ping timeout: 252 seconds [20:39] Join: DrewHK joined #corewars [20:39] darn [20:39] * brx wonders [20:41] it was your doing? :) [20:41] what was my doing? [20:43] was joking [21:25] http://www.flurl.com/uploaded/heulsuse_64670.html [21:26] :] [22:18] MSG: Read error: Connection reset by peer [22:26] bye [22:26] MSG: [23:15] MSG: Quit: humhum