l2topzone.com
l2topzone.com

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

0 Members and 1 Guest are viewing this topic.

Offlinelineage 2 royal club

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



    Regards.

    Linkback: https://l2topzone.com/forum/l2-server-support-problems/9/problem-voting-reward-api/24733/

    Onlinexzone

    • Read our rules
    • Administrator
    • Hero Member
    • *****
    • Posts: 616
    • L2topzone Votes: 21
    • Servers reviews: 150
    • Country: Romania.
    • Reputation: +10480/-0
    • Gender: Male
      • l2topzone
    Re: Problem with voting reward API
    « Reply #1 on: October 25, 2015, 04: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, 04:53:29 PM by xzone »
    Read our rules

    Offlineunafraid89

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

      Onlinexzone

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

      Offlinel2indigo

      • Newbie
      • *
      • Posts: 19
      • L2topzone Votes: 19
      • Servers reviews: 1
      • Country: Bulgaria.
      • Reputation: +0/-0
      • L2topzone.com
        Re: Problem with voting reward API
        « Reply #4 on: November 07, 2015, 01: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
        • Administrator
        • Hero Member
        • *****
        • Posts: 616
        • L2topzone Votes: 21
        • Servers reviews: 150
        • Country: Romania.
        • Reputation: +10480/-0
        • Gender: Male
          • l2topzone
        Re: Problem with voting reward API
        « Reply #5 on: November 07, 2015, 02: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: 19
        • Servers reviews: 1
        • Country: Bulgaria.
        • Reputation: +0/-0
        • L2topzone.com
          Re: Problem with voting reward API
          « Reply #6 on: November 08, 2015, 06: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
          • Administrator
          • Hero Member
          • *****
          • Posts: 616
          • L2topzone Votes: 21
          • Servers reviews: 150
          • Country: Romania.
          • Reputation: +10480/-0
          • Gender: Male
            • l2topzone
          Re: Problem with voting reward API
          « Reply #7 on: November 09, 2015, 03: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: 150
          • L2topzone Votes: 2
          • Servers reviews: 0
          • Country: Poland.
          • Reputation: +290/-0
          • Gender: Male
            Re: Problem with voting reward API
            « Reply #8 on: November 11, 2015, 08: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, 08:03:20 AM by SweeTs »


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


            Sitemap