Tussupuu 0 Share Posted October 22, 2020 Im pretty new to all of this scripting, and i made a couple scripts but now all of them are broken. Because of everything that starts with "get" says its deprecated. For example "getWalking().walk", "getNpcs().closest", getWidgets().getWidget. Im pretty sure your supposed to do it another way now? Link to comment Share on other sites More sharing options...
Pandemic 2675 Share Posted October 22, 2020 https://dreambot.org/guides/scripter-guide/script-dev/upgrading-to-db3/ Link to comment Share on other sites More sharing options...
Hmm 31 Share Posted October 22, 2020 Hi, Dreambot 3 uses a new API. The ones you have named are for Dreambot 2. For those methods in DB3, it should be the following: Walking.walk(), NPCs.closest(), Widgets.getWidget(). Hope this helps. Link to comment Share on other sites More sharing options...
Tussupuu 0 Author Share Posted October 23, 2020 Thanks guys this helped alot! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.