Jump to content

Recommended Posts

Posted (edited)

Also, why not github? Are you concerned about liability from EA? I'd be happy to do a PR for this

EDIT: Ok just saw this
The code cannot be placed on github or any other site which intends to ingest the code into AI tools or otherwise monetize the code hosted there.

  1. Running your own git instance and hosting from there is fine.


Honestly, I don't think there's much monetization opportunity here, but it's a crazy cool tool, and this would make it easy for us to help you w/ it. Are you against docker images too I guess?

Edited by Yolotron
Posted (edited)

Here's a dockerized version for you. LMK if you don't like this and wanna remove it. Just here to help. 

 

Doctor's ENB Maps

This is simply a repackage of Doctor's EnB map web-app so it can run via Docker (locally) on whatever system (Windows, Linux, etc) you want.

Step 1: Install Docker

I personally use Docker Desktop on Windows.

You can also use Docker Engine if for some reason you're not on Windows.

Step 2: Extract the files

Let's say you extract them to a folder called C:\enb_maps. Now open the command terminal and navigate to your folder.

In the command prompt (assuming Windows):

cd C:\enb_maps

Step 3: Build the Docker Image

Inside the enb_maps directory:

docker build . -t enbmaps_by_doctor:v1

Step 4: Run the docker image

Run it (you can change 8080 to 80 if you want to just type localhost in your browser):

docker run -p 8080:80 --name enb_maps enbmaps_by_doctor:v1

Step 5: ???

Step 6: PROFIT

Look at it on your browser: http://localhost:8080.

Or if you instead replaced 8080 with 80, simply http://localhost.

 

enb_maps_v2.7z

Edited by Yolotron
Posted (edited)

I don't really like Docker. Not as a solution, not as a tool, not in any respect, to be honest. And I get the business proposition. I get the 'promise' of it. I've seen it work well. The reason I don't like it is philosophical. To bury the lead: I have no issue with *you* making and sharing a docker image. Have fun.

 

I like learning how and why things work. I have hit a point in my life where learning new skills takes genuine effort. It almost feels like my brain is full. Or maybe I'm just going senile. idk. In spite of this, there are still things I want to learn, like laser welding. Or circuit design (mostly to automate little things, like you'd use an ESP32 or arduino for). If, in 2003, running a web server was as simple as 'pull this docker image' I would have never learned anything. If you make things too easy, people don't learn.

 

I got so burned out and sick of co-workers who couldn't function without a venv or docker image provided to them. People utterly incapable of troubleshooting or thinking. It was my stick in the mud to make it obvious to everyone that these employees were worthless. I didn't care if I got punished instead of them. I won't lie. I won't perpetuate lies. I interviewed candidates that 'understood' technologies. But in reality, they just downloaded a docker container. They often had never even run the software. They had no clue how it functioned or why. I just...got tired of people not thinking. And I can write a literal novel of examples of the downstream effects of this. My dislike of docker is rooted in what it represents.

 

I do like and respect selling 'ease of use'. For example, from a technical perspective, there's no reason you can't take a 1000nm (approx) fiber laser, shine it (low power) at a target material, read the back-scatter, and automatically setup the welding machine from that. You can't get spectroscopy from an electric arc ala TIG/MIG/Stick, but you can from a laser. Selling that would be huge. And fiddly, and prone to error on unclean surfaces. There's reasons nobody has done it. But if someone got it to work reliably and consistently, and most welders stopped knowing about metal properties or machine settings because someone sold a 'it just works' welder? Hey man, that's capitalism. You pay for everything you don't know. And I can live with that.

 

I'm not really worried about *me* making money. I just don't want anyone else making it from my work. Nobody gets to sell my work and not cut me in on it. That's also why I don't like github (anymore, I was fine with it in the past). And since the TAM is so small, let's just not bother selling it period. I don't feel like divvying up dimes.

Edited by Doctor
typo
Posted (edited)

