PDA

View Full Version : Need little GUI application (for webwalker)



Markus
06-01-2011, 09:11 PM
ibot/powerbot got webwalker. We need, too.
What I want: app like this: http://villavu.com/forum/showthread.php?t=36548
But then that I can click and create nodes at RS worldmap (you dont need to implement the dijkstra part).
Shouldn't be too hard, BUT, here's how I want the output:

!|3842,1234|+|000,010|@|1,3|+|2|+||$

Breakdown:
Between ! and @ (magic numbers) you put tiles of nodes
|x,y|
Delimiter is +
So if you got tiles (1,2) and (121, 300) you do
!|1,2|+|121,300@$
between @ and $ you put linked nodes
if tile 0 is linked to 2 and 5, and tile 1 not linked at all, and tile 2 to tile 1 and 6, you do this:
![..]@|2,5|+||+|6|
You only need to reference once, if tile 0 links to 2, 2 will also link to 0 and you MUST NOT include tile 1 in tile 3's description (as in example.
Lonely tiles are lonely, but can be used for debugging purposes.
Before ! and after $ you can put everything you like (like 01/06/12!.@.$generated by coolgen
Note: you start counting from 0.

Why this specific format? Because I just wasted 20 minutes writing a parser for it and everything else is already done! :) Just enter some nodes and I got a webwalker. I can create nodes myself but am too lazy (lack the skills) to write the GUI app to do this.

Greetings,
Markus.

jerryt
06-01-2011, 10:19 PM
Alright. I'll have something written up in about 30 minutes.

Edit: Might be a little longer. Having to work on something else at the moment.

Edit: I may not get this done soon.

Markus
06-02-2011, 08:27 AM
Take your time! Would be cool if you (or someone else) could get this done real soon though.

Zyt3x
06-02-2011, 09:59 AM
Can't you use Webber and then make a script that ports the code the Webber makes and outputs string like you want?

Markus
06-02-2011, 10:29 AM
Link to Webber or w/ever it is?

Edit: got it http://villavu.com/forum/showthread.php?t=63367&highlight=webber&page=2
Add XML parser and GO GO GO GO!

edit2: added parser, lets see if it works.

edit3: XML parsing is alive!