l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com

Author Topic: Vote System problem  (Read 3927 times)

0 Members and 1 Guest are viewing this topic.

OfflineMarGaZeaS

  • Newbie
  • *
  • Posts: 6
  • L2topzone Votes: 79
  • Servers reviews: 0
  • Reputation: +0/-0
  • L2topzone.com
    Vote System problem
    « on: May 11, 2016, 11:01:06 AM »
    Hello. i try to add a vote system in l2jacis project. rev 360

    and i get this following errors.

    Topzone http://prntscr.com/b2tp3n

    any can help me..?

    sorry for my bad english :)

    Linkback: https://l2topzone.com/forum/index.php?topic=25961.0
    « Last Edit: May 11, 2016, 11:49:15 AM by GraetMaestro »

    l2topzone.com
    l2topzone.com
    l2topzone.com
    l2topzone.com
    l2topzone.com

    OfflineGraetMaestro

    • Hero Member
    • *****
    • Posts: 530
    • L2topzone Votes: 1
    • Servers reviews: 0
    • Reputation: +57/-0
      Re: Vote System problem
      « Reply #1 on: May 11, 2016, 11:52:23 AM »
      Hello. i try to add a vote system in l2jacis project. rev 360

      and i get this following errors.

      Topzone http://prntscr.com/b2tp3n

      any can help me..?

      sorry for my bad english :)

      have read this http://l2topzone.com/forum/l2-server-support-and-problems/9/vote-reward-using-total-votes-fix/25668/ maybe you can see and maybe this can help you , best regards

      OfflineMarGaZeaS

      • Newbie
      • *
      • Posts: 6
      • L2topzone Votes: 79
      • Servers reviews: 0
      • Reputation: +0/-0
      • L2topzone.com
        Re: Vote System problem
        « Reply #2 on: May 11, 2016, 12:00:00 PM »
        Hello.
        problem is not
        try
                      {
                               URLConnection con = new URL(topzoneUrl).openConnection();
                               con.addRequestProperty("User-Agent", "L2TopZone");
                               isr = new InputStreamReader(con.getInputStream());
                               br = new BufferedReader(isr);

                               String line;
                               while ((line = br.readLine()) != null)
                               {
                                       
                                               int votes = Integer.valueOf(line);
                                               return votes;
                                     
                               }
                             
                               br.close();
                               isr.close();
                       }
        problem is ((Object) ThreadPoolManager.getInstance()).scheduleGeneralAtFixedRate(new Runnable() :D

        Onlinexzone

        • Read our rules
        • Hero Member
        • *****
        • Posts: 660
        • L2topzone Votes: 52
        • Servers reviews: 159
        • Reputation: +10480/-0
          • l2topzone
        Re: Vote System problem
        « Reply #3 on: May 11, 2016, 01:49:44 PM »
        For this problem better contact your vote reward script owner. Or use one example we have provide in the topic  that GraetMaestro mention above.

        OfflineMarGaZeaS

        • Newbie
        • *
        • Posts: 6
        • L2topzone Votes: 79
        • Servers reviews: 0
        • Reputation: +0/-0
        • L2topzone.com
          Re: Vote System problem
          « Reply #4 on: May 11, 2016, 03:19:49 PM »
          I did not understand.

          Onlinexzone

          • Read our rules
          • Hero Member
          • *****
          • Posts: 660
          • L2topzone Votes: 52
          • Servers reviews: 159
          • Reputation: +10480/-0
            • l2topzone
          Re: Vote System problem
          « Reply #5 on: May 12, 2016, 01:53:54 AM »
          I did not understand.
          I mean use vote reward script that is mention here for l2acis  http://l2topzone.com/forum/l2-server-support-and-problems/9/vote-reward-using-total-votes-fix/25668/ or contact person that have create your vote reward code.

           

          Sitemap