w sumie to jest bug bo ustawiłem
a mimo to i tak pokazuje się:
You have successfully bought this house, remember to leave money at bank or depot of this town for rent.
i teraz taka sprawa
Czy jak to edytuje na
to już nie będzie pokazywać tego napisu o wynajmie?
i drugie pytanie czy to wystarczy tylko edytować talkaction.cpp czy jeszcze jakiś plik?
Code:
houseRentAsPrice = false
housePriceAsRent = false
houseRentPeriod = "never"
a mimo to i tak pokazuje się:
You have successfully bought this house, remember to leave money at bank or depot of this town for rent.
i teraz taka sprawa
Code:
house->setOwnerEx(player->getGUID(), true);
std::string ret = "You have successfully bought this ";
if(house->isGuild())
ret += "hall";
else
ret += "house";
ret += ", remember to leave money at ";
if(house->isGuild())
ret += "guild owner ";
if(g_config.getBool(ConfigManager::BANK_SYSTEM))
ret += "bank or ";
ret += "depot of this town for rent.";
player->sendTextMessage(MSG_INFO_DESCR, ret.c_str());
g_game.addMagicEffect(player->getPosition(), MAGIC_EFFECT_WRAPS_BLUE);
return false;
}
Czy jak to edytuje na
Code:
house->setOwnerEx(player->getGUID(), true);
std::string ret = "You have successfully bought this ";
if(house->isGuild())
ret += "hall";
else
ret += "house";
ret += "";
if(house->isGuild())
ret += "";
if(g_config.getBool(ConfigManager::BANK_SYSTEM))
ret += "";
ret += "";
player->sendTextMessage(MSG_INFO_DESCR, ret.c_str());
g_game.addMagicEffect(player->getPosition(), MAGIC_EFFECT_WRAPS_BLUE);
return false;
}
to już nie będzie pokazywać tego napisu o wynajmie?
i drugie pytanie czy to wystarczy tylko edytować talkaction.cpp czy jeszcze jakiś plik?