Pinned [V1.X.X] New Star Сlassic

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

    • Solución momentánea

      A mí me quedo asi
      Images
      • Screenshot_2020-05-21 Galaxia - Universo Infinito - War-Spacer Beta 1 0 5.png

        311.96 kB, 1,349×769, viewed 147 times
      • Screenshot_2020-05-21 Galaxia - Universo Infinito - War-Spacer Beta 1 0 5(1).png

        317.24 kB, 1,349×863, viewed 166 times
    • Source Code: Pagar.galaxy.default.tpl

      1. {if $currentPlanet.action.missle}<a class="ico_missil tooltip" href="?page=galaxy&action=sendMissle&galaxy={$galaxy}&system={$system}&planet={$planet}&type=1" data-tooltip-content="{$LNG.gl_missile_attack}">
      2. </a>{/if}

      Source Code: main.css

      1. .table569{
      2. min-width:715 !important;
      3. width:569 !important
      4. }

      Source Code: fórmate.css

      1. ico_missil{
      2. float:left;
      3. width:24px;
      4. height:24px;
      5. background:url(./img/iconav/16-6-o.png) no-repeat center;
      6. }
      Una opción momentánea para atacar con misiles hasta que actualicen
    • eduardo_forte9005 wrote:

      Source Code: Pagar.galaxy.default.tpl

      1. {if $currentPlanet.action.missle}<a class="ico_missil tooltip" href="?page=galaxy&action=sendMissle&galaxy={$galaxy}&system={$system}&planet={$planet}&type=1" data-tooltip-content="{$LNG.gl_missile_attack}">
      2. </a>{/if}

      Source Code: main.css

      1. .table569{
      2. min-width:715 !important;
      3. width:569 !important
      4. }

      Source Code: fórmate.css

      1. ico_missil{
      2. float:left;
      3. width:24px;
      4. height:24px;
      5. background:url(./img/iconav/16-6-o.png) no-repeat center;
      6. }
      Una opción momentánea para atacar con misiles hasta que actualicen
      Me dio un error cuando puse todo. Lo adjunto.
      Images
      • error de misiles 2.png

        51.41 kB, 985×390, viewed 169 times
    • ein87 wrote:

      eduardo_forte9005 wrote:

      Source Code: Pagar.galaxy.default.tpl

      1. {if $currentPlanet.action.missle}<a class="ico_missil tooltip" href="?page=galaxy&action=sendMissle&galaxy={$galaxy}&system={$system}&planet={$planet}&type=1" data-tooltip-content="{$LNG.gl_missile_attack}">
      2. </a>{/if}

      Source Code: main.css

      1. .table569{
      2. min-width:715 !important;
      3. width:569 !important
      4. }

      Source Code: fórmate.css

      1. ico_missil {
      2. float:left;
      3. width:24px;
      4. height:24px;
      5. background:url(./img/iconav/16-6-o.png) no-repeat center;
      6. }
      A momentary option to attack with missiles until they upgrade
      It gave me an error when I put everything. Attached.
      show the work you did ... it must have been placed in the wrong area
    • Russoll wrote:

      ein87 wrote:

      eduardo_forte9005 wrote:

      Source Code: Pagar.galaxy.default.tpl

      1. {if $currentPlanet.action.missle}<a class="ico_missil tooltip" href="?page=galaxy&action=sendMissle&galaxy={$galaxy}&system={$system}&planet={$planet}&type=1" data-tooltip-content="{$LNG.gl_missile_attack}">
      2. </a>{/if}

      Source Code: main.css

      1. .table569{
      2. min-width:715 !important;
      3. width:569 !important
      4. }

      Source Code: fórmate.css

      1. ico_missil {
      2. float:left;
      3. width:24px;
      4. height:24px;
      5. background:url(./img/iconav/16-6-o.png) no-repeat center;
      6. }
      A momentary option to attack with missiles until they upgrade
      It gave me an error when I put everything. Attached.
      show the work you did ... it must have been placed in the wrong area
      Si, lo adapte, solo lo ise para solucionar el problema rápido, si tienes otra opción, compartirla por favor
    • ein87 wrote:

      eduardo_forte9005 wrote:

      Source Code: Pagar.galaxy.default.tpl

      1. {if $currentPlanet.action.missle}<a class="ico_missil tooltip" href="?page=galaxy&action=sendMissle&galaxy={$galaxy}&system={$system}&planet={$planet}&type=1" data-tooltip-content="{$LNG.gl_missile_attack}">
      2. </a>{/if}

      Source Code: main.css

      1. .table569{
      2. min-width:715 !important;
      3. width:569 !important
      4. }

      Source Code: fórmate.css

      1. ico_missil{
      2. float:left;
      3. width:24px;
      4. height:24px;
      5. background:url(./img/iconav/16-6-o.png) no-repeat center;
      6. }
      Una opción momentánea para atacar con misiles hasta que actualicen
      Me dio un error cuando puse todo. Lo adjunto.
      borra cache a ver si se arregla el error, yo uso idioma adaptado de español
    • Всем спасибо, кто исправляет ошибки.
      До 31 мая я занят, поэтому не могу отвечать и мониторить ошибки.

      Как появится время внесу все изменения, которые исправят ошибки.

      Спасибо за терпение.
    • ein87 wrote:

      eduardo_forte9005 wrote:

      Source Code: Pagar.galaxy.default.tpl

      1. {if $currentPlanet.action.missle}<a class="ico_missil tooltip" href="?page=galaxy&action=sendMissle&galaxy={$galaxy}&system={$system}&planet={$planet}&type=1" data-tooltip-content="{$LNG.gl_missile_attack}">
      2. </a>{/if}

      Source Code: main.css

      1. .table569{
      2. min-width:715 !important;
      3. width:569 !important
      4. }

      Source Code: fórmate.css

      1. ico_missil {
      2. float:left;
      3. width:24px;
      4. height:24px;
      5. background:url(./img/iconav/16-6-o.png) no-repeat center;
      6. }
      A momentary option to attack with missiles until they upgrade
      It gave me an error when I put everything. Attachedca
      can you sho were you are placing it
    • Russoll wrote:

      ein87 wrote:

      eduardo_forte9005 wrote:

      Source Code: Pagar.galaxy.default.tpl

      1. {if $currentPlanet.action.missle}<a class="ico_missil tooltip" href="?page=galaxy&action=sendMissle&galaxy={$galaxy}&system={$system}&planet={$planet}&type=1" data-tooltip-content="{$LNG.gl_missile_attack}">
      2. </a>{/if}

      Source Code: main.css

      1. .table569{
      2. min-width:715 !important;
      3. width:569 !important
      4. }

      Source Code: fórmate.css

      1. ico_missil {
      2. float:left;
      3. width:24px;
      4. height:24px;
      5. background:url(./img/iconav/16-6-o.png) no-repeat center;
      6. }
      A momentary option to attack with missiles until they upgrade
      It gave me an error when I put everything. Attachedca
      can you sho were you are placing it
      Puse el formate.css en la direccion styles/theme/gow.
      El main.css en styles/resource/css/ingame; y el page.galaxy.defalut en /styles/template/game.
      No se si el idioma en espannol afecte, pero el error que me muestra dice algo del sysplugin/smarty, modificaste algo mas ademas de esos ficheros???
    • ein87 wrote:

      Russoll wrote:

      ein87 wrote:

      eduardo_forte9005 wrote:

      Source Code: Pagar.galaxy.default.tpl

      1. {if $currentPlanet.action.missle}<a class="ico_missil tooltip" href="?page=galaxy&action=sendMissle&galaxy={$galaxy}&system={$system}&planet={$planet}&type=1" data-tooltip-content="{$LNG.gl_missile_attack}">
      2. </a>{/if}

      Source Code: main.css

      1. .table569{
      2. min-width:715 !important;
      3. width:569 !important
      4. }

      Source Code: fórmate.css

      1. ico_missil {
      2. float:left;
      3. width:24px;
      4. height:24px;
      5. background:url(./img/iconav/16-6-o.png) no-repeat center;
      6. }
      A momentary option to attack with missiles until they upgrade
      It gave me an error when I put everything. Attachedca
      can you sho were you are placing it
      Puse el formate.css en la direccion styles/theme/gow.El main.css en styles/resource/css/ingame; y el page.galaxy.defalut en /styles/template/game.
      No se si el idioma en espannol afecte, pero el error que me muestra dice algo del sysplugin/smarty, modificaste algo mas ademas de esos ficheros???
      Puede que el idioma esté afectando, voy a preparar una beta del idioma español y subirlo
    • eduardo_forte9005 wrote:

      ein87 wrote:

      Russoll wrote:

      ein87 wrote:

      eduardo_forte9005 wrote:

      Source Code: Pagar.galaxy.default.tpl

      1. {if $currentPlanet.action.missle}<a class="ico_missil tooltip" href="?page=galaxy&action=sendMissle&galaxy={$galaxy}&system={$system}&planet={$planet}&type=1" data-tooltip-content="{$LNG.gl_missile_attack}">
      2. </a>{/if}

      Source Code: main.css

      1. .table569{
      2. min-width:715 !important;
      3. width:569 !important
      4. }

      Source Code: fórmate.css

      1. ico_missil {
      2. float:left;
      3. width:24px;
      4. height:24px;
      5. background:url(./img/iconav/16-6-o.png) no-repeat center;
      6. }
      A momentary option to attack with missiles until they upgrade
      It gave me an error when I put everything. Attachedca
      can you sho were you are placing it
      Puse el formate.css en la direccion styles/theme/gow.El main.css en styles/resource/css/ingame; y el page.galaxy.defalut en /styles/template/game.No se si el idioma en espannol afecte, pero el error que me muestra dice algo del sysplugin/smarty, modificaste algo mas ademas de esos ficheros???
      Puede que el idioma esté afectando, voy a preparar una beta del idioma español y subirlo
      Ok te lo agradeceria. Probaste lo que subi de asiganr rangos a los miembros de la alianza?
    • ok the css wouldnt give you an error but if the below is placed in the worng area you will get an error

      "{if $currentPlanet.action.missle}<a class="ico_missil tooltip" href="?page=galaxy&action=sendMissle&galaxy={$galaxy}&system={$system}&planet={$planet}&type=1" data-tooltip-content="{$LNG.gl_missile_attack}"> "
    • Баг в очереди, в исследованиях, исправление:
      Создать
      subclasses/subclass.ResPlanetThisUser
      Прописать в нем:

      PHP Source Code: subclass.ResPlanetThisUser.php

      1. <?php
      2. /*
      3. * ╔══╗╔══╗╔╗──╔╗╔═══╗╔══╗╔╗─╔╗╔╗╔╗──╔╗╔══╗╔══╗╔══╗
      4. * ║╔═╝║╔╗║║║──║║║╔═╗║║╔╗║║╚═╝║║║║║─╔╝║╚═╗║║╔═╝╚═╗║
      5. * ║║──║║║║║╚╗╔╝║║╚═╝║║╚╝║║╔╗─║║╚╝║─╚╗║╔═╝║║╚═╗──║║
      6. * ║║──║║║║║╔╗╔╗║║╔══╝║╔╗║║║╚╗║╚═╗║──║║╚═╗║║╔╗║──║║
      7. * ║╚═╗║╚╝║║║╚╝║║║║───║║║║║║─║║─╔╝║──║║╔═╝║║╚╝║──║║
      8. * ╚══╝╚══╝╚╝──╚╝╚╝───╚╝╚╝╚╝─╚╝─╚═╝──╚╝╚══╝╚══╝──╚╝
      9. *
      10. * @author Tsvira Yaroslav <https://github.com/Yaro2709>
      11. * @info ***
      12. * @link https://github.com/Yaro2709/New-Star
      13. * @Basis 2Moons: XG-Project v2.8.0
      14. * @Basis New-Star: 2Moons v1.8.0
      15. */
      16. //$new_code
      17. foreach($reslist['resstype'][1] as $resP) //проверка всего масива элементов
      18. {
      19. if(isset($costResources[$resP])) {$PLANET[$resource[$resP]] -= $costResources[$resP]; }
      20. }
      21. foreach($reslist['resstype'][3] as $resU) //проверка всего масива элементов
      22. {
      23. if(isset($costResources[$resU])) {$this->USER[$resource[$resU]] -= $costResources[$resU]; }
      24. }
      25. //$new_code
      Display All

      Исправить это:

      PHP Source Code: class.PlanetRessUpdate.php

      1. require_once('includes/subclasses/subclass.ResThis.php');
      На это:

      PHP Source Code: class.PlanetRessUpdate.php

      1. require_once('includes/subclasses/subclass.ResPlanetThisUser.php');
    • Исправление рангов:
      Удалить старый код и заменить этим:

      Shell-Script: page.alliance.admin.members.tpl

      1. {block name="title" prepend}{$LNG.lm_alliance}{/block}
      2. {block name="content"}
      3. <div id="page">
      4. <div id="content">
      5. <form action="game.php?page=alliance&mode=admin&action=membersSave" method="post">
      6. <div id="ally_content" class="conteiner">
      7. <div class="gray_stripe" style="margin-bottom:5px;">
      8. {$al_users_list}
      9. </div>
      10. <table id="memberList" class="tablesorter ally_ranks gray_stripe_th">
      11. <thead>
      12. <tr>
      13. <th style="border-left:0; padding-left:15px; text-align:left;">{$LNG.al_member}</th>
      14. <th></th>
      15. <th>{$LNG.al_position}</th>
      16. <th>{$LNG.al_points}</th>
      17. <th>{$LNG.al_coords}</th>
      18. <th>{$LNG.al_member_since}</th>
      19. <th>{$LNG.al_estate}</th>
      20. <th>{$LNG.al_actions}</th>
      21. </tr>
      22. </thead>
      23. <tbody>
      24. {foreach $memberList as $userID => $memberListRow}
      25. <tr>
      26. <td><a href="#" onclick="return Dialog.Playercard({$userID},'{$memberListRow.username}');">{$memberListRow.username}</a></td>
      27. <td><a href="#" onclick="return Dialog.PM({$userID});"><img src="{$dpath}img/iconav/mesages.png" border="0" title="{$LNG.write_message}"></a></td>
      28. <td>{if $memberListRow.rankID == -1}{$founder}{elseif !empty($rankSelectList)}{html_options class="rankSelect" name="rank[{$userID}]" options=$rankSelectList selected=$memberListRow.rankID}{else}{$rankList[$memberListRow.rankID]}{/if}</td>
      29. <td><span title="{$memberListRow.points|number}">{shortly_number($memberListRow.points)}</span></td>
      30. <td><a href="game.php?page=galaxy&galaxy={$memberListRow.galaxy}&system={$memberListRow.system}">[{$memberListRow.galaxy}:{$memberListRow.system}:{$memberListRow.planet}]</a></td>
      31. <td>{$memberListRow.register_time}</td>
      32. <td>{if $rights.ONLINESTATE}{if $memberListRow.onlinetime < 4}<span style="color:lime">{$LNG.al_memberlist_on}</span>{elseif $memberListRow.onlinetime >= 4 && $memberListRow.onlinetime <= 15}<span style="color:yellow">{$memberListRow.onlinetime} {$LNG.al_memberlist_min}</span>{else}<span style="color:red">{$LNG.al_memberlist_off}</span>{/if}{else}-{/if}</td>
      33. <td>{if $memberListRow.rankID != -1}
      34. {if $canKick}<a href="game.php?page=alliance&mode=admin&action=membersKick&id={$userID}" onclick="return confirm('{$memberListRow.kickQuestion}');" style="border: 1px solid #212121;vertical-align:top;width:16px;height:16px;display:inline-block;margin:2px;"><img src="{$dpath}img/general/false.png" border="0" alt=""></a>{/if}{else}-{/if}</td>
      35. </tr>
      36. {/foreach}
      37. </tbody>
      38. </table>
      39. </div>
      40. <div class="ally_bottom" style="text-align:left;">
      41. <a href="game.php?page=alliance&mode=admin">{$LNG.al_back}</a>
      42. </div>
      43. </form>
      44. </div>
      45. </div>
      46. <div class="clear"></div>
      47. </div>
      48. {/block}
      49. {block name="script" append}
      50. <script src="scripts/base/jquery.tablesorter.js"></script>
      51. <script>$(function() {
      52. $("#memberList").tablesorter({
      53. headers: {
      54. 0: { sorter: false } ,
      55. 3: { sorter: false } ,
      56. 9: { sorter: false }
      57. },
      58. debug: false
      59. });
      60. $('.rankSelect').on('change', function () {
      61. $.post('game.php?page=alliance&mode=admin&action=rank&ajax=1', $(this).serialize(), function (data) {
      62. //NotifyBox(data);
      63. }, 'json');
      64. });
      65. });
      66. </script>
      67. {/block}
      Display All
      Загрузить скрипт во вложение в папку script/base и изменить имя документа на jquery.tablesorter.js
      Files
    • Проблемы с LNG
      Заменить весь код, который в ZIP файлах.
      Files