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!
I want to configure server save for my server on 07:00...
But i would like it come back automatically on 07:25, how to do it?
Is crontab the way? If it is, how to do the script?
I did this 2 scripts (with help from some people here on forum ofc) that protect players when they are lagged, and protect players when server is lagged
In my mind it is working, but idk if it is working right and idk if i should do something in other way...
So i need someone with exp to tell...
I'm trying to create 2 scripts that protect players with lag
1 player protect
when a player is lagged and he is not attacking anyone and is not being attacked -> set a storage that set deathloss to 0 (items,xp,skills)
2 server
when server get lagged -> set a storage that set deathloss to 0...
I found this two spells that push and pull (here on forum):
But they don't work like i want, and idk how to change
pull.lua
local function doPullCreature(target, cid)
if target > 0 then
if not isNpc(target) then
local position = getThingPosition(cid)
local fromPosition =...
I have this spell that pull/push other players for their back...
It already check if this SQM is valid but i would like to check other think:
I would like to have a list of items for example [2595, 2103] (PARCEL/HONEYFLOWER)
That if there is some of this items on the SQM player would be...
I found this two spells that push and pull:
pull.lua
local function doPullCreature(target, cid)
if target > 0 then
if not isNpc(target) then
local position = getThingPosition(cid)
local fromPosition = getThingPosition(target)
local x = ((fromPosition.x -...
I'm trying to add ping functions to 0.4 source codes by using @Mock base to use this test script made by @M0ustafa it should protect players when server got in ddos, it should kick everybody while server is on DDOS attack...
But i just make some small changes to put it to run, idk if it is...
I have this spell
local manaporlevel = 3
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HITAREA)
setCombatParam(combat, COMBAT_PARAM_USECHARGES, true)
local area =...
I tried to add ping functions in my 8.6 server (0.4) it would be so useful to so many functions
But i couldn't put it to work, is anyone with more experience could help me?
When i try to test:
!ping
function onSay(cid, words, param, channel)
local sendping = doPlayerSendPing(cid)...
I need to use a script to protect players against lag/ddos on 0.4.
I found a old here on forum, but it was to 0.3.6 and i have no knowledge to put it to work on 0.4
Is anyone could help me?
Everything i search here about it was requests not fixeds
What i did?
To use the script: GlobalEvent -...
To use the script: GlobalEvent - Auto kick lagged players + DDoS protection (https://otland.net/threads/auto-kick-lagged-players-ddos-protection.121492/#post-1187916)
You need the lib: [Lua & C++] Ping lib -- ping.getPing(cid,storage)...
I was thinking about kick players with high ping, but it would broke the PvP...
So is it possible to detect if player:
1- is attacking another player
2- is being attack for another player
To make this script to protect players???
@FenX made this topic to training room increase the player's skill gain rate, i wanna make something like that
but the solution there was to 1.0, i'm using 0.4
is anyone know how to convert that?
data/events/scripts/player.lua
function Player:onGainSkillTries(skill, tries)
if...
How to give an item to a player with something like a attribute and only this player can have this item
I mean, when player try to trade send doPlayerSendCancel(cid, "You cant trade a UNIQUE item.")
???
lua_register(m_luaState, "getPlayerTradeState", LuaInterface::luaGetPlayerTradeState);
...
I wanna make something like reward dailly supplys, weekly items rewards.
But there is a big problem, a player could make a lot chars and gave that items to his main char.
There is a way so i can add potions,runes,items to a player and this items the player can not trade,throw on ground and...
I wanna make somethings like first items, reward dailly supplys, weekly items rewards.
But there is a big problem, a player could make a lot chars and gave that items to his main char.
There is a way so i can add potions,runes,items to a player and this items the player can not trade,throw on...
I don't want to players block monsters spawn...
What do i need to change to on 0.4 spawn monsters even with players on spawn screen?
Is it possible to add a teleport effect to when monster spawn?
Everytime i kill a monster with no containers like = 'snake' show this error in my auto loot system, i found here in forum..
Is anybody know how to fix this?
scritp:
<?xml version="1.0" encoding="ISO-8859-1"?>
<mod name="Loot System" version="1.0" author="Vodkart And Mkalo"...
I have this rope system made by Zothion...
It's just like old tibia... You can not use rope if some player trash the hole, with gps,worms,potions...
I love it to PvP but it beeing sick to normal playing
I have to add 2 execeptions:
1- If player is in the hole can get up, on this system if i'm...