• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

[Requests]

TreesClimber

New Member
Joined
Jul 29, 2016
Messages
14
Reaction score
1
Hello as the title says, I need some requests and i hope so you can help me with them.
1- A script to give free points at specific level (i know it's already found but i need other one) about this one you will take points per account not character as it released, something like someone did a char at account 1 then he took all his points then he is trying to make new char at account 1 to take more points with that way he won't take because he already took them by HIS ACCOUNT.

2-A specific points that can be obtained by killing monsters (storage value), talk action to check how many points do i have.

3- A tool to upgrade items, like TOOL upgrade golden armor to demon armor but with chance if is it fail, it must disappear and the item back to previous TIER
(item ID, to ID, chance NUMBER)

If there is something not clear, leave a message.
TFS 0.4

I really appreciate your efforts
Thanks
 
Install this, https://otland.net/threads/account-storage-value.20407/
Then use this script.

Code:
<event type="advance" name="premium_on_advance" script="premium_on_advance.lua"/>
Code:
local account_storage = 45001
local level_to_receive = 200
local days_of_premium = 30

function onAdvance(cid, skill, oldlevel, newlevel)
    if skill == SKILL__LEVEL and newlevel >= level_to_receive then
        if getAccountStorageValue(getPlayerAccountId(cid), account_storage) < 1 then
            doPlayerAddPremiumDays(cid, days_of_premium)
            setAccountStorageValue(getPlayerAccountId(cid), account_storage, 1)
        end
    end
    return true
end
 
Install this, https://otland.net/threads/account-storage-value.20407/
Then use this script.

Code:
<event type="advance" name="premium_on_advance" script="premium_on_advance.lua"/>
Code:
local account_storage = 45001
local level_to_receive = 200
local days_of_premium = 30

function onAdvance(cid, skill, oldlevel, newlevel)
    if skill == SKILL__LEVEL and newlevel >= level_to_receive then
        if getAccountStorageValue(getPlayerAccountId(cid), account_storage) < 1 then
            doPlayerAddPremiumDays(cid, days_of_premium)
            setAccountStorageValue(getPlayerAccountId(cid), account_storage, 1)
        end
    end
    return true
end
thanks, i'll try it.
 
Back
Top