• 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!

Nostalrius 7.7

Mmm, was just a joke.

But if you're just going to be rude I wont help you at all next time, and you can use your effort to learn instead

Peace.
it was a joke?
im not laughting ..
and yes that's what im doing using my effort to learn :)
that's why i gave a solution instead of a meme bruh
peace im out
 
Any ideas how to solve this while compiling?


Code:
Performing C++ SOURCE FILE Test COMPILER_KNOWS_STDLIB failed with the following output:
Change Dir: /home/Nostalrius/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_efb82/fast"
/usr/bin/make -f CMakeFiles/cmTC_efb82.dir/build.make CMakeFiles/cmTC_efb82.dir/build
make[1]: Entering directory '/home/Nostalrius/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_efb82.dir/src.cxx.o
/usr/bin/c++     -DCOMPILER_KNOWS_STDLIB   -stdlib=libc++ -o CMakeFiles/cmTC_efb82.dir/src.cxx.o -c /home/Nostalrius/build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option '-stdlib=libc++'
CMakeFiles/cmTC_efb82.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_efb82.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_efb82.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/Nostalrius/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_efb82/fast' failed
make: *** [cmTC_efb82/fast] Error 2

Source file was:
int main() { return 0; }
 
thanks @iNux

@Ezzz i have a big question about ground speed, that i dont think that u already solved, cause i played nostalrius time ago

the ground speed, in some grounds, doesn't respect the speedformula, and a level 130 has the same speed as a level 100, do you know what it can be?
 
thanks @iNux

@Ezzz i have a big question about ground speed, that i dont think that u already solved, cause i played nostalrius time ago

the ground speed, in some grounds, doesn't respect the speedformula, and a level 130 has the same speed as a level 100, do you know what it can be?

This issue about speed has happened with Tibia since it's first creation as far as I'm aware. Players have been reporting since 2004 that when wearing boots of haste it won't increase their walking speed.

