• 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!

Team Looking for scripter

jeweetwel

Pro-Gamer ^_^
Joined
Jul 9, 2011
Messages
20
Reaction score
0
Location
Netherlands
hey.
im looking for a scripter who can help me and me team in my project.
thing i need:
•rent mount script
•taming script
•how to make quest chests
•make GM's not visable when /ghost on !online list


My server:
TFS 0.2.14
Client: 9.60
version: Mystic Spirit
link: http://otland.net/f18/9-60-9-61-forgotten-server-v0-2-14-mystic-spirit-166619/

Request:
and i got this problem with 9.60 TFS that when the server is running i cant edit the database with
"sqlitestudio-1.0.1" so if sombody knows how i can unlock my database thanks.


Kind Regards.
Niels
 
Last edited:
Taming
LUA:
local mounts = {
    [13938] = { --Uniwheel
        storage = 2024, id = 15, itemBreak = 45, mountGet = 8, mountItem = 13937
        getMessage = "Vroooomratatatatatatat. The strange wheel seems to vibrate and slowly starts turning continuously.",
        breakMessage = "Splosh! It looks like most of the special oil this can was holding was spilt without any effect.",
        failMessage = "There is not enough oil, try to put more in the uniwheel.",
    }
    [13292] = { --Tin Lizzard
        storage = 2025, id = 8, itemBreak = 45, mountGet = 8, mountItem = 13306
        getMessage = "Krkrkrkrk You wind up the tin lizzard.",
        breakMessage = "You broke the key while you are trying to star up the tin lizzard.",
        failMessage = "The key does not match, try again.",
    }
}
 
 
function onUse(cid,item,fromPosition,itemEx,toPosition)
    local rand = math.random(1, 100)
    if(mounts[item.itemid] and itemEx.itemid == mounts[item.itemid].mountItem)then
        if(getPlayerStorageValue(cid, mounts[item.itemid].storage) <= 0)then
            if(rand <= mounts[item.itemid].mountGet) then
                doCreatureSay(cid, mounts[item.itemid].getMessage, TALKTYPE_ORANGE_1)
                doSendMagicEffect(toPosition, 67)
                addEvent(doSendMagicEffect, 300, toPosition, 67)
                addEvent(doSendMagicEffect, 600, toPosition, 67)
                addEvent(doSendMagicEffect, 900, toPosition, 67)
                doPlayerAddMount(cid, mounts[item.itemid].id)
                setPlayerStorageValue(cid, mounts[item.itemid].storage, 1)
                doRemoveItem(item.uid, 1)
            elseif(rand <= mounts[item.itemid].itemBreak) then
                doCreatureSay(cid, mounts[item.itemid].breakMessage, TALKTYPE_ORANGE_1)
                doRemoveItem(item.uid, 1)
            else
                doCreatureSay(cid, mounts[item.itemid].failMessage, TALKTYPE_ORANGE_1)
            end
        else
            doCreatureSay(cid, 'You have already this mount.', TALKTYPE_ORANGE_1)
        end
    end
end

Quest Chest

v189CWk.png


Rep? :P
 
Back
Top