From jimmyhua73 at yahoo.com Sat Jul 1 17:47:13 2006 From: jimmyhua73 at yahoo.com (Jimmy Huang) Date: Sat, 1 Jul 2006 15:47:13 -0700 (PDT) Subject: [netrek-dev] robotd war declarations modified again! Message-ID: <20060701224713.67654.qmail@web35304.mail.mud.yahoo.com> As I mentioned before, there was room for improvement. Here's the fixes to my fixes. I haven't had a chance to test it thoroughly. But it compiles. I bet there are errors. but, read anyways if you are interested. Jimmy -------------- next part -------------- A non-text attachment was scrubbed... Name: war-decs-fixes-2-fixes.dpatch Type: application/octet-stream Size: 9929 bytes Desc: 1743529859-war-decs-fixes-2-fixes.dpatch Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20060701/cc55e1ab/attachment.obj From jimmyhua73 at yahoo.com Sun Jul 2 10:05:41 2006 From: jimmyhua73 at yahoo.com (Jimmy Huang) Date: Sun, 2 Jul 2006 08:05:41 -0700 (PDT) Subject: [netrek-dev] further fixes to war-decs on Hadley's robots Message-ID: <20060702150541.47449.qmail@web35310.mail.mud.yahoo.com> Here's more. My original code did what I wanted it to do, although I saw some gaping holes in the strategy. Here are most of the holes plugged up. I think the robots are good enough to play in a normal pickup game queue without getting confused with war declarations now. I did a test run outlined in the patch. And robots worked as I wanted the code to work. I was thinking the robots should check to see if the 3rd space scummer leaves the game, or gets forced onto a t-mode team, and declare peace right then and there. But that would involve ALOT of message decoding on the robots part (and alot of code to be written on my part)... So instead, declare_intents() gets called (the peace part only), everytime the robots die. It's a compromise, but I think it will work for now. Again, thanks to Quozl and others for providing commentary on my code. Jimmy -------------- next part -------------- A non-text attachment was scrubbed... Name: further-fixes-to-war-decs.dpatch Type: application/octet-stream Size: 12354 bytes Desc: 858096852-further-fixes-to-war-decs.dpatch Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20060702/673079f5/attachment-0001.obj From quozl at us.netrek.org Sun Jul 2 20:28:50 2006 From: quozl at us.netrek.org (James Cameron) Date: Mon, 3 Jul 2006 11:28:50 +1000 Subject: [netrek-dev] further fixes to war-decs on Hadley's robots In-Reply-To: <20060702150541.47449.qmail@web35310.mail.mud.yahoo.com> References: <20060702150541.47449.qmail@web35310.mail.mud.yahoo.com> Message-ID: <20060703012850.GC5570@us.netrek.org> On Sun, Jul 02, 2006 at 08:05:41AM -0700, Jimmy Huang wrote: > Here's more. Taken. -- James Cameron mailto:quozl at us.netrek.org http://quozl.netrek.org/ From quozl at us.netrek.org Sun Jul 2 21:22:51 2006 From: quozl at us.netrek.org (quozl at us.netrek.org) Date: Mon, 03 Jul 2006 12:22:51 +1000 Subject: [netrek-dev] darcs patch: avoid lies to metaserver due pre-t robots Message-ID: Mon Jul 3 12:19:15 EST 2006 quozl at us.netrek.org * avoid lies to metaserver due pre-t robots * solicit.c: count PFBPROBOT slots as being free, since we expect them to back off and quit if a player arrives, so that the metaserver report of players properly excludes pre-t robots. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 4694 bytes Desc: A darcs patch for your repository! Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20060703/5a91f8e5/attachment.bin From quozl at us.netrek.org Wed Jul 5 01:41:42 2006 From: quozl at us.netrek.org (James Cameron) Date: Wed, 5 Jul 2006 16:41:42 +1000 Subject: [netrek-dev] FreeBSD compilation fixes for ntserv Message-ID: <20060705064142.GA30757@us.netrek.org> G'day, A friend who is a FreeBSD user tried to build Netrek Vanilla 2.11.1 from source and had a few problems, and sent me the write-up. I've pushed a patch into my repo that fixes the missing include for signal.h in ntserv/main.c, and I'll tell my friend about it, but for the interest of other FreeBSD users ... http://quozl.us.netrek.org/netrek/2006-07-05-freebsd/Building_netrek.pdf Summary: install autoconf 2.59, libtool 1.5, gcc 4.1.2, gmake 3.80-2, turn off PLAYER_INDEX in config.h.in, install expat 2.0.0_1, fontconfig 2.3.2_5.1, freetype2 2.1.10_3, libdrm 2.0.2, pkg-config 0.20_2, xorg-libraries 6.9.0, then configure and build. Do we have any active FreeBSD users on this mailing list? -- James Cameron mailto:quozl at us.netrek.org http://quozl.netrek.org/ -------------- next part -------------- Wed Jul 5 16:27:26 EST 2006 quozl at us.netrek.org * freebsd compilation fix, missing header * ntserv/main.c: add signal.h include, after a report from a FreeBSD user showed that my enthusiastic trimming of headers had broken compilation on other operating systems. diff -rN -u old-netrek-server/Vanilla/ntserv/main.c new-netrek-server/Vanilla/ntserv/main.c --- old-netrek-server/Vanilla/ntserv/main.c 2006-07-05 16:41:23.000000000 +1000 +++ new-netrek-server/Vanilla/ntserv/main.c 2006-07-05 16:41:23.000000000 +1000 @@ -10,6 +10,7 @@ #include #include #include +#include #include "defs.h" #include INC_UNISTD #include INC_SYS_WAIT -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20060705/1b212961/attachment.pgp From williamb at its.caltech.edu Wed Jul 5 07:38:03 2006 From: williamb at its.caltech.edu (William Balcerski) Date: Wed, 5 Jul 2006 05:38:03 -0700 (PDT) Subject: [netrek-dev] Sturgeon Code Message-ID: So I've been looking through the sturgeon code from ftp.netrek.org, in hopes of merging it into Vanilla source. It seems it's all been ifdef'ed properly as TSANG_MODS, so it shouldn't be too hard to implement. However I've come across a couple things. 1) Everywhere I've read on r.g.n, it says sturgeon had an ugrade where if you det your own torps, it does damage to the other player. However I don't see it anywhere in the sturgeon source. Now, I know I've played on a server with this mod. I think it was the ufl server, but it might have been another one. R.g.n. archives seem to indicate Michael Moore may have set up such a server with this option. Does anyone know definitively if this was a sturgeon feature, and even better, does anyone have an email address for Michael Moore? 2) From what I can tell, the sturgeon code I downloaded consists only of using kills to buy upgrades. I can't tell if this is the real sturgeon source, or the source from a UMich upgrade server mentioned by Dan Damouth in a 1998 r.g.n post. The upgrades include upping max shields, adding a temporary shield boost, changing engine and weapon cool rates, torp speed, cloaking efficiency, etc. There's also nukes, mines and drones which I think are not so good ideas. If I want to implement some of the features but not others (specifically, not nukes, mines or drones), is it still ok to call it a sturgeon patch, and to ifdef it as #ifdef STURGEON? And does anyone really feel nukes mines and drones are a good idea and should be put in? 3) If anyone remembers the other mods that were on the upgrade server, or has the code (wishful thinking), could you let me know? I seem to remember one of the upgrades being something like, phasers had double range, but only did half damage. There were definitely some cool upgrades that are just not in the code I'm looking at. Bill From quozl at us.netrek.org Wed Jul 5 18:09:58 2006 From: quozl at us.netrek.org (James Cameron) Date: Thu, 6 Jul 2006 09:09:58 +1000 Subject: [netrek-dev] Sturgeon Code In-Reply-To: References: Message-ID: <20060705230958.GA6159@us.netrek.org> On Wed, Jul 05, 2006 at 05:38:03AM -0700, William Balcerski wrote: > 1) [det own causes damage] I've not seen code for this, but it shouldn't be too hard. I'd prefer it as a sysdef option, to allow server owners to be flexible. I suggest the option name and global variable to be: TORPEDO_DETONATE_OWN_CAUSES_DAMAGE (and lower case) The default should be zero in the sample_sysdef. > 2) [...] > using kills to buy upgrades [...] Even if it is not exactly like the Sturgeon server, if the community think of it in the same way then it should be fine to use the same terms. No, don't use #ifdef, use sysdef settings and global variables. In addition, I suggest a new option "STURGEON=0" by default which disables all these mods, regardless of the options that depend on it. See how the voting options now work for eject and ban. This means the code would look like this: if (sturgeon && upgrade_shield) { ... } > And does anyone really feel nukes mines and drones are a good idea and > should be put in? They should be put in if someone has the time to do it. If we find the resulting game to be popular, that's not a worry. I've no plans to run it on continuum until I've seen the popularity. > 3) If anyone remembers the other mods that were on the upgrade server, or > has the code (wishful thinking), could you let me know? I seem to > remember one of the upgrades being something like, phasers had double > range, but only did half damage. There were definitely some cool upgrades > that are just not in the code I'm looking at. Lack of distributed version control system again. Have you a darcs repository that we can pull from yet? ;-) -- James Cameron mailto:quozl at us.netrek.org http://quozl.netrek.org/ From netrek at gmail.com Wed Jul 5 21:51:12 2006 From: netrek at gmail.com (Zach) Date: Wed, 5 Jul 2006 22:51:12 -0400 Subject: [netrek-dev] Sturgeon Code In-Reply-To: <20060705230958.GA6159@us.netrek.org> References: <20060705230958.GA6159@us.netrek.org> Message-ID: On 7/5/06, James Cameron wrote: > I've no plans to run it on continuum until I've seen the popularity. Please keep continuum as a pure bronco server. There are only two broncos left don't kill one off please. Thanks. Zach From netrek at gmail.com Wed Jul 5 21:53:21 2006 From: netrek at gmail.com (Zach) Date: Wed, 5 Jul 2006 22:53:21 -0400 Subject: [netrek-dev] Sturgeon Code In-Reply-To: <20060705230958.GA6159@us.netrek.org> References: <20060705230958.GA6159@us.netrek.org> Message-ID: Hey Bill, Maybe you can bring back the missiles from Paradise, the ones that track really well and will keep acquiring a target even after you die. That snakes was cool too hehe. Zach From quozl at us.netrek.org Wed Jul 5 22:17:46 2006 From: quozl at us.netrek.org (James Cameron) Date: Thu, 6 Jul 2006 13:17:46 +1000 Subject: [netrek-dev] Sturgeon Code In-Reply-To: References: <20060705230958.GA6159@us.netrek.org> Message-ID: <20060706031746.GC6159@us.netrek.org> On Wed, Jul 05, 2006 at 10:51:12PM -0400, Zach wrote: > On 7/5/06, James Cameron wrote: > > I've no plans to run it on continuum until I've seen the popularity. > > Please keep continuum as a pure bronco server. There are only two > broncos left don't kill one off please. Thanks. Bwahahahahaha Off-topic. Use netrek at us.netrek.org for non-development posts. ;-) -- James Cameron mailto:quozl at us.netrek.org http://quozl.netrek.org/ From xyzzy at speakeasy.org Wed Jul 5 22:56:48 2006 From: xyzzy at speakeasy.org (Trent Piepho) Date: Wed, 5 Jul 2006 20:56:48 -0700 (PDT) Subject: [netrek-dev] Sturgeon Code In-Reply-To: <20060705230958.GA6159@us.netrek.org> References: <20060705230958.GA6159@us.netrek.org> Message-ID: On Thu, 6 Jul 2006, James Cameron wrote: > They should be put in if someone has the time to do it. If we find the > resulting game to be popular, that's not a worry. I've no plans to run > it on continuum until I've seen the popularity. There are lots of mods that people have come up with, many of which quite frankly suck. Do you want the server code cluttered with all these things? From quozl at us.netrek.org Wed Jul 5 23:16:55 2006 From: quozl at us.netrek.org (James Cameron) Date: Thu, 6 Jul 2006 14:16:55 +1000 Subject: [netrek-dev] Sturgeon Code In-Reply-To: References: <20060705230958.GA6159@us.netrek.org> Message-ID: <20060706041655.GE6159@us.netrek.org> On Wed, Jul 05, 2006 at 08:56:48PM -0700, Trent Piepho wrote: > There are lots of mods that people have come up with, many of which > quite frankly suck. Do you want the server code cluttered with all > these things? As long as they are gracefully coded, sure. I'd prefer them to be in separate files, well factored, well commented ... not just a "merge the change and post it" kinda thing. We've already got heaps of clutter in there, features that already suck, that nobody uses much. I've done some minimal simplifcation, as have others. When you see a patch you don't like, *then* reject it. That's my policy for the moment. -- James Cameron mailto:quozl at us.netrek.org http://quozl.netrek.org/ From williamb at its.caltech.edu Thu Jul 6 10:09:11 2006 From: williamb at its.caltech.edu (William Balcerski) Date: Thu, 6 Jul 2006 08:09:11 -0700 (PDT) Subject: [netrek-dev] Fwd: robotd patch (fwd) Message-ID: WARNING: bad headers MIME error: error: illegal encoding [quoted-printable] for MIME type message/rfc822 -------------- next part -------------- An embedded message was scrubbed... From: William Balcerski Subject: Fwd: robotd patch (fwd) Date: Thu, 6 Jul 2006 08:09:11 -0700 (PDT) Size: 13493 Url: http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20060706/245eb2c4/attachment-0001.eml From quozl at us.netrek.org Thu Jul 6 17:36:24 2006 From: quozl at us.netrek.org (James Cameron) Date: Fri, 7 Jul 2006 08:36:24 +1000 Subject: [netrek-dev] Fwd: robotd patch (fwd) In-Reply-To: References: Message-ID: <20060706223624.GA5243@us.netrek.org> Jimmy wrote: > Everytime I try to send this file. I get 5.1 span > points, and the e-mail is rejected. Get a real e-mail address, avoid free ones like Yah*o. Have you a web hosting directory supplied by your ISP? I can explain how to use that to host a darcs repo into which you place your patches. Or would you like one on our Netrek development server? You've contributed enough now that I should have suggested it earlier. Then you need only "darcs push" to your account, and then tell us about the patch rather than send it. Dave Ahn: okay to create account for Jimmy given his contributions? -- James Cameron mailto:quozl at us.netrek.org http://quozl.netrek.org/ From quozl at us.netrek.org Thu Jul 6 17:56:05 2006 From: quozl at us.netrek.org (James Cameron) Date: Fri, 7 Jul 2006 08:56:05 +1000 Subject: [netrek-dev] Fwd: robotd patch (fwd) In-Reply-To: References: Message-ID: <20060706225605.GB5243@us.netrek.org> Taken, applied, pushed. -- James Cameron mailto:quozl at us.netrek.org http://quozl.netrek.org/ From jimmyhua73 at yahoo.com Fri Jul 7 02:35:00 2006 From: jimmyhua73 at yahoo.com (Jimmy Huang) Date: Fri, 7 Jul 2006 00:35:00 -0700 (PDT) Subject: [netrek-dev] Fwd: robotd patch (fwd) In-Reply-To: <20060706223624.GA5243@us.netrek.org> Message-ID: <20060707073500.52427.qmail@web35311.mail.mud.yahoo.com> > Jimmy wrote: > > Everytime I try to send this file. I get 5.1 spam > > points, and the e-mail is rejected. > > Get a real e-mail address, avoid free ones like > Yah*o. Heh. Well, I actually pay for my yahoo e-mail address $25/year. Unlike my ISP provided e-mail address. It works great, never goes down, is accessible from anywhere you have access to the internet, has 2GB of storage, has all kinds of spam blockers and up-to-date virus protection. And NO ADS. You also have POP3 and IMAP access. Although, I just use the web access. > Have you a web hosting directory supplied by your > ISP? I can explain > how to use that to host a darcs repo into which you > place your patches. Nope. I did for a while, and then they stopped providing that kind of free service. > Or would you like one on our Netrek development > server? You've > contributed enough now that I should have suggested > it earlier. Sounds like something new to learn! I'm game as long as it's relatively inexpensive (free or ridiculously cheap like my yahoo e-mail account). > Then you need only "darcs push" to your account, and > then tell us about > the patch rather than send it. Well, I am off to California, again, for work. This time a whole month. So won't be able to test/code netrek until I get back. I should be able to read the e-mail though. I guess there are too many real spammers from yahoo e-mail addresses. Jimmy From williamb at its.caltech.edu Fri Jul 7 10:25:23 2006 From: williamb at its.caltech.edu (williamb at its.caltech.edu) Date: Fri, 7 Jul 2006 10:25:23 -0500 Subject: [netrek-dev] darcs patch: Formatting fix for if statement in interface.c Message-ID: <200607071525.k67FPNl0031099@omen.digital-genesis.com> Fri Jul 7 10:16:41 CDT 2006 williamb at its.caltech.edu * Formatting fix for if statement in interface.c * interface.c: (do_refit). Fixes if statement split over 3 lines. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 40270 bytes Desc: A darcs patch for your repository! Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20060707/0ceac4c1/attachment-0001.bin From williamb at its.caltech.edu Fri Jul 7 10:30:39 2006 From: williamb at its.caltech.edu (williamb at its.caltech.edu) Date: Fri, 7 Jul 2006 10:30:39 -0500 Subject: [netrek-dev] darcs patch: Command file for PreT robots Message-ID: <200607071530.k67FUd6G031650@omen.digital-genesis.com> Fri Jul 7 10:25:31 CDT 2006 williamb at its.caltech.edu * Command file for PreT robots * robots/pret.c: (start_a_robot) Adds the ability to read in a command file, as per the command file defined in pretdefs.h, but which was unused for whatever reason. Note that both the newbie server and basepractice server are set to use the same file, defined as COMFILE in pretdefs.h, basepdefs.h, and newbiedefs.h. As these modes are mutually exclusive, it is ok for them to read in robot commands from the same commands file. M ./Vanilla/robots/pret.c -1 +3 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 40750 bytes Desc: A darcs patch for your repository! Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20060707/a5d549c8/attachment-0001.bin From williamb at its.caltech.edu Fri Jul 7 10:34:45 2006 From: williamb at its.caltech.edu (williamb at its.caltech.edu) Date: Fri, 7 Jul 2006 10:34:45 -0500 Subject: [netrek-dev] darcs patch: Xtkill settable kills Message-ID: <200607071534.k67FYjNh032083@omen.digital-genesis.com> Fri Jul 7 10:30:51 CDT 2006 williamb at its.caltech.edu * Xtkill settable kills * xtkill.c (main): Adds the ability to specify the number of kills to increment the player, identical to how the increment armies option works, rather than just adding +1 kill per use of the xtkill k option. M ./Vanilla/tools/xtkill.c -2 +5 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 40720 bytes Desc: A darcs patch for your repository! Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20060707/8079ade0/attachment-0001.bin From netrek at gmail.com Thu Jul 27 00:23:54 2006 From: netrek at gmail.com (Zach) Date: Thu, 27 Jul 2006 01:23:54 -0400 Subject: [netrek-dev] pickled off the meta? Message-ID: Pickled is no longer listed on the metaserver. Using metaserver.us.netrek.org. Zach From netrek at gmail.com Thu Jul 27 00:25:51 2006 From: netrek at gmail.com (Zach) Date: Thu, 27 Jul 2006 01:25:51 -0400 Subject: [netrek-dev] Carlos contact? Message-ID: Anyone have Carlos' current email. Both these addresses are failing with permanent error: unbelver at us.netrek.org carlos at brain.jpl.nasa.gov Zach From ahn at orion.netrek.org Thu Jul 27 11:53:24 2006 From: ahn at orion.netrek.org (Dave Ahn) Date: Thu, 27 Jul 2006 12:53:24 -0400 Subject: [netrek-dev] pickled off the meta? In-Reply-To: References: Message-ID: <20060727165324.GA27245@orion.netrek.org> On Thu, Jul 27, 2006 at 01:23:54AM -0400, Zach wrote: > Pickled is no longer listed on the metaserver. Using metaserver.us.netrek.org. I restarted pickled. It should be back on the metaserver shortly. From carlos at jpl.nasa.gov Thu Jul 27 12:35:58 2006 From: carlos at jpl.nasa.gov (Carlos Y. Villalpando) Date: Thu, 27 Jul 2006 10:35:58 -0700 Subject: [netrek-dev] Carlos contact? In-Reply-To: References: Message-ID: <20060727173558.GA2772@carlos-desktop> Quoting Zach : > Anyone have Carlos' current email. Both these addresses are failing > with permanent error: Ooops. I guess I forgot to tell whoever is taking care of the us.netrek.org aliases that I changed addresses. I've lobotomized my e-mail address. "Remove the brain." It's now just carlos at jpl.nasa.gov. --Carlos V. From netrek at gmail.com Thu Jul 27 12:54:35 2006 From: netrek at gmail.com (Zach) Date: Thu, 27 Jul 2006 13:54:35 -0400 Subject: [netrek-dev] pickled off the meta? In-Reply-To: <20060727165324.GA27245@orion.netrek.org> References: <20060727165324.GA27245@orion.netrek.org> Message-ID: On 7/27/06, Dave Ahn wrote: > > I restarted pickled. It should be back on the metaserver shortly. Thanks Dave. Zach