VoteReward API in Suggestions is community website Author Topic: VoteReward API  (Read 4105 times)

Offline seedofextermination

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • Share Post
VoteReward API in Suggestions is community website
VoteReward API
« on: March 15, 2015, 08:59:17 AM »

Hi xtream, please, can you add a link for VoteReward API with the java source for implement on our servers?. I think that must be similar to TopZone VoteReward, true?, but i only want confirm it.

Can you add in same section, where we can see API id and other info???

Thank you in advance.

Good job!.

Linkback: https://xtremetop300.com/forum/index.php?topic=50.0
« Last Edit: March 15, 2015, 09:13:40 AM by seedofextermination »


Offline xtream

  • Administrator
  • Hero Member
  • *****
  • VoteReward API in Suggestions is community website
  • Posts: 599
  • Karma: +0/-0
    • Share Post
VoteReward API in Suggestions is community website
Re: VoteReward API
« Reply #1 on: March 15, 2015, 04:15:31 PM »
Hello, yes our vote reward API work very well with the l2topzone.com vote reward server side script funded here https://github.com/UnAfraid/topzone . The only change need to be made is this line:

Code: [Select]
private static final String API_URL = "http://l2topzone.com/api.php?API_KEY=%s&SERVER_ID=%d&IP=%s";with
Code: [Select]
private static final String API_URL = "https://xtremetop300.com/api.php?API_KEY=%s&ID=%d&IP=%s";
From this file  : https://github.com/UnAfraid/topzone/blob/master/l2j/game/data/scripts/custom/VotingReward/VotingReward.java

All credits go to UnAfraid




Offline seedofextermination

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • Share Post
VoteReward API in Suggestions is community website
Re: VoteReward API
« Reply #2 on: March 16, 2015, 12:59:20 PM »
I saw replay now.

PERFECT man!.

Implementing...

Regards.

Offline seedofextermination

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • Share Post
VoteReward API in Suggestions is community website
Re: VoteReward API
« Reply #3 on: March 16, 2015, 07:10:16 PM »
Code: [Select]
private static final String USER_AGENT = "L2TopZone";or...
Code: [Select]
private static final String USER_AGENT = "Mozilla/4.76";or...
Code: [Select]
private static final String USER_AGENT = "XtremeTop300";
Can you tell us exactly?, please?.

Thanks.

Offline xtream

  • Administrator
  • Hero Member
  • *****
  • VoteReward API in Suggestions is community website
  • Posts: 599
  • Karma: +0/-0
    • Share Post
VoteReward API in Suggestions is community website
Re: VoteReward API
« Reply #4 on: March 16, 2015, 07:43:03 PM »
Hello, use
Code: [Select]
private static final String USER_AGENT = "Mozilla/4.76";

Offline seedofextermination

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • Share Post
VoteReward API in Suggestions is community website
Re: VoteReward API
« Reply #5 on: March 16, 2015, 11:27:18 PM »
I suspected! ... xD. Tentatively, I put it like that, but wanted to make sure before.

Thank you very much ... I have implemented all now!!!. The TopZone and the XtremeTop300 was on two different tables and has two different commands. Some things in texts also to differentiate between them and donĀ“t make crazy players... ;)

Close topic then when you want.

A Greeting.



Share via digg Share via facebook Share via linkedin Share via myspace Share via reddit Share via stumble Share via twitter