Hoodz 161 Posted November 23, 2016 (edited) WebTool by Hoodz Dreambot has a great web, too bad not everything is mapped (dungeon/caves). The problem is that if we want to walk around in these places we have to add the web nodes ourselves manually. This is why I created a web tool so scripters can web dungeons really fast! Features Generates code created from the web nodes * Smart node connection, connects to closest node On screen paint (mainscreen & minimap) Instructions Get the script here Start the script logged in Nearest node will be drawn green, other nodes will be blue Press spacebar to add a node. Press shift + spacebar to add a node to connect them to the next to closest node After finishing adding all your nodes simply stop the script, the generated code will be copied to your clipboard Paste the code into your script Media ​ Generated code example AbstractWebNode webNode0 = new BasicWebNode(2443, 9825); AbstractWebNode webNode1 = new BasicWebNode(2440, 9821); AbstractWebNode webNode2 = new BasicWebNode(2441, 9816); AbstractWebNode webNode3 = new BasicWebNode(2442, 9813); AbstractWebNode webNode4 = new BasicWebNode(2447, 9811); AbstractWebNode webNode5 = new BasicWebNode(2451, 9813); AbstractWebNode webNode6 = new BasicWebNode(2455, 9813); AbstractWebNode webNode7 = new BasicWebNode(2440, 9808); AbstractWebNode webNode8 = new BasicWebNode(2441, 9803); webNode0.addConnections(webNode1); webNode1.addConnections(webNode0); webNode1.addConnections(webNode2); webNode2.addConnections(webNode1); webNode2.addConnections(webNode3); webNode3.addConnections(webNode2); webNode3.addConnections(webNode4); webNode3.addConnections(webNode7); webNode4.addConnections(webNode3); webNode4.addConnections(webNode5); webNode5.addConnections(webNode4); webNode5.addConnections(webNode6); webNode6.addConnections(webNode5); webNode7.addConnections(webNode3); webNode7.addConnections(webNode8); webNode8.addConnections(webNode7); WebFinder webFinder = script.getWalking().getWebPathFinder(); AbstractWebNode[] webNodes = {webNode4, webNode3, webNode5, webNode7, webNode2, webNode6, webNode8, webNode1, webNode0}; for (AbstractWebNode webNode : webNodes) { webFinder.addWebNode(webNode); } Edited November 23, 2016 by Hoodz Dampoe, Sjo, Nima and 7 others 1 9
Hoodz 161 Author Posted November 23, 2016 Script can now be found in the SDN, thank you @Dreamlicker!
Jewlz 3 Posted April 21, 2017 (edited) This doesnt seem to work ..? anyone used this recently? nodes dont seem to get added to the web Edited April 21, 2017 by Jewlz
Hoodz 161 Author Posted April 24, 2017 This doesnt seem to work ..? anyone used this recently? nodes dont seem to get added to the web you have to add the generated code to your script (auto added into your clipboard after ending the script). Add this code on the onStart() method in your script. note: the nodes will not be draw on the node debug menu
Scorpius 144 Posted January 24, 2018 WebTool by Hoodz Dreambot has a great web, too bad not everything is mapped (dungeon/caves). The problem is that if we want to walk around in these places we have to add the web nodes ourselves manually. This is why I created a web tool so scripters can web dungeons really fast! Features Generates code created from the web nodes * Smart node connection, connects to closest node On screen paint (mainscreen & minimap) Instructions Get the script here Start the script logged in Nearest node will be drawn green, other nodes will be blue Press spacebar to add a node. Press shift + spacebar to add a node to connect them to the next to closest node After finishing adding all your nodes simply stop the script, the generated code will be copied to your clipboard Paste the code into your script Media ​ Generated code example AbstractWebNode webNode0 = new BasicWebNode(2443, 9825); AbstractWebNode webNode1 = new BasicWebNode(2440, 9821); AbstractWebNode webNode2 = new BasicWebNode(2441, 9816); AbstractWebNode webNode3 = new BasicWebNode(2442, 9813); AbstractWebNode webNode4 = new BasicWebNode(2447, 9811); AbstractWebNode webNode5 = new BasicWebNode(2451, 9813); AbstractWebNode webNode6 = new BasicWebNode(2455, 9813); AbstractWebNode webNode7 = new BasicWebNode(2440, 9808); AbstractWebNode webNode8 = new BasicWebNode(2441, 9803); webNode0.addConnections(webNode1); webNode1.addConnections(webNode0); webNode1.addConnections(webNode2); webNode2.addConnections(webNode1); webNode2.addConnections(webNode3); webNode3.addConnections(webNode2); webNode3.addConnections(webNode4); webNode3.addConnections(webNode7); webNode4.addConnections(webNode3); webNode4.addConnections(webNode5); webNode5.addConnections(webNode4); webNode5.addConnections(webNode6); webNode6.addConnections(webNode5); webNode7.addConnections(webNode3); webNode7.addConnections(webNode8); webNode8.addConnections(webNode7); WebFinder webFinder = script.getWalking().getWebPathFinder(); AbstractWebNode[] webNodes = {webNode4, webNode3, webNode5, webNode7, webNode2, webNode6, webNode8, webNode1, webNode0}; for (AbstractWebNode webNode : webNodes) { webFinder.addWebNode(webNode); } ++++++++++
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now