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

[TFS 1.2/1.3] Free scripting service

Status
Not open for further replies.
Hey there!

I got an problem aswell on my tfs 1.2 server.
I can not /reload any scripts.

I have on accounts at type: 5.
And group_id on characters is at : 6. Tried 5 aswell, 4 aswell.

I still can't reload anything. And yes, During changing I was offline.
What's wrong? Please help me...
 
Hey there!

I got an problem aswell on my tfs 1.2 server.
I can not /reload any scripts.

I have on accounts at type: 5.
And group_id on characters is at : 6. Tried 5 aswell, 4 aswell.

I still can't reload anything. And yes, During changing I was offline.
What's wrong? Please help me...
this thread isnt for support, it's for requests
 
Please can you reply to my other support thread than?

Why can't you fix my problem man?
 
Last edited by a moderator:
Is this dude for real? @Axelor, if you want help go to support.. if no One is responding in 24h bump the thread otherwise pay someone to help you, dont spam someones thread with your problems.

He will probobly not help you since you asked him the way you did.
Also DO NOT respond on this in this thread.

Sorry for off topic mate.
Doing a great job with all the scripts :)
 
and one npc change Gold nuggets x items? and if you want can roll to improve this item with extra gold nuggets?(can broken roll)
 
and one npc change Gold nuggets x items? and if you want can roll to improve this item with extra gold nuggets?(can broken roll)
i don't understand what you're trying to say
although i do see npc in your post
read the rules
 
hi xeraphus can you give me this 2 scripts for tfs 1.2 please


i need a script that a chest give you a mount

and the other is the script of lottery.
 
hi xeraphus can you give me this 2 scripts for tfs 1.2 please


i need a script that a chest give you a mount

and the other is the script of lottery.
Code:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    if player:getStorageValue(88888) == -1 then
        player:addMount(MOUNT ID HERE)
        player:setStorageValue(88888, 1)
        player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, 'You have been awarded with a new mount.')
    end
    return true
end

<action actionid="65355" script="mount.lua"/>

Code:
local rewards = {
    {itemid = 2160, count = 100},
    {itemid = 2148, count = 30}
}

function onThink(interval, lastExecution)
    local players = Game.getPlayers()
    if #players > 0 then
        while true do
            local player = players[math.random(#players)]
            if not player:hasAccess() and player:getAccountType() == ACCOUNT_TYPE_NORMAL then
                local reward = rewards[#rewards]
                local item = player:addItem(reward.itemid, math.random(reward.count))
                local itemName = item:getCount() > 1 and item:getPluralName() or item:getName()
                Game.broadcastMessage(('[LOTTERY] %s has won %d %s, next lottery in 30 minutes'):format(player:getName(), item:getCount(), itemName), MESSAGE_STATUS_CONSOLE_ORANGE)
                break
            end
        end
    return true
end

<globalevent event="think" interval="1800000" script="lottery.lua"/>
 
Can you make a talckaction that creates an item on the sqm im looking too, like /r but a creating one
createItemOnTile.lua
Code:
function onSay(player, words, param)
    if param == '' then
        return true
    end

    local split = (param):split(',')
    local item, subtype = split[1], split[2]
    if item then
        local nextPos = player:getPosition():getNextPosition(player:getDirection())
        Game.createItem(tonumber(item) or ItemType(item):getId(), subtype and tonumber(subtype) or 1, nextPos)
        nextPos:sendMagicEffect(CONST_ME_MAGIC_BLUE)
    else
        player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, 'Usage: /xi itemid, count')
    end

    return true
end

Code:
<talkaction words="/xi" separator=" " script="createItemOnTile.lua"/>
 
xeraphus i have this error in system lottery: my console is tfs 1.2 otxserver

Code:
[Warning - Event::checkScript] Can not load script: scripts/lottery.lua
data/globalevents/scripts/lottery.lua:20: 'end' expected (to close 'function' at line 6) near '<eof>'
Code:
local rewards = {
    {itemid = 2160, count = 100},
    {itemid = 24774, count = 5}
}

function onThink(interval, lastExecution)
    local players = Game.getPlayers()
    if #players > 0 then
        while true do
            local player = players[math.random(#players)]
            if not player:hasAccess() and player:getAccountType() == ACCOUNT_TYPE_NORMAL then
                local reward = rewards[#rewards]
                local item = player:addItem(reward.itemid, math.random(reward.count))
                local itemName = item:getCount() > 1 and item:getPluralName() or item:getName()
                Game.broadcastMessage(('[LOTTERY] %s has won %d %s, next lottery in 30 minutes'):format(player:getName(), item:getCount(), itemName), MESSAGE_STATUS_CONSOLE_ORANGE)
                break
            end
        end
    return true
end
 
Code:
local rewards = {
   {itemid = 2160, count = 100},
    {itemid = 24774, count = 5}
}

function onThink(interval, lastExecution)
    local players = Game.getPlayers()
    if #players > 0 then
        while true do
            local player = players[math.random(#players)]
            if not player:hasAccess() and player:getAccountType() == ACCOUNT_TYPE_NORMAL then
                local reward = rewards[#rewards]
                local item = player:addItem(reward.itemid, math.random(reward.count))
                local itemName = item:getCount() > 1 and item:getPluralName() or item:getName()
                Game.broadcastMessage(('[LOTTERY] %s has won %d %s, next lottery in 30 minutes'):format(player:getName(), item:getCount(), itemName), MESSAGE_STATUS_CONSOLE_ORANGE)
                break
            end
        end
    end
    return true
end
 
Automatic raids for 1.3 with easy tables for setup...
With possibilities use in x day and x hour each boss... and each raid u can setup boss and monsters.

PS: Great job this iniciative
 
Automatic raids for 1.3 with easy tables for setup...
With possibilities use in x day and x hour each boss... and each raid u can setup boss and monsters.

PS: Great job this iniciative
i was thinking about addings no raids to the rules list but i didn't think anyone would ever request one
ill see about making this i guess

I need a script that allows me to move unmovable items, like wall, counters etc
cant do this even with Player:eek:nMoveItem
unmovable items don't register with that event
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top