Search Results
Search results 1-20 of 435.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
at the moment i'am experimenting with codex, i probably come up with a new version of 2moons, but for now the focus is to lern coding autmation with ai. the plan is to to make 2moons have a local client driven by workers and webcomponents,( no vuejs or react or jquery or smarty needed when using webcomponents), wich holds a local db of relevant values like language and js templates, and a full dataset of the account, and all playernames and ids and stuff. it shall only load relevant new data as …
-
iframe client change $this->tplObj->display('extends:layout.'.$this->getWindow().'.tpl|'.$file); to PHP Source Code (7 lines) github.com/mimikri/2Moonz/blob….class.php#L208C3-L208C78 to find the position ------ change line with <div id="content">{block name="content"}{/block}</div> to Smarty-Template (12 lines)and delete line {include file="main.topnav.tpl"} github.com/mimikri/2Moonz/blob…ayout.full.tpl#L9C1-L9C55 to find the position ----- ADD on line 2 Smarty-Template (8 lines)change Smarty-Te…
-
JavaScript Source Code (195 lines)this is the js i use in cloneuniverse, it will not run in your game out of the box, but it shows how you could handle problems like ongoning intervals wich are in the scripts. it changes all links and changes forms so they are working with the ajax system even if they are normal links before. but this is just for inspiration your templates are empty because you did not load the page wich extends the abstractpage for example ShowOverviewPage.class.php cause this …
-
you could costomize the layout.full.tpl and abstractgamepage in abstract gamepage you assign a new value $this->assign(['clientmode'=> $_GET['page'] ?? 0]); and in layout.full.tpl you can wrap all things you dont need in {if $clientmode != 0} ... {/if} this would make the site allways in iframe mode when you build something for example the reloaded page in the iframe would be without the parts in {if $clientmode != 0} ... {/if} cause then a page is set , so only when the game.php withput page is…
-
$this->getWindow() can be full or ajax or popup the template filenames are builded here github.com/mimikri/2Moonz/blob…ctGamePage.class.php#L208 layout.full.tpl for example this tpl files compose wich parts are shown in the answer of your request. github.com/mimikri/2Moonz/blob…ates/game/layout.full.tpl will show all elements from the game. like menu and stuff. you can do a own format like myajax, wich delivers the composition you would like to have. other option would be to not use smarty make …
-
pictures 1.krita + plugin + sdxl + sd1.5 + flux docs.interstice.cloud/installation/ vidoe/animatios 2.wan workflow in comfyui aipure.ai/de/articles/how-to-i…-generation-model-locally 3.coding best free unlimited performance, in my expierience chat.deepseek.com 4.editor tools continue marketplace.visualstudio.com/i…temName=Continue.continue (can be used with local model via ollama) there are several more options, we may use the thred to collect useful setups and workflows. of cource payed apis le…
-
[MOD]2moons-bots
mimikri - - Mod Database
Postgithub.com/mimikri/2moons-bots…613c9a428bc39e49f3bf9aa6f
-
[MOD]2moons-bots
mimikri - - Mod Database
Postthe admin panel on the first page you see the monthly contingent of resources the bots bring to the universe, in this example there are 3 bottypes wich hav different ress growth and ships. this is just so you have an overview what comes into the galaxy, 2moons.de/index.php?attachment…159f768f466c6b6d33adac8c6 on this screen we see the settings of the bottypes, here we can set the behavior of the bots. 2moons.de/index.php?attachment…159f768f466c6b6d33adac8c6 and here we can see the bots themself,…
-
[MOD]2moons-bots
mimikri - - Mod Database
Postlook at the licence it's GPL3 edit:changed it ti MIT license just wanted to shock some capitalist folks, whom die a little death when thinking about sharing^^
-
[MOD]2moons-bots
mimikri - - Mod Database
Postoptimization, optional when you have created a bot, the sql tables have been set. the bots can be taken out of statsbuilder, this so they can be many but not impressing the serverperformace too much. edit find this lines PHP Source Code (2 lines) and add where is_bot = 0 to the selection PHP Source Code (2 lines)like this they are not calculated in the statistics now we also don't show them in the statistic by changing the sql query in find this lines in statsticspage PHP Source Code (24 lines)a…
-
[MOD]2moons-bots
mimikri - - Mod Database
Post2moons-bots on github copy the 5 botfiles eidt admin.php, find PHP Source Code (4 lines) and after it insert PHP Source Code (4 lines) now edits /styles/templates/adm/ShowMenuPage.tpl , add the following line on the position you like Smarty-Template (1 line) now go to admin panel and click on 'edit bots' in the menu click "create bot"
-
Galaxy AJAX
Postyes first version had this issues, updated the files in both tpl files the first form shall be without &ajax2, and in the glaxy.js ajax=2 is added to the url then the error with white page is gone when entering numbers don't forget to press ctrl + f5, to get the new galaxy.js in the browser.
-
Galaxy AJAX
Posthere you can see it running ingame and here it is the github commit since the galaxy.js was changed you have to clear the cache in the browser, reloading with ctrl + f5, should do it.