Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #16  
Old 07-28-2015, 07:43 PM
Tabasco's Avatar
Tabasco
Discordant
 
Join Date: Sep 2009
Posts: 269
Default

The limiting factor is that the grid needs to be assigned to some NPC first in order for it to be visualized on the map. If you're wanting to recycle zone grids you can browse them using a stock version of the zone.

The folder icon at the top shows you the raw grid data, but I understand that's not very helpful by itself. It would be a pretty trivial code change to add a jump link to that view that drops the camera on a given grid point. You have the coordinates, you would just need to modify one of the camera to X functions a little bit.

One of the first things I noticed when going through these maps and visualizing grids myself, is that they are either very specific paths (like goblins on stairs in sol) or sprawling messes of seemingly random points (like south karana mobs).

If you're writing zones from scratch I would suggest making grids from scratch also since it can be done so quickly. That's not what you want, of course, but it is what I would do in that case whether I had quick grid visualization or not.
I *think* I can produce a quick patch for arbitrary grid visualization from the zone data view, since that does appear to be what you're after.
__________________
http://dungeoncrawl.us.to
Reply With Quote
  #17  
Old 07-28-2015, 07:58 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

If you could, that would be awesome!

What I'm ultimately trying to do is fix some of the wonky pathing by finding out which grids are good, and which aren't. I'm planning to keep the good ones, and rework the ones that need TLC.

As somebody mentioned in another post here somewhere, the packet captures undoubtedly picked up mobs being aggroed or otherwise pulled off their normal route and that probably accounts for some of the grids being crazy. I believe that with the proper visualization, those grids can be made workable without a lot of time spent.

None of this is to mention zones I've imported from other/older databases that don't have any grid assigned to the NPCs at all. That's really where I started with this.
Reply With Quote
  #18  
Old 07-28-2015, 08:05 PM
Tabasco's Avatar
Tabasco
Discordant
 
Join Date: Sep 2009
Posts: 269
Default

Done, updated in the demo and github.
There is a 'Show' button in the zone view, grid tab.
This will allow you to display a grid and manipulate its points without an NPC selected.

The points will still show up in the side so you should be able to jump to them in the view and edit them independent of a connected NPC.

It is a very hasty change, so let me know if you find any unusual behavior.
__________________
http://dungeoncrawl.us.to
Reply With Quote
  #19  
Old 07-28-2015, 08:18 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

I got it pulled down and connecting to my database. Don't see anywhere to set a maps directory though, unless I'm just missing it (which is possible).

I'm literally on my way out the door, but I plan to play with this when I get home tonight!
Reply With Quote
  #20  
Old 07-28-2015, 08:22 PM
Tabasco's Avatar
Tabasco
Discordant
 
Join Date: Sep 2009
Posts: 269
Default

Check the map download link in the original thread. It might be harmless to put on github, but I didn't want to take any chances. The maps are converted to json and anything you can configure should be in config.js and ajax/db.inc.php.

For best results you will at least want to set up the PEQ editor as it makes it easy to actually assign grids to NPC's.
This should all be detailed reasonably well in the readme and the guide in the original thread.

Good luck!
__________________
http://dungeoncrawl.us.to
Reply With Quote
  #21  
Old 07-29-2015, 03:22 AM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

I totally missed the map files. Pulling them down now. So how hard is it to make these? Is that something the tools are included for or does it have to be done some top secret way? I mainly ask because I'm using old versions of some zones.
Reply With Quote
  #22  
Old 07-29-2015, 03:36 AM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

Ok, so got the maps working.

I gotta say, while this tool is really, really cool, it's more than a bit cumbersome for what I'm trying to do. The 3D is just a bit much for me I guess.

Don't take my feedback as me expecting you to do anything at all. Just seems like an overlay would be a simpler way to go for me.

Thanks for all your work on this tool. I'm going to use it for other things for sure.
Reply With Quote
  #23  
Old 07-29-2015, 05:17 PM
Tabasco's Avatar
Tabasco
Discordant
 
Join Date: Sep 2009
Posts: 269
Default

The 3D navigation is a little clunky. I'm used to it so I can fly through a map without much trouble, but that's 3D in a browser for you. Pointer lock and drag controls really mess with the UI so I decided on pure keyboard and target navigation. I do hope you get some use out of it for other things.

I will mention one other technique that might get you closer to what you want in the absence of true 2D replacement.
Hit the gear icon to open your settings and set the map material to translucent. Once you pick a grid, click one of the Go To arrows on any one of the grid points.
This will have you positioned above the point looking down. From there translate back with S until you are the desired height. You can use A/D + R/F (Or A/D and rotate with Q/E) to move around while maintaining that top-down perspective. With translucent material you will be able to see the path lines through the ground geometry. It's basically a 2D perspective projection at that point.
__________________
http://dungeoncrawl.us.to
Reply With Quote
  #24  
Old 07-29-2015, 05:30 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

Isn't Tabasco a badass?
Reply With Quote
  #25  
Old 07-29-2015, 05:34 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

I know KLS is hoping to get some path stuff into the zone-utilities project. Not sure if that's set in stone yet, but will probably be cool once it's done.
Reply With Quote
  #26  
Old 07-29-2015, 07:52 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

I updated my tree and compiled those today in anticipation. Now if I can just make it run without segfaulting. :P

Tobasco, I'm starting to get the hang of it a bit more. I'll definitely add it to my toolbox.
Reply With Quote
  #27  
Old 07-30-2015, 06:40 AM
Tabasco's Avatar
Tabasco
Discordant
 
Join Date: Sep 2009
Posts: 269
Default

I might get back into development on it as things settle down at home.

Akkadius, thanks for keeping the dev server up.
__________________
http://dungeoncrawl.us.to
Reply With Quote
  #28  
Old 07-30-2015, 11:12 AM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

Quote:
Originally Posted by Tabasco View Post
I might get back into development on it as things settle down at home.

Akkadius, thanks for keeping the dev server up.
You know me bro
Reply With Quote
  #29  
Old 08-02-2015, 02:57 AM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

https://i.imgur.com/5yi5SNh.png this is something KLS has been working on :P
Reply With Quote
  #30  
Old 08-02-2015, 08:44 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Quote:
Originally Posted by demonstar55 View Post
https://i.imgur.com/5yi5SNh.png this is something KLS has been working on :P
Strange question I know, what O.S. is that?
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 12:49 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3