Failed to load custom map on Pterodactyl from a Dropbox link.

When I correctly put the Dropbox link for a working custom map, the server crashes and fails to load fully.
Here's the error:  World cache version mismatch: 9 != 1329865020 World File Outdated: MyMapName
The link I added to the Pterodactyl Startup tab in the custom map field is:

https://www.dropbox.com/scl/fi/u8hh4iwrjd5ff1xehkxzp/MyMapName.map?rlkey=bum5e6f6p8fh5l2i78972opoy&dl=1

But when the server starts, it cuts the &dl=1 part for an unknown reason. That causes the failure later on with the map loading. Do I need to convert this & into something else or type it correctly? Tested with OpenDrive, where the link contained no &s, and it worked fine. I found the issue, but I need to figure out the fix.

(the map name in the link is invalid, for example, but the whole link structure is the same)

Have you found a fix. I am running into the same issue

Try it with URL encoding

%3F  ?
%26  &
%2F  /
%3A :
%2E  .
%3D  =

So for example:

https%3A%2F%2Fwww%2Edropbox%2Ecom%2Fscl%2Ffi%2Fu8hh4iwrjd5ff1xehkxzp%2FMyMapName%2Emap%3Frlkey%3Dbum5e6f6p8fh5l2i78972opoy%26dl%3D1​
htmlSh3wbejUsbb.png JimDeadlock

Try it with URL encoding

%3F  ?
%26  &
%2F  /
%3A :
%2E  .
%3D  =

So for example:

https%3A%2F%2Fwww%2Edropbox%2Ecom%2Fscl%2Ffi%2Fu8hh4iwrjd5ff1xehkxzp%2FMyMapName%2Emap%3Frlkey%3Dbum5e6f6p8fh5l2i78972opoy%26dl%3D1​

I get an Invalid link error



Merged post

I hink it has something to do with dropbox themselves and the panel. I tried this link https://www.dropbox.com/scl/fi/i13742cmuxlg90s0k6x81/proceduralmap.1000.2147483647.247.01.map%3Frlkey%3Dlhajxzltawvuh33cvo9qqmfpx%26dl%3D1 And it still doesnt work. Using this link works https://od.lk/d/NV8xOTIxMjg5NjBf/proceduralmap.1000.2147483647.247.01.map

I changed my started parameters to this to get it to work

$( [ -z ${MAP_URL} ] && printf %s \"+server.worldsize \"{{WORLD_SIZE}}\" +server.seed \"{{WORLD_SEED}}\"\" || printf %s \"-levelurl {{MAP_URL}}\" )

v36fGdXQn1yzbtD.jpg snaplatack

I changed my started parameters to this to get it to work

$( [ -z ${MAP_URL} ] && printf %s \"+server.worldsize \"{{WORLD_SIZE}}\" +server.seed \"{{WORLD_SEED}}\"\" || printf %s \"-levelurl {{MAP_URL}}\" )

Played around with it some more and this works. The line above only using the default 4500 map size and default seed 1337

$( [ -z ${MAP_URL} ] && printf %s \""+server.worldsize {{WORLD_SIZE}}\" \"+server.seed {{WORLD_SEED}}"\" || printf %s \""-levelurl " "{{MAP_URL}}"\" )

this doesnt work for me.  any thing else u know of?  iv tried the encoding and ur edit to the startup but no matter what either start breaks with urs or it doesnt take the entire url

Merged post

i found it.  using the above stated url encoding.  goto ur mounts - eggs - rust egg.  open it and goto variables.  find the map serverurl variable and delete |url from it.  then save and go back to ur startup.  use the encoding right into the startup variable box and mainly seems to dislike & symbols so just replace any & with %26

Merged post

found that it will only partially work with the above fix.  i recommend just removing the entirity of the world seed, size, and maplevel leaving only the server.levelurl in place. such as the code below.  works just fine.  if u use drop box make sure to also change the end from dl=0 to dl=1 for straight link download

 

+server.saveinterval {{SAVEINTERVAL}} +server.levelurl \"{{MAP_URL}}\""​