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

Automatic shutdown of the game

3

XenQen

backup-DB error

0

New Universe Theia - Win an MSI Gaming Laptop - November 1st

26

Kleinerzwerg

calculateAttack mal function

39

Kaizoku

Wrong Update Query for canceling Flights

2

XenQen

Recent Activities

  • XenQen -

    Replied to the thread Automatic shutdown of the game.

    Post
    You cannot turn your game on and off with that code lol. Off = UPDATE %%CONFIG%% SET game_disabled = 1; On = UPDATE %%CONFIG%% SET game_disabled = 0; An easy Logic would be if(config::get()>game_disabled == 1){ // turn…
  • josevdr95 -

    Posted the thread backup-DB error.

    Thread
    Cuando trato de salvar la db me sale este error Source Code (13 lines)Cual pudiera ser el problema?
  • GraczU -

    Replied to the thread Automatic shutdown of the game.

    Post
    Yes, I know that in the admin panel I can add dm but i have automatic dm adding for active players right now. Now I want to do so that I will be able to schedule the game to turn off and on automatically
  • fervi -

    Replied to the thread Automatic shutdown of the game.

    Post
    ?? I think you can add DM from administrator panel globally
  • GraczU -

    Posted the thread Automatic shutdown of the game.

    Thread
    Hello, I have this code for automatic change in the database, and if when setting %% CONFIG %% to %% USER %% to add dm, it works perfectly when changing game_disable in the database does not happen Nothing at all, zero information about the error in the…
  • Kleinerzwerg -

    Replied to the thread New Universe Theia - Win an MSI Gaming Laptop - November 1st.

    Post
    Keine Ahnung warum dir ein Video so wichtig ist. Du hast mehrere Fotos aus verschiedenen Winkeln. Mit angeschaltetem Bildschirm und ohne. Du hast Beiträge von verschiedenen Spielern die bestätigen, dass diese angekommen sind, ebenfalls mit…
  • Kaizoku -

    Replied to the thread calculateAttack mal function.

    Post
    а в функции explodeAndDestroy вы можете постараться съимитировать распределение выстрелов по разным кораблям внутри группы так же помимо рандома…
  • Kaizoku -

    Replied to the thread calculateAttack mal function.

    Post
    Quote from mys: “There is a problem in number of shoots while grouping units. A group of 100 units hits once instead of 100 times - even if it hits 100 times more powerful. Also when we try to hit grouped enemy, we hit only one and always the same unit…
  • Kaizoku -

    Replied to the thread calculateAttack mal function.

    Post
    Quote from mys: “There is a problem in number of shoots while grouping units. A group of 100 units hits once instead of 100 times - even if it hits 100 times more powerful. Also when we try to hit grouped enemy, we hit only one and always the same unit…
  • mys -

    Replied to the thread calculateAttack mal function.

    Post
    There is a problem in number of shoots while grouping units. A group of 100 units hits once instead of 100 times - even if it hits 100 times more powerful. Also when we try to hit grouped enemy, we hit only one and always the same unit in a 100, instead…
  • fervi -

    Replied to the thread calculateAttack mal function.

    Post
    Quote from XenQen: “Of course the default version of OPBE need some optimizations BUT if changing functions at ShipCleaner, ShipType and PhysicShots class AND changing some values for the constants, it’s possible to get quiet good and realistic…
  • XenQen -

    Replied to the thread Wrong Update Query for canceling Flights.

    Post
    Oh you are right, i thought this column has to exist in each table of the query.
  • XenQen -

    Posted the thread Wrong Update Query for canceling Flights.

    Thread
    I was wrong.
  • XenQen -

    Replied to the thread New Universe Theia - Win an MSI Gaming Laptop - November 1st.

    Post
    Schade dass das Video, was angeblich gemacht werden sollte laut KleinerZwerg, nicht gemacht worden ist. Der Rest kann natürlich wieder gefaked sein. Naja so schummelt man sich eben raus :D :thumbdown: Zum Ende hin waren in dem Universum noch 10-16 Spieler aktiv :whistling:
  • Kleinerzwerg -

    Replied to the thread New Universe Theia - Win an MSI Gaming Laptop - November 1st.

    Post
    Mittlerweile haben die Spieler auch bestätigt, dass sie die Laptops bekommen haben: forum.xorbit.de/showthread.php…Theia-Geschenke-verschick Theia war ein großer Erfolg und hatte viele aktive Spieler. Daher werden wir bald die nächste Runde…
  • aurum79 -

    Liked Kaizoku’s post in the thread calculateAttack mal function.

    Like (Post)
    подумайте миллион раз добавлять по 1 к сумме или 100 раз добавить по 10000 результат будет тот же но время потраченное будет отличаться в 10000 раз
  • Kaizoku -

    Replied to the thread calculateAttack mal function.

    Post
    подумайте миллион раз добавлять по 1 к сумме или 100 раз добавить по 10000 результат будет тот же но время потраченное будет отличаться в 10000 раз
  • Kaizoku -

    Replied to the thread calculateAttack mal function.

    Post
    Если правильно все сделать вы можете проводить бои с миллиардами кораблей за такое же время как и бои с тысячью кораблями, и с таким же результатом
  • Kaizoku -

    Replied to the thread calculateAttack mal function.

    Post
    someValue = 0 ships = 1000000 for(i=0; i < ships; i++){ someValue += rand(1,2) } or NewSomeValue = 0 n = ceil(ships / 100) - 1 for(i=0; i < n; i++){ NewSomeValue += rand(1,2) * 100 } s = ships - (n * 100) for(i=0; i < s; i++){ NewSomeValue +=…
  • Kaizoku -

    Replied to the thread calculateAttack mal function.

    Post
    Quote from fervi: “I understand. That's not how the Ogame engine works. Don't misunderstand me. I was thinking about such optimizations myself. But the more optimizations like that, the more we move away from the Ogame's results. ” это не…
  • XenQen -

    Replied to the thread calculateAttack mal function.

    Post
    Of course the default version of OPBE need some optimizations BUT if changing functions at ShipCleaner, ShipType and PhysicShots class AND changing some values for the constants, it’s possible to get quiet good and realistic results. Opbe is kinda…
  • fervi -

    Replied to the thread calculateAttack mal function.

    Post
    I understand. That's not how the Ogame engine works. Don't misunderstand me. I was thinking about such optimizations myself. But the more optimizations like that, the more we move away from the Ogame's results. That's why we support two engines in…
  • Kaizoku -

    Replied to the thread calculateAttack mal function.

    Post
    Quote from fervi: “@Kaizoku I was trying to find some engine optimization options. If you have any ideas, let me know. ” в этой боевой системе каждый корабль стреляет отдельно, т.е каждый…
  • fervi -

    Replied to the thread calculateAttack mal function.

    Post
    @Kaizoku I was trying to find some engine optimization options. If you have any ideas, let me know.
  • Yaro2709 -

    Replied to the thread error installing server 2moons.

    Post
    1. Я дополнил твой ответ. И это не тебе было адресовано, если считаю ответ не полным - дополняю. 2. Я говорил про 7.2, а не про 7.3. 3. Комбо сообщений; тебя там не заело? Это уже 5 раз, когда я сталкиваюсь с таким говном... Go to sleep
  • Shadow -

    Replied to the thread Login als Homepage Style.

    Post
    гамма слишком едкая, надо сделать более спокойный оттенок - а так хорошая идея!
  • Shadow -

    Replied to the thread error installing server 2moons.

    Post
    Quote from Yaro2709: “Quote from Shadow: “версия 2moons какая у вас ?подозреваю что --- 1.8 --- и эта версия поддерживает 7.1 выше нет ... нужно править в ручную код…
  • Yaro2709 -

    Replied to the thread error installing server 2moons.

    Post
    Начнем: Локальный хост - Open Server? Или вы используете что-то другое?
  • KingWithe -

    Replied to the thread error installing server 2moons.

    Post
    все это очень хорошо, и я ценю совет, теперь скажите мне, где я получаю 7.1
  • yamilrh -

    Replied to the thread [MOD] Antispam.

    Post
    Quote from mimikri: “hi guys, yesterday my game has been spammed by Thranduil . so i decided to make a little mod for us, wich blocks spammers. the tool simply searches all POST and GET inputs from the user for predefined substrings. to protect your…
  • Yaro2709 -

    Replied to the thread error installing server 2moons.

    Post
    Я твое ответ дополнил)) Хотя на 7.2 не советовал, там все равно надо делать правки в галактике и иезе в двух модах. Поэтому лучше ставить 7.1 *там ошибок не видел*
  • Shadow -

    Replied to the thread error installing server 2moons.

    Post
    Quote from Yaro2709: “Quote from Shadow: “версия 2moons какая у вас ?подозреваю что --- 1.8 --- и эта версия поддерживает 7.1 выше нет ... нужно править в ручную код…
  • Abyss -

    Wrote a comment on Kaizoku’s wall.

    Wall Comment
    In my master game, the number of ships increased, and players started getting errors while cashing the ship on the fleetDealer page. Sql planets currently all ships are as follows

    light_hunter double(100,0) UNSIGNED No 0

    How can I enlarge the double…
  • KingWithe -

    Replied to the thread error installing server 2moons.

    Post
    ok mano muchas gracias
  • yamilrh -

    Replied to the thread error installing server 2moons.

    Post
    El problema es a partir de php 7.4, que ya no acepta como valor null como 0 entonces tienes que pasarlo directo al php. los problemas que te dan son con estos, ya me paso, luego te paso la solución Source Code (2 lines)
  • yamilrh -

    Replied to the thread Using Update Query instead of global Variable.

    Post
    en fin, este problema persiste al usar Mods? o sea que si uso el juego por si solo, no hay perdidas
  • Yaro2709 -

    Replied to the thread error installing server 2moons.

    Post
    Quote from Shadow: “версия 2moons какая у вас ?подозреваю что --- 1.8 --- и эта версия поддерживает 7.1 выше нет ... нужно править в ручную код для поддержки…
  • Yaro2709 -

    Replied to the thread Experiment [V1.7.0-V1.8.0 - BD].

    Post
    Точно не курю) И да, там указана Xterium 1.7 - вполне можно догадаться, что это; особенно с твоим скилом.