Jump to content

xSlark

Members
  • Posts

    7
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by xSlark

  1. 3 minutes ago, Reynald0 said:


    L2jFrozen was discontinued, i recommend you update to L2jFrozen 1.5 which is a improved project based on L2jFrozen.

    Information about L2jFrozen 1.5: https://l2devsadmins.net/reynaldev/index.php?board=66.0

    Anyways, method giveAvailableSkills, should do the work.
     

    
     player.giveAvailableSkills();

     

    I tried this and doesn't work. Keep giving me only the 3rd class skills. BTW I have make a lot of work on my source in the past 3 years I was off for 2 years and I'm back in. 

  2. Hello i have create my own L2StartingManager this npc gives you xp/class and equipment. 

     

    But i have one problem i made it makes char lv 80 and then 3rd class instantly and i have problem that learn only some skills in order to have all skills char have to make like 3-4 restarts any help?

     

    i try this

            changeClass(player, val);
            player.giveAvailableSkills()

    and this

            changeClass(player, val);
            player.rewardSkills()

     

    any help?

    L2JFrozen

  3. Hello all MxC Member, i start to develop my old pack (base l2jfrozen) and i update my autovotereward system. Hopzone and Topzone works perfect but L2Network no

     

    I have a problem on a vote count server starts without error announce says "L2Network vote count 0" for some reason no error.

     

    Here is the getvote method:

    Quote

        /**


         * Get the votes of NETWORK
         * @return
         */
        public static int getVotesNetwork()
        {
            try
            {
                URLConnection con = new URL(Config.VOTE_MANAGER_L2NETWORK_LINK).openConnection();
                
                con.addRequestProperty("User-Agent", USER_AGENT);
                con.setConnectTimeout(5000);
                
                try (BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream())))
                {
                    String inputLine;
                    while ((inputLine = in.readLine()) != null)
                    {
                        if (inputLine.contains("tls-in-sts"))
                        {
                            return Integer.valueOf(inputLine.split(">")[2].replace("</b", ""));
                        }
                    }
                }
            }
            catch (Exception e)
            {
                LOGGER.warn("Error while getting Network server vote count.");
                // e.printStackTrace();
            }
            
            return 0;
        }

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock