• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Znote AAC coin delivery

Zzxog

New Member
Joined
Aug 17, 2020
Messages
5
Reaction score
1
Hi im using Znote AAC with otserbr-global paypal donations are adding point to znote accounts but not delivering coins to player ingame. any help appreciated
 
Solution
So i decided to just buy tibia coins with the shop system and then got the script to click the coin wich adds them to peoples account, everything is working talk action !shop works etc but im getting this error in the console if aNyone can help that would be nice ty.

Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/znoteshop.lua:eek:nSay
data/talkactions/scripts/znoteshop.lua:79: attempt to compare number with nil
stack traceback:
[C]: in function '__le'
data/talkactions/scripts/znoteshop.lua:79: in function <data/talkactions/scripts/znoteshop.lua:3>

Which server and script are you using?
What does this offer type look like in config.php?


Edit:
I have made a custom shop offer type (20)...
So i decided to just buy tibia coins with the shop system and then got the script to click the coin wich adds them to peoples account, everything is working talk action !shop works etc but im getting this error in the console if aNyone can help that would be nice ty.

Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/znoteshop.lua:eek:nSay
data/talkactions/scripts/znoteshop.lua:79: attempt to compare number with nil
stack traceback:
[C]: in function '__le'
data/talkactions/scripts/znoteshop.lua:79: in function <data/talkactions/scripts/znoteshop.lua:3>
 
So i decided to just buy tibia coins with the shop system and then got the script to click the coin wich adds them to peoples account, everything is working talk action !shop works etc but im getting this error in the console if aNyone can help that would be nice ty.

Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/znoteshop.lua:eek:nSay
data/talkactions/scripts/znoteshop.lua:79: attempt to compare number with nil
stack traceback:
[C]: in function '__le'
data/talkactions/scripts/znoteshop.lua:79: in function <data/talkactions/scripts/znoteshop.lua:3>

Which server and script are you using?
What does this offer type look like in config.php?


Edit:
I have made a custom shop offer type (20) for otservBR coins:

To use it, you need to add shop offers in config.php that has type 20.
 
Last edited:
Solution
Which server and script are you using?
What does this offer type look like in config.php?


Edit:
I have made a custom shop offer type (20) for otservBR coins:

To use it, you need to add shop offers in config.php that has type 20.

Using otservbr-global and the talkaction !shop script provided with znote aac happens with all these offers.

Lua:
$config['shop_offers'] = array(
        1 => array(
            'type' => 1,
            'itemid' => 24774, // item to get in-game
            'count' => 100, // Stack number (5x itemid)
            'description' => "100 Store coins", // Description shown on website
            'points' => 100, // How many points this offer costs
        ),
        2 => array(
            'type' => 1,
            'itemid' => 24774, // item to get in-game
            'count' => 500, // Stack number (5x itemid)
            'description' => "500 Store coins", // Description shown on website
            'points' => 500, // How many points this offer costs
        ),
        3 => array(
            'type' => 1,
            'itemid' => 18403, // item to get in-game
            'count' => 1, // Stack number (5x itemid)
            'description' => "Prismatic Helmet", // Description shown on website
            'points' => 30, // How many points this offer costs
        ),
        4 => array(
            'type' => 1,
            'itemid' => 18410, // item to get in-game
            'count' => 1, // Stack number (5x itemid)
            'description' => "Prismatic Shield", // Description shown on website
            'points' => 50, // How many points this offer costs
        ),
        5 => array(
            'type' => 1,
            'itemid' => 18404, // item to get in-game
            'count' => 1, // Stack number (5x itemid)
            'description' => "Prismatic Armor", // Description shown on website
            'points' => 30, // How many points this offer costs
        ),
        6 => array(
            'type' => 1,
            'itemid' => 18405, // item to get in-game
            'count' => 1, // Stack number (5x itemid)
            'description' => "Prismatic Legs", // Description shown on website
            'points' => 50, // How many points this offer costs
        ),
        7 => array(
            'type' => 1,
            'itemid' => 18398, // item to get in-game
            'count' => 1, // Stack number (5x itemid)
            'description' => "Gill Gugel", // Description shown on website
            'points' => 30, // How many points this offer costs
        ),
        8 => array(
            'type' => 1,
            'itemid' => 18401, // item to get in-game
            'count' => 1, // Stack number (5x itemid)
            'description' => "spellbook of vigilance", // Description shown on website
            'points' => 30, // How many points this offer costs
        ),
        9 => array(
            'type' => 1,
            'itemid' => 18399, // item to get in-game
            'count' => 1, // Stack number (5x itemid)
            'description' => "gill coat", // Description shown on website
            'points' => 30, // How many points this offer costs
        ),
        10 => array(
            'type' => 1,
            'itemid' => 18400, // item to get in-game
            'count' => 1, // Stack number (5x itemid)
            'description' => "gill legs", // Description shown on website
            'points' => 50, // How many points this offer costs
        ),
    );
 
Back
Top