Vote rewards for Another MMORPG

No page for your game? If it has a database, a console or can make a web request, its players can vote and be paid.

Create your vote page

Sign up, name your server and choose Another MMORPG. Setup fills in the usual settings: players enter “Your account name”.

You should now see: Your vote page at its own address.

Add your toplists

Paste the link of your server on each list. For this game, VoteRank, Arena-Top100, Private-Server.ws and others are ready.

You should now see: Each list on your vote page.

Choose the reward

Any word. Your delivery settings decide what it pays.

You should now see: The reward under “What you earn” on your page.

Create an API key

Open Game server in the dashboard and create a key. It is shown once. You need it in the next step.

Connect the game

Choose one of these ways. Each has its own files and settings below.

Try it

Open a vote site in your dashboard, use Send a test vote with your own name, then look at your account in the game.

You should now see: The reward in your game, and “Your game has used a key”.

Silkroad vSRO

Statement from public sources, test it on a copy

Players enter their login. Whether it is safe while online is not confirmed.

This pays into the database your game already uses (Microsoft SQL Server for this game). The program runs on your own machine, and VoteScript never gets your database login.

Step 1

No game code: the delivery program pays every confirmed vote by itself. Download it and run it once.

Step 2

Set up votescript.ini like this. Replace the key, the database name and the login.

Give your reward the key points in the dashboard, so it finds this statement.

votescript.ini
[votescript]
url = "https://votescript.voterank.net"
key = "YOUR_KEY"
mode = "sql"

[database]
dsn = "sqlsrv:Server=127.0.0.1;Database=YOUR_DATABASE"
user = ""
password = ""

[sql]
points = "UPDATE s SET silk_own = silk_own + :amount FROM dbo.SK_Silk s JOIN dbo.TB_User u ON u.JID = s.JID WHERE u.StrUserID = :player"
check = ""

Step 3

Start it again and send a test vote from your dashboard.

Dofus 1.29 Ancestra

Statement from public sources, test it on a copy

This pays into the database your game already uses. The program runs on your own machine, and VoteScript never gets your database login.

Step 1

No game code: the delivery program pays every confirmed vote by itself. Download it and run it once.

Step 2

Set up votescript.ini like this. Replace the key, the database name and the login.

Give your reward the key points in the dashboard, so it finds this statement.

votescript.ini
[votescript]
url = "https://votescript.voterank.net"
key = "YOUR_KEY"
mode = "sql"

[database]
dsn = "mysql:host=127.0.0.1;dbname=YOUR_DATABASE;charset=utf8mb4"
user = ""
password = ""

[sql]
points = "UPDATE accounts SET points = points + :amount WHERE account = :player"
check = "SELECT 1 FROM accounts WHERE account = :player"

Step 3

Start it again and send a test vote from your dashboard.

Your own table

Every server of this game keeps currency differently, so there is no statement we could safely recommend. Use the delivery program with the table your website or shop already uses for points, and test it on a copy of your database first.

Toplists for Another MMORPG

VoteRank is recommended for every game. Lists marked “test first” have a format we only found in other people’s code.

If it does not work

The command says there is nothing to claim
Check that the name on the vote page is the same as in the game, and that the vote shows as counted in the callback log.
Votes are not checked right now
Your game could not reach VoteScript, or the key is wrong. Look at “Last used” next to the key under Game server.
Rewards stay waiting
The statement changed no row. Usually the account is online, the name is different, or the check line does not find it. The program tries again by itself.
A reward says it waits
Your game said it cannot give it yet, or the player was in a fight. Open Rewards in the dashboard to see what your game can do, and allow it in the settings of the script or plugin.
Nothing arrives from a toplist
Compare the callback URL on the list with the one in VoteScript, letter by letter, with https. The common problems guide has every case.

Do it yourself

The API, webhooks and clients work with any game.

Give your players one place to vote

Your page is live as soon as you create your server. You can connect the rest step by step.