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

Dll files

hey i am making a server and i have a few questions please answer them :

---how to make a bow that doesn't need an arrow !?
---how can i make a mana rune !?
---how can i make a freeze rune !?
---i am using an ot map editor monsters there are in names of tibia rl if i put a scorpion in game it actually summons a monsters that has same outfit number !?
---how can i add some commands like "!spells" and [ "/jail" and "/ban" and "/summon" ] for admins and staff !?
---how can i make a teleporter that opens it self each 30 min !?
---how can i make a pet dead !?
---how can i make my server by rebirthes !?
---how to edit a lever's use !? [like it takes 50 (money) and gives you an item !?
---how can i make a door that only vips pass !?
---how can i make a 15 days of vip scroll !?
---how can i make a door or a tp that surrtain reb/level can pass !?
---how can i make a quest that you need 4 players to start !?

[sorry for english and please tell me how to make a new post my self ]
 
Last edited:
hey i am making a server and i have a few questions please answer them :

---how to make a bow that doesn't need an arrow !?
config.lua -
LUA:
removeWeaponAmmunition = false
---how can i make a mana rune !?
data/actions/actions.xml
LUA:
<action itemid="2308" script="manarune.lua"/>


data/actions/script
LUA:
function onUse(cid, item, frompos, item2, topos) 
mag = getPlayerMagLevel(cid) 
if mag >= 0 then 
doSendMagicEffect(topos, 14) 
doCreatureSay(cid,"Slayer ManaRune",19) 
doPlayerAddMana(cid, 125000) 
if item.type > 1 then 
doChangeTypeItem(item.uid,item.type-1) 
end 
else 
doSendMagicEffect(frompos,2) 
doPlayerSendCancel(cid,"You don't have the required magic level to use that rune.") 
end 
return 1 
end
---how can i make a freeze rune !?
spells/data/support/paralyze rune. Make a copy and edit
LUA:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000) -- Time
setConditionFormula(condition, -0.9, 0, -0.9, 0) -- Slow effects
setCombatCondition(combat, condition)

function onCastSpell(cid, var)
	if(not doCombat(cid, combat, var)) then
		return false
	end

	doSendMagicEffect(getThingPosition(cid), CONST_ME_MAGIC_GREEN)
	return true
end
---i am using an ot map editor monsters there are in names of tibia rl if i put a scorpion in game it actually summons a monsters that has same outfit number !?
open RME then file->import->Monster and Npcs or download a new monster data pack
---how can i add some commands like "!spells" and [ "/jail" and "/ban" and "/summon" ] for admins and staff !?
For ban go to Rule Violation, summon = /m, /n, /s
http://otland.net/f81/advanced-jail-system-177703/
--- how can i make a teleporter that opens it self each 30 min !?
http://otland.net/f81/teleport-online-176966/
---how can i make a pet dead !?
? O.o is this what you need? http://otland.net/f81/darkhaos-pet-system-137197/
---how can i make my server by rebirthes !?
http://otland.net/f83/prestige-rebirth-system-onlook-working-137755/
---how to edit a lever's use !? [like it takes 50 (money) and gives you an item !?
http://otland.net/f81/mod-buy-items-bp-items-lever-great-config-v1-0-a-52929/
---how can i make a door that only vips pass !?
Check the VIP System
---how can i make a 15 days of vip scroll !?
Check the VIP System
---how can i make a door or a tp that surrtain reb/level can pass !?
UID = 2010, for level 10 and 2020 for level 20
---how can i make a quest that you need 4 players to start !?
LUA:
local config = {
	daily = "no", -- allow only one enter per day? (like in global Tibia)
	level = 100,
	storage = 30015,
	entry =
	{
		{x = 247, y = 659, z = 13},
		{x = 247, y = 660, z = 13},
		{x = 247, y = 661, z = 13},
		{x = 247, y = 662, z = 13}
	},
	destination =
	{
		{x = 189, y = 650, z = 13},
		{x = 189, y = 651, z = 13},
		{x = 189, y = 652, z = 13},
		{x = 189, y = 653, z = 13}
	}
}

