Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
Tested on server's 9.6+
OBS:
open talkaction.xml and remove these commands(if have):
/ban
/unban
/baninfo
to avoid conflicts
----------------------- installation -------------------------
execute this query in your db
CREATE TABLE ban_table (
id INTEGER NOT...
use onKill
function onKill(cid, target)
local from,to = {x=160, y=54, z=7},{x=165, y=54, z=7}
if isPlayer(cid) and isInRange(getCreaturePosition(cid), from, to) and isMonter(target) then
local exp = getExperienceStage(getPlayerLevel(cid)...
"no such table: marriage_system"
u need execute this query in your db:
CREATE TABLE marriage_system (
id INTEGER NOT NULL,
player_id INTEGER NOT NULL,
partner VARCHAR( 255 ) NOT...
function onSay(cid, words, param)
doSaveServer()
local query = db.getResult("SELECT `id` FROM `houses`;")
if (query:getID() ~= -1) then
while true do
local houseid = query:getDataInt("id")
setHouseOwner(houseid, NO_OWNER_PHRASE,true)
if not(query:next()) then
break
end
end
query:free()
end...
function getAccountPoints(cid)
local res = db.getResult('select `premium_points` from accounts where name = \''..getPlayerAccount(cid)..'\'')
if(res:getID() == -1) then
return false
end
return tonumber(res:getDataInt("premium_points"))
end
function doAccountRemovePoints(cid, count)
return...
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid)...
About: has two functions return the players of a certain guild, one serves only to pick up a guild of players who are online and the other returns all players even if you are offline.
function getGuildMembersOnline(GuildId)
local players = {}
for _, pid in pairs(getPlayersOnline()) do...