• 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!
  • If you're using Gesior 2012 or MyAAC, please review this thread for information about a serious security vulnerability and a fix.

C++ house price tfs 1.2

Bebo 2022

Banned User
Joined
May 2, 2022
Messages
11
Reaction score
5
GitHub
bebo
How can I change the currency of buying obsession instead of cc 2160 to 2638
From where is it determined?
You see a closed door.
It belongs to house 'Unnamed House #800'. Nobody owns this house. It costs 62000 gold coins.
Item ID: 5119
Lua:
        const int32_t housePrice = g_config.getNumber(ConfigManager::HOUSE_PRICE);
        if (housePrice != -1) {
            ss << " It costs " << (houseTiles.size() * housePrice) << " gold coins.";
        }
    }
House.Cpp////How is the change?
 
Last edited:

Evil Puncker

I know nothing
TFS Developer
Joined
May 30, 2009
Messages
8,507
Solutions
260
Reaction score
4,455
this might help you:

not the exact same code, but should work if you adapt
 
Top