[Tool/Web/Other] Developer's swiss knife
#1

Hi.

I'm making different tools for more convenient development.

These tools were written in a hurry on PHP and Javascript, and placed on my local site, separately.
I often lose them, and sometimes accidentally delete them with other files.

So I decided to put them all in one place.
Here: http://dev.prineside.com

On this subdomain you can now find a San Andreas map zone editor (currently in development), and there will be more similar tools (for next I plan to make an accurate textdraw editor).

Available tools
SA-MP Map zones editor


(click to see a bigger image)

Simple zones editor.
You can place rectangles on map, and then export into file (for example, to use as gang zones).
At the moment, it can export zone positions into plain text, but there will be more export parameters.
Also, I need your opinion - whether to add the ability to export into image (same as map image, but with colored rectangles).

ToDo
  1. Zoom (default scrollbars?...)
  2. Transparency mode; add transparency parameter for zone
  3. Import function
UPD: Unfortunately, I have no time for this.
So, here are sources: http://prineside.com/public/dev.prineside.rar
If you want, you can place this on your local host and use it / edit as you like.
Also, I didn't say, that I'll not work on it - I will, but later. It would be great, if someone write some modules till that time.


P.S. Sorry for my bad English. I wrote here, because hate russian section of this forum (and there is no ukrainian section ).
Reply
#2

great job! :0
Reply
#3

The Zone editor is pretty neat good idea.
Reply
#4

You'll get way more users if you translate this to english to be honest
Reply
#5

Update:
- Translated to english
- Zone editor is now working as it should (without importing function, first time)
- Changed UI a bit

Maybe there are bugs in it. If you find one, please tell me, I'll fix it.
Reply
#6

Sweeeet!!!
Reply
#7

Looking great, good job
Reply
#8

Thanks
If you want to see a specific tool, describe it, and I'll try to implement it.
Reply
#9

Useful tool.
Reply
#10

Small update in zone editor - plain text export format removed.
Added customizable template - now user defines, how result should look like.

Example (exporting to something like SQL query):
PHP Code:
('<(MinX)>''<(MaxX)>''<(MinY)>''<(MaxY)>''<(ColorHex)>'), 
(I pressed Enter in the end, and added line break. Now all templates will have their own line in result)

Result:
PHP Code:
('-1291.01''-791.01''1960.32''2460.32''ffffff'),
(
'-830.69''-330.69''1050.26''1550.26''ffffff'),
(
'-2407.41''-1907.41''1246.03''1746.03''ffffff'),
(
'555.56''1055.56''1785.71''2285.71''ffffff'), 
Now only have to add few lines, and query is done:
PHP Code:
INSERT INTO `my_table` (`min_x`, `max_x`, `min_y`, `max_y`, `color`) VALUES  
('-1291.01''-791.01''1960.32''2460.32''ffffff'),
(
'-830.69''-330.69''1050.26''1550.26''ffffff'),
(
'-2407.41''-1907.41''1246.03''1746.03''ffffff'),
(
'555.56''1055.56''1785.71''2285.71''ffffff'); 
All available variables (such as <(Name)>, <(ColorHex)>...) are listed in export menu.
Hope this thing will help anyone a bit.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)