The answer to this issue is here: Speed Breakpoints (https://tibia.fandom.com/wiki/Speed_Breakpoints)
 
This issue about speed has happened with Tibia since it's first creation as far as I'm aware. Players have been reporting since 2004 that when wearing boots of haste it won't increase their walking speed.

The answer to this issue is here: Speed Breakpoints (https://tibia.fandom.com/wiki/Speed_Breakpoints)

curious and nice...
but do you have a solution for that breakpoints? i tried to make the stepspeed = groundspeed + characterspeed, but nothing works
 
@Felipe93 can you share the DHQ solution?
Code:
local t = {
    Position(33314, 31575, 15), -- stone position
    Position(33316, 31574, 15), -- teleport creation position
    Position(33322, 31592, 14) -- where the teleport takes you
}

function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    if item.itemid == 1945 then
        local tile = t[1]:getTile()
        if tile then
            local stone = tile:getItemById(1355)
            if stone then
                stone:remove()
            end
        end

        local teleport = Game.createItem(1387, 1, t[2])
        if teleport then
            teleport:setDestination(t[3])
            t[2]:sendMagicEffect(CONST_ME_TELEPORT)
        end
    elseif item.itemid == 1946 then
        local tile = t[2]:getTile()
        if tile then
            local teleport = tile:getItemById(1387)
            if teleport and teleport:isTeleport() then
                teleport:remove()
            end
        end
        t[2]:sendMagicEffect(CONST_ME_POFF)
        Game.createItem(1355, 1, t[1])
    end
    return item:transform(item.itemid == 1945 and 1946 or 1945)
end
 
I have to double-check again, bust last time I tried DHQ it worked fine.

Btw anyone realized that house rent is like this example?
0FPrUJj.png

the houses.xml have rent ='2600', but if you see ingame:
NxViXUN.png

It costs 13000?
 
I have to double-check again, bust last time I tried DHQ it worked fine.

Btw anyone realized that house rent is like this example?
0FPrUJj.png

the houses.xml have rent ='2600', but if you see ingame:
NxViXUN.png

It costs 13000?

Hello, Tarantonio.

Please,
Open house.cpp

Check for search for
ss << " It costs " << housePrice * 5 << " gold coins.";

Erase the * 5 of this line, compile again, and check the real price in game.
Give me ur feedback please. 😃
 
I have to double-check again, bust last time I tried DHQ it worked fine.

Btw anyone realized that house rent is like this example?
0FPrUJj.png

the houses.xml have rent ='2600', but if you see ingame:
NxViXUN.png

It costs 13000?

It will be like that on all houses.

house.cpp hard coded to x5 rent price.

Code:
void House::updateDoorDescription() const
{
    std::ostringstream ss;
    if (owner != 0) {
        ss << "It belongs to house '" << houseName << "'. " << ownerName << " owns this house.";
    } else {
        ss << "It belongs to house '" << houseName << "'. Nobody owns this house.";

        const int32_t housePrice = getRent();
        if (housePrice != -1) {
            ss << " It costs " << housePrice * 5 << " gold coins.";
        }
    }

    for (const auto& it : doorList) {
        it->setSpecialDescription(ss.str());
    }
}

Not sure why, it doesn't appear to actually charge that, just shows it like that on doors.
 
It will be like that on all houses.

house.cpp hard coded to x5 rent price.

Code:
void House::updateDoorDescription() const
{
    std::ostringstream ss;
    if (owner != 0) {
        ss << "It belongs to house '" << houseName << "'. " << ownerName << " owns this house.";
    } else {
        ss << "It belongs to house '" << houseName << "'. Nobody owns this house.";

        const int32_t housePrice = getRent();
        if (housePrice != -1) {
            ss << " It costs " << housePrice * 5 << " gold coins.";
        }
    }

    for (const auto& it : doorList) {
        it->setSpecialDescription(ss.str());
    }
}

Not sure why, it doesn't appear to actually charge that, just shows it like that on doors.

The *5 multiplication on the house price display on the door is to be used with the "!buyhouse" command, the rent however is default Tibia.
 
Seems the Switches to open the Demon Helmet Quest wall don't work?

Anyone have a fix?
You have to delete the 3 walls on map and place it again, it may work now.
btw I improved the code of the tiles, this is an example for 33.lua:
Code:
function onStepIn(creature, item, position, fromPosition)
    if creature:isPlayer() then
        item:transform(430, 1)
        item:decay()
        if Game.isPlayerThere({x = 33190, y = 31629, z = 13}) and Game.isItemThere({x = 33210, y = 31630, z = 13},1295) then
            Game.removeItemOnMap({x = 33210, y = 31630, z = 13}, 1295)
            Game.removeItemOnMap({x = 33211, y = 31630, z = 13}, 1295)
            Game.removeItemOnMap({x = 33212, y = 31630, z = 13}, 1295)
        end
    end
end

function onStepOut(creature, item, position, fromPosition)
    if creature:isPlayer() then
        item:transform(431, 1)
        item:decay()
        if Game.isPlayerThere({x = 33190, y = 31629, z = 13}) then
            doRelocate({x = 33210, y = 31630, z = 13},{x = 33210, y = 31631, z = 13})
            doRelocate({x = 33211, y = 31630, z = 13},{x = 33211, y = 31631, z = 13})
            doRelocate({x = 33212, y = 31630, z = 13},{x = 33212, y = 31631, z = 13})
            Game.createItem(1295, 1, {x = 33210, y = 31630, z = 13})
            Game.createItem(1295, 1, {x = 33211, y = 31630, z = 13})
            Game.createItem(1295, 1, {x = 33212, y = 31630, z = 13})
        end
    end
end
you have to do the same to 34.lua file
 
Not sure if that works, but I already put in another solution to place and remove the wall.

I noticed some other distros just gave up and put a teleporter to pass the wall.
 
Not sure if that works, but I already put in another solution to place and remove the wall.

I noticed some other distros just gave up and put a teleporter to pass the wall.
The teleport was not there on 7.72, it was part of the game to not get trapped there, Tibia evolved in an easy game over the years, but the hardcore component was the "real feel" that keeps me playing on old servers.

Remove the walls and place them again, it works fine.
 
Back
Top