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

[FREE] Slave Ots Free Scripting Service

Slave Ots

LUA Newbie™
Joined
Jan 19, 2012
Messages
114
Reaction score
32
Location
/goto Slave Ots
Hello Otlanders
I've Decided To Start This Thread To Help ppl Whom Just Started In Open-Tibia & Need LUA Scripts
If You Need Any Script/Help Just Post In There.....

[Note]:- Spamming or being not patient ill ignore you!

you are allowed to ask about Actions/Movements/Talkactions/Creaturescripts/GlobalEvents/Spells..

---------------------------------------------------------------------------------------------------------


hope to got REP++ when i help you!

kind regards
Slave Ots
 
Can you fix Spells for Paladin , Druids&sorcs and knight rune i want to them be used in spells xml and script , i want each vocation druid&sorc < same knight and pally i want a healing for knight it would heal around 3900 to 4470 , and pally rune i want to heal 3500 hp and 3000 mana , and i want a sorc and a druid rune healing 4000 to 4150
 
Okay I would like to be able to make a creature stand on the same tile as the summoner and if the creature is not on the same tile it gets teleported back onto him. I saw in config "teleportPlayerSummons = true" but i want the range to be like 1sqm or 0sqm so its always on the persons. I know this is possible i just do not have the knowledge to do so. In addition is there a way i can make it so a Players Summon does no harm the summoner? but hurts other players if attacked.

Thanks, Mujica

P.S Like something along the lines of
IfSummon more than 1SQM Teleport to the player
 
Is it possible to make a script for a new vocation (like assassin) that every third attack does bonus damage? like poison or physical
 
here we are :)
in your movements/scripts make file name teleport.lua and paste the follow
Lua:
function onStepIn(cid, item, frompos, item2, topos) 

playerpos = getPlayerPosition(cid) 
sirion_pos = {x=991, y=1024, z=7} -- position for the new place 

if isPlayer(cid) then

getThingfromPos(playerpos) 
doSendMagicEffect(sirion_pos,20) 
doTeleportThing(cid,sirion_pos) 
end 
end

now open movements.xml and paste the following:
XML:
    	<movement type="StepIn" uniqueid="2244" event="script" value="teleport.lua" />

[NOT TESTED , ANY ERRORS REPLY BACK HERE ]


Rep++ If It Helpful For You.
 
Last edited:
here we are :)
in your movements/scripts make file name teleport.lua and paste the follow
Lua:
function onStepIn(cid, item, frompos, item2, topos) 

playerpos = getPlayerPosition(cid) 
sirion_pos = {x=991, y=1024, z=7} -- position for the new place 
sirion = item.uid == 2244 -- uniqueid of the teleport SHOULD BE THE SAME IN MOVEMENTS.XML

if sirion then

getThingfromPos(playerpos) 
doSendMagicEffect(sirion_pos,20) 
doTeleportThing(cid,sirion_pos) 
end 
end

now open movements.xml and paste the following:
XML:
    	<movement type="StepIn" uniqueid="2244" event="script" value="teleport.lua" />

[NOT TESTED , ANY ERRORS REPLY BACK HERE ]


Rep++ If It Helpful For You.

Dont forgot to put
Code:
isPlayer(cid)
elese it will cause error when a monster steps into the tile!
 
here we are :)
in your movements/scripts make file name teleport.lua and paste the follow
Lua:
function onStepIn(cid, item, frompos, item2, topos) 

playerpos = getPlayerPosition(cid) 
sirion_pos = {x=991, y=1024, z=7} -- position for the new place 

if isPlayer(cid) then

getThingfromPos(playerpos) 
doSendMagicEffect(sirion_pos,20) 
doTeleportThing(cid,sirion_pos) 
end 
end

now open movements.xml and paste the following:
XML:
    	<movement type="StepIn" uniqueid="2244" event="script" value="teleport.lua" />

[NOT TESTED , ANY ERRORS REPLY BACK HERE ]


Rep++ If It Helpful For You.

thanks for the script! ill test it out later today and tell you whats up
 
okay, so the script that i requested is that there is on tile(like in the depo) and then when i player walks into it they will be tp'd to a location north(xyz) or they could be tp'd to a location west, east, south etc.. anyplace i want on the map. but the decision between the few locations is chosen randomly... is my request understandable? thank you :)
 
yes its.. iam working on it now..

- - - Updated - - -

okay, so the script that i requested is that there is on tile(like in the depo) and then when i player walks into it they will be tp'd to a location north(xyz) or they could be tp'd to a location west, east, south etc.. anyplace i want on the map. but the decision between the few locations is chosen randomly... is my request understandable? thank you :)


sorry for being late
HTML:
function onStepIn(cid, item, frompos, item2, topos) -- slave [email protected]
 
local playerpos = getPlayerPosition(cid) 

local pos = {
poss = {{x=1000, y=1000, z=7},
{x=860, y=545, z=7},
{x=1000, y=1000, z=4},
{x=1002, y=1010, z=7}}
}
local new_pos = pos.poss[math.random(1, #pos.poss)]
 
if isPlayer(cid) then

doSendMagicEffect(playerpos,10) 
doTeleportThing(cid,new_pos) 
else
return 1
end 
return true
end
hopr to rep me
it works 100% just edit positions.
 
Back
Top