Jump to content

ElBato

Members
  • Posts

    9
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by ElBato

  1. so you actually need a time counter that will get increased until a player log out?

    Yes

     

     

    // Server Time
    private static String getServerRunTime()
    {
    int timeSeconds = (GameTimeController.getGameTicks() - 36000) / 10;
    String timeResult = (timeSeconds >= 86400 ? Integer.toString(timeSeconds / 86400) + " Days " + Integer.toString((timeSeconds % 86400) / 3600) + " hours." : Integer.toString(timeSeconds / 3600) + " Hours " + Integer.toString((timeSeconds % 3600) / 60) + " mins.");
    return timeResult;
    }

     

    Thanks ExCaLiBuR®, u are amazing.. 1 less, lack the other :D
  2. Greetings all, could give me a little help with this problem that I have with the buttons? This I want to do a few buttons on the html for my NPCs with some icons of skills and items, the problem is when I pass the mouse over this button becomes a black box, the same happens when you make a click.

    For example I want to get a result like this:

    Shot00006.jpg

     

    Press:

    Shot00007.jpg

     

    Mouse over the icon:

    Shot00008.jpg

     

    My code: 

    <button action="null" back="icon.skill5243_Over" fore="icon.skill5243" width="32" height="32"/>
     

    On the back tag, try using "_Over" or "_Down" and nothing happened. Please help..

     

    Sorry my english.

×
×
  • Create New...