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!
Hard agree. I keep coming across this threads over and over and over again. People be like "How come we ain't using Laravel?" or "Monsters behave so stupid in TFS 1.X", and then they do nothing but rant about, yet again, the current state of the OpenTibia community [2]. It's always like this...
To be honest, I don't really know. I guess so.
This works for me:
local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SPEAR)
combat:setParameter(COMBAT_PARAM_BLOCKARMOR, true)
function...
To remove the warning you should avoid passing a player metatable as a parameter to the addEvent procedure. However, I can't think of a solution that does not involve doing exactly that. Let's see if some other user with more experience than me comes up with a better solution. In the meanwhile...
I haven't done thorough testing, but the following snippet may do the job:
local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SPEAR)
combat:setParameter(COMBAT_PARAM_BLOCKARMOR, true)...
There is no use. Instead, mark my post as a "solution". Next time someone looks for this, the forum will prompt this thread and they will be able to read the proposed solution right away.
Either look for a tutorial on how to setup TLS in uniserver or install a reverse proxy ---namely NGINX--- and create a TLS termination point. Personally, I would go for the second option. Documentation is up to date and you can install several packages to automatically renew your TLS...
Hey @5lave Ots.
So, I gave myself sometime to better understand the login protocol and I've managed to pull this out [1]. I like how this one turned out indeed. Moreover, the programming solution better matches my very own quality standards. The changes are available here: ceb0a56.
===
[1] See...
It is not possible to get rid of the world name with the new login protocol [1]. Therefore, the final result looks as follows:
Amatria [180 EK] (Forgotten)
I don't like it to be honest.
Regarding the programming solution, because it is impossible to substitute the world name for the vocation...
These changes may do the work: de1958f. Personally, I don't like the solution I've come up with, but it works. Moreover, it is not possible to get rid of the world name at the right of the character name. The final result looks odd to me, lmao.
I'm guessing there is a row in your database's players relation with a vocation value of -1. Connect to your database engine and check it yourself. If this is the case, update it with a valid value. For instance, a value of 0.
I'm not sure if I understand your question. I guess you are using bigger sprites, right? Then you could do something in the lines of:
local position = player:getPosition()
local effectPosition = Position({x = position.x + foo, y = position.y + bar, z = position.z})...
data/scripts/creaturescripts/mana_shield_effect.lua
-- time in seconds
local effectInterval = 2
local intervalStorage = 9999
local manaShieldEffect = CreatureEvent("ManaShieldEffect")
manaShieldEffect:type("think")
function manaShieldEffect.onThink(creature, interval)
local player =...
I'm guessing they haven't enabled the bosses just yet. Last time I played there was a handful of powerful bosses that you would then kill as a team to level up much much faster.