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, 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
  #2  
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
  #3  
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
  #4  
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
  #5  
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
  #6  
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
  #7  
Old 10-30-2006, 09:53 PM
cbodmer
Fire Beetle
 
Join Date: Oct 2006
Posts: 24
Default

Looking through the code, I was wrong. Seems like everything the zone needs is coming via shared memory. However I am not sure whether everything is actually preloaded by world or whether loot data is preloaded on first use.

-Chris
Reply With Quote
  #8  
Old 10-31-2006, 01:42 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Also, it probably would be a good idea to look for ways to speed up your MySQL server, I still think the further we enhance the zones, slower loading times are unavoidable - If you stop and think, most people have it all in one machine; Client , server, MySql, etc. And probably peak usage for MySQL is during zone-loading, as is for client and EqEmu.
I don't think differences are really that great; "autobootup_timeout(60000)", and "CLE_keepalive_timer(65000)", was way too high for me, but I kept the number, because I like the extra "buffer" time.
I think if FNW can figure out a way to include a setting in the eqemu_config.xml file (as per cbodmer), so anyone could make this adjustment, would solve a lot. It probably would not be a bad idea to keep the default setting to something long like "autobootup_timeout(60000)", and "CLE_keepalive_timer(65000)", unless this somehow affects other performance.
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 11:08 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3