EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   Issue with Waypoints. (https://www.eqemulator.org/forums/showthread.php?t=39788)

NatedogEZ 06-24-2015 04:43 PM

Are you on old code? Those line numbers do not match up for me and this does not crash for me even if there are no waypoints in that zone and the query is NULL

Shendare 06-24-2015 04:59 PM

Hmm... that would explain why the line number doesn't match up with the current repo.

joligario 06-24-2015 05:13 PM

I thought KLS added code to stop crashes with zones having 0 entries. I'll look when I get home tonight.

EDIT: Ah, nm. That was factions.

Drajor 06-24-2015 07:22 PM

Attach a debugger!

Nerdgasm 06-25-2015 03:21 AM

This is the newest repack that is on git hub, or was when I downloaded it. 2015-02-13-02_01.

Nerdgasm 06-25-2015 03:29 AM

Quote:

Originally Posted by Shendare (Post 241208)
Alternatively, this would add all missing zone entries in the `grid` table so the code doesn't crash looking up the max(id) for them:

Code:


INSERT INTO `grid`
SELECT DISTINCT 0, `zoneidnumber`, 0, 0 FROM `zone` WHERE `zoneidnumber` NOT IN
(SELECT DISTINCT `zoneid` FROM `grid`);


This fixed the issue.

Huppy 01-15-2016 03:03 AM

Quote:

Originally Posted by Nerdgasm (Post 241225)
This fixed the issue.

I thank you for this fix. I was having a similiar issue. Its all good now.

provocating 01-18-2016 03:50 PM

I ran into this exact same problem today. Has anyone fixed this in the source yet?


All times are GMT -4. The time now is 11:04 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.