[Release] Map Portal Editor

12/01/2018 05:26 Spirited#1
Introduction
I wrote a simple command-line program for modifying map portal locations. It outputs a list of portal coordinates and ids from a dmap (data map) in the format "index,x,y" and allows you to write them back using the same format (line separated). It can be compiled for Windows, Linux, and Mac using the [Only registered and activated users can see links. Click Here To Register...]. I attached a download for a pre-built Windows version of the tool. It's all open source, in case you want to modify it. Cheers.

Link
[Only registered and activated users can see links. Click Here To Register...]

Pictures
Gallery

Common Questions
  • Why does the program close immediately?
    This is a command-line tool. Please open the program from a command prompt or terminal as shown in the pictures above. This is necessary for supplying the program with arguments.
05/14/2019 23:12 abdulrahmanok2#2
After open Compiled exe It closes itself, and I can't compile it while I cant download source files and that Canyon.txt file
05/15/2019 03:32 Spirited#3
Quote:
Originally Posted by abdulrahmanok2 View Post
After open Compiled exe It closes itself, and I can't compile it while I cant download source files and that Canyon.txt file
Read the thread.
05/15/2019 17:10 abdulrahmanok2#4
I already did and I also downloaded Golang compiler.
05/15/2019 17:44 Spirited#5
Quote:
Originally Posted by abdulrahmanok2 View Post
I already did and I also downloaded Golang compiler.
"Why does the program close immediately?

This is a command-line tool. Please open the program from a command prompt or terminal as shown in the pictures above. This is necessary for supplying the program with arguments."

And just built it without any problems from scratch. If you're getting a compilation error, please post the error. Thanks.
12/08/2019 05:04 KingGannon#6
I had downloaded the Golang and installed it then open command prompt
typed in
portals canyon-fairy.DMap > Canyon2.txt

I got an error and an empty txt file
12/08/2019 05:53 Spirited#7
Quote:
Originally Posted by KingGannon View Post
I had downloaded the Golang and installed it then open command prompt
typed in
portals canyon-fairy.DMap > Canyon2.txt

I got an error and an empty txt file
Well, thank god that error is in English.
12/08/2019 09:41 KingGannon#8
If you are talking about putting both the files portals.go and main.go into their directories I already done so. There won't be such a line error goroutine 1 and all that below.

I still don't got a clue what is +0x6ed +0x66 even if I am to look into the files
12/08/2019 18:38 Spirited#9
Quote:
Originally Posted by KingGannon View Post
If you are talking about putting both the files portals.go and main.go into their directories I already done so. There won't be such a line error goroutine 1 and all that below.

I still don't got a clue what is +0x6ed +0x66 even if I am to look into the files
"The system cannot find the file specified".
Aka. invalid arguments.
12/20/2019 09:24 KingGannon#10
I thank you for clarifying the invalid argument and I fixed it so that I can make a new dmap.

New problem might not be a Map Portal Editor but might as well try it here.

I added the new dmap to server side without touching the client side and nothing happens on the changes that I made. Whenever I add the new dmap in the client side, the client crashes every time I enter any map that uses the new dmap.

Apparently the server does not like the changes I made, whether I add a new portal, move the existing portal coord, or even removing all the portals. While the database show I had changed maps, the X and Y coord still uses the old map. Which means the client had crashed and disconnected before the new map can successfully loaded.

How do I properly apply the changes after making a new dmap?
12/20/2019 18:14 Spirited#11
Quote:
Originally Posted by KingGannon View Post
I thank you for clarifying the invalid argument and I fixed it so that I can make a new dmap.

New problem might not be a Map Portal Editor but might as well try it here.

I added the new dmap to server side without touching the client side and nothing happens on the changes that I made. Whenever I add the new dmap in the client side, the client crashes every time I enter any map that uses the new dmap.

Apparently the server does not like the changes I made, whether I add a new portal, move the existing portal coord, or even removing all the portals. While the database show I had changed maps, the X and Y coord still uses the old map. Which means the client had crashed and disconnected before the new map can successfully loaded.

How do I properly apply the changes after making a new dmap?
It doesn't sound related. If your client is crashing, then you can try looking at the client logs. I recommend making a separate thread about this with more details if you have further questions/ problems.