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

    mimikri - - Mods in development

    Post

    das 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

    mimikri - - Mods in development

    Post

    ich 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

    mimikri - - Mods in development

    Post

    includes/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…ba9b5d6a6c52403fb8136b29f 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…

  • github.com/jkroepke/2Moons/blo…er/scripts/game/topnav.js ka ob du das meinst, aber das ist das script was die zählen lässt.

  • PHP Source Code (1 line)this is kind of a quick n dirty fix, for better help, pls show erros of the fleet and more traceback in the errormessage if possible.

  • 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'] = …

  • Fehler beim einloggen ins Spiel

    mimikri - - Bug Tracking

    Post

    error to the enter the game

  • [MOD] Race/Class mod

    mimikri - - Mod Database

    Post

    goto 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

    Post

    page.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.

  • the code you sended is fine, i didn't found a mistake and tested it in version 1.8 and it's running flawlessly.

  • looks like you are missin a "," error tells you that there is "=>" on a place there ist shouldn't be. that it should be on this place is caused by a missing sign before, probably a "," probably in line 50

  • translator available

    mimikri - - News

    Post

    2years later the russian languagepack is finished^^

  • INSTALL 2MOONS FAILED

    mimikri - - English Boards

    Post

    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.

  • Colonization config unclear

    mimikri - - Bug Tracking

    Post

    nope, eigentlich sollte es klappen

  • Colonization config unclear

    mimikri - - Bug Tracking

    Post

    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?

  • Colonization config unclear

    mimikri - - Bug Tracking

    Post

    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.