Search Results
Search results 1-20 of 396.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
PHP Source Code (35 lines)this could avoid the error, but it is only a temporary solution. it could cause that the records ar not processed properly. you have to find out why $userID is not set, since the other values are set i guess it might be related to the behavior of array_unique() in line 137
-
Mod help
Postdas flag_planet_menu nicht definiert ist kann bedeuten, dass es wirklich nicht definiert ist oder aber, dass es iwo einen vorangegangen fehler im js gibt(syntaxfehler zb), der das script abbrechen lässt sodass der code der flag_planet_menu definiert nicht mehr ausgeführt wird. das ist schwer zu sagen von meiner perspektive aus, was der ursprung ist. vielleicht hast du ne url wo ich mir das mal angucken kann? gern via pm wenn du die nicht öffentlich posten willst.
-
Mod help
Postich bin mir nicht ganz sicher was dein code tun soll. da du erwartest dass etwas passiert, wenn du checkboxes clickst, neme ich an dass die eventlistener im oberen jsscript dafür da sind. der fehler liegt wahrscheinlich da, dass diese nicht richtig greifen. wenn du im browser, rechtclick -> untersuchen machst kannst du da die jsfehler sehen, eventuell ist dort ein hinweis zu finden. dort kannst du auch unter netzwerk sehn was für anfragen an den server rausgehen wenn du was clickst, und da könnt…
-
Mod help
Postincludes/error.log dort sollte ein hinweis stehen woran es liegt
-
other aproach only changing one file: styles/templates/game/shared.mission.raport.tpl Smarty-Template (1 line)Smarty-Template (1 line)Smarty-Template (1 line)Smarty-Template (1 line)lines are for this version of the file github.com/jkroepke/2Moons/blo…shared.mission.raport.tpl edit:there wa a little mistake changed line 37 and 95
-
i tryed to realize the idea and this is how it looks. 2moons.de/index.php?attachment…7cde8023605d90ae84bb45939 first i edited the includes/classes/missions/functions/GenerateReport.php file. PHP Source Code (112 lines) changed line 83 and line 108 with $newamount = isset($combatResult['rw'][$Round + 1]['attackers'][$FleetID]['unit'][$ShipID]) ? $combatResult['rw'][$Round + 1]['attackers'][$FleetID]['unit'][$ShipID] : $Amount; $playerData['ships'][$ShipID] = array( $Amount, $ShipInfo['att'], $Shi…
-
suggestions you could modify statsbuilder with something like follows, add the columns in the statstable and also adding them in the sql requests in statsbuilder if($time_to_update === true){ $UserData['old_tech'] = $UserData['id']]['techno']['points']; $UserData['old_build'] = $UserPoints[$UserData['id']]['build']['points']; $UserData['old_defs'] =$UserPoints[$UserData['id']]['defense']['points']; $UserData['old_fleet'] = $UserPoints[$UserData['id']]['fleet']['points']; $UserData['old_ress'] = …
-
[MOD] Race/Class mod
mimikri - - Mod Database
Postgoto language/xx/TECH.php add to $LNG['tech'] Source Code (5 lines) do that for every language now you can use $LNG["TECH"]["80" . $USER["race"]] in php and {$LNG["TECH"][$race]} in smarty, if you assinged it like that in the php class of the page you want to use it in Source Code (4 lines)the assign line is mostly in the ende of the php file, if you want to use it in statistics, then the file would be includes\pages\game\ShowStatisticsPage.class.php for a picture you can now use following code …
-
Error in Registrer Page
mimikri - - Mod Database
Postpage.register.default.tpl line 25 Source Code (1 line) sould be Source Code (1 line)i think
-
i tryed it with php 7.2.28, you use 7.2.31. try different php versions. find out in wich version the code broke first. look for the patchnotes of php to find out, what has changed in this version. due to it is an syntaxerror im not sure if it is versionbased. but if you think it is caused by the version of php you can find it out like described aboth.
-
translator available
Post2years later the russian languagepack is finished^^
-
error 8192 means that it is an version(php) based error Error when registering! Offset: 8192 try this solution, afterwards a new error will tell you whats wrong, please post this error here for further support.
-
ceil($config->min_player_planets + min($planetPerTech, $USER[$resource[124]] * $config->planets_per_tech) + min($planetPerBonus, $USER['factor']['Planets'])); das ist die formel abrunden ((planis ohne forschung ) + (planis durch forschung) + (planis durch offi)) zu finden in der includes/classes/playerutil.class.php hast du irgendwas an den files verändert?
-
your config seems to be ok, 9 without and +11 for research are 20. so if you can't colonize this could be a bug, do you have less then 8 planets? i have checkt the repo of danter(2) and the one of jan(1.8) and there is no difference(playerutil and mission colonize) so i guess it should be running the right way.