Author Topic: Vote System problem  (Read 609 times)

0 Members and 1 Guest are viewing this topic.

OfflineGiwrgosMasterGR

  • Newbie
  • *
  • Posts: 4
  • L2topzone Votes: 14
  • Servers reviews: 0
  • Country: Greece.
  • 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/l2-server-support-problems/9/vote-system-problem/25961/
    « Last Edit: May 11, 2016, 11:49:15 AM by GraetMaestro »


    OfflineGraetMaestro

    • Global Moderator
    • Hero Member
    • *****
    • Posts: 518
    • L2topzone Votes: 0
    • Servers reviews: 0
    • Country: Portugal.
    • Reputation: +57/-0
      Re: Vote System problem
      « Reply #1 on: May 11, 2016, 11:52:23 AM »
      http://prntscr.com/b2tp3n[/url]

      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
      Read the Forum Rules...use the correct section... read  the section rules before post...Post clear your Topics and like say in the rules..check before if existe a Topic don't open new topics..bump after  the 24 houres...Don't use the EDIT to bump legaly your topic  because is not (after a few minutes +/- 20, the EDIT is considered a BUMP)....  dont forget  your server website link .... respect all users.

      OfflineGiwrgosMasterGR

      • Newbie
      • *
      • Posts: 4
      • L2topzone Votes: 14
      • Servers reviews: 0
      • Country: Greece.
      • 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
        • Administrator
        • Hero Member
        • *****
        • Posts: 598
        • L2topzone Votes: 11
        • Servers reviews: 4
        • Country: Romania.
        • Reputation: +10480/-0
        • Gender: Male
          • 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.
        Read our rules

        OfflineGiwrgosMasterGR

        • Newbie
        • *
        • Posts: 4
        • L2topzone Votes: 14
        • Servers reviews: 0
        • Country: Greece.
        • 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
          • Administrator
          • Hero Member
          • *****
          • Posts: 598
          • L2topzone Votes: 11
          • Servers reviews: 4
          • Country: Romania.
          • Reputation: +10480/-0
          • Gender: Male
            • l2topzone
          Re: Vote System problem
          « Reply #5 on: May 12, 2016, 01:53:54 AM »
          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.


          Share via diggShare via facebookShare via linkedinShare via myspaceShare via redditShare via twitter
           


          Sitemap