Appreciate the thoughtful response! I didn't want to be running an Apache server constantly (or need to install it), so I plan to use it for my own branch of this w/ docker. I will keep any changes here. I have no interest in making money w/ this, but you made an awesome tool, and I just wanna help people add to it.

I spent an hour or two learning PHP/JS enough to add a feature to find Sectors given an Ore name. I'm sure it could be improved by:

1. Adding a dropdown for possible ore names

2. Making the sector list linkable

3. Fuzzy matching (right now it has to be an exact match-- capitalized and everything)

 

But unfortunately, it's not letting me attach more than 700kb anymore.. so I can't share here. I'm not sure how the other one attached successfully.

 

image.thumb.png.62c18f2618e557395b27d4ae901ea936.png

 

 

Edited by Yolotron
Posted (edited)
3 hours ago, Yolotron said:

, it's not letting me attach more than 700kb anymore

The forums use a global attachment limit. If you go to your profile (top-right of this page) and then to "my attachments" you'll see all of them. Delete/move some to free up space.

 

Also, FWIW, the 'Display Ore List' button gives a list of all ores and where they are found sorted by most common to least common. I get that it's a lot of data, but browser find was good enough for me. When clicking on an ore in a sector, it will highlight (javascript blink) the roids in that field containing the ore, so you know which fields in that sector have that ore.

Edited by Doctor
Posted

Gotcha. I replaced it w/ the new version. Yes, I love the 'Display Ore List' as well, helps me zero in once I picked the zone for one of the ores. You made a great tool!

Posted (edited)

1 comment and 1 question for Doc.

 

First, Step 6 will confuse the knuckledraggers like it did me. What should be offered is to create a new notepad txt document, copy/paste the info contents, then rename it as info.php. The statement...make a new file..threw me. I was like..i can make a new folder? Now for the question...everything went smoothly until step 7/8. I copied the contents of 4_28_backup.7z into C:\xampp\htdocs\ but nothing changes when i go to http://localhost/.  It still shows the welcome to XAMPP dashboard. Do I need to unzip this perhaps? or close and re-open XAMPP? or something else entirely?

 P.S. The Test PHP step worked fine, was a screen full of very confusing techical information

 

 

Edited by Wyverlunder
Posted
16 minutes ago, Wyverlunder said:

I copied the contents of 4_28_backup.7z into C:\xampp\htdocs\ but nothing changes when i go to http://localhost/.

 

As a note for phpinfo(); never, ever, put that in production. You're doing what it said, and that validates that PHP works, but in those 10 pages of info is a glut of information that can be used to haxxor a system. So...don't leave that around, unless you're 100% sure that your only listen interface is 127.0.0.1 :p It's rare that anyone mentions the massive security risk of that command and that it should only ever be used for testing.

 

As for the quote...*asks chatGPT*

 

1. Is there an index.html file in C:\xampp\htdocs\ ? If so, apache serves .html files before .php, and that's probably why. Either remove it or do step 2.

2. if not, edit C:\xampp\apache\conf\httpd.conf and change DirectoryIndex to look like below:

DirectoryIndex index.php index.html
Posted

 

no index.html file in htdocs.....you never did say if i need to upzip or extract or do something with that .7z file....

 

the httpd config had -

 

<IfModule dir_module>
    DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \
                   default.php default.pl default.cgi default.asp default.shtml default.html default.htm \
                   home.php home.pl home.cgi home.asp home.shtml home.html home.htm
</IfModule>

 

i erase all that and just make it

 

<IfModule dir_module>
    DirectoryIndex index.php index.html

</IfModule>

 

?

Posted
29 minutes ago, Wyverlunder said:

you never did say if i need to upzip or extract or do something with that .7z

"move the contents of the file" that was me saying to unzip it. But fair enough, it's subtle.

 

