breefie Posted May 14, 2014 Posted May 14, 2014 (edited) i can program decently in c++ so im sure i can pick up osbot scripting without problems. i always learn by editing / using code of other people... but can't find good sources except for that code found in the 2 tutorials from pandemic. can someone help me with source code? also, wouldn't it be a good idea to make it so everyone posts the source @ free scripts? alot of the scripts are broken because of small things like wrong id's... it's a shame they go to waste because no one except the author can update them. obviously people loose intrest in updating their old projects which dont earn them any money. Edited May 14, 2014 by breefie
Swizzbeat Posted May 14, 2014 Posted May 14, 2014 Even if a script is broken, it should be helpful just to look at it based on a learning perspective.
Isolate Posted May 14, 2014 Posted May 14, 2014 i can program decently in c++ so im sure i can pick up osbot scripting without problems. i always learn by editing / using code of other people... but can't find good sources except for that code found in the 2 tutorials from pandemic. can someone help me with source code? also, wouldn't it be a good idea to make it so everyone posts the source @ free scripts? alot of the scripts are broken because of small things like wrong id's... it's a shame they go to waste because no one except the author can update them. obviously people loose intrest in updating their old projects which dont earn them any money. i'm assuming updating free scripts without concent from the user (evidence provided) would count as intellectual theft, thats why good scripts are obfuscated too stop people taking our code and making their scripts from it
Botre Posted May 14, 2014 Posted May 14, 2014 (edited) i'm assuming updating free scripts without concent from the user (evidence provided) would count as intellectual theft, thats why good scripts are obfuscated too stop people taking our code and making their scripts from it lol 1% of the local scripts may be obfuscated And most of those can easily be de-obfuscated considering their small filesizes. Edited May 14, 2014 by Botrepreneur 1
Isolate Posted May 14, 2014 Posted May 14, 2014 lol 1% of the local scripts may be obfuscated And most of those can easily be de-obfuscated considering their small filesizes. still sure you shouldnt teach kids to decompile other peoples scripts, get them to actually learn java otherwise they'll just make money from learning to copy and paste. .class can be decompiled to source? lol ^
breefie Posted May 14, 2014 Author Posted May 14, 2014 still sure you shouldnt teach kids to decompile other peoples scripts, get them to actually learn java otherwise they'll just make money from learning to copy and paste. mweh, reinventing the wheel is bullshit
Isolate Posted May 14, 2014 Posted May 14, 2014 mweh, reinventing the wheel is bullshit no, learning what other people had to learn is life.
Swizzbeat Posted May 14, 2014 Posted May 14, 2014 .class can be decompiled to source? lol http://jd.benow.ca/ And you decompile the .java files. If it's obfuscated you'll see random bytecode everywhere as well as weirdly named methods/variables. 1
Botre Posted May 14, 2014 Posted May 14, 2014 (edited) still sure you shouldnt teach kids to decompile other peoples scripts, get them to actually learn java otherwise they'll just make money from learning to copy and paste. It's a fun starting point imo. Make your first shity script without any java/OSBotAPI by using stolen methods. Slowly start to understand the methods you stole. Desire to improve the stolen methods => desire to learn the theory that seemed so intimidating at first, but now that you have a goal and some very basic knowledge you feel ready to give it a shot. ... (Story of my life) Edited May 14, 2014 by Botrepreneur 1
Isolate Posted May 14, 2014 Posted May 14, 2014 It's a fun starting point imo. Make your first shity script without any java/OSBotAPI by using stolen methods. Slowly start to understand the methods you stole. Desire to improve the stolen methods => desire to learn the theory that seemed so intimidating at first, but now that you have a goal and some very basic knowledge you feel ready to give it a shot. ... (Story of my life) a song just popped into my head 1
Dog_ Posted May 14, 2014 Posted May 14, 2014 It's a fun starting point imo. Make your first shity script without any java/OSBotAPI by using stolen methods. Slowly start to understand the methods you stole. Desire to improve the stolen methods => desire to learn the theory that seemed so intimidating at first, but now that you have a goal and some very basic knowledge you feel ready to give it a shot. ... (Story of my life)Don't encourage bad practices. 2
breefie Posted May 14, 2014 Author Posted May 14, 2014 (edited) you consider them bad practices, likewise, some people do not! http://jd.benow.ca/ And you decompile the .java files. If it's obfuscated you'll see random bytecode everywhere as well as weirdly named methods/variables. thank you. Edited May 14, 2014 by breefie