ez11 Posted September 25, 2018 Share Posted September 25, 2018 Position[] path = { new Position(3225, 3219, 0), new Position(3233, 3218, 0), new Position(3235, 3223, 0), new Position(3232, 3227, 0), new Position(3227, 3232, 0), new Position(3223, 3239, 0), new Position(3220, 3246, 0), new Position(3217, 3255, 0), new Position(3215, 3260, 0), new Position(3214, 3270, 0), new Position(3214, 3270, 0) }; getWalking().walkPath(path); gives me the error: "The method walkPath(List<Position>) in the type Walking is not applicable for the arguments (Position[])" on .walkPath but if i try to add the path as anything but an array it will throw thousands of errors at me. Cant use Webwalker so trying to get this path to work is necessary for me but idk what im supposed to do. The tutorial Alek posted seems to be outdated Creating a path like in Explvs tutorial ( which would look like this: List<Position> path = new ArrayList<>(); path.add(new Position(3225, 3219, 0)); path.add(new Position(3233, 3218, 0)); getWalking().walkPath(path); and give the error: "The type List is not generic; it cannot be parameterized with arguments <Position>" on "List" but no error on the getWalking() part Quote Link to comment Share on other sites More sharing options...
Vilius Posted September 25, 2018 Share Posted September 25, 2018 (edited) 1. Walk path only accepts List<Position> as its parameter not Position[], because its the new walking system not the one from 2014 2. You have to import java.util.List; not import java.awt.List; Because awt.List is a display element and util.List is a generic type for collections Edited September 25, 2018 by Vilius 1 1 Quote Link to comment Share on other sites More sharing options...
ez11 Posted September 25, 2018 Author Share Posted September 25, 2018 7 minutes ago, Vilius said: 1. Walk path only accepts List<Position> as its parameter not Position[] 2. You have to import java.util.List; not import java.awt.List; Because awt.List is a display element and util.List is a generic type for collections thank you so much! finally it works 1 Quote Link to comment Share on other sites More sharing options...