Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-30-2006, 08:17 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Slight derail here, but let me tell you why I like Angelox' work, too... he doesn't run his own server which only has these changes, so someday when he gets bored and quits, all those cool improvements don't vanish like a fart in a hurricane. They are still here for everyone to enjoy.

I would just like to get to the bottom of the optimization issues globally, because sometimes my zones take 2 secs to load, sometimes almost a full minute. That has to be data (mysql.exe pegged at 90%). This is even on raw PEQ, too (there, got the thread back on track)
Reply With Quote
  #2  
Old 10-30-2006, 08:26 AM
cbodmer
Fire Beetle
 
Join Date: Oct 2006
Posts: 24
Default

I think the loot/loot-table takes the longest to load.

Try running a static zone in a command line window, especially when your world is active. "Zone" is very verbose and you can see exactly what it is doing and how long it takes.

-Chris
Reply With Quote
  #3  
Old 10-30-2006, 12:03 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Originally Posted by John Adams
I would just like to get to the bottom of the optimization issues globally, because sometimes my zones take 2 secs to load, sometimes almost a full minute. That has to be data (mysql.exe pegged at 90%). This is even on raw PEQ, too
.

Seems to me, the more data you put into a zone is what affects the database. cbodmer mentioned the loot tables are what take longest to load, this makes sense, because I've found a lot of "stray" data in that area, that leads no where. It's like it's there, but the npc's that use it are not there anymore. So if you have a zone full of loots, and you load those loots, plus un- needed loots, then this could make more load than needed.
Trick is, how do you figure out what is the loot in use, and what is not, so it can be removed?
Reply With Quote
  #4  
Old 10-30-2006, 12:22 PM
sesmar
I built it I will Support it!
 
Join Date: Jun 2005
Location: Michigan
Posts: 214
Default

Quote:
Originally Posted by Angelox
Trick is, how do you figure out what is the loot in use, and what is not, so it can be removed?
This query will tell you all Loottables that are not assigned to a NPC.

Code:
SELECT
  npc_types.id,
  lootdrop.id
FROM
  npc_types
  RIGHT JOIN lootdrop
    ON lootdrop.id=npc_types.loottable_id
WHERE
  npc_types.id IS NULL
Warning this query will take a little bit of time to run, for some reason MySql does not like right joins looking for nulls but it will work and will give you the desired information.
__________________
Reply With Quote
  #5  
Old 10-30-2006, 12:45 PM
bufferofnewbies
Hill Giant
 
Join Date: Dec 2005
Location: Lurking in KY
Posts: 239
Default

Hey, it actually wasnt a dbase error.

It was an MySQL error. I reloaded the drivers, apparently one was corrupted as was causeing an error in packet sending. Once I reloaded them (not sure which one, as I just did them all due to lack of time.), most zones times take about as long as a sneeze again. Of course, my dBase probably DOES need an enima with all the extra stuff in it.

ODBC Driver.exe for the win!

So anyone who is having this problem with something like Angel's dBase (since he usually optimizes his pretty well), try reloading MySql drivers.
Reply With Quote
  #6  
Old 10-30-2006, 12:47 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

loot is stored in shared memory, it is not loaded at zone boot, so that is not your problem.
Reply With Quote
  #7  
Old 10-30-2006, 01:02 PM
bufferofnewbies
Hill Giant
 
Join Date: Dec 2005
Location: Lurking in KY
Posts: 239
Default

I dont believe my error was about loot
It was about packets not being sent to players at all.
For some reason, whenever they zoned it simply stopped acting upon them.

but then again, I don't really know what all is being done. It could be anything.
All I know is.. The only thing i have changed so far is mysql and now the problem is solved.
Reply With Quote
  #8  
Old 10-30-2006, 01:58 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

FNW, what's in the Zone debug logs is slightly confusing then:
Code:
[10.30. - 16:14:00] [ZONE__INIT] Loading server configuration..
[10.30. - 16:14:00] [ZONE__INIT] Log settings loaded from log.ini
[10.30. - 16:14:00] [ZONE__INIT] Connecting to MySQL...
[10.30. - 16:14:00] [ZONE__INIT] CURRENT_ZONE_VERSION: EQEMu 0.7.0
[10.30. - 16:14:00] [ZONE__INIT] Log settings loaded from ./log.ini
[10.30. - 16:14:00] [ZONE__INIT] Mapping Incoming Opcodes
[10.30. - 16:14:00] [ZONE__INIT] Loading Variables
[10.30. - 16:14:00] [ZONE__INIT] Loading zone names
[10.30. - 16:14:06] [ZONE__INIT] Loading items
[10.30. - 16:14:06] [ZONE__INIT] Loading npc faction lists
[10.30. - 16:14:06] [ZONE__INIT] Loading loot tables
[10.30. - 16:14:06] [ZONE__INIT] Loading guilds
[10.30. - 16:14:06] [ZONE__INIT] Loading factions
[10.30. - 16:14:06] [ZONE__INIT] Loading titles
[10.30. - 16:14:06] [ZONE__INIT] Loading AA effects
[10.30. - 16:14:06] [ZONE__INIT] Loading swarm spells
[10.30. - 16:14:06] [ZONE__INIT] Loading tributes
[10.30. - 16:14:06] [ZONE__INIT] Loading corpse timers
[10.30. - 16:14:06] [ZONE__INIT] Loading commands
This looks like the Items and Loot Tables are loaded into each zone -- tho the memory usage makes me think differently. Wouldn't zone mob loot table be unique to that zone only? Maybe this is getting off topic. Sorry.
Reply With Quote
  #9  
Old 10-30-2006, 09:24 PM
cbodmer
Fire Beetle
 
Join Date: Oct 2006
Posts: 24
Default

World does load items into shared memory, but I don't think it does loottables and lootdrops, that wouldn't make much sense. I am not sure what the items are the zone is loading...

-Chris
Reply With Quote
Reply

Thread Tools
Display Modes

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 03:16 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3