chucky91
Advanced OT User
spiders doesn't attack player
XML:
<flag hostile="1" />
<flag hitback="0" />
spiders doesn't attack player
<flag hostile="1" />
<flag hitback="0" />
yes but very little, you have to change the time in beds.cppHouse beds doesn't seem to regenerate mana for players when sleeping in them?
void BedItem::regeneratePlayer(Player* player) const
{
const uint32_t sleptTime = time(nullptr) - sleepStart;
Condition* condition = player->getCondition(CONDITION_REGENERATION, CONDITIONID_DEFAULT);
if (condition) {
uint32_t regen;
if (condition->getTicks() != -1) {
regen = std::min<int32_t>((condition->getTicks() / 1000), sleptTime) / 30; // sleptTime / 5;
const int32_t newRegenTicks = condition->getTicks() - (regen * 30000);
if (newRegenTicks <= 0) {
player->removeCondition(condition);
} else {
condition->setTicks(newRegenTicks);
}
} else {
regen = sleptTime / 30; // sleptTime / 5;
}
player->changeHealth(regen, false);
player->changeMana(regen);
}
const int32_t soulRegen = sleptTime / (60 * 15);
player->changeSoul(soulRegen);
}
A server developed by Roberto Preguica
Visit our forum for updates, support, and resources: http://otland.net/.
Re-edited by Roberto Carlos Preguica, otserv only runs on Tibia 7.4!
Does not use client 7.72 because it generates bug with invisibility of gamemaster and warlock.
>> Loading config
>> Establishing database connection...WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
MySQL 8.0.34
>> Running database manager
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
> No tables were optimized.
>> Loading vocations
>> Loading items
>> Loading script systems
>> Loading monsters
>> Checking world type... PVP
>> Loading map
> Map size: 65000x65000.
> Map loading time: 3.718 seconds.
>> Loading npcs...
> Loaded house items in: 0.008 s
>> Initializing gamestate
>>> Houses Auctions: Done!
>> Loaded all modules, server starting up...
>> TibiaCore Server Online!
>>> Continue Top Week Event.
can u guys share spr 772 for this distro ? mines does not work the ones hat comes with this either
it says connection error by client side dont know if might be this
LUA:A server developed by Roberto Preguica Visit our forum for updates, support, and resources: http://otland.net/. Re-edited by Roberto Carlos Preguica, otserv only runs on Tibia 7.4! Does not use client 7.72 because it generates bug with invisibility of gamemaster and warlock. >> Loading config >> Establishing database connection...WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. MySQL 8.0.34 >> Running database manager WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. > No tables were optimized. >> Loading vocations >> Loading items >> Loading script systems >> Loading monsters >> Checking world type... PVP >> Loading map > Map size: 65000x65000. > Map loading time: 3.718 seconds. >> Loading npcs... > Loaded house items in: 0.008 s >> Initializing gamestate >>> Houses Auctions: Done! >> Loaded all modules, server starting up... >> TibiaCore Server Online! >>> Continue Top Week Event.
yes but very little, you have to change the time in beds.cpp
C++:void BedItem::regeneratePlayer(Player* player) const { const uint32_t sleptTime = time(nullptr) - sleepStart; Condition* condition = player->getCondition(CONDITION_REGENERATION, CONDITIONID_DEFAULT); if (condition) { uint32_t regen; if (condition->getTicks() != -1) { regen = std::min<int32_t>((condition->getTicks() / 1000), sleptTime) / 30; // sleptTime / 5; const int32_t newRegenTicks = condition->getTicks() - (regen * 30000); if (newRegenTicks <= 0) { player->removeCondition(condition); } else { condition->setTicks(newRegenTicks); } } else { regen = sleptTime / 30; // sleptTime / 5; } player->changeHealth(regen, false); player->changeMana(regen); } const int32_t soulRegen = sleptTime / (60 * 15); player->changeSoul(soulRegen); }
Did you try to reduce the time and compile? I've already tested this, but it takes a lot of time to increase little mana.I waited for some hours and didn't regen 1 single Mana Point?
bro, a question, do you know how to put the stackable runes?Did you try to reduce the time and compile? I've already tested this, but it takes a lot of time to increase little mana.
Don't forget that you have to eat before bed.
improve: Bed regen config and change dlls. · RCP91/TibiaCore@59d4aee (https://github.com/RCP91/TibiaCore/commit/59d4aee5a92a5979a083de9a350115a68d38eb1a)
Follow the same example as the scrolls items that i put .dat and follow the id, and in items.srv copy the attributes.bro, a question, do you know how to put the stackable runes?
I believe it is a problem with a version higher than 772 or with the otclient module.Another issue is that when spectators watch a live cast, most of the times they do not get the "Live Channel" and therefore cannot talk to the caster?
Also, when starting to watch a Cast, the player is invisible ... and must use a stair/ladder or somehow change floor in order to appear lol.
Else monsters and other things are invisible too![]()
Version 7.72 being used here (otclient). Oh, so it is only working with tibianic.dll properly?I believe it is a problem with a version higher than 772 or with the otclient module.
I adjusted this cast system for the client like tibianic.dll
Works on both, otclient works normally here.Version 7.72 being used here (otclient). Oh, so it is only working with tibianic.dll properly?
do you have a working !shop command for znote possibly?Works on both, otclient works normally here.
Is this just to pick up the item in shop?do you have a working !shop command for znote possibly?
Is it possible to "repeat" tasks somehow?
Does task kills share with party members?
Is it possible to take multiple tasks at once?
QuestValue(506)>= 1 <repeat here! ,"scorpion" -> "You have already done this task 1 times. Ask for a different one."
-- Skull System?how do you change the timer for how often frags decrease? it is not in the config?
C++:QuestValue(506)>= 1 <repeat here! ,"scorpion" -> "You have already done this task 1 times. Ask for a different one."
In order for the party to share the target count, it is necessary change in src related to lastkill.
-- Skull System?
banLength = 7 * 24 * 60 * 60
whiteSkullTime = 15 * 60
redSkullTime = 15 * 24 * 60 * 60
killsDayRedSkull = 3
killsDayBanishment = 5
killsWeekRedSkull = 6
killsWeekBanishment = 8
killsMonthRedSkull = 12
killsMonthBanishment = 16
... pzLocked = 60000
I believe you need to implement a config to time reduction.Yes, but I mean which one sets the time to lose 1 frag?