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!
It's a creaturescript, you must name the script MonsterDoor.lua and save it in data/creaturescripts/scripts
Add a line in data/creaturescripts/creaturescript.xml
<event type="kill" name="MonsterDoor" script="MonsterDoor.lua"/>
And in data/creaturescripts/scripts/others/login.lua...
Use a door like 1257, set actionId to the same you will use as storage in this script
local storage = 108476
local monstername = "demon"
function onKill(player, target)
if target:isPlayer() or target:getMaster() or target:getName():lower() ~= monstername:lower() then
return true...
No, try replacing the script with the last one that I wrote, you said you edited the 60000, right?
If it doesn't work, use this one
local shutdown = true
local clean = false
local closeServer = false
local minutes = 5 -- Min 1 minute
local notify = true
local function ServerSave()
if...
The closingDoor script only works when the player steps out of the door, as I see, when your script opens the door, the player does not get into the door, you must add the
doTeleportThing(cid, topos)
after opening the door in your actions script
Like this
function onUse(cid, item, frompos...
If the monster has the flag
<flag canwalkonenergy="1" />
It will go through even if you don't hit it
However, because the demon isn't inmune to energy damage, it will try to avoid the fields
Im trying to guess what's going on with a mixed damage weapon
If you use -100, -100 on the function onGetFormulaValues for normal weapons like umbral master slayer it will hit 100 always but with gnome sword it will be 100 physical and the energy damage is calculated anyways ¿?
1580500086
I...
Change
serverSaveNotifyDuration = 24 * 60 * 60 --- every one day
To
serverSaveNotifyDuration = 5
That value isn't the interval for the server save
local function ServerSave()
if configManager.getBoolean(configKeys.SERVER_SAVE_CLEAN_MAP) then
cleanMap()
end
if...
add bellow skillTotal
print(eledmg + attack)
reload and try the spell, then upload a screenshot of your console
also, I edited the code a few times, check if you are using the last one
Change
local skillTotal = skill * attack
to
local weapon = player:getSlotItem(CONST_SLOT_LEFT).itemid
local eledmg = ItemType(weapon):getElementDamage() ~= nil and ItemType(weapon):getElementDamage() or 0
local skillTotal = skill * (attack + eledmg)