- *Remake it in VB (less problems, since people are chronically unable to install propper Java versions).
*Remake it in PhP and put it in a ri... I mean on a website.
[Software] SGE Colony Managment Calculator V1.0
Moderators: Moleman, Kwijibo, Luna, Major
I feel you, but there are 2 problems:MadAce wrote:Suggestions:
- *Remake it in VB (less problems, since people are chronically unable to install propper Java versions).
*Remake it in PhP and put it in a ri... I mean on a website.
- I have no idea how to program in VB, I don't have a compiler and I don't think that even if I could program in VB and had a compiler I could transfer from Java to VB that easily.
- I don't know any php either (I do know that it's a pretty easy language to manage databases (don't shoot me if I'm wrong)) and I do know how to make data base queries but there's another problem, I don't have a webserver.
HOWEVER if someone that does know VB and php is willing to program it in VB, I will send them my source code and they can use that to try and program it in VB.
But for now I'll stick with Java, sorry eh, besides is it that hard to download one file from the internet and install it?
Tomorrow or the day after that I will launch a version which can calculate pollution on all type of planets with all kind of settings, I'm still thinking over what I'm gonna add next but I'll be working at "De Post" the next month so I don't think that I will program and research a lot the following 4-5 weeks.
Nightmare
Nightmare wrote:But for now I'll stick with Java, sorry eh, besides is it that hard to download one file from the internet and install it?
Shows you have had little experience with programming for people.
I'm a reasonable amateur in VB. And I'm fairly sure I could cook up a VB version of your little program. Could take a while due to having very little spare time or access to computers and internet.
The only thing I basically need are the formulas. (tho the code would be nice for reference)
And isn't there a compiler included in the VB.net thingy? If not, I'll get me one.
Same for PhP. I know nothing about the language, but how hard could it be?
I only know it from simple web forms, which is basically what your program is.
Webserver: Wouldn't have to be a huge webserver, considering it's "only" a web form with an ego.
Since I suck (correction SUCK) at everything SQL related It'll have to remain with that little form I'm afraid.
SQL was one of my major courses this year, I'm pretty good at it as long as you don't need correlated subqueries.
And yes I am a total newb, but I only do this for the fun of it and originally I wasn't going to put it here on the forums so be glad I did anyway.
And yes I know php is pretty easy, I'm just to hugging lazy to start learning it on my own from scratch, it's freaking vacation
If you want the source code I'll mail it to you, I added comments (for myself in English) taht you might find useful, I'm sure some of it can be done a lot easier but I'm far from pro atm so I don't really care.
Just ask we what version you want and I will give it to you, my program is far from done though so I don't really know how useful it's gonna be to give you the current source code.
Nightmare
And yes I am a total newb, but I only do this for the fun of it and originally I wasn't going to put it here on the forums so be glad I did anyway.
And yes I know php is pretty easy, I'm just to hugging lazy to start learning it on my own from scratch, it's freaking vacation
If you want the source code I'll mail it to you, I added comments (for myself in English) taht you might find useful, I'm sure some of it can be done a lot easier but I'm far from pro atm so I don't really care.
Just ask we what version you want and I will give it to you, my program is far from done though so I don't really know how useful it's gonna be to give you the current source code.
Nightmare
I'm overjoyed you put it on the forums, you lazy hug.
I'd like 3 things:
-Source code of the latest version
-List of variables
-List of formulas
(the two latter since I don't know java and don't want to depend 100% on others to translate it)
Expect a finished version somewhere around the launch date of Duke Nukem Forever.
I'd like 3 things:
-Source code of the latest version
-List of variables
-List of formulas
(the two latter since I don't know java and don't want to depend 100% on others to translate it)
Expect a finished version somewhere around the launch date of Duke Nukem Forever.
Pmed you the source code.
Putfile is having maintance atm so I'm gonna have to wait a while to upload, use the uploaded version for beta testing Rojo, should some things be calculated wrong I can still adjust. Take your time testing and try to write down somewhere accurately what went wrong and what the settings were with things went wrong.
Don't pay attention to 0.01 faults though cuz those will always stay I'm afraid. Starting from 0.02 off the real pollution is what I consider incorrect.
EDIT: I uploaded to rapidshare: http://rapidshare.com/files/46915772/Co ... orV112.jar
Nightmare
Putfile is having maintance atm so I'm gonna have to wait a while to upload, use the uploaded version for beta testing Rojo, should some things be calculated wrong I can still adjust. Take your time testing and try to write down somewhere accurately what went wrong and what the settings were with things went wrong.
Don't pay attention to 0.01 faults though cuz those will always stay I'm afraid. Starting from 0.02 off the real pollution is what I consider incorrect.
EDIT: I uploaded to rapidshare: http://rapidshare.com/files/46915772/Co ... orV112.jar
Nightmare
- Talak.Winstar
- Posts: 2392
- Joined: Wed Apr 25, 2007 12:29 pm
- Location: In Space, contemplating how exactly to negate the crappy events of OMD and BND story arcs.
That would be nice.JD wrote:I can build a VB version. I am really good with it. Or i can build php version. Plus i can also host the file.
I'm trying to disect the java thingy so I can make a VB version. Progress is really slow. I'd get there, eventually, of course.
Ask Nightmare for the source code.
- Talak.Winstar
- Posts: 2392
- Joined: Wed Apr 25, 2007 12:29 pm
- Location: In Space, contemplating how exactly to negate the crappy events of OMD and BND story arcs.
- Talak.Winstar
- Posts: 2392
- Joined: Wed Apr 25, 2007 12:29 pm
- Location: In Space, contemplating how exactly to negate the crappy events of OMD and BND story arcs.
Nightmare wrote:Talak.Winstar wrote:May I also suggest a weapons calculator for various colonial settings if its not been implemented already?NightmareNightmare wrote:Future updates will include:
...
- Weapons production calculation.
...
I know this is suppost to be a thing devoted to colonies. But Nightmare, Einz, begin scripting of a calculator that determines how quickly artifacts will decay now, as kit's decaying artifacts ARE being implemented soon... Hoping toonces add's super bad donkey combos and the ability to carry more than 3 artifacts because if not, we're screwed! D:
i've done a few rough calculations regaurding bursts per minute of the solar and the number of people on military setting. it tends to come out near 1 burst per minute for every 25 colonists on military setting. don't know if i took everything into account and i only made observations of volcs if that makes a difference.
nice program and if you don't mind i'd like to include it in my website. i don't have much experience with includign java programs in my websites but i'm sure i could figure it out with frontpage and a little research on the subject.
a few improvements that would be nice are:
- make the sliders so that the sum of their %'s is always = 100%. this would help otherwise you have to do all the adding in your head.
- allow user to choose between the two stages of democracy. it's best after a few days
- also a neat feature would be to see how much of each resource a colony will produce with the given settings. (i think this was already suggested)
- and finally when it is fully developed i hope it will be able to run a simulation of your colony so you can see how your colony does over time
nice program and if you don't mind i'd like to include it in my website. i don't have much experience with includign java programs in my websites but i'm sure i could figure it out with frontpage and a little research on the subject.
a few improvements that would be nice are:
- make the sliders so that the sum of their %'s is always = 100%. this would help otherwise you have to do all the adding in your head.
- allow user to choose between the two stages of democracy. it's best after a few days
- also a neat feature would be to see how much of each resource a colony will produce with the given settings. (i think this was already suggested)
- and finally when it is fully developed i hope it will be able to run a simulation of your colony so you can see how your colony does over time
Ahh intresting, I will investigate briefly if it's different on different types of planets but I don't think there is any influence other than military % and military tradition research.milo wrote:i've done a few rough calculations regaurding bursts per minute of the solar and the number of people on military setting. it tends to come out near 1 burst per minute for every 25 colonists on military setting. don't know if i took everything into account and i only made observations of volcs if that makes a difference.
Sure go ahead, it has credits attatched to it anyway so I'm cool as fas as that is concerned, I don't know how to imbed/include Java programs in websites neither but if you're really stuck I'll do some own research (best pm me if you do).milo wrote:nice program and if you don't mind i'd like to include it in my website. i don't have much experience with includign java programs in my websites but i'm sure i could figure it out with frontpage and a little research on the subject.
I've thought about that, this is actually a lot harder than I thought it would be but I might be abel to fix it, however, seeing as non of the sliders do anything yet, I haven't gone through the trouble yetmilo wrote: a few improvements that would be nice are:
- make the sliders so that the sum of their %'s is always = 100%. this would help otherwise you have to do all the adding in your head.
I have no idea what the moral difference between a normal democracy and a "stage 2" democracy is, if you or anyone DOES know and mails me the difference between stage 2 and stage 1 moral or just the moral of stage2 I can work it out.milo wrote: - allow user to choose between the two stages of democracy. it's best after a few days
Also something I considered, but this would require a BBQ load of in-game research to implement, I'd have to take into account all those 2x harvesting researches with each 5 levels..., again, if someone has researched it, programming that isn't a problem, getting the right numbers is.milo wrote: - also a neat feature would be to see how much of each resource a colony will produce with the given settings. (i think this was already suggested)
It allready does on my version , I have a "go x days in time button" which calculates pollution and experience, again, production of weapons, construction time, harvesting and , hell, even research I could all program in and make accurate predictions about. But again I lack the research material (and the will to do the research myself).milo wrote: - and finally when it is fully developed i hope it will be able to run a simulation of your colony so you can see how your colony does over time
Thx for the post, it was really constructive, all research material is welcome!
Nightmare
Stage one is a +0.9 to the first morale subtotal, the second stage is +1.8 (which I gave you). I'm not sure when it changes, I think after about a week.Nightmare wrote:I have no idea what the moral difference between a normal democracy and a "stage 2" democracy is, if you or anyone DOES know and mails me the difference between stage 2 and stage 1 moral or just the moral of stage2 I can work it out.
I intend to get that harvesting rates stuff at some point, but I'm waiting for the colony system to change to something more... playable.
i'm pretty sure it is no longer than 3 days before it switches over. and nightmare just mail me what you want me to investigate and i'll do it. i got plenty of time and am pretty bored with the game right now.Stage one is a +0.9 to the first morale subtotal, the second stage is +1.8 (which I gave you). I'm not sure when it changes, I think after about a week.
Excellent thx for the additional info Turkey
Research material that is more than welcome:
- Construction speed, and what things influences construction speed and how much they do.
- Harvesting rates, and their influences
- Weapon production, and its influences
Research is impossible to deceipher because I'm pretty sure a Random generator based on system times is used for that.
If you can think of anything else I missed and that could be calculated somehow feel free to do stuff.
About you doing research, there are a couple of important pointers:
- Make sure you research a couple of similar colonies so you're results are accurate enough.
- Make sure that you're only having one influence at a time so you're numbers don't screw up. (e.g.: A volcan colony with spice mining researched has a different harvesting rate than one without it.)
I know that sounds very logical but be you have to look out well, I for example forgot to note if the earths I researched when doing pollution had churches of earth or not and I had to redo the whole thing.
- All variables I've been using so far are /colonist. This means that if you for instance see that 5 5k pop semi-equil deserts harvest 500 spice/h, the spice harvesting variable would be 0.1/h(/colonist).
- Once you've obtained all factors, do some test runs yourself, pick a random colony on a server and add up your variables and see if your calculations add up.
Just pm or mail me if you find out anything, thx in advance.
Nightmare
Research material that is more than welcome:
- Construction speed, and what things influences construction speed and how much they do.
- Harvesting rates, and their influences
- Weapon production, and its influences
Research is impossible to deceipher because I'm pretty sure a Random generator based on system times is used for that.
If you can think of anything else I missed and that could be calculated somehow feel free to do stuff.
About you doing research, there are a couple of important pointers:
- Make sure you research a couple of similar colonies so you're results are accurate enough.
- Make sure that you're only having one influence at a time so you're numbers don't screw up. (e.g.: A volcan colony with spice mining researched has a different harvesting rate than one without it.)
I know that sounds very logical but be you have to look out well, I for example forgot to note if the earths I researched when doing pollution had churches of earth or not and I had to redo the whole thing.
- All variables I've been using so far are /colonist. This means that if you for instance see that 5 5k pop semi-equil deserts harvest 500 spice/h, the spice harvesting variable would be 0.1/h(/colonist).
- Once you've obtained all factors, do some test runs yourself, pick a random colony on a server and add up your variables and see if your calculations add up.
Just pm or mail me if you find out anything, thx in advance.
Nightmare
I tried this a while back when the first calculator came out... I did only use one variable... I had been working on it all day and i believe i came close to figuring out the formula but my corp called me to go invade someone and then after looking at my data a few days later (i dont keep good notes) i couldnt figure out what the hell i was doing and nothing made sense... ahh.. i just realized i didnt take into account the benefits from the different researches ... oh well im not doing it again that was pretty time consuming... we should just ask tooncesNightmare wrote:Excellent thx for the additional info Turkey
Research material that is more than welcome:
- Construction speed, and what things influences construction speed and how much they do.
- Harvesting rates, and their influences
- Weapon production, and its influences
Research is impossible to deceipher because I'm pretty sure a Random generator based on system times is used for that.
If you can think of anything else I missed and that could be calculated somehow feel free to do stuff.
About you doing research, there are a couple of important pointers:
- Make sure you research a couple of similar colonies so you're results are accurate enough.
- Make sure that you're only having one influence at a time so you're numbers don't screw up. (e.g.: A volcan colony with spice mining researched has a different harvesting rate than one without it.)
I know that sounds very logical but be you have to look out well, I for example forgot to note if the earths I researched when doing pollution had churches of earth or not and I had to redo the whole thing.
- All variables I've been using so far are /colonist. This means that if you for instance see that 5 5k pop semi-equil deserts harvest 500 spice/h, the spice harvesting variable would be 0.1/h(/colonist).
- Once you've obtained all factors, do some test runs yourself, pick a random colony on a server and add up your variables and see if your calculations add up.
Just pm or mail me if you find out anything, thx in advance.
Nightmare
lol, so last night i worked on making a microsoft excell sheet to crunch the raw data(resource and weapon data that is) into useful rates. i can e-mail it to anyone else interested in gathering data. just pm my your e-mail address.
i am using it and it helps out quite a bit. just don't mess with the forumlas.
i am using it and it helps out quite a bit. just don't mess with the forumlas.
Send me the data once you have perfected it it, excellent work
I "might" make a .NET version since that seems to be a more convenioned programming enviroment, but then people would have to download the .NET framework (which isn't very userfriendly).
But since I'm still pretty new to the whole .NET enviroment I might be overlooking some possibilities that .NET has.
We will see I guess, most of the work I've done so far went to the GUI, and since I have a really "friendly" .NET compiler I might be able to make a .NET version out of the Java version pretty easily.
It's good to see some people wanting to help me with research, their efforts make me want to put more work in this.
BTW, I (re)programmed the stage 1 and 2 democracies in, I'll update the program version once I have had some time to clean up the GUI. (My version is somewhat disordered atm) This will most likely take place this week-end.
Nightmare
I "might" make a .NET version since that seems to be a more convenioned programming enviroment, but then people would have to download the .NET framework (which isn't very userfriendly).
But since I'm still pretty new to the whole .NET enviroment I might be overlooking some possibilities that .NET has.
We will see I guess, most of the work I've done so far went to the GUI, and since I have a really "friendly" .NET compiler I might be able to make a .NET version out of the Java version pretty easily.
It's good to see some people wanting to help me with research, their efforts make me want to put more work in this.
BTW, I (re)programmed the stage 1 and 2 democracies in, I'll update the program version once I have had some time to clean up the GUI. (My version is somewhat disordered atm) This will most likely take place this week-end.
Nightmare