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.
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.