waao Posted May 18, 2014 Share Posted May 18, 2014 (edited) I was just wondering how different scipting for osbot is compared to 2010/11 scriping? I made some pretty decent (my opinion) scrips. Here is full code of them for those that want to look or take some snipplets http://pastebin.com/fRitJ4kK (wFighter, 3k ish lines) http://pastebin.com/TmyqRysb (wLRC, 1k ish lines) btw dat paint tho Edited May 18, 2014 by waao Link to comment Share on other sites More sharing options...
Swizzbeat Posted May 18, 2014 Share Posted May 18, 2014 Did you really put the code language as JavaScript. 2 Link to comment Share on other sites More sharing options...
ItzMe Posted May 18, 2014 Share Posted May 18, 2014 Java is to JavaScript as car is to carpet. Link to comment Share on other sites More sharing options...
waao Posted May 18, 2014 Author Share Posted May 18, 2014 pfft Dont judge 1 Link to comment Share on other sites More sharing options...
Soldtodie Posted May 18, 2014 Share Posted May 18, 2014 You wrote scripts for another bot and not for osbot. Link to comment Share on other sites More sharing options...
waao Posted May 18, 2014 Author Share Posted May 18, 2014 yes that another reason to why i am wondering how different it is.. Link to comment Share on other sites More sharing options...
Soldtodie Posted May 18, 2014 Share Posted May 18, 2014 Every bot has a different api. Link to comment Share on other sites More sharing options...
Eliot Posted May 18, 2014 Share Posted May 18, 2014 Did you really put the code language as JavaScript. Because JavaScript, Java for short, is a great scripting language! 1 Link to comment Share on other sites More sharing options...
Nitrousek Posted May 18, 2014 Share Posted May 18, 2014 yes that another reason to why i am wondering how different it is.. I wrote some easy scripts back for PB in 2010, it's just a little different, learn the API, and if you know at least the basics you should do fine for the start. Link to comment Share on other sites More sharing options...
Dashboard Posted May 18, 2014 Share Posted May 18, 2014 Well for starters we don't generally make big scripts in one class (file) anymore 1 Link to comment Share on other sites More sharing options...
Oliver Posted May 18, 2014 Share Posted May 18, 2014 I wrote some easy scripts back for PB in 2010, it's just a little different, learn the API, and if you know at least the basics you should do fine for the start. Holy shit i love your fletcher script picture in your signature !!!! 1 Link to comment Share on other sites More sharing options...
PolishCivil Posted May 19, 2014 Share Posted May 19, 2014 Well for starters we don't generally make big scripts in one class (file) anymore omg... hide yourself in bush 2 Link to comment Share on other sites More sharing options...
Nitrousek Posted May 19, 2014 Share Posted May 19, 2014 omg... hide yourself in bush What a bunch of garbage, I can't even look at it. Dashboard, who gave you OSD again? 1 Link to comment Share on other sites More sharing options...
Swizzbeat Posted May 19, 2014 Share Posted May 19, 2014 (edited) What a bunch of garbage, I can't even look at it. Dashboard, who gave you OSD again? There's nothing wrong with what he posted besides being able to package it nicer and change the class naming to nouns.Edit: So many redundant classes now that I look at it again Edited May 19, 2014 by Swizzbeat 3 Link to comment Share on other sites More sharing options...
Nitrousek Posted May 19, 2014 Share Posted May 19, 2014 (edited) There's nothing wrong with what he posted besides being able to package it nicer and change the class naming to nouns.Edit: So many redundant classes now that I look at it again Yes, redundant classes *And looking like garbage. Edited May 19, 2014 by Nitrousek 1 Link to comment Share on other sites More sharing options...