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

Author Topic: Problem with voting reward API  (Read 7703 times)

0 Members and 1 Guest are viewing this topic.

Offlinelineage 2 royal club

  • Newbie
  • *
  • Posts: 3
  • L2topzone Votes: 0
  • Servers reviews: 0
  • Reputation: +0/-0
  • L2topzone.com
    Problem with voting reward API
    « on: October 25, 2015, 01:37:34 PM »
    Hello guys, i have problem with topzone vote reward with l2jserver last rev.



    Regards.

    Linkback: https://l2topzone.com/forum/index.php?topic=24733.0

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

    Onlinexzone

    • Read our rules
    • Hero Member
    • *****
    • Posts: 660
    • L2topzone Votes: 52
    • Servers reviews: 159
    • Reputation: +10480/-0
      • l2topzone
    Re: Problem with voting reward API
    « Reply #1 on: October 25, 2015, 03:51:30 PM »
    Hello,
    UnAfraid: he didn't imported the libs;

    Also you can open an issue on https://github.com/UnAfraid/VotingReward
    « Last Edit: October 25, 2015, 03:53:29 PM by xzone »

    Offlineunafraid89

    • Newbie
    • *
    • Posts: 1
    • L2topzone Votes: 0
    • Servers reviews: 0
    • Reputation: +0/-0
    • L2topzone.com

      Onlinexzone

      • Read our rules
      • Hero Member
      • *****
      • Posts: 660
      • L2topzone Votes: 52
      • Servers reviews: 159
      • Reputation: +10480/-0
        • l2topzone

      Offlinel2indigo

      • Newbie
      • *
      • Posts: 19
      • L2topzone Votes: 48
      • Servers reviews: 1
      • Reputation: +0/-0
      • L2topzone.com
        Re: Problem with voting reward API
        « Reply #4 on: November 07, 2015, 12:06:58 PM »
        This whole system is integrated in Frozen right?
        I can't really understand the use of this link http://l2topzone.com/api.php?API_KEY=****&SERVER_ID=****&IP=REPLACE_WITH_IP_TO_CHECK
        Should we use this link under the vote banner in our site or what?
        Also its not explained what must be done with this part REPLACE_WITH_IP_TO_CHECK.
        Not to mention that there is no explanation at all for configurations of the server in order to activate this system in-game.
        Server owners will need wiki for setup and config of the server. I didn't found any config files or addon with .getreward in voice command handler.
        Some help please.

        Onlinexzone

        • Read our rules
        • Hero Member
        • *****
        • Posts: 660
        • L2topzone Votes: 52
        • Servers reviews: 159
        • Reputation: +10480/-0
          • l2topzone
        Re: Problem with voting reward API
        « Reply #5 on: November 07, 2015, 01:24:28 PM »
        Hello,
        Let me explain basic how this system works.
        Let say you have player named X and this player want to vote for your server and get reward, is going in your website click on l2topzone.com vote banner and complete the vote, then is going in the game and write .getreward... in that moment your server will ask this link (http://l2topzone.com/api.php?API_KEY=****&SERVER_ID=****&IP=xxx.xxx.xxx.xxx) if user X with IP xxx.xxx.xxx.xxx have vote in l2topzone.com, if that link return TRUE this mean your player X have made an correct vote in l2topzone.com website and is eligible to get reward.


        Offlinel2indigo

        • Newbie
        • *
        • Posts: 19
        • L2topzone Votes: 48
        • Servers reviews: 1
        • Reputation: +0/-0
        • L2topzone.com
          Re: Problem with voting reward API
          « Reply #6 on: November 08, 2015, 05:06:27 PM »
          Ok, so where this link goes?
          I take it from reward page and put it where? Also, I don't do any modifications to it right?

          Onlinexzone

          • Read our rules
          • Hero Member
          • *****
          • Posts: 660
          • L2topzone Votes: 52
          • Servers reviews: 159
          • Reputation: +10480/-0
            • l2topzone
          Re: Problem with voting reward API
          « Reply #7 on: November 09, 2015, 02:15:04 AM »
          Hello,
          If you have java knowledge, you must implement this script in your server files https://github.com/UnAfraid/VotingReward to make that vote reward work with your files.

          OfflineSweeTs

          • Full Member
          • ***
          • Posts: 167
          • L2topzone Votes: 55
          • Servers reviews: 0
          • Reputation: +290/-0
            Re: Problem with voting reward API
            « Reply #8 on: November 11, 2015, 07:00:20 AM »
            You have there a VoteReward.xml. You fill the info like, for example

            ApiKey = 62315e76c8c7895a050a3e9d9f7b7f34
            ServerId = 11793

            From newbie point of view, the old "basic" version was way more clear than it is now.
            Even I was confused at first glance after the rework. :)
            « Last Edit: November 11, 2015, 07:03:20 AM by SweeTs »

             

            Sitemap