2Moons

Forum for the 2Moons-browsergameengine.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

Unread Threads

Topic Replies Last Reply

Fix Database.class.php

0

Cronjob doesn't run at midnight

0

[MOD]2moons-bots

9

mimikri

[MOD][V2.8.1]This is a New-Star AI player mod created based on a large AI model.

9

Danter14

Recent Activities

  • mimikri -

    Liked yamilrh’s post in the thread Fix Database.class.php.

    Like (Post)
    Lo que sucede aquí es que hay un error en caso de que tu juego no conecte con la Base Datos o por cualquier motivo tu BD deja de funcionar muestra el siguiente error y dejas al descubierto la contraseña de tu BD
  • yamilrh -

    Posted the thread Fix Database.class.php.

    Thread
    Lo que sucede aquí es que hay un error en caso de que tu juego no conecte con la Base Datos o por cualquier motivo tu BD deja de funcionar muestra el siguiente error y dejas al descubierto la contraseña de tu BD
  • dreams82 -

    Posted the thread Cronjob doesn't run at midnight.

    Thread
    Why do tasks not run between 23:59 and 01:00 ?
  • yamilrh -

    Liked mimikri’s post in the thread [MOD]2moons-bots.

    Like (Post)
    the 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,…
  • mimikri -

    Replied to the thread [MOD]2moons-bots.

    Post
    the 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,…
  • Dany92 -

    Replied to the thread [MOD]2moons-bots.

    Post
    Quote from mimikri: “look at the licence it's GPL3 ;)” ok fine, thanks anyway
  • Dany92 -

    Replied to the thread [MOD]2moons-bots.

    Post
    Quote from Danter14: “Quote from Dany92: “good, now go back to your ghost game ” My ghost game is coming along nicely, by the way. Don't get me started on a subject you don't know much about. Because all your statistics are wrong. In short, I don't…
  • mimikri -

    Replied to the thread [MOD]2moons-bots.

    Post
    look 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^^
  • Danter14 -

    Replied to the thread [MOD]2moons-bots.

    Post
    Quote from Dany92: “good, now go back to your ghost game ” My ghost game is coming along nicely, by the way. Don't get me started on a subject you don't know much about. Because all your statistics are wrong. In short, I don't care.
  • mimikri -

    Liked Danter14’s post in the thread [MOD]2moons-bots.

    Like (Post)
    Quote from Dany92: “Can you adapt for New-Star?Thanks ” You can do it on your own, can't you? especially when it comes to selling.
  • Dany92 -

    Replied to the thread [MOD]2moons-bots.

    Post
    Quote from Danter14: “Quote from Dany92: “Can you adapt for New-Star?Thanks ” You can do it on your own, can't you? especially when it comes to selling.” good, now go back to your ghost game :)
  • Danter14 -

    Replied to the thread [MOD]2moons-bots.

    Post
    Quote from Dany92: “Can you adapt for New-Star?Thanks ” You can do it on your own, can't you? especially when it comes to selling.
  • Dany92 -

    Replied to the thread [MOD]2moons-bots.

    Post
    Can you adapt for New-Star?Thanks
  • Abyss -

    Liked mimikri’s post in the thread [MOD]2moons-bots.

    Like (Post)
    2moons-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…
  • Abyss -

    Liked mimikri’s post in the thread [MOD]2moons-bots.

    Like (Post)
    optimization, 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…
  • mimikri -

    Liked noonn’s post in the thread [MOD] Tech tree editor of DB (v1.8, v2.0).

    Like (Post)
    Hi friends... There may be errors in translation. ;) ;) This MOD is a function to modify, delete, or add tech tree conditions. It has been perfectly implemented so that anyone can use it, and i made it very easy to use. A screenshot is attached. I hope…
  • mimikri -

    Liked noonn’s post in the thread [MOD] Rapid fire editor of DB (v1.8, v2.0).

    Like (Post)
    Hi~ There may be errors in translation. :D :D Modified to operate in 2.0 by referring to the 1.7 version of the library. Produced by referring to the link below. [MOD](Edit Rapidfire) Корректировка скорострела
  • mimikri -

    Replied to the thread [MOD]2moons-bots.

    Post
    optimization, 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…
  • mimikri -

    Posted the thread [MOD]2moons-bots.

    Thread
    2moons-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…
  • you know there are more people developing on the forum.
  • It seems that everyone is only keen on using my mod, but there has been no feedback on the issues I raised in my post. :(
  • mimikri -

    Liked Abyss’s post in the thread Galaxy AJAX.

    Like (Post)
    Thank you very much for your work.
  • Abyss -

    Replied to the thread Galaxy AJAX.

    Post
    Thank you very much for your work.
  • mimikri -

    Replied to the thread Galaxy AJAX.

    Post
    yes 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…
  • Abyss -

    Replied to the thread Galaxy AJAX.

    Post
    Quote from mimikri: “here 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. ” I edited it in the ogamewar.com/kalradya
  • The AI players generated by this mod come with three distinct personalities and are capable of automatically upgrading buildings, advancing technologies, constructing ships, and building defenses. They also support autonomous decision-making in choosing…
  • Firstly, you need to create a new field called "user_type" in the "prefix_users" table to differentiate between real human players and AI players during the operation of the mod. SQL-Query (2 lines) Next, you need to create a data table named…
  • You need to create an "AIPlayerUpdate.class.php" file in the "includes/classes/cronjob" directory to execute the system's scheduled tasks. PHP Source Code (279 lines)
  • Then, you need to create an "ai_config.php" file in the "includes" directory. PHP Source Code (43 lines)
  • Next, you need to create an "Ai" folder within the "includes/classes" directory to house the classes related to AI players. Subsequently, you must create the following PHP files in the "includes/classes/Ai" directory: "AIPlayer.php",…
  • Next, you need to create a "Utils" folder within the "includes/classes" directory to store the classes related to logging. Following that, you should create a "Log.php" file in the "includes/classes/Utils" directory. You can modify the "ai_config.php"…
  • Open the "/includes/dbtables.php" file, and before the last comma in the array, add PHP Source Code (1 line)The final step is to add a new scheduled task in the "prefix_cronjobs" table. You can execute the following SQL command to do so: SQL-Query (4…
  • So, you've essentially completed the installation of the AI virtual player mod . The current issue is that the generated AI players can only be used for registration . Although they can also upgrade technologies and buildings ️, errors are reported . I…
  • mimikri -

    Replied to the thread Galaxy AJAX.

    Post
    here 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.
  • Abyss -

    Replied to the thread Galaxy AJAX.

    Post
    Ok I can change it my friend, is there a script example on github that I can look at, or do you have one?
  • mimikri -

    Replied to the thread Galaxy AJAX.

    Post
    you might have to change the tpl files acording to your game. made it in 2moonz ant there all images are in webp format, wich ist much smaller when otheres without loosing noticable quality. you could paste your tpl inside the the galaxy_table_wrapper in…
  • The AI players generated by this mod come with three distinct personalities and are capable of automatically upgrading buildings, advancing technologies, constructing ships, and building defenses. They also support autonomous decision-making in choosing…
  • mimikri -

    Replied to the thread Galaxy AJAX.

    Post
    :)
  • Abyss -

    Replied to the thread Galaxy AJAX.

    Post
    Quote from mimikri: “change in abstractgamepage.php PHP Source Code (15 lines) this ist the new part PHP Source Code (3 lines)your ajaxscript can now call game.php?page=galaxy&ajax=2 this prevents loading the whole site then change at the end of…
  • So, you've essentially completed the installation of the AI virtual player mod . The current issue is that the generated AI players can only be used for registration . Although they can also upgrade technologies and buildings ️, errors are reported . I…