config.daily = getBooleanFromString(config.daily)
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if(item.itemid == 1946) then
		if(config.daily) then
			doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
		else
			doTransformItem(item.uid, item.itemid - 1)
		end

		return true
	end

	if(item.itemid ~= 1945) then
		return true
	end

	local players = {}
	for _, position in ipairs(config.entry) do
		local pid = getTopCreature(position).uid
		if(pid == 0 or not isPlayer(pid) or getCreatureStorage(pid, config.storage) > 0 or getPlayerLevel(pid) < config.level) then
			doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
			return true
		end

		table.insert(players, pid)
	end

	for i, pid in ipairs(players) do
		doSendMagicEffect(config.entry[i], CONST_ME_POFF)
		doTeleportThing(pid, config.destination[i], false)
		doSendMagicEffect(config.destination[i], CONST_ME_ENERGYAREA)
	end

	doTransformItem(item.uid, item.itemid + 1)
	return true
end
[sorry for english and please tell me how to make a new post my self ]

You should start using the search function =3
 
oh and also plxx how can i log onto my ot [with a char ] so i can test it plxxxx

- - - Updated - - -

first time.jpg

and also if i make a copy of libxml2.dll file and name it libxml2-2.dll this happens

second time.jpg

i tried to do the same but this time it said that (i dont remmeber what) is missing from the dll file ! :D

- - - Updated - - -

plx man the worst thing is that i had them and i deleted the old mystic spirit with the DLLs because i had did alot of wrong things 2 min after i emptied recycle bin i started looking for 'em -.- i am so angry of myself :/
 
Last edited:
LOL that's how i make my servers THIS TUTORIAL IS THE ONLY WAY I LEARNED TO MAKE MY SERVER !!

WHAT THE FUCK !! I GOT THEM :D :D :D :D :D :D :D :D :D :D

BUT WHAT THE HELL IS \/ \/

eror .jpg

help me :( i can't replace actions.xml because of all the things i edited :(

after i run this program good i will be able to log on my server with a character !?

- - - Updated - - -

kk so revical server online ! now what i login with ip-changer well..., ok but what is the version of it [9.2 ? 7.1 ? ] what the hell is it HELP ME I WANT TO LOG ONTO MY SERVER !!
 
Last edited:
didnt work

- - - Updated - - -

i think i should change ip in config.lua to my ip

- - - Updated - - -

and also do you know what account or password i log in with !?

- - - Updated - - -

kkkkk it worked but last thing : "WHAT THE HELL IS WRONG TEMPLE POSITION !!? "

on my conig.lua :
newPlayerSpawnPosX = 1022
newPlayerSpawnPosY = 1024
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
right positions and map why doesn't it work !? should i edit on database too and if so how !?

- - - Updated - - -

lol kk so i logged in with my account manager what now !?

- - - Updated - - -

lol kk so i logged in with my account manager what now !? i cant move lvl or anything i have only acc manager acc and char how can i make an admin account with 2 or 3 charecters so i can start my ot !!

- - - Updated - - -

kk i logged with an account BUT IT'S NOT STAFF !!! HOW CAN I MAKE AN ADMIN PLEASE HELP ME !!!

- - - Updated - - -

oh and also no one can log in on my server but me !?
 
OK so my last questions are :

---Why can't anyone but me log onto my OT !?
---When i ATK a monster it takes a while before it ATKs and a while between each ATK too how can i fix that !?
---how can i promote some one on my OT !? [with screenshots please !!]
 
1. Did you opened port 7171/7172 in your router? Else did you turn off (windows) firewall? got your global ip in your config.lua?
2. Do you mean attack speed of the monsters? you can change that in the xml file of that monster.
3. By promote you mean make someone a god/cm/gm? depense on what kind of server you use. with 0.3 go to your database, edit the player you want to make god/cm/gm and set the group id to 6/5/4. With 0.2 set the group id to 3 and in accounts type to 5.
 
1. Did you opened port 7171/7172 in your router? Else did you turn off (windows) firewall? got your global ip in your config.lua?
yes yes and yes
2. Do you mean attack speed of the monsters? you can change that in the xml file of that monster.
no i mean my attack
3. By promote you mean make someone a god/cm/gm? depense on what kind of server you use. with 0.3 go to your database, edit the player you want to make god/cm/gm and set the group id to 6/5/4. With 0.2 set the group id to 3 and in accounts type to 5.
yes i got "9.1: [9.1] The Forgotten Server v0.2.11pl2 (Mystic Spirit)" thats 0.2 i guess i will try now
 
Oh, players attack speed, in data/XML/vocations.xml

About the login problem, what kind of error people get when they are logging in (from the client)? and what happens exactly, do people have to wait long, can they see their character list. And are they logging in with your global ip?
 
Back
Top