l2topzone.com
l2topzone.com

Author Topic: Vote reward system for l2jacis and l2jfrozen  (Read 1929 times)

0 Members and 1 Guest are viewing this topic.

Onlinexzone

  • Read our rules
  • Administrator
  • Hero Member
  • *****
  • Posts: 616
  • L2topzone Votes: 21
  • Servers reviews: 150
  • Country: Romania.
  • Reputation: +10480/-0
  • Gender: Male
    • l2topzone
Vote reward system for l2jacis and l2jfrozen
« on: November 19, 2016, 02:03:09 PM »
l2topzone.com
Hello topzoners,

As title say we have created for l2topzone.com users server side scripts for most used Interlude projects l2jfrozen and l2jacis.

https://bitbucket.org/dmsj/l2topzonevotesystem-frozen

https://bitbucket.org/dmsj/l2topzonevotesystem-acis

Thanks to L2Cygnus that make this code for us.

L2topzone.com
Team

Linkback: https://l2topzone.com/forum/l2-server-support-problems/9/vote-reward-system-l2jacis-l2jfrozen/26737/
Read our rules

Onlinexzone

  • Read our rules
  • Administrator
  • Hero Member
  • *****
  • Posts: 616
  • L2topzone Votes: 21
  • Servers reviews: 150
  • Country: Romania.
  • Reputation: +10480/-0
  • Gender: Male
    • l2topzone
Re: Vote reward system for l2jacis and l2jfrozen
« Reply #1 on: November 23, 2016, 03:23:38 PM »
Have someone test this vote reward and can provide feedback?

