Hi,
Just started with eqemu.
Something seems off the the default distribution of peq database.
In greater faydark, there's a lvl 7 KOS elven skeleton roaming the noob pod lift area, this can't possibly be correct.
Also trying to kill any mobs as a level 1 druid is impossible, as the NPCs hit every single time. I did change Combat:NPCBonusHitChance from default 26 to 0 which helped some, but won't this ruin the math down the line? Isn't an NPC supposed to hit you more at lvl 50 (vs 50) than at lvl1 (vs 1)?
Also a couple bug fixes i added:
1) At around line 1386 in common/database.cpp, correct code should be:
Code:
bool Database::MoveCharacterToZone(uint32 iCharID, const char* iZonename) {
std::string query = StringFormat("UPDATE `character_data` SET `zone_id` = %i, `x` = -1, `y` = -1, `z` = -1 WHERE `id` = %i", GetZoneID(iZonename), iCharID);
2) in zone/client_packet.cpp, some code needs to be moved like 50 lines down regarding "CanBeInZone" check like this. Not sure this is correct location, but it has to come after "client_data_loaded = true" or the new zone location can't be saved with Save():
Code:
/* This needs to be set, this determines whether or not data was loaded properly before a save */
client_data_loaded = true;
//enforce some rules..
if (!CanBeInZone()) {
Log.Out(Logs::Detail, Logs::None, "[CLIENT] Kicking char from zone, not allowed here");
GoToSafeCoords(database.GetZoneID("arena"), 0);
return;
}
CalcItemScale();
DoItemEnterZone();
Thanks in advance for any input.