• 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

thx kk now thes log with my ip adress as in : [**.***.**.***] they try to log in it says login server offline :/
i am not sure my 7171 is open i will post a ss sec

- - - Updated - - -

ports.jpg

please help me !!
 
-.- fine my IP is "41.233.11.171" whats wrong with that !

-- Connection Config
ip = "41.233.11.171"
bindOnlyGlobalAddress = "no"
loginProtocolPort = 7171
gameProtocolPort = 7172
adminProtocolPort = 7171
statusProtocolPort = 7171

Help me i wanna put my server online :/ hep plx !
btw before it was :

-- Connection Config
ip = "127.0.0.1"
bindOnlyGlobalAddress = "no"
loginProtocolPort = 7171
gameProtocolPort = 7172
adminProtocolPort = 7171
statusProtocolPort = 7171
and it worked fine but only for me now when i set it to my ip adress it says the eror even to me
My Eror.jpg

although :

ports.jpg

PLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX HELP ME !!!
 
Last edited:
I didn't say something was wrong with your ip, just make sure that the ip from that site is in your config.lua and that people are logging in with that, else it won't work

Other thing you can check is if 192.168.1.1 is really your IPv4 address, go to start, type cmd in search and then type ipconfig in the black screen to see your IPv4 address.
If it's all correct you should log in with that too (others still with your global ip).
 
Other thing you can check is if 192.168.1.1 is really your IPv4 address
so it isn't mine is actauly 192.168.1.101 so i edited it and IT WOKED THANKS YOU ARE THE BEST (i saw you answer other's problems alot i hoped you answer mine xD [ just my luck ] :D ) thxxx

- - - Updated - - -

one more thing i promted myself to GOD how can i teleport myself and how can i promote myself to admin !?
 
There are different ways to teleport yourself. /goto for going to a player, /a for going forwards, /t for going to the temple, /town for going to specific towns. And there is no admin, god can do all the commands too.
 
kk and how can i add "!spells" and mounts !?

- - - Updated - - -

can't i tp to a postion like x: y: z: !?

- - - Updated - - -

can i add a command like /ir so i can spawn items or is there a way i can walk through walls or add a spell only Gods can use ?

- - - Updated - - -

or can i change my outfit ?
 
!spells
LUA:
function onSay(cid, words, param, channel)
	local t = {}
	for i = 0, getPlayerInstantSpellCount(cid) - 1 do
		local spell = getPlayerInstantSpellInfo(cid, i)
		if(spell.level ~= 0) then
			if(spell.manapercent > 0) then
				spell.mana = spell.manapercent .. "%"
			end

			table.insert(t, spell)
		end
	end

	table.sort(t, function(a, b) return a.level < b.level end)
	local text, prevLevel = "", -1
	for i, spell in ipairs(t) do
		local line = ""
		if(prevLevel ~= spell.level) then
			if(i ~= 1) then
				line = "\n"
			end

			line = line .. "Spells for Level " .. spell.level .. "\n"
			prevLevel = spell.level
		end

		text = text .. line .. "  " .. spell.words .. " - " .. spell.name .. " : " .. spell.mana .. "\n"
	end

	doShowTextDialog(cid, 6120, text)
	return true
end

There are different scripts on otland that give you mounts, depense on how you want them to be added. You can use search and look if you find anything you want.

And no, with the existing basic commands you can't teleport yourself to a certain location.
I found this tho
http://otland.net/f81/teleport-name-x-y-z-6829/
 
Last edited:
can i change oufit !?

- - - Updated - - -

how can i creat items !?

- - - Updated - - -

got scripts for mounts by chests !?

- - - Updated - - -

1 more thing how can i stop people form dis-mounting when entering a pz !?

- - - Updated - - -

kk i am new so i want to know all GOD commands bec of y new OT !?
 
---like you know GMs used to use a command to set our outfits to any monster :D ?
---1 more thing how can i stop people form dis-mounting when entering a pz !?
---kk i am new so i want to know all GOD commands bec of y new OT !?

- - - Updated - - -

i have a vip scroll lua :
-- Credits StreamSide and Empty
function onUse(cid, item, fromPosition, itemEx, toPosition)

