Home » Stars! Clones, Extensions, Modding » FreeStars » Need web hosting for Race Wizard
Need web hosting for Race Wizard |
Wed, 25 October 2006 09:21 |
|
|
Hi guys,
Until I get the issues with my website sorted, can anyone provide me with reliable space to upload my Flash version of the Race Wizard? It will be fully functional by end of tonight, most likely, possibly end of tomorrow if I get sidetracked. Not the prettiest thing around, but functional.
I'm hoping to get it uploaded and available so that people can test their races on it and report discrepencies. So far the algorithm has spit out the right numbers for everything I've thrown at it.
Thanks,
- Andrew
The Dopelar Effect:
The tendancy for stupid ideas to seem more intelliegent when they come at you rapidly.Report message to a moderator
|
|
|
Re: Need web hosting for Race Wizard |
Wed, 25 October 2006 23:10 |
|
|
If you email it to me with the html files that go with it ,I can put it up me@me.net (substitute where obvious)
[Updated on: Wed, 25 October 2006 23:10] Report message to a moderator
|
|
|
Re: Need web hosting for Race Wizard |
Thu, 26 October 2006 00:55 |
|
|
Thanks gible. I'll send it tomorrow night. Still have to get the hab settings dialog to work right. Everything else is good to go, though it's a bit slow right now. Need to optimize the algorithm better for Flash.
The Dopelar Effect:
The tendancy for stupid ideas to seem more intelliegent when they come at you rapidly.Report message to a moderator
|
|
|
Re: Need web hosting for Race Wizard |
Fri, 27 October 2006 08:21 |
|
|
E-mailed.
For some reason the calculations take a lot longer if it needs to consider all 3 hab categories. If you set one immune, however, everything speeds up considerably.
Until I optimize the algorithm for Flash, I'd suggest doing that temporarily (if your race doesn't have an immunity that is) while entering all of the other data.
Please report any bugs you encounter, or inconsistencies between the real RW and mine.
I will be adding the ability to import a Stars! race file eventually, but I need my own site and PHP capability for that.
Edit:
Spiffy! Gible has already uploaded it. Try it out here:
http://www.gible.net/WebStars/WebStars%20-%20RW.html
Thanks,
- Andrew
[Updated on: Fri, 27 October 2006 08:48]
The Dopelar Effect:
The tendancy for stupid ideas to seem more intelliegent when they come at you rapidly.Report message to a moderator
|
|
| |
Re: Need web hosting for Race Wizard |
Fri, 27 October 2006 15:19 |
|
|
No, I'm pretty sure I can squeeze 4000 out of it, the direct port of the code is just not very fast. All of those [] bit access operators have become array access operators, and array access is not incredibly fast in Flash.
Also, it's only necessary to recalculate the hab when the hab values change.
In fact it should only be necessary to recalculate the specific hab trait which is changed each time.
We'll see how it works out, though.
The Dopelar Effect:
The tendancy for stupid ideas to seem more intelliegent when they come at you rapidly.Report message to a moderator
|
|
|
Re: Need web hosting for Race Wizard |
Fri, 27 October 2006 20:55 |
|
|
ninja_squirrel wrote on Sat, 28 October 2006 01:21 |
I will be adding the ability to import a Stars! race file eventually, but I need my own site and PHP capability for that.
|
fyi my friends server has both php & sql installed...I'm using it to run a stars wiki, which is waiting for the data to be inserted into the database from the old host.
Report message to a moderator
|
|
| | |
Re: Need web hosting for Race Wizard |
Fri, 03 November 2006 16:48 |
|
|
given that the spread of planets within each hab type is known, it shouldn't be neccesary to perform a statistical simulation just to calculate the proportion of habitable planets.
..off to look up hab spreads..
Edit:
Given that:
grav and temp taper off linearly 10 clicks for each end and are flat in between
rad is completely flat
Assuming grav & temp are modelled by the spread: 0,1,2,3,4,5,6,7,8,9,10,10,10,....,10,10,10,9,8,7,6,5,4,3,2,1 ,0 (borrowed from Craebild's Hab calc page)
and using click values 0-100
The habitable portion of grav & temp should be:
gravP=[ (hi-lo+1)*10 - if{ lo<10 , (10-lo)*(10-lo+1)/2 , 0 } - if{ hi>90 , (hi-90)*(hi-90+1)/2 , 0 } ]/900
The habitable portion of rad is:
radP=(hi-lo+1)*9/900 (or =(hi-lo+1)/100 )
And the overall portion of habs is habP=gravP*tempP*radP
or 1 in 1/habP
unfortunately this is based on the asusmtions of the hab distributions and doesn't exactly match those reported by the race wizard(which are known to be inaccurate anyway)
[Updated on: Fri, 03 November 2006 19:52] Report message to a moderator
|
|
|
Re: Need web hosting for Race Wizard |
Sat, 04 November 2006 02:11 |
|
|
Yeah...iterating through 4000 planets seems to be a really innefficient solution to me. There must be a way to simplify the calculation. I'll give it a look over some time soon.
The Dopelar Effect:
The tendancy for stupid ideas to seem more intelliegent when they come at you rapidly.Report message to a moderator
|
|
|
Re: Need web hosting for Race Wizard |
Tue, 07 November 2006 04:36 |
|
m.a@stars | | Commander | Messages: 2765
Registered: October 2004 Location: Third star to the left | |
|
gible wrote on Fri, 03 November 2006 22:48 | given that the spread of planets within each hab type is known, it shouldn't be neccesary to perform a statistical simulation just to calculate the proportion of habitable planets.
|
Unless you want more than just guess overall performance and average hab draw, perhaps.
For instance, our hab tool's intent was more in the line of showing exactly how bad, or how good, or how random would the hab draw be for a given race design. Get maximum and minimum envelopes, as well as giving some idea of what a successful testbed with the given race would look like, even if faced with other-than-average conditions.
True, it will never be perfect as long as we're using a different planet generator than Stars! own, but that's precisely what the RW is using, ain't it? So perhaps there's a reason why it does things the way it does.
Yep, that's the "old" version of our tool, indeed.
[Updated on: Tue, 07 November 2006 04:44]
So many Stars, so few Missiles!
In space no one can hear you scheme! Report message to a moderator
|
|
|
Re: Need web hosting for Race Wizard |
Wed, 08 November 2006 23:05 |
|
|
Yeah I can't figure out another way to do it without the rounding rules changing the results.
I was considering caching the results for each hab category after each generation, so that you would only have to calculate the one that was changed each time.
The Dopelar Effect:
The tendancy for stupid ideas to seem more intelliegent when they come at you rapidly.Report message to a moderator
|
|
| | |
Re: Need web hosting for Race Wizard |
Sun, 12 November 2006 05:56 |
|
m.a@stars | | Commander | Messages: 2765
Registered: October 2004 Location: Third star to the left | |
|
gible wrote on Sun, 12 November 2006 09:20 |
m.a@stars wrote on Tue, 07 November 2006 22:36 | Yep, that's the "old" version of our tool, indeed.
|
Where's the new version?
|
Sleeping at my hard disk waiting until I fully debug / speedup it, I'm afraid.
Main changes with regard to the "old" one would be several minor optimizations and the RW code.
Now that I think of it, it should be changed to use the "real" planetValue formulas, too.
[Updated on: Sun, 12 November 2006 06:00]
So many Stars, so few Missiles!
In space no one can hear you scheme! Report message to a moderator
|
|
|
Re: Need web hosting for Race Wizard |
Mon, 13 November 2006 06:21 |
|
|
Micha wrote on Thu, 02 November 2006 14:22 | Regarding the flash movie (in order of RW page):
No "1 in x" habitable? Or is that left out because of the slowing down problem? No values either ...
Why not let people drag the hab sliders?
When the band is pushed to the edge you can't expand it without first moving it a bit away from the edge.
I can't seem to find pop growth ...
mch
|
Same here.
First 5 minutes I thought that the race wizard wouldn't work or I had a compatibility problem with Opera... until I realized that the wizard was THAT slow. It helped setting all habs to immune (as mentioned above) but without this trick the wizard is barely usable just alone due to to speed issues. Who wants to drink a cup of coffee after every single click?
Can't say much about wether it actually works since there are no values shown in the hab area.
[Updated on: Mon, 13 November 2006 06:22] Report message to a moderator
|
|
|
Re: Need web hosting for Race Wizard |
Tue, 14 November 2006 23:53 |
|
|
Looks like I missed the pop growth control. I'll add it before I send an updated version. Silly oversight on my part, I knew I'd miss something. Is the "1 in x" calculated by the hab calculator, or is there a seperate algorithm for that?
As for the hab slider issue, yes, the UI isn't perfect right now. I'm mostly concerned with accuracy at the moment. All of what's there is temporary UI, anyway, until I can put a proper one together using Flash 9.
Some of the speed issues should vanish once I do everything over in Flash 9. The new virtual machine is much faster. The version I have locally also doesn't recalculate the hab points unless something that affects them is changed.
I'm kind of swamped with work right now, but I'll try to release a new version by the end of the week.
The Dopelar Effect:
The tendancy for stupid ideas to seem more intelliegent when they come at you rapidly.Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat May 04 00:58:29 EDT 2024
|