Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-30-2015, 07:01 PM
bheam
Fire Beetle
 
Join Date: Oct 2005
Posts: 13
Default Hard to kill at level 1?

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.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:48 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3