0.2.8 (beta 3 tagged)
- Jonathan
- A Brave Victim
- Posts: 3391
- Joined: Thu Feb 03, 2005 12:50 am
- Location: Not really lurking anymore
2+2==4 even in floating point. Things get more interesting when you run out of mantissa bits, notably with base 10 fractions. Multiplying/dividing by any power of 2 is lossless if you don't run out of range (but even single-precision floating point has 8 bits of exponent, double-precision has 11).
Thinking floating point is not precise enough is paranoid unless you need a lot of digits (which basic integers are not going to give you as well) or precision over a huge range where even double-precision is not enough (consider there's still 2^-3 precision at a million times a billion). When I coded a Robocode bot that tries to drive at a constant radius, I was surprised I was only 0 or 1, and sometimes 2 ulps away from the desired radius (by comparing sqrt((x1-x2)^2+(y1-y2)^2) to the desired radius). But it's not always 0.
Thinking floating point is not precise enough is paranoid unless you need a lot of digits (which basic integers are not going to give you as well) or precision over a huge range where even double-precision is not enough (consider there's still 2^-3 precision at a million times a billion). When I coded a Robocode bot that tries to drive at a constant radius, I was surprised I was only 0 or 1, and sometimes 2 ulps away from the desired radius (by comparing sqrt((x1-x2)^2+(y1-y2)^2) to the desired radius). But it's not always 0.
ˌɑrməˈɡɛˌtrɑn
- philippeqc
- Long Poster - Project Developer - Sage
- Posts: 1526
- Joined: Mon Jul 12, 2004 8:55 am
- Location: Stockholm
- Contact:
The "category" component of the file location has been put as a madatory field for the xml file.
Making it mandatory all us to rely on it to verify that a file is properly located (a validation to be installed on the resource repository I beleive, but that is another topic). Also, mandatory field have the tendency of glowing like red embers when forgotten, so map designers will at least read this part of the documentation.
On the down side, someone (*cough* luke *cough*) need to go and update all the current maps in the resource repository. As the maps arent in there yet, it can be considered as part of the task.
Tell me if thats any problems with you.
-ph
Nota: I've updated in a dirty way all the maps in CVS so testing will not be affected by this change.
To Luke: No I'm not updating the version of the dtd. We are still defining version 0.1. I know you'd be justified to object to this, but it will ensure the maps without category dissapear, and eliminate the map-0.1.dtd vs map-0.1.1.dtd.
Making it mandatory all us to rely on it to verify that a file is properly located (a validation to be installed on the resource repository I beleive, but that is another topic). Also, mandatory field have the tendency of glowing like red embers when forgotten, so map designers will at least read this part of the documentation.
On the down side, someone (*cough* luke *cough*) need to go and update all the current maps in the resource repository. As the maps arent in there yet, it can be considered as part of the task.
Tell me if thats any problems with you.
-ph
Nota: I've updated in a dirty way all the maps in CVS so testing will not be affected by this change.
To Luke: No I'm not updating the version of the dtd. We are still defining version 0.1. I know you'd be justified to object to this, but it will ensure the maps without category dissapear, and eliminate the map-0.1.dtd vs map-0.1.1.dtd.
Canis meus id comedit.
Sometimes, unpredictably, when I start in fullscreen, I'll switch to windowed mode, and then when I go back to full screen I lose big-time fps. Seems like I'm probably losing hardware acceleration. 
Mandriva 10.whatever blahdyblah blah
(You know, LInux with nvidia driver)
Mandriva 10.whatever blahdyblah blah
(You know, LInux with nvidia driver)
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
Philippeqc, you should note in the documentation what characters you are able to use in naming a resource (map, texture, etc) Here is the spec for non-reserved and legal characters in URIs.From HowTo-Maps.txt wrote:AngelOffMercy[AOM]-Clan/trainingMap-6.xml
- philippeqc
- Long Poster - Project Developer - Sage
- Posts: 1526
- Joined: Mon Jul 12, 2004 8:55 am
- Location: Stockholm
- Contact:
Technically speaking, a map is loaded at the begining of every round (or match, I alwasys confuse both. the shorter one). Instead, I've restricted those message to debug more. Also, on the game console you will get a notification that a file was download. This happen only the first time a new resource is used. It is then saved in your local resource directory. You can try this with the castle map (*plug*) by usingnemostultae wrote:Would it be possible to hide subsequentafter the first time a map is loaded?Code: Select all
xml wants map-0.1.dtd loading original/map-1.0.1.xml
Code: Select all
MAP_FILE philippeqc/examples/CastleCrenalation-1.0.aamap.xmlCode: Select all
MAP_FILE philippeqc/examples/CastleCrenalation-1.0.aamap.xml(http://resource.armagetronad.net/philippeqc/examples/CastleCrenalation-1.0.aamap.xml)Code: Select all
Resource not found in cache
downloading http://resource.armagetronad.net/philippeqc/examples/CastleCrenalation-1.0.1.aamap.xml...
OKCode: Select all
loading philippeqc/examples/CastleCrenalation-1.0.1.aamap.xml(http://resource.armagetronad.net/philippeqc/examples/CastleCrenalation-1.0.1.aamap.xml)
Resource not found in cache
downloading http://resource.armagetronad.net/philippeqc/examples/CastleCrenalation-1.0.1.aamap.xml...
OK
-ph
Nota: you need a version that is post 7 august 2005 14:00 GMT for this to work.
Canis meus id comedit.
-
Luke-Jr
- Dr Z Level
- Posts: 2246
- Joined: Sun Mar 20, 2005 4:03 pm
- Location: IM: luke@dashjr.org
WARNING: The URI specified here is NOT guaranteed to work. It lacks the /resource/ pathphilippeqc wrote:Code: Select all
MAP_FILE philippeqc/examples/CastleCrenalation-1.0.aamap.xml(http://resource.armagetronad.net/philippeqc/examples/CastleCrenalation-1.0.aamap.xml)
http://resource.armagetronad.net/resour ... .aamap.xml
None of which are on beta.aa.n yetphilippeqc wrote:Nota: you need a version that is post 7 august 2005 14:00 GMT for this to work.
- philippeqc
- Long Poster - Project Developer - Sage
- Posts: 1526
- Joined: Mon Jul 12, 2004 8:55 am
- Location: Stockholm
- Contact:
1. you do not need specify the URI part if you rely on the res repoLuke-Jr wrote:WARNING: The URI specified here is NOT guaranteed to work. It lacks the /resource/ pathphilippeqc wrote:Code: Select all
MAP_FILE philippeqc/examples/CastleCrenalation-1.0.aamap.xml(http://resource.armagetronad.net/philippeqc/examples/CastleCrenalation-1.0.aamap.xml)
http://resource.armagetronad.net/resour ... .aamap.xml
2. if you have a resource on another web server, set the URI to point to it. The location and file name of the file on the web server can differ than the location and the file name to be used to save on the local disc. so MAP_FILE philippeqc/blue/red.aamap.xml(http://www.color.com/green/purple/orange/yellow.xml) is valid
3. This was supposed to be a quick demo how the info get presented during play. The url are only test url, as I'm abusing other portion of the server for my testing purpose. I'm sorry for the confusion this has led.
-ph
Canis meus id comedit.
-
Luke-Jr
- Dr Z Level
- Posts: 2246
- Joined: Sun Mar 20, 2005 4:03 pm
- Location: IM: luke@dashjr.org
Indeed. In fact, in normal usage, everyone should use the repo. But if you do specify a URI, it should be validphilippeqc wrote:1. you do not need specify the URI part if you rely on the res repoLuke-Jr wrote:WARNING: The URI specified here is NOT guaranteed to work. It lacks the /resource/ pathphilippeqc wrote:Code: Select all
MAP_FILE philippeqc/examples/CastleCrenalation-1.0.aamap.xml(http://resource.armagetronad.net/philippeqc/examples/CastleCrenalation-1.0.aamap.xml)
http://resource.armagetronad.net/resour ... .aamap.xml
Yep, but if that URI doesn't exist, there'll be problems.philippeqc wrote:2. if you have a resource on another web server, set the URI to point to it. The location and file name of the file on the web server can differ than the location and the file name to be used to save on the local disc. so MAP_FILE philippeqc/blue/red.aamap.xml(http://www.color.com/green/purple/orange/yellow.xml) is valid
Was there confusion? I was just sticking a big warning notice on a not-guaranteed-to-work URI =pphilippeqc wrote:3. This was supposed to be a quick demo how the info get presented during play. The url are only test url, as I'm abusing other portion of the server for my testing purpose. I'm sorry for the confusion this has led.
- philippeqc
- Long Poster - Project Developer - Sage
- Posts: 1526
- Joined: Mon Jul 12, 2004 8:55 am
- Location: Stockholm
- Contact:
I'm curious, I'd like to have a quick estimation how much time everybody need to finish all that is assigned to them for Arthemis. Just say when you are planning to deliver such items.
I'm counting 2 weeks for the stretched textures problem, and one week to update the map and ressource documentation. So for me, I'd say about 3 weeks.
I'm well aware that this will depend greatly on new problems emerging, but I'd like to have an idea what is everybody thinking.
Should you find others' estimates too long for your taste, maybe this will give you the opportunity to offer to give a hand.
-ph
I'm counting 2 weeks for the stretched textures problem, and one week to update the map and ressource documentation. So for me, I'd say about 3 weeks.
I'm well aware that this will depend greatly on new problems emerging, but I'd like to have an idea what is everybody thinking.
Should you find others' estimates too long for your taste, maybe this will give you the opportunity to offer to give a hand.
-ph
Canis meus id comedit.
I think z-man did my one task for Artemis, everything else I"m doing for artemis is "optional" (Mandriva packages, and maybe an autopackage).
Different subject, z-man, build problems again.
While building the dedicated server for a Mandriva package:
The automake stuff has grown significantly since I last worked on it, so I'm a tad confused going into it. The path to the script directory listed exists, I checked that, and the sysinstall script is there. I'm not entirely sure what it's doing at this point, so I'm not even sure where to look.
This update was a few days after the last update, which successfully built the dedicated server, and was the day before yesterday or so, so unless you've committed new changes to the makefiles, this is probably something that's been waiting to be discovered. I'll rebuild the server the hard way (I'm just wanting to play with new settings, and my test server hit that infinite loop bug, I think, I could be wrong though) and see how it goes.
Different subject, z-man, build problems again.
Code: Select all
No tasks for the master server
bash //home/dave/rpm/tmp/armagetronad-dedicated-0.2.8.0-0.5.beta20050809.1mdk-buildroot/usr/share/games/armagetronad-dedicated/scripts/sysinstall install /home/dave/rpm/tmp/armagetronad-dedicated-0.2.8.0-0.5.beta20050809.1mdk-buildroot/usr
Script directory not found.
This update was a few days after the last update, which successfully built the dedicated server, and was the day before yesterday or so, so unless you've committed new changes to the makefiles, this is probably something that's been waiting to be discovered. I'll rebuild the server the hard way (I'm just wanting to play with new settings, and my test server hit that infinite loop bug, I think, I could be wrong though) and see how it goes.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
Strange, the regular RPM builds work just fine, and I do "make cvscheck distcheck" often enough (usually before every commit). Could you post the build commands mandriva issues (configure and make)?
Or, could you uncomment the "set -x" at the top of scripts/sysinstall.sh so we can see what it's trying to do?
Come to think of it, the sysinstall script should not be called at all during package building. It's supposed to be called after installation; only then, it can create the user that runs the server on the right machine.
Random note: you can speed up build testing by defining ARMAGETRONAD_FAKERELASE=true in the shell.
Or, could you uncomment the "set -x" at the top of scripts/sysinstall.sh so we can see what it's trying to do?
Come to think of it, the sysinstall script should not be called at all during package building. It's supposed to be called after installation; only then, it can create the user that runs the server on the right machine.
Random note: you can speed up build testing by defining ARMAGETRONAD_FAKERELASE=true in the shell.
- philippeqc
- Long Poster - Project Developer - Sage
- Posts: 1526
- Joined: Mon Jul 12, 2004 8:55 am
- Location: Stockholm
- Contact:
That was for Bacchus, wasn't it?philippeqc wrote:Lucifer: I remember you talked about 2 sound tracks for AA during the summer. Curious what you intend to do.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
Ok, committed a changed settings_dedicated.cfg.
It now includes server_info.cfg and settings_custom.cfg. Neither of those files exist, the user must create them to use them. The purpose is to allow settings_dedicated.cfg to be upgraded without affecting the server-specific settings.
Also, admins can exchange settings_custom.cfg easily, because server_info.cfg is where they should be putting stuff that's only for their server. So if someone wants Breakfast in Hell's settings, I can just shoot them over my settings_custom.cfg and they can drop it into place and go with it.
Politics should also go in server_info.cfg.
How easy would it be to add another commandline argument to have the game (specifically the server) load a config file after it's loaded all the others? For example:
armagetronad-dedicated --extraconfig /home/dave/settings_for_lucifer.cfg
That would make it relatively easy to add multiple server support to the serverstarter script.
It now includes server_info.cfg and settings_custom.cfg. Neither of those files exist, the user must create them to use them. The purpose is to allow settings_dedicated.cfg to be upgraded without affecting the server-specific settings.
Also, admins can exchange settings_custom.cfg easily, because server_info.cfg is where they should be putting stuff that's only for their server. So if someone wants Breakfast in Hell's settings, I can just shoot them over my settings_custom.cfg and they can drop it into place and go with it.
Politics should also go in server_info.cfg.
How easy would it be to add another commandline argument to have the game (specifically the server) load a config file after it's loaded all the others? For example:
armagetronad-dedicated --extraconfig /home/dave/settings_for_lucifer.cfg
That would make it relatively easy to add multiple server support to the serverstarter script.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden