Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Windows Servers

Archive::Windows Servers Archive area for Windows Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-20-2002, 05:27 AM
Whistle
Fire Beetle
 
Join Date: Mar 2002
Posts: 8
Default Performance => Drawde's DB

Hi,

im using Drawde's databases v.06 on a local server, and im getting disconnects at pings from 1600.. there are several stucks and lags too.
My System is a P4 1800, 512 mb, 64 megs Geforce3 - running WinXp.
The DB is made very fine though, almost all zone are mobbed

Are you guys experiencing same probs on bigger databases?

What should i do to make the game more enjoyable?

/wave
Whistle
Reply With Quote
  #2  
Old 03-20-2002, 05:30 AM
Shawn319
Demi-God
 
Join Date: Jan 2002
Posts: 2,073
Default

logging into or zoning into a zone with spawns will cause lots of lag at first, if u can get over the hump it evens out. most of the time (depending on connection) you will disconnect first though.
__________________
Shawn319
Semi-Retired EQ Addict

(Retired)EQEmu Lead Tester
(Retired)EQEmu Tech Support

(Retired)Host/ServerOP - [LIVE] Official EQEmu Test Server
(Retired)Host/ServerOP - Shawn319's All-GM Dev Test Server
(Retired)ServerOP - EQEmu Beta Server
(Retired)ServerOP - GuildWars Server
(Retired)ServerOP - Raid Addicts
--------------------------
Reply With Quote
  #3  
Old 03-20-2002, 05:34 AM
ScotchTape
Fire Beetle
 
Join Date: Mar 2002
Posts: 12
Default

You know, I can't but help to think that this is related to the problem that i'm talking about in the '%bug process%' thread.

What would it take to spawn the npc objects into memory and to keep them there, and then after a person logs in, to move them about? hrm.

I need to go look at how that's handled.
Reply With Quote
  #4  
Old 03-20-2002, 10:58 AM
morpheus014
Hill Giant
 
Join Date: Feb 2002
Location: the little voice in the back of your head
Posts: 239
Default

Could someone post a copy of that DB or tell me where i can DL it?

Thx!
Reply With Quote
  #5  
Old 03-20-2002, 12:00 PM
ibleet
Hill Giant
 
Join Date: Feb 2002
Posts: 106
Default Mad Lag

Ya, I have mad lag recently. Almost to the point where it becomes annoying gameplay. Many of the zones seem to lump all the mobs into a single area, making latency much worse...even to the point where you cannot move. There also seems to be a few mobs either under the earth or flying high in the sky in most zones. I'm not complaining mind you. It is much easier for me to fix the few than to spawn the entire db on my own. I am thankful for that. I have also noticed major slowdown with EqAdmin with fully spawned zones. I just thought this may be contributing to the lag situation. I'm gonna dump my db and start fresh to see if that helps. Anyone else experiencing this?
Reply With Quote
  #6  
Old 03-21-2002, 03:07 AM
ScotchTape
Fire Beetle
 
Join Date: Mar 2002
Posts: 12
Default

Actually, yes, I noticed this last night while working on some pathing related code. Some zones, like soldungb, were hugely problematic as now (unless I manually remove the spawnlist) force a disconnect on me.

I'm just guessing that there is a connection between having a large number of mobs in one place and causing lag. I'd have to wager that it has to be one of the LL iteration loops in the code, but I"m just wagering -- I don't know for sure.

I have noticed too that if you attempt to load the zone config file from the zone files themselves and not the config files that ship that it resolves a form of the disconnect problem. My bets here, too, are that when you don't have the config files that it lumps all the mobs into one place, and then just reinforces the problem some more. But, I haven't checked what actually loads with the config file. For all I know, it just loads the zone name and whether to serve a latte or a mocha.

Maybe a check that 'warped' NPCs away from one another (say by rand()%10 and in a circle?) if they all occupy the same x,y coordinates in the zone, might at least enough to spread them out. Or perhaps even depop the mob, as a way to test out whether the problem is there.

I plan on taking a peak at it later tonight (here in about 8 or so hours), but maybe someone has a quick and dirty answer for us? :)
Reply With Quote
  #7  
Old 03-21-2002, 03:37 AM
Whistle
Fire Beetle
 
Join Date: Mar 2002
Posts: 8
Default

The database or SQL seams to refresh everything every second.
I think thats why mobs in outdoor places seam to fall from the sky or are jumping up and down. Same when you fight them, this looks kinda funny when you view from 3rd person.
Dungeons are just unplayable when you go deeper in, because 10 monsters are hitting, you can't see.

I hope there will be any solutions in future.
I wish i could help, but im not yet involved in database administration.
Reply With Quote
  #8  
Old 03-21-2002, 06:22 AM
ScotchTape
Fire Beetle
 
Join Date: Mar 2002
Posts: 12
Default

Quote:
Originally Posted by Whistle
The database or SQL seams to refresh everything every second.
I think you are talking about the ping that is setup to keep the mysql connection alive. I don't think the code rebuffers in all that data, each time. It should only buffer once the zone is loaded, and then a periodic refresh when the spawn timer goes off (which should be internalized from/in the zone boot).

Quote:
I think thats why mobs in outdoor places seam to fall from the sky or are jumping up and down. Same when you fight them, this looks kinda funny when you view from 3rd person.
Dungeons are just unplayable when you go deeper in, because 10 monsters are hitting, you can't see.
I am pretty sure this has to do with the movement code after a mob has been agro (its in ->Process(), about halfway down) and is something that someone said they are messing around with. If the mob has to follow the player, then it utilizes the SendTo() method. Otherwise, it puts itself right on top of the player's foot (unless you are halfling, then its on your head ;o).

Come to think of it, SendTo() only has an x and y coordinate, but no z. This could be why dungeons aren't working right, because the combat engine is sending the mob to x,y, no z and I *think* that the engine only checks right now if mob_is_near_player(x,y). Putting an overload in would likely be a good first step.
Reply With Quote
Reply


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 06:16 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