Search Results
Search results 1-20 of 113.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
You can use geometric sum, in order to calculate build cost from 1 to 800 for example In stats, i dont know if your "new" formulas correct or wrong, but I know it can be done with geometric series sumation. example from my work, which i have done long ago. ------------------------------------------------------------- $BuildCounts = $BuildPoints = 0; $costBuilding = $pricelist[$Build]['cost'][901] + $pricelist[$Build]['cost'][902] + $pricelist[$Build]['cost'][903]; $sumGeometricSeries = BC::round…
-
The first code you provided, probably written by a person who tries to avoid resource loss issues in Steemnova. But he had wrong approach and he tried to solve the problem on MySQL level by locking tables. That code won't work for all conditions and will cause issues whenever someone try to implement it in their works. In order to avoid resource loses, Check Yaro's work ( i guess it was Newstar or XNova not sure ). He kinda solved issue with better approach ( atomic update and version controll )…
-
2moons calculate stats as follow step 1 : calculate metal required for level 1 - 2 for metal mine step 2: calculate metal required for level 2 - 3 for metal mine step 3: add found results. This makes game slower when Metal Mine level is too high, even if they are at max level 255 game going to be slower if so many people with max level of buildings. So i would recommend you change stat algorithm before trying to get high level of buildings. You must carry stat calculations inside Class.PlanetRes…
-
Quote from fossil: “Hello. When spying he looks for the shared.mission.spyReport.tpl under styles/templates/theme/2.If you put the folder 2 on all ok. Where are the paths to /2 stored. I'm trying to learn. I can't find it. ” this happens because each player created with 1,2,3 dpath instead of nova,gow,EpicBlueXIII i fixed it, update playerutil.class.php update your database check all users if they have dpath as numbers instead of text like gow or nova they will get error
-
Quote from fossil: “Hello There was a problem in the last fix. Nothing is displayed in the game under buildings anymore. No more building possible. ” added new property. update project common.php ShowBuildingsPage.class.php ShowResearchPage.class.php ShowShipyardPage.class.php page.shipyard.default.tpl page.buildings.default.tpl page.research.default.tpl formate.css if you dont use git to check, you need to redownload - reinstall
-
Quote from fossil: “Gruss. Habe die neue Version auf den Server . Installation ohne Probleme. Aussehen gefällt mir sehr gut. 3 Kleine Fehler was ich bemerkt habe. 1 overall_header.tpl fehlt. 2 Bei Forschung wird der fortschritt nicht angezeigt . 3 Wenn Forschung im obern Fenster Butten benutzt wird spring er auf bauen.Link stimmt nicht. Ich teste weiter und werde mich melden. Danke für die Tolle Arbeit ” number 2,3 are fixed. Did not understand number 1.