Search Results
Search results 1-20 of 30.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Quote from Danter14: “Low you just need to add 10% in the formula for its calculation ” Thats not how it works... github.com/jkroepke/2Moons/blo…ns/calculateSteal.php#L60 You either do / 100 * 40 or simply / 2.5 but you cannot just add 10% into that formula as its divided by 2 in standard code.
-
I suspect a formate error cause by that printMessage string content rather than receiving null.
-
Forschung abrechen
PostQuote from Linkin: “Quote from sven: “Hallo wen ich eine Forschung abreche kommt dieser fehler Wer kann helfen... NOTICE Message: Undefined offset: 108 File: /includes/pages/game/ShowResearchPage.class.php Line: 61 URL: http:///game.php?page=research PHP-Version: 7.3.33 PHP-API: apache2handler 2Moons Version: 2.0.git Debug Backtrace: #0 /includes/pages/game/ShowResearchPage.class.php(61): errorHandler(8, 'Undefined offse...', 'C://Xamp//htdocs//...', 61, Array) #1 /includes/pages/game/ShowResear…
-
He spams other universes
-
Quote from amamoslavida: “Even if there is no issues with php or errors, fleets lock times to time ( in my opinion it is caused by hosting problems ) . you need a cronjob, to check fleet_events table. In this table there is a column called `locked` you need to convert `locked` to NULL with a Cronjob, for example check each minutes with a cronjob ( fleet_events table ) and find locked fleets, conver them to NULL . ” Fleets never lock from time to time, its your faulty code then. You also do not n…
-
[FAQ] Asteroid Mod
PostNo, youll need to edit several more files like FleetFunctions, GalaxyRows and of course on frontend, as players cannot magically know on the interface how to start a harvesting mission, which is not even possible without editing the FleetFunctions and FlyingFleetHandler.
-
Battle system
Cooperium - - Discussion
PostYes its easily adaptable but it has several issues beside getting it working. To get it working just fix the $Player variable in /opbe/implementations/2moons/1_7_2_injectionMode/calculateAttack, its wrong somewhere in the middle of the file - youll easily find it.
-
Is that really the right way to update observables? Or do you put up simple empty variable and a subscription in the page.ts and a BehaviorObject in service.ts - so you update observables in services and not in pages. Once you leave the respective page you simply unsubscribe the respective subscription - at least i never ever used observables in pages, only in services and passed them to subscription objects. I learned it this way: Service.ts Source Code (7 lines)And then below that function abo…
-
I wrote 2Moons as a fully Angular 13 Client, why would you use Angular 6 or Angular JS which is old? Beside that, i am really excited to see a second, FREE Version to compare it to mine - so i can at least see how bad/good i coded it. Looking forward for the release With a working function like this, literally 95% of the angular service code for your 2Moons Server is done - writing it like this will make it also Multi-Universe ready. JavaScript Source Code (13 lines)So, you can call your data an…
-
[FAQ] Language
PostKein Plan was der über mir da redet. Da ist wahrscheinlich ein Syntax Fehler drin ODER du hast die Cache im Admin Panel nicht geleert. Schau mal in /includes/error.log ob da was zu finden ist vom language/de Ordner.