if getPlayerStorageValue(cid,11551) < 1 then
if getPlayerLevel(cid) > 1 then
getPlayerStorageValue(cid, 11551)
doSendAnimatedText(getPlayerPosition(cid), "Welcome!", TEXTCOLOR_RED)
doCreatureSay(cid, "CONGRATULATIONS! You are now a VIP for 15 days! You can now enter the VIP-area and use unique features!. ", TALKTYPE_ORANGE_1)
setPlayerStorageValue(cid, 11551, (getPlayerStorageValue(cid,11551) + 15))
doRemoveItem(item.uid, 1)
else
doPlayerSendCancel(cid,"You need to be at least level 2 to use this.")
doRemoveItem(item.uid, 1)
end
else
doPlayerSendCancel(cid,"You are already a donator.")
end
return TRUE
end
-- Credits StreamSide, Empty and Kaorus
function onUse(cid, item, fromPosition, itemEx, toPosition)
local name = getCreatureName(cid)
-- if getPlayerStorageValue(cid,11551) < 1 then
if getPlayerLevel(cid) > 1 then
getPlayerStorageValue(cid, 11551)
doSendAnimatedText(getPlayerPosition(cid), "Welcome!", TEXTCOLOR_RED)
doCreatureSay(cid, "CONGRATULATIONS! You are now a VIP for 15 days! You can now enter the VIP-area and use unique features!. ", TALKTYPE_ORANGE_1)
doBroadcastMessage("CONGRATULATIONS " .. name .. "! Now you are VIP for 15 days! Now you can enter the VIP-area and use unique features!")
setPlayerStorageValue(cid, 11551, (getPlayerStorageValue(cid,11551) + 15))
doRemoveItem(item.uid, 1)
else
doPlayerSendCancel(cid,"You need to be at least level 2 to use this.")
doRemoveItem(item.uid, 1)
end
-- else
-- doPlayerSendCancel(cid,"You are already a donator.")
-- end
return TRUE
end
but the scroll isn't 1 use !! i can use it like a 100 times on and on and on !!
 
/newtype is for changing outfit
I'm not sure if 0.2 has all the commands 0.3 has, but I can show you the talkactions from 0.3
I think these are most usefull to know.
LUA:
/addskill -- addskill to players
/closeserver -- close server for other people
/openserver -- open the server
/shutdown -- shutdown your server

/s -- summen monster
/m -- create monster
/reload -- reloads xml files
/raid -- start a raid
/newtype -- change outfit
/r -- remove item
/owner -- change owner from a house
/i -- creates item
/z -- magic effect
/x -- distance magic effect
/y -- animated text
/bc -- broadcast
/mkick -- masskick


/ghost -- makes the god invisible
/cliport -- makes it able to jump to places
/t -- teleport to temple
/c -- teleport player to you
/goto -- teleport to a player
/a -- teleport forwards
/kick -- kick a player
/unban -- unban a player
/town -- teleport to specifik towns
/up -- teleport to higher floors
/down -- teleport to lower floors
/save -- save the players/houses etc
/clean -- cleans the map with all ingame added moveable items (like things people throw on the ground or corpses)
/mc -- check for people with the same ipaddress
 
and also i use it doesn't say i am vip it just writes you have received 15 days of vip i cant even pass vip door :
-- Credits StreamSide and Empty
function onUse(cid, item, fromPosition, itemEx, toPosition)
local cidPosition = getCreaturePosition(cid)
if (item.actionid == 5788 and getPlayerStorageValue(cid,11551) >= 1) then
if cidPosition.x < toPosition.x then
doTeleportThing(cid, {x=toPosition.x+1,y=toPosition.y,z=toPosition.z}, TRUE)
doCreatureSay(cid, "Welcome VIP Player!", TALKTYPE_ORANGE_1)
else
doTeleportThing(cid, {x=toPosition.x-1,y=toPosition.y,z=toPosition.z}, TRUE)
doCreatureSay(cid, "Welcome VIP Player!", TALKTYPE_ORANGE_1)
end
return TRUE
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Sorry, but only VIP Players can pass here! Buy VIP on the WEB.")
return TRUE
end
return FALSE
end
it doesn't say you need vip to pass it says it is protected to unwanted intered
 
I don't understand what you mean, the scripts checks for action id 5788, so the door should have that.
LUA:
if (item.actionid == 5788
 
like this :
<action itemid="1981" function="highscoreBook"/>
<action itemid="2308" script="other/manarune.lua"/>
<action itemid="5749" script="other/vip door.lua" />
<action itemid="1948" script="other/vip.lua"/>if item.actionid == 5788
</actions>
or like :
<item fromid="5787" toid="5788" name="vip door" article="a" />
<if (item.actionid == 5788>
?
 
You don't have to add it, it's in the script. It was just an example to show you that the scripts checks for actionid 5788. Just be sure the door has action id 5788 (in the map).
 
Back
Top