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

CreatureEvent NPC Grizzly Adams - almost how RL Tibia.

i have idea, try get 5 pkts and go to npc and say rank>promotion>promotion............
npc will give u exp for free!! :D
 
would be really awesome if you could fix the ability to tps and stuff :p
 
mate, what a about a english version?

and is bug free?

how the scripts properly work?

thnx for sharing!
 
I don't understand:
PHP:
if (getPlayerLevel(cid) > 5 and getPlayerLevel(cid) < 50) then
		selfSay("All right, what would you like to hunt? {Crocodiles}, {tarantulas}, {carniphilas}, {stone golems} or {mammoths}?", cid)
		talkState[talkUser] = 1
	elseif (getPlayerLevel(cid) > 49 and getPlayerLevel(cid) < 90) then
		selfSay("All right, what would you like to hunt? {Ice golems}, {quara}, {elementals}, {mutated rats} or {giant spiders}?", cid)
		talkState[talkUser] = 2
	elseif (getPlayerLevel(cid) > 89) then
		selfSay("All right, what would you like to hunt? {Hydras}, {sea serpents}, {behemoths} or {serpent spawns}?", cid)
		talkState[talkUser] = 3
	end

??

All bugs was fixed. Now script work good.
 
Last edited:
Mate, i just note, that, when you config the EXIT teleport from BOSS ROM, if the PLAYER LEAVE WITHOUT KILL the BOSS, he cant enter anymore;
Maybe you can upgrade ur script, to when the player leave/death of the boss room, remove the boss, and allow the player come back try agin, or avenge or death

i hope you understand what i mean;

Thnx again for sharin.
 
Mate, i just note, that, when you config the EXIT teleport from BOSS ROM, if the PLAYER LEAVE WITHOUT KILL the BOSS, he cant enter anymore;
Maybe you can upgrade ur script, to when the player leave/death of the boss room, remove the boss, and allow the player come back try agin, or avenge or death

i hope you understand what i mean;

Thnx again for sharin.

He made it right just like real.
 
He made it right just like real.

Yes, i Know, but im saying, cuz i add this script to mine server,
and when the player leave the boss area, he cant enter again,
and, if the player has been killed by the boss, he want be able to enter in the teleport anymore.

got it?
 
If anyone is interested, I did the quest log, to the killing in the name of..
Compatible written by Oscar NPC
download :
Killing in the name of.. quest log download.
 
Hello dudes how do i set the coordinates to tp_bossy.lua? Cuz I don't understand how I do.


I have to make teleports right? and then build one room for each teleport so you comes to the boss monster? and when you killed the boss monster then a teleport apear? Lets say if they need 20 points to enter a teleport if they got 20 points they can enter, or els they can't enter? or is level?

aww, help me dude and please help me understand the script!

tp_bossy.lua
Code:
 local storage = 10001
local adams = {
                [5300] = {
                         char = {effects = 10, global_storage = 5300, storage_value = 5, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                         [0] = {name = "The Snapper", pos_summona = {x = 1000, y = 1000, z = 7}, effect = 10},
                         },
                [5301] = {
                         char = {effects = 10, global_storage = 5301, storage_value = 9, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                         [0] = {name = "Hide", pos_summona = {x = 1000, y = 1000, z = 7}, effect = 10},
                         },
                [5302] = {
                         char = {effects = 10, global_storage = 5302, storage_value = 15, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                         [0] = {name = "The Bloodtusk", pos_summona = {x = 1000, y = 1000, z = 7}, effect = 10},
                         },
                [5303] = {
                         char = {effects = 10, global_storage = 5303, storage_value = 18, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                         [0] = {name = "Shardhead", pos_summona = {x = 1000, y = 1000, z = 7}, effect = 10},
                         },
                [5304] = {
                         char = {effects = 10, global_storage = 5304, storage_value = 24, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                         [0] = {name = "Thul", pos_summona = {x = 1000, y = 1000, z = 7}, effect = 10},
                         },
                [5305] = {
                         char = {effects = 10, global_storage = 5305, storage_value = 36, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                         [0] = {name = "Esmeralda", pos_summona = {x = 1000, y = 1000, z = 7}, effect = 10},
                         },
                [5306] = {
                         char = {effects = 10, global_storage = 5306, storage_value = 40, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                         [0] = {name = "The Old Widow", pos_summona = {x = 1000, y = 1000, z = 7}, effect = 10},
                         },
                [5307] = {
                         char = {effects = 10, global_storage = 5307, storage_value = 44, gdzie_nas_tp = {x = 890, y = 839, z = 7}},
                         [0] = {name = "The Many", pos_summona = {x = 894, y = 839, z = 7}, effect = 10},
                         },
                [5308] = {
                         char = {effects = 10, global_storage = 5308, storage_value = 48, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                         [0] = {name = "Leviathan", pos_summona = {x = 1000, y = 1000, z = 7}, effect = 10},
                         },
                [5309] = {
                         char = {effects = 10, global_storage = 5309, storage_value = 52, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                         [0] = {name = "Stonecracker", pos_summona = {x = 1000, y = 1000, z = 7}, effect = 10},
                         },
                [5310] = {
                         char = {effects = 10, global_storage = 5310, storage_value = 56, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                         [0] = {name = "The Noxious Spawn", pos_summona = {x = 1000, y = 1000, z = 7}, effect = 10},
                         }
              }
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
local adam = adams[item.uid]
if adam then
    if getPlayerStorageValue(cid, storage) == adam.char.storage_value then
        if getGlobalStorageValue(adam.global_storage) == -1 then
            setGlobalStorageValue(adam.global_storage, 1)
            doTeleportThing(cid, adam.char.gdzie_nas_tp)
            doSendMagicEffect(position, adam.char.effects)
            for i = 0, #adam do
                doCreateMonster(adam[i].name, adam[i].pos_summona)
                doSendMagicEffect(adam[i].gdzie_nas_tp, adam[i].effect)
            end
        else
            doPlayerSendTextMessage(cid, 22, "Ktos aktualnie walczy z "..adam[0].name.."!")
            doTeleportThing(cid, fromPosition)
        end
    else
        doPlayerSendTextMessage(cid, 22, "Nie masz prawa tutaj wejsc!")
        doTeleportThing(cid, fromPosition)
    end
end

local tp_wyjsciowe = {
                    [5311] = {global_storage = 5300, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                    [5312] = {global_storage = 5301, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                    [5313] = {global_storage = 5302, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                    [5314] = {global_storage = 5303, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                    [5315] = {global_storage = 5304, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                    [5316] = {global_storage = 5305, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                    [5317] = {global_storage = 5306, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                    [5318] = {global_storage = 5307, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                    [5319] = {global_storage = 5308, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                    [5320] = {global_storage = 5309, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}},
                    [5321] = {global_storage = 5310, gdzie_nas_tp = {x = 1000, y = 1000, z = 7}}
                    }
local exits = tp_wyjsciowe[item.uid]
if exits then
    doTeleportThing(cid, exits.gdzie_nas_tp)
    doSendMagicEffect(exits.gdzie_nas_tp, 10)
    setGlobalStorageValue(exits.global_storage, -1)
end
return true
end


global_storage = 5306, storage_value = 40, [ Global_storage 5306? is that ID on the teleport?
gdzie_nas_tp = {x = 1000, y = 1000, z = 7}}, [ Is that where the teleport is? ]
pos_summona = {x = 1000, y = 1000, z = 7}, effect = 10}, [ this coordinates is where the teleporter shall spawn after the monster is dead?]

help me dudes!
 
Back
Top