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

Add new option in left menu

1

Qwa

Random create planet on start

1

Qwa

Spy Probe Limit?

12

dreams82

мастера 2moons

4

Klon

How to make a comment for battle report?

17

Danter14

Recent Activities

  • Qwa -

    Replied to the thread Add new option in left menu.

    Post
    New page should be created as php file on includes/pages/game FIlename: Show(YOURPAGENAME)Page.class.php Content to run ingame Source Code (18 lines) Then you have to create a template file under styles/templates/game. it must match with $this->display…
  • Pein -

    Posted the thread Add new option in left menu.

    Thread
    i wanna ask how i add let say new text option of page below simular to create new page where i should edit files :) Galaxy Alliance Forum Statistics Records Hall of Fame Search Chat Support FAQ Banned …
  • Qwa -

    Replied to the thread Random create planet on start.

    Post
    Playerutil.class.php is your friend on create player function
  • m4ti -

    Posted the thread Random create planet on start.

    Thread
    Hi :) How can I make a random create for the first planet Example: Now when we create account planet cords is: 1:1:1 I need random, eg 1:100:2, 4:100:10, 2:100:2 How do this?
  • dreams82 -

    Replied to the thread Spy Probe Limit?.

    Post
    Yeaaahhhhh i did :) Thanks everyone. I change FleetFunctions line 433 if (!$YourPlanet) { if(isModuleAvailable(MODULE_MISSION_ATTACK)) if($MissionInfo['Ship'] == 210|| $MissionInfo['Ship'][210] <= 20) //Max:20 Spy $availableMissions[] = 1;
  • dreams82 -

    Replied to the thread Spy Probe Limit?.

    Post
    public static function GetAvailableMissions($USER, $MissionInfo, $GetInfoPlanet) { $YourPlanet= (!empty($GetInfoPlanet['id_owner']) && $GetInfoPlanet['id_owner'] == $USER['id']) ? true : false; $UsedPlanet= (!empty($GetInfoPlanet['id_owner'])) ? true :…
  • Qwa -

    Replied to the thread Spy Probe Limit?.

    Post
    mission info is always defined no matter what since is a step before fleettable2. Is the double tt intentional on var name?
  • XenQen -

    Replied to the thread Spy Probe Limit?.

    Post
    How did you define the variable "fleetShipCountt" dreams82? Man if you cannot even give us your code in detail, we cannot help you. Im not sure if "$MissionInfo" contains that information but its most likely. *Edit: Yea it is in $MissionInfo, so you…
  • dreams82 -

    Replied to the thread Spy Probe Limit?.

    Post
    my goal is to allow the attack if the total count of the ship number 210 does not exceed 20. But where is total count. I could not find it :) Message: Undefined variable: fleetShipCountt
  • Qwa -

    Replied to the thread Spy Probe Limit?.

    Post
    you havê the 210| tagged to a number. I never did this, is that causing a problem?