Offlinegiannisdx

  • Newbie
  • *
  • Posts: 6
  • L2topzone Votes: 10
  • Servers reviews: 2
  • Country: Greece.
  • Reputation: +0/-0
  • L2topzone.com
    Re: Vote reward system for l2jacis and l2jfrozen
    « Reply #2 on: January 11, 2017, 04:06:20 PM »
    Looks good on frozen thank you

    Onlinexzone

    • Read our rules
    • Administrator
    • Hero Member
    • *****
    • Posts: 616
    • L2topzone Votes: 21
    • Servers reviews: 150
    • Country: Romania.
    • Reputation: +10480/-0
    • Gender: Male
      • l2topzone
    Re: Vote reward system for l2jacis and l2jfrozen
    « Reply #3 on: January 11, 2017, 04:10:10 PM »
    Glad to hear that!

    Offlinela2revive

    • Newbie
    • *
    • Posts: 1
    • L2topzone Votes: 36
    • Servers reviews: 4
    • Country: Russian Federation.
    • Reputation: +0/-0
    • L2topzone.com
      Re: Vote reward system for l2jacis and l2jfrozen
      « Reply #4 on: January 20, 2017, 03:56:48 PM »
      have a wrong import path in votecmd (fronzen)

      -import com.l2jfrozen.gameserver.vote.VoteHandler;

      +import com.l2jfrozen.gameserver.vote.handler.VoteHandler;

      Offlinel2-extacy

      • Newbie
      • *
      • Posts: 6
      • L2topzone Votes: 12
      • Servers reviews: 0
      • Country: Spain.
      • Reputation: +0/-0
      • L2topzone.com
        Re: Vote reward system for l2jacis and l2jfrozen
        « Reply #5 on: October 08, 2017, 08:11:12 PM »
        Hello, what about this file:

        L2TopZoneVoteSystem-frozen.iml where supposed to be at?

        Also I got this error on console¨
        Code: [Select]
        INFO  ============================================================-[ L2TopZone vote ]
        java.io.EOFException: No content to map to Object due to end of input
                at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2766)
                at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2709)
                at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1854)
                at com.l2jfrozen.gameserver.vote.handler.TopZoneVoteHandler.getTotalVotes(TopZoneVoteHandler.java:42)
                at com.l2jfrozen.gameserver.vote.handler.VoteHandler.<init>(VoteHandler.java:42)
                at com.l2jfrozen.gameserver.vote.handler.VoteHandler$SingletonHolder.<clinit>(VoteHandler.java:288)
                at com.l2jfrozen.gameserver.vote.handler.VoteHandler.getInstance(VoteHandler.java:292)
                at com.l2jfrozen.gameserver.GameServer.main(GameServer.java:445)
        INFO  AutoChatHandler : Loaded 32 handlers in total.
        INFO  AutoSpawnHandler : Loaded 129 handlers in total.


        One step was missing... this line:
        <classpathentry kind="lib" path="lib/jackson-all-1.9.0.jar"/>

        in .classpath ,

        but still i get that console error , and when i type .votetopzone it says didnt vote.
        also I want to know if this propertis is well fixed:

        TopZoneApiUrl = https://api.l2topzone.com/v1/server_c1c5f13ed70da973ae6cf82668696375/getServerData
        TopZoneToken = c1c5f13ed70da973ae6cf82668696375

        i have it like this its fine?
        « Last Edit: October 08, 2017, 08:58:56 PM by l2-extacy »

        Onlinexzone

        • Read our rules
        • Administrator
        • Hero Member
        • *****
        • Posts: 616
        • L2topzone Votes: 21
        • Servers reviews: 150
        • Country: Romania.
        • Reputation: +10480/-0
        • Gender: Male
          • l2topzone
        Re: Vote reward system for l2jacis and l2jfrozen
        « Reply #6 on: October 09, 2017, 09:15:49 AM »
        Hello,
        Seams to be a wrong info in your config file. It must looks like this:
        https://bitbucket.org/dmsj/l2topzonevotesystem-frozen/src/3968a30267b770000f18f2f899554f69aa238a83/L2TopZoneVoteSystem-frozen/data/config/vote.properties?at=master&fileviewer=file-view-default

        On this file you must add only token and you are done.
        « Last Edit: October 09, 2017, 09:18:17 AM by xzone »

        Offlinel2-extacy

        • Newbie
        • *
        • Posts: 6
        • L2topzone Votes: 12
        • Servers reviews: 0
        • Country: Spain.
        • Reputation: +0/-0
        • L2topzone.com
          Re: Vote reward system for l2jacis and l2jfrozen
          « Reply #7 on: October 09, 2017, 10:41:23 AM »
          TopZoneApiUrl = https://api.l2topzone.com/v1/
          TopZoneToken = c1c5f13ed70da973ae6cf82668696375

          Perfect! like this is working! Yesterday dont know why wasnt working, now yes! Thank you

          Offlinel2-extacy

          • Newbie
          • *
          • Posts: 6
          • L2topzone Votes: 12
          • Servers reviews: 0
          • Country: Spain.
          • Reputation: +0/-0
          • L2topzone.com
            Re: Vote reward system for l2jacis and l2jfrozen
            « Reply #8 on: October 09, 2017, 11:23:11 AM »
            Players need to be logged inside l2topzone site in order to vote? Is it possible just to vote on site without account? Because they have to register, wait until they get their account validate and then they can vote, its a lot of troubles just for 1 vote.

            Onlinexzone

            • Read our rules
            • Administrator
            • Hero Member
            • *****
            • Posts: 616
            • L2topzone Votes: 21
            • Servers reviews: 150
            • Country: Romania.
            • Reputation: +10480/-0
            • Gender: Male
              • l2topzone
            Re: Vote reward system for l2jacis and l2jfrozen
            « Reply #9 on: October 09, 2017, 03:50:01 PM »
            You can vote only if you are register

            Offlinel2-extacy

            • Newbie
            • *
            • Posts: 6
            • L2topzone Votes: 12
            • Servers reviews: 0
            • Country: Spain.
            • Reputation: +0/-0
            • L2topzone.com
              Re: Vote reward system for l2jacis and l2jfrozen
              « Reply #10 on: October 09, 2017, 10:08:38 PM »
              Im getting this error in console, any idea what can it be?

              Code: [Select]
              Exception in thread "GeneralSTPool-13" java.lang.NullPointerException
                      at com.l2jfrozen.gameserver.vote.handler.VoteHandler.tryGetIp(VoteHandler.java:153)
                      at com.l2jfrozen.gameserver.vote.handler.VoteHandler.access$400(VoteHandler.java:29)
                      at com.l2jfrozen.gameserver.vote.handler.VoteHandler$AutoVoteEncourageTask.run(VoteHandler.java:319)
                      at com.l2jfrozen.gameserver.thread.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:95)
                      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
                      at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
                      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
                      at java.lang.Thread.run(Unknown Source)

              Onlinexzone

              • Read our rules
              • Administrator
              • Hero Member
              • *****
              • Posts: 616
              • L2topzone Votes: 21
              • Servers reviews: 150
              • Country: Romania.
              • Reputation: +10480/-0
              • Gender: Male
                • l2topzone


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


              Sitemap