Page 4 of 5

Re: G3DEditor - 3D GeoEditor

Posted: Wed Jul 11, 2012 7:39 pm
by Forsaiken
jurchiks wrote:Looks cool. But the "Server Go" button arrow should probably point upwards, since it's an upload action (and the title/description of the button could be "Upload to server"; also, don't forget to open the server link settings if the link is not established yet). Then there could be a button "Download from server" - just in case you denied the initial request and changed your mind. It should probably save the opened file before downloading from server so as to not lose the changes (and the download goes into a temp/renamed file or directory).
And I do believe the `Add Server Link` button should open a tab in Settings, not an entirely separate window (if it's already like that - nvm).
If you got a disconnect a prompt apears asking you where to save the geo file
It should save the file on your HDD in any case, especially if it was downloaded from the server.
On this way you can load the saved geo while reconnecting :)
Just save a DIFF file between initial and last modified and use that accordingly (i.e. if you've been disconnected from the server and modified the file in the mean time, then reconnected, offer to upload the diff).

BTW, do you have a function "go to coordinates" somewhere there? I don't see it in the GUI...
Gonna make the connection to the server very simple. Just 3 fields with ip/port/password.
The geo can then be selected in the default open window where you can select the geo region.
In this window you can also fill in the coordinates of your disired position ;)

The button with "Server go" is from an icon pack. It does not contain an Symbol like that with the arrow upwarts and the CC license don`t allow me to modify the icons.

Storing the geo as an diff file...hm well i am gonna upload the geo block by block, so i could check if the block got updated by an hash value generated from that block and only upload this block in case it got changed.

We will see. I am gonna try different things and choose which one to take when testing it ;)

Re: G3DEditor - 3D GeoEditor

Posted: Wed Jul 11, 2012 7:47 pm
by jurchiks
the CC license don`t allow me to modify the icons.
http://creativecommons.org/licenses/by-nc-sa/2.0/
You are free:

to Share — to copy, distribute and transmit the work
to Remix — to adapt the work
Thus, it does not forbid you to make a NEW icon based on one in the icon set, which is especially easy if there is an icon with the server picture and no arrows or stuff on it.
And I also doubt the creator would be against it.

Alternatively:
http://www.iconarchive.com/show/servers ... -icon.html
http://www.iconarchive.com/show/servers ... -icon.html

Btw, what iconset is it you're using? I can't find a licence file or any info in the code about that...

Re: G3DEditor - 3D GeoEditor

Posted: Wed Jul 11, 2012 10:37 pm
by Forsaiken
jurchiks wrote:
the CC license don`t allow me to modify the icons.
http://creativecommons.org/licenses/by-nc-sa/2.0/
You are free:

to Share — to copy, distribute and transmit the work
to Remix — to adapt the work
Thus, it does not forbid you to make a NEW icon based on one in the icon set, which is especially easy if there is an icon with the server picture and no arrows or stuff on it.
And I also doubt the creator would be against it.

Alternatively:
http://www.iconarchive.com/show/servers ... -icon.html
http://www.iconarchive.com/show/servers ... -icon.html

Btw, what iconset is it you're using? I can't find a licence file or any info in the code about that...
In the creative comman license the author of the icons is free to decide if he allows modification or not ;)
And the author does not allow it^^ Gonna send him an email and ask :D

Re: G3DEditor - 3D GeoEditor

Posted: Wed Jul 11, 2012 10:58 pm
by Zoey76
You can always put ThePhoenixBird to work :lol:

Re: G3DEditor - 3D GeoEditor

Posted: Thu Jul 12, 2012 7:28 am
by jurchiks
Forsaiken wrote:In the creative comman license the author of the icons is free to decide if he allows modification or not ;)
And the author does not allow it^^ Gonna send him an email and ask :D
If he still won't allow modding, try asking him to make two new icons (green arrow upwards (upload to server), red arrow downwards (dl from server)).

Re: G3DEditor - 3D GeoEditor

Posted: Fri Jul 13, 2012 12:44 am
by Forsaiken
I found an totaly impressive solution for the thingy with "downloading" the geo from server!
I won`t implement such a feature yet xD

Well my free time goes to an end (to quickly) :(
For now there will only be an upload button, but hey... thats enough to use this feature!

Ahh and i got an email reply allowing me to mod the icons :)
Gonna make one soon ;)


EDIT:
Btw...how was the file name pattern for l2off files?
Somehow i found out i got two patterns in my geo editor :(
"conv_X_Y.dat" and "X_Y_conv.dat"
Which one is correct?

Re: G3DEditor - 3D GeoEditor

Posted: Fri Jul 13, 2012 1:39 am
by MELERIX
XX_YY_conv.dat

Re: G3DEditor - 3D GeoEditor

Posted: Thu Dec 20, 2012 7:44 pm
by jurchiks
A bugreport from another forum:
src/g3deditor/geo/GeoEngine.java#getHeaderOfL2jOrL2Off() at line 360 throws a StringIndexOutOfBoundsException if you try to load a non-".l2j" file (for example, an l2off .dat file).
The thing is, it does "if (name.equals(".dat"))" instead of "if (name.endsWith(".dat"))", and since the name is NOT exactly ".dat", it goes on and tries to cut a substring on line 366: "name.substring(0, name.lastIndexOf(".l2j"))". The lastIndexOf(".l2j") returns -1 because there is no ".l2j" in "xx_yy_conv.dat", and thus throws an exception.
If you don't support l2off ".dat" files, you should just refuse all other files except those that end with ".l2j"...

Re: G3DEditor - 3D GeoEditor

Posted: Fri Apr 19, 2013 6:52 am
by godfreyouwens
Thank you !

Re: G3DEditor - 3D GeoEditor

Posted: Wed Oct 22, 2014 10:45 am
by janiko
when i try to load geo file it shows black screen, ps on loading bat file i get this error

http://pbrd.co/ZNvOMr

Re: G3DEditor - 3D GeoEditor

Posted: Wed Oct 22, 2014 2:48 pm
by jurchiks

Re: G3DEditor - 3D GeoEditor

Posted: Wed Oct 22, 2014 5:28 pm
by janiko
thanks it helped :)

Re: G3DEditor - 3D GeoEditor

Posted: Fri Oct 24, 2014 3:09 pm
by u3games
WTF? I format my pc, and install all. Win 7, 64. To download and open G3DEditor... error :S

Image

Re: G3DEditor - 3D GeoEditor

Posted: Fri Oct 24, 2014 4:24 pm
by jurchiks
That's the same error as janiko...

Re: G3DEditor - 3D GeoEditor

Posted: Fri Oct 24, 2014 5:39 pm
by u3games
LoneRanger wrote:That's the same error as janiko...
UPS! Thx ^^