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!
TeamWarOT HardCore 8.6 - Team vs Team
Hey guys, today I'm opening the code for an old project. Something I did a long time ago. I hope to help the community and also revive this style of server. It was developed using MODs, so the entire server is in 3 files.
Database
Working with...
Hey OtLanders,
I'm making a server Enforced and would like to customize the Skull System, based on frags per storage and using all Skull Colors.
{ SKULL_YELLOW, SKULL_GREEN, SKULL_WHITE, SKULL_RED, SKULL_BLACK, SKULL_ORANGE }
I tried using worldType = "pvp" and the setSkull() function works...
Hey OTlands,
I would like to disable the body after the death of the players in TFS 1.2, any ideas?
Just editing source?
Item* corpse = getCorpse(lastHitCreature, mostDamageCreature);
if (corpse) {
g_game.internalAddItem(tile, corpse, INDEX_WHEREEVER...
function Creature:onChangeOutfit(outfit)
local old = self:getOutfit()
if ( (old.lookHead ~= outfit.lookHead) or (old.lookBody ~= outfit.lookBody) or (old.lookLegs ~= outfit.lookLegs) or (old.lookFeet ~= outfit.lookFeet) ) then
self:sendCancelMessage("You cannot change your outfit...
Hey, OTlanders...
In commit #1984 @djarek refactored the loaded map file and now boost_iostreams is required.
Below is the compilation error and the lib for installation.
Error:
-- Found Lua: /usr/lib/x86_64-linux-gnu/liblua5.2.so;/usr/lib/x86_64-linux-gnu/libm.so
CMake Error at...
Hey,
I want to make is more performative function.
The idea is very simple, get my rank in an array and return rank name.
Configs example:
fragsStorage = 22222
titles = {
-- Frags / Rank Name
[5] = "Private First Class",
[13] = "Specialist",
[25]...
Hey,
I did the following script and found a strange error and for this reason I am sharing it may be a bug.
Code:
toPosition = player:getPosition()
local skeleton = doSummonCreature("Skeleton", toPosition)
local skeletonCheckPositionNow = skelelton:getPosition() -- return error...
Hey,
Want to limit the target of a specific example Monster (Orc vs Troll) in TFS 0.4 would use the onTarget().
How I could do this in TFS 1.0 ??
TFS 0.4
function onTarget(cid, target)
Gentlemen, I can't get the movement add the Magic Level to the player using Script.
Any idea how to solve?
items.xml
<item id="2542" article="a" name="tempest shield">
<attribute key="weight" value="5100"/>
<attribute key="defense" value="30"/>
<attribute...
Hey,
I have a problem that I can not understand the reason, maybe you can help me.
The below script returns error in the following line:
local n, i = getTileInfo({x=x, y=y, z=v.toPos.z}).creatures, 1
Any idea how to solve?
Thank you!
Error:
[10:35:50.592] [Error - GlobalEvent Interface]...
Hey community,
I need to make a script to open the config.lua file, look for protectionLevel and change what is configuration.
If the setting is protectionLevel = 50 it changes for protectionLevel = 8.
I found the following code, but I don't know how to apply in TFS;
local f =...
I thought the customer very good and I'm happy for the community.
For those who would like to develop modules for the client follows the links with all the necessary information.
Developing Resources
OTClient Coding Style
Contributing
Compiling on Linux
Compiling on Windows
Module Tutorial...
Hello guys,
I need a help as i could check and list the monsters that are on my screen.
I noticed that there are some functions, but could not make it work.
Functions:
getMonsterSummonList (name)
getMonsterTargetList (cid)
getMonsterFriendList (cid)
Thanks All.
:p
Guys, I have this little problem. I would run a query that is on an external server.
Does anyone have any idea how I can do it in LUA?
$host="myip.com"; //source
$user="root";
$password="pass";
$db="mydbname";
$ots->connect(POT::DB_MYSQL, array('host' => $host, 'user' => $user...