As for the other error, that means PHP can't find/use sqlite. Googling around says you may need to edit php.ini and uncomment it, or maybe you need to download and install it? I am not really sure. It seems like the fix changed over the years, back in 2018 it wasn't a default, but it seems to have been included in newer releases? You're going to have to do a bit of googling around for that one. *normally* sqlite3 is turned on by default in PHP, so why xampp decided not to is...probably licensing.

  • 4 months later...
Posted
21 hours ago, Barfield said:

Does anyone has an up to version of the database that is further along than the latest one shared 😃

 

I'm currently hosting the maps on https://enb.barfieldmv.eu for at least a couple of weeks.

Thank you for hosting.  I've wanted to view this work for some time and had it on my list to figure out (skills required are not my strong point!) I do believe there might be a more current version... but not sure that person's willingness to share :) 

Posted (edited)
Quote

I do believe there might be a more current version... but not sure that person's willingness to share

 

Assuming you're talking about me, I don't have a database persay... I started working on Ceres which currently has no ore data in this database, but that is a huge undertaking and nowhere near complete.

 

Off the top of my head I can tell you several places where data is missing from this database but I haven't made the time to go gather the data and add it to the database proper yet:

  • North center of BBW
  • Far Eastern side of Nifleheim Cloud
  • All the fields in Ceres in the southwest corner
  • Giant ring in the north center of Glory's Orbit
  • West of Crystal Heart in der Todesengel
Edited by Codemonkeyx
Posted

I only missed maybe 5 fields? I'll call that a pretty solid win. FWIW, I did try to map out ceres, but the fields are so large (50KM vertically, 100s of KM horizontally) that, combined with their respawn speed, I don't think I can mine them out alone. I think it will take at least 2 people working together to really get a full clear. Same with Lagarto. The data I have on those fields near Pax Decima are a 'best effort'. But between the mobs, the respawn rate, and the size...it would take more than one person to do a particularly good job.You'd almost need a JD to sit somewhere static with level 7 scan (they get lvl 7 scan, right?) helping extend sensor range just to make sure an area is clean before moving forward, and also to serve as kind of a virtual 'cleared line'.

 

If the BBW field is the one I'm thinking of, it's where the controller raid spawns, and I kept not finding it both spawned and someone NOT engaging the controller. So...never got around to mining that one.

 

Note for anyone who feels hacker-ish: The Z-height data is actually stored in the database for every asteroid. So if you know how to make a 3d object you can actually render the sectors as 3d maps (like Google Earth). The data is there, I just didn't feel like learning how to display a 3d map + deal with all the control issues. I *learned* Javascript for this project.

Posted

Yeah, my point wasn't that you missed some fields, the data is pretty comprehensive given how quickly it was compiled with you working alone. I should have stated more explicitly that there isn't much need for a "up to version of the database that is further along" as this one already has pretty much everything in it. I was just noting the few things (that I'm aware of) that could be in an updated version if there was one.

  • Upvote 1
Posted (edited)

FYI, posted a new .7z file to the original post. It contains the same better_map.db (the database itself of all roids/navs/etc) as the 4_28 attachment it replaced. So if your DB has newer data than that release, be sure NOT to overwrite your db with the one in that zip file.

 

Only two files changed: map_script.js and mapstyle.css. What got changed? You can now zoom and pan the map. Mouse wheel up/down to zoom in and out, click and drag to pan around. Ctrl + 0 to reset it back to default.

 

Note: If you have your mouse over a nav point the zoom/drag won't work. Just move it to any blank area of the map to zoom/drag instead. This has to do with how HTML events are handled and I can't have the nav names light up on mouseover if I make it so click and drag/zoom works even on top of them. This is a limitation of HTML. If you want to see what I mean, open the HTML inspector and modify either the map_label or map_overlay_element classes to have pointer-events: none. You'll be able to zoom/pan when your mouse is anywhere, but names will no longer light up when you mouse over them.

 

As for why the file is smaller? I manually set maximum compression level vs default. :p And I'm sorry for not adding this sooner.

Edited by Doctor

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...