galactigov-devel Mailing List for Galactic Governments
Status: Planning
Brought to you by:
erlendd
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(8) |
Jun
(15) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: Alastair M. <a.g...@sm...> - 2006-07-13 13:05:02
|
Here's an interesting project I ran across on sourceforge - bundled eclipse distributions: http://www.easyeclipse.org A |
From: Alastair M. <a.g...@sm...> - 2006-07-09 16:37:29
|
The bitmask is just a convienient way of representing all the boolean values for if a player can see a system. It can be coded both in PHP and directly in MySQL queries. The visibleTo field is an integer and only means something when expressed in its binary form. So, if only player three should be able to see a system, you'd need the bitmask 00100000 For players two, five and seven to see a system, you'd have bitmask 01001010 To avoid dealing with the decimal integers (which is unwieldy and defeats the point of having them) the bitwise operators |, ^ and & need to be used. Now, I'll probably make a hash of explaining this, so refer to PHP or mySQL docs for a better explanation of how these operators work: The | operator - bitwise OR: The result is the equivalent of an OR operation between each bit. 0010010 | 0110001 = 0110011 This would probably be what you would use to register that a system had been explored by someone - you would just OR the visibleTo field with the integer 2 to the power of the player's id. This can be done directly with a MySQL query. The & operator - bitwise AND The ^ operator - bitwise XOR The beauty is that several masks can be easily OR'd or AND'ed or XOR'ed together, for example when determining which systems can be seen due to map sharing treaties. |
From: Erlend D. <E.R...@sm...> - 2006-06-29 07:24:05
|
Catherine: Are you using Firefox 1.5 with all the default options? I just tested it under Windows XP - it works very well here and there is no selection-when-you're-dragging at all. Catherine Woods wrote: > I can't actually get this to work at all. It comes up in Firefox, but > clicking the "make window" button doesn't do anything. Think my > computer may not like Java- any suggestions? > > Quoting Erlend Davidson <E.R...@sm...>: > > >> Catherine - can you test this in firefox please? >> >> Alastair Mailer wrote: >> >>> Really? There definately was with me was night... how intruiging. FF1.5 I >>> assume? It may be that your ultra-fast desktop responds so quickly as to >>> prevent the mouse from moving overly far away from the drag item. I >>> fear that >>> windows users will probably still get the drag. >>> >>> Alastair >>> >>> On Wednesday 21 June 2006 23:46, Erlend Davidson wrote: >>> >>> >>>>> Woo! Fully draggable windows. However, the dreaded >>>>> selection-when-you're-dragging bug is now present and I can't find a >>>>> single article on how to fix it. >>>>> >>>>> >>>> No problem here - works perfectly. I can drag it as quickly as humanly >>>> possible with the selection-bug. >>>> >>>> Erlend >>>> >>>> All the advantages of Linux Managed Hosting--Without the Cost and Risk! >>>> Fully trained technicians. The highest number of Red Hat certifications in >>>> the hosting industry. Fanatical Support. Click to learn more >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 >>>> _______________________________________________ >>>> Galactigov-devel mailing list >>>> Gal...@li... >>>> https://lists.sourceforge.net/lists/listinfo/galactigov-devel >>>> >>>> >>> All the advantages of Linux Managed Hosting--Without the Cost and Risk! >>> Fully trained technicians. The highest number of Red Hat certifications in >>> the hosting industry. Fanatical Support. Click to learn more >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 >>> _______________________________________________ >>> Galactigov-devel mailing list >>> Gal...@li... >>> https://lists.sourceforge.net/lists/listinfo/galactigov-devel >>> >>> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Galactigov-devel mailing list >> Gal...@li... >> https://lists.sourceforge.net/lists/listinfo/galactigov-devel >> >> > > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Galactigov-devel mailing list > Gal...@li... > https://lists.sourceforge.net/lists/listinfo/galactigov-devel > |
From: Catherine W. <C.J...@sm...> - 2006-06-27 19:01:43
|
I can't actually get this to work at all. It comes up in Firefox, but clicking the "make window" button doesn't do anything. Think my computer may not like Java- any suggestions? Quoting Erlend Davidson <E.R...@sm...>: > Catherine - can you test this in firefox please? > > Alastair Mailer wrote: >> Really? There definately was with me was night... how intruiging. FF1.5 I >> assume? It may be that your ultra-fast desktop responds so quickly as to >> prevent the mouse from moving overly far away from the drag item. I >> fear that >> windows users will probably still get the drag. >> >> Alastair >> >> On Wednesday 21 June 2006 23:46, Erlend Davidson wrote: >> >>>> Woo! Fully draggable windows. However, the dreaded >>>> selection-when-you're-dragging bug is now present and I can't find a >>>> single article on how to fix it. >>>> >>> No problem here - works perfectly. I can drag it as quickly as humanly >>> possible with the selection-bug. >>> >>> Erlend >>> >>> All the advantages of Linux Managed Hosting--Without the Cost and Risk! >>> Fully trained technicians. The highest number of Red Hat certifications in >>> the hosting industry. Fanatical Support. Click to learn more >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 >>> _______________________________________________ >>> Galactigov-devel mailing list >>> Gal...@li... >>> https://lists.sourceforge.net/lists/listinfo/galactigov-devel >>> >> >> All the advantages of Linux Managed Hosting--Without the Cost and Risk! >> Fully trained technicians. The highest number of Red Hat certifications in >> the hosting industry. Fanatical Support. Click to learn more >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 >> _______________________________________________ >> Galactigov-devel mailing list >> Gal...@li... >> https://lists.sourceforge.net/lists/listinfo/galactigov-devel >> > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Galactigov-devel mailing list > Gal...@li... > https://lists.sourceforge.net/lists/listinfo/galactigov-devel > |
From: Erlend D. <E.R...@sm...> - 2006-06-22 19:08:25
|
Catherine - can you test this in firefox please? Alastair Mailer wrote: > Really? There definately was with me was night... how intruiging. FF1.5 I > assume? It may be that your ultra-fast desktop responds so quickly as to > prevent the mouse from moving overly far away from the drag item. I fear that > windows users will probably still get the drag. > > Alastair > > On Wednesday 21 June 2006 23:46, Erlend Davidson wrote: > >>> Woo! Fully draggable windows. However, the dreaded >>> selection-when-you're-dragging bug is now present and I can't find a >>> single article on how to fix it. >>> >> No problem here - works perfectly. I can drag it as quickly as humanly >> possible with the selection-bug. >> >> Erlend >> >> All the advantages of Linux Managed Hosting--Without the Cost and Risk! >> Fully trained technicians. The highest number of Red Hat certifications in >> the hosting industry. Fanatical Support. Click to learn more >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 >> _______________________________________________ >> Galactigov-devel mailing list >> Gal...@li... >> https://lists.sourceforge.net/lists/listinfo/galactigov-devel >> > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > Galactigov-devel mailing list > Gal...@li... > https://lists.sourceforge.net/lists/listinfo/galactigov-devel > |
From: Alastair M. <a.g...@sm...> - 2006-06-22 09:35:02
|
Really? There definately was with me was night... how intruiging. FF1.5 I assume? It may be that your ultra-fast desktop responds so quickly as to prevent the mouse from moving overly far away from the drag item. I fear that windows users will probably still get the drag. Alastair On Wednesday 21 June 2006 23:46, Erlend Davidson wrote: > > Woo! Fully draggable windows. However, the dreaded > > selection-when-you're-dragging bug is now present and I can't find a > > single article on how to fix it. > > No problem here - works perfectly. I can drag it as quickly as humanly > possible with the selection-bug. > > Erlend > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > Galactigov-devel mailing list > Gal...@li... > https://lists.sourceforge.net/lists/listinfo/galactigov-devel |
From: Erlend D. <E.R...@sm...> - 2006-06-21 22:47:35
|
> Woo! Fully draggable windows. However, the dreaded selection-when-you're-dragging bug is now present and I can't find a single article on how to fix it. No problem here - works perfectly. I can drag it as quickly as humanly possible with the selection-bug. Erlend |
From: Alastair M. <a.g...@sm...> - 2006-06-21 11:47:35
|
Heres a possible alternative: ADOdb (adodb.sourceforge.net, available through portage). Claims it is fast and intuitive. Also supports rather than relies on PHP5. |
From: Alastair M. <a.g...@sm...> - 2006-06-21 11:25:17
|
Well, that's a little deflating. For some reason, PEAR DB only supports MySQL <=4.1 with PHP5. Why?? Craziness. I'm looking for some other alternatives. |
From: Alastair M. <a.g...@sm...> - 2006-06-21 10:43:34
|
I propose that we move, where possible, to using existing PEAR PHP modules in our code as it will save us time and make the code clearer. This will however require the installation of appropriate PEAR modules (DB, Auth?) locally for testing. Any views on the use of PEAR in the trunk? Alastair |
From: Erlend D. <E.R...@sm...> - 2006-06-20 22:36:25
|
Mav...@ao... wrote: > I agree with what Alastair is saying, partial damage in between turns > can be just ignored. However, I do have an idea where if the component > have health 50% or above after combat then it will be fully repaired > on the next turn but if its health is greater than 0% and less than > 50% then it will start with 50% health next turn. Don't know if this > will use less resources though. Between game turns yes. What about between combats on the same turn? There is a potential unfairness as with ten combats a ship could accumulate no damaged components even though one of them was dealt 90% damage each combat. > > As for ship itself with damage resistance, I would suggest what I > said on the wiki to save some additional coding. Basically all ships > must have a special component called "Hull structure" (or something > like that) and it should absorb some percentage of damage should the > weapons penetrate the armour/shields. The percentage of damage it > receives should be small, the idea being */usually/* it's the last > thing that gets destroyed as its destruction signifies the death of > the ship. However, there should be times when the ship dies but not > all of its components are destroyed to simulate catastrophic > hull/internal structure damage. Finally its damage resistance > should also scale with the size/class/mass of the ship and the damage > it receives should be saved between turns. Actually it's easier to code if it isn't a component - that's why I remembered your idea. It's easier because ships, units and colonies are DynamicObjects, all of which should be able to receive damage, and so the $damage variable lives in DynamicObject. Erlend > > Ruofan > > > ------------------------------------------------------------------------ > > _______________________________________________ > Galactigov-devel mailing list > Gal...@li... > https://lists.sourceforge.net/lists/listinfo/galactigov-devel > |
From: <Mav...@ao...> - 2006-06-20 22:21:05
|
I agree with what Alastair is saying, partial damage in between turns can be just ignored. However, I do have an idea where if the component have health 50% or above after combat then it will be fully repaired on the next turn but if its health is greater than 0% and less than 50% then it will start with 50% health next turn. Don't know if this will use less resources though. As for ship itself with damage resistance, I would suggest what I said on the wiki to save some additional coding. Basically all ships must have a special component called "Hull structure" (or something like that) and it should absorb some percentage of damage should the weapons penetrate the armour/shields. The percentage of damage it receives should be small, the idea being usually it's the last thing that gets destroyed as its destruction signifies the death of the ship. However, there should be times when the ship dies but not all of its components are destroyed to simulate catastrophic hull/internal structure damage. Finally its damage resistance should also scale with the size/class/mass of the ship and the damage it receives should be saved between turns. Ruofan |
From: Alastair M. <a.g...@sm...> - 2006-06-20 20:49:43
|
I'm not sure the old SEIV style isn't OK - I can imagine that damage which doesn't deal terminal damage to a component would be light enough for on-ship damage control to repair. In actuality, it would be that the destruction of a component only represents it being irreparable without a major space-dock refit. I'm not sure how easy it would be to code damage even being carried forward within a turn with the current structure that seems to be emerging - in addition this could be explained by the above argument, that the damage is light enough for the component to be repaired by ship crews during the time represented by one game turn. I cannot see a practical alternative that does not involve more coding and resources than the benefit gained, but a new funky system would be interesting... :) The other question is how would making ships more fragile affect the gameplay? Would it be a more or less interesting game to play with such a feature? Alastair On Tuesday 20 June 2006 20:44, Erlend Davidson wrote: > How is ship-damage going to work? We could have a very simple > slightly-SE4ish means: > > a) all components in a ship have a damage resistance. When they are > dealt this much damage the component is destroyed. When all components > are destroyed the ship is destroyed. If a component with 40MT of damage > resistance is dealt 20KT of damage in combat, by the next game turn this > damage is forgotten. > > Simply, this means: > 1. Only components have damage-resistance > 2. Components forget the damage they have received between turns if they > are not destroyed > > Effects: > i. We have the paradoxical situation of a ship existing with zero > components during a retrofit > ii. Components not remembering their partial damage saves programming, > saves extra fields in the database and saves on processing > > I would prefer if the ship itself had a damage resistance, and once this > hits zero the ship is destroyed. This defeats the problem ( a.i above > ). It also opens up the possibility for an idea of Ruofan's - hull > damaging weapons. I'm not sure about a.2 - maybe after each game turn > it should be forgotten but during a turn (remember a turn can have > multiple combats) it should be remembered. That's only fair really. > > Erlend > > > _______________________________________________ > Galactigov-devel mailing list > Gal...@li... > https://lists.sourceforge.net/lists/listinfo/galactigov-devel |
From: Erlend D. <E.R...@sm...> - 2006-06-20 19:46:01
|
How is ship-damage going to work? We could have a very simple slightly-SE4ish means: a) all components in a ship have a damage resistance. When they are dealt this much damage the component is destroyed. When all components are destroyed the ship is destroyed. If a component with 40MT of damage resistance is dealt 20KT of damage in combat, by the next game turn this damage is forgotten. Simply, this means: 1. Only components have damage-resistance 2. Components forget the damage they have received between turns if they are not destroyed Effects: i. We have the paradoxical situation of a ship existing with zero components during a retrofit ii. Components not remembering their partial damage saves programming, saves extra fields in the database and saves on processing I would prefer if the ship itself had a damage resistance, and once this hits zero the ship is destroyed. This defeats the problem ( a.i above ). It also opens up the possibility for an idea of Ruofan's - hull damaging weapons. I'm not sure about a.2 - maybe after each game turn it should be forgotten but during a turn (remember a turn can have multiple combats) it should be remembered. That's only fair really. Erlend |
From: Alastair M. <a.g...@sm...> - 2006-06-19 17:57:29
|
Plugins for eclipse with syntax highlighting and navigation for html, javascript and css files is available with the EclipseWeb Tools Platform http://www.eclipse.org/webtools/ |
From: Alastair M. <a.g...@sm...> - 2006-06-18 14:55:26
|
To all developers at the University of Edinbrugh (and most likely other institutions too), Just realised we have a gem of a resource at our disposal in the form of O'Reilly Safari Tech Books online. The University library has access to nearly all the O'Reilly tech books (those with white covers and sketches of animals on front). If you go to www.lib.ed.ac.uk using the university proxy cache service, go to "resources" -> "books, ..." -> "electronic Books" -> "Safari Tech Books Online" theres a whole load of useful reference books. Easier than trawling the web for that little tidbit. They're also fully searchable. Alastair |
From: Erlend D. <E.R...@sm...> - 2006-06-10 12:09:18
|
After much sweat, and annoyance (like the bloomin' system renderer not working which made us think the generator algorithm was messed up) Alastair and I can announce to you a fairly well working Galaxy Factory. Here's a screenshot of an automatically randomly generated galaxy: http://sourceforge.net/project/screenshots.php?group_id=167592 Erlend |
From: Erlend D. <E.R...@sm...> - 2006-05-28 22:25:57
|
Even more relevant: http://codewalkers.com/contests/2002-05-13/ (Shortest Path through a Maze) Erlend Davidson wrote: > In fact, here are the results (with code): > ftp://ftp.codewalkers.com/corridors/ > > Erlend > > Erlend Davidson wrote: >> http://codewalkers.com/php-contest.php#current >> >> If it isn't on the corridor one look at previous contests! >> >> >> ------------------------------------------------------- >> All the advantages of Linux Managed Hosting--Without the Cost and Risk! >> Fully trained technicians. The highest number of Red Hat >> certifications in >> the hosting industry. Fanatical Support. Click to learn more >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 >> _______________________________________________ >> Galactigov-devel mailing list >> Gal...@li... >> https://lists.sourceforge.net/lists/listinfo/galactigov-devel > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > Galactigov-devel mailing list > Gal...@li... > https://lists.sourceforge.net/lists/listinfo/galactigov-devel |
From: Erlend D. <E.R...@sm...> - 2006-05-28 22:14:37
|
In fact, here are the results (with code): ftp://ftp.codewalkers.com/corridors/ Erlend Erlend Davidson wrote: > http://codewalkers.com/php-contest.php#current > > If it isn't on the corridor one look at previous contests! > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > Galactigov-devel mailing list > Gal...@li... > https://lists.sourceforge.net/lists/listinfo/galactigov-devel |
From: Erlend D. <E.R...@sm...> - 2006-05-28 22:12:06
|
http://codewalkers.com/php-contest.php#current If it isn't on the corridor one look at previous contests! |
From: Erlend D. <E.R...@sm...> - 2006-05-27 12:06:29
|
Okay I've documented the code in UML. It's not particularly helpful for this error, but hopefully it helps others read the code. Something you might like Alastair: http://www.gentoo-portage.com/dev-php/PEAR-PhpDocumentor Erlend Alastair Mailer wrote: > I've had a small go at a class diagram for the systems/system map model. I > think this arrangement will make it easier to catch some of the bugs we're > beginning to see surface. I also did it to investigate how useful Dia is, and > I've found that it is well worth a look for this sort of thing (very easy to > use). > > Attaching picture of class diagram and source dia file. > > For UML reference see http://bdn.borland.com/article/0,1410,31863,00.html > > > ------------------------------------------------------------------------ > |
From: Alastair M. <a.g...@sm...> - 2006-05-27 08:05:30
|
I've had a small go at a class diagram for the systems/system map model. I think this arrangement will make it easier to catch some of the bugs we're beginning to see surface. I also did it to investigate how useful Dia is, and I've found that it is well worth a look for this sort of thing (very easy to use). Attaching picture of class diagram and source dia file. For UML reference see http://bdn.borland.com/article/0,1410,31863,00.html |
From: Erlend D. <E.R...@sm...> - 2006-05-24 10:32:22
|
http://www.phpbuilder.com/board/showthread.php?s=fdbe52c9e825f8b10445303eaf579be1&postid=10497368 |
From: Erlend D. <E.R...@sm...> - 2006-05-21 11:03:08
|
New mailing list for task manager: gal...@li... Please subscribe by visiting: https://lists.sourceforge.net/lists/listinfo/galactigov-tasks Thanks, Erlend |
From: Alastair M. <ala...@gm...> - 2006-05-19 09:40:07
|
Just seeing what the return headers are for the mailing list so I can set up my filters correctly. |