Quantcast
Channel: OTLand
Viewing all 32031 articles
Browse latest View live

[ TFS 0.4 ] Addons Bonus - skill does not remove

$
0
0
Hi otlanders,

I am using the following code:

XML:
    <event type="outfit" name="Addons" event="script" value="addons.lua"/>
    <event type="login" name="AddonLogin" event="script" value="addons.lua"/>
Lua:
local hunter = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(hunter, CONDITION_PARAM_TICKS, -1)
setConditionParam(hunter, CONDITION_PARAM_SKILL_DISTANCE, 3)

local knight = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(knight...
[ TFS 0.4 ] Addons Bonus - skill does not remove

Creating a Tibia Client from Scratch

$
0
0
I basically have no experience in C++ to read the sources I'm assuming the way to go about this would be through the client where one would reverse engineer it?

Could someone experienced comment on this?

Gesior2012 - Scripting not working

$
0
0
Hi otlanders,

I found an old bonus add-on script, but it's not running at my gesior...

PHP:
<?php

$main_content .= '
<style>
.KL{background-color:none;}
.KL:hover{background-color:white;font-weight:bold;color:black;}
</style>
<hr/>
<center><b>Bonus funciona apenas com outfit full.</b></center>
<hr/>
<TABLE table BGCOLOR='.$config['site]['darkborder'].'" BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%>
<TR BGCOLOR='.$config['site]['vdarkborder'].'" ><TD CLASS=white COLSPAN=5><B>Outfit...
Gesior2012 - Scripting not working

Marok Mapping

containerItem

$
0
0
bp.png




Code:
 if AutoLootList.players[playerId] ~= nil then
    local lootList = AutoLootList.players[playerId].lootList
          
        if lootList ~= nil then
            if corpse:getType():isCorpse()    then
                for a = corpse:getSize() - 1, 0, -1 do
                    local containerItem = corpse:getItem(a)
                    if containerItem then
                        local containerItemId = containerItem:getId()...
containerItem

[CANADA] [Custom / 7.4] WeAreTibia Battle Of Nexus | 2.000 USD | Reborn System | EU Proxy | 10 JANUARY 18:00

[USA] [7.72] Panther's RealOTS - Nostalgia Server

elevation system bug

$
0
0
I'm using the elevation system to make the famous parcel trap:

Its just this 3 changes made by mkalo:

Game.cpp:

Code:
ReturnValue Game::internalMoveCreature(Creature* actor, Creature* creature, Cylinder* fromCylinder, Cylinder* toCylinder, uint32_t flags/* = 0*/)
{
    //check if we can move the creature to the destination
    ReturnValue ret = toCylinder->__queryAdd(0, creature, 1, flags);
    if(ret != RET_NOERROR)
        return ret;

    //height...
elevation system bug

Bloodstone: the ancient curse

$
0
0

Oficial Discord:

Bloodstone, is a FREE MMORPG game with strong influences in Tibia and Ultima Online (RPG Classics)
It is developed by Streamysoft, a Brazilian studio composed of a small team of 9 people. However, it is also fully translated into English. (I clarify that it is not an OT, it is a game created from scratch with unique...

Bloodstone: the ancient curse

[0.4] Treiner Stamina Regen

$
0
0
Hi otlanders,

Can someone moon expert help me turn a TFS 1.2 script to 0.4?

Follow the link below

Thanks!

[Quick Showoff] Post your latest maps!

$
0
0
quick showoff.png
Welcome to the new quick showoff thread!

The previous thread had a long haul and made it to nearly 1,000 pages of magnificent content. Unfortunately, the vast majority consisted of broken images as the thread had started back in 2008, almost 12 years ago now!

As such, we've decided to make a new thread to try and keep the majority of the posts current and free from broken images. For future reference, it may be worth...

[Quick Showoff] Post your latest maps!

map with rme is not working... 7.72 / 7.6?

$
0
0
Hi
I got 7.72 server based on tfs by @mattyx14

i can edit map (got there real map) - map works with server, but when i try to load it to RME to change some
it shows
err_map.png
but it loads... with npc and monsters...
map_load.png



when i save it.. it cause error in engine, like this
err_serv.png

I TRY MANY RME and other editors.. with 7.4 / 7.6 and it dosnt work... maybe anyone...

map with rme is not working... 7.72 / 7.6?

Questions Regarding Hosting a Server (8.6 + RealMap)

$
0
0
Hello, I am new to trying to start and host an OTS. I am a rather experienced Tibia player, but I have recently decided to try and host a server. So, I wanted to know if anyone could help me on how to run a server? How to edit my server? I don't know anything about it except from little bits and things I have learned from researching on OtLand. Also, what are the applications I will need to edit everything regarding my server? I want to include editing (or making) a custom client with the...

Questions Regarding Hosting a Server (8.6 + RealMap)

[France] [CUSTOM] Medivia Online - Unity [Friday, 13th of December 2019, 20:00 CET]

[France] [7.4 / Custom] Realesta - Encounter, High-rate world! [29.11, Friday 18:00 CET], Antibot client.


[TFS 1.2] Reflection attribute

$
0
0
enums.h

under the last attribute in itemAttrTypes (ITEM_ATTRIBUTE_DOORID = 1 << 22, if you haven't edited it, and use the number after << + 1 for reflection)
C++:
ITEM_ATTRIBUTE_REFLECTION = 1 << 23,
under ORIGIN_RANGED in CombatOrigin
C++:
ORIGIN_REFLECT,
item.h

in:
C++:
inline static bool isIntAttrType
take the hex value (default is 0x7FFE13) and use bitwise or ( | ) with (1 << 23) and replace the hex with the new value you get (you can...

[TFS 1.2] Reflection attribute

Dawnport converted to 8.60

[Canada] [8.60] DeathZot | 99% Custom Map | 22 Vocations | Over 200 New Items | Prestige | Dungeons

Action Door Level

$
0
0
Hello, I would like some help,
I'm trying to put an action for this type of door with level 250+ This door is not normal, I would like this door because as you pass it closes, it is not open.
Can anybody help me? Can I use storage?

Base OTServBr-Global 12x

Code:
function onStepIn(creature, item, position, fromPosition)
    if not creature:isPlayer() then
        return false
    end

    if creature:getLevel() < item.actionid - 250 then...
Action Door Level

define exacly how many skills player will drop on death

$
0
0
Is it possible to define exactly how many skills players will gonna drop when die on LUA?

Just like this in a script on death or something:
Code:
local totalblessreduction = 0.0
local eachblessreduction = 0.3 -- 5 blesses * eachblessreduction = 1.5
for i = 1, 5 do
    if(getPlayerBlessing(cid, bless[i])) then
        totalblessreduction += eachblessreduction
    end
end



if(skills >= 1 && skills <= 40) skillslose = 0.5
elseif(skills >= 41 && skills <= 60) skillslose = 1
elseif(skills >=...
define exacly how many skills player will drop on death
Viewing all 32031 articles
Browse latest View live