Jump to content

NotoriousPP

Trade With Caution
  • Posts

    1217
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Posts posted by NotoriousPP

  1. It sucks that it comes to this, but this site has just lost the community (and client quality) that actually made me enjoy this place.

    I know some of you might not know me, but when OSBot 1 was in its prime I was a pretty active scripter, but I mostly lost motivation since OSBot 2 was released (among other things).

    I met a ton of cool people on here, and hopefully I helped a ton of you current / future scripters too smile.png

    I'll still be on Skype, so if you'd like to reach me you can use that.

    (To admins: please remove my script from the store, I'll be sure to keep it updated for my customers I'd just not like to promise anything to future buyers)


    Farewell,

    Notorious

    • Like 4
  2. why when we had that before and everyone complained about it. so it was shortened to inventory dot do what you want. Whats the point in going the long way round. Use inventory dot. its got all you need within it. Served my needs since osb2 started perfectly.

     

    Well it's better to practice encapsulation, because (Not my words):

     

    Encapsulation can be described as a protective barrier that prevents the code and data being randomly accessed by other code defined outside the class. Access to the data and code is tightly controlled by an interface.

    The main benefit of encapsulation is the ability to modify our implemented code without breaking the code of others who use our code. With this feature Encapsulation gives maintainability, flexibility and extensibility to our code.

    Benefits of Encapsulation:
    • The fields of a class can be made read-only or write-only.

    • A class can have total control over what is stored in its fields.

    • The users of a class do not know how the class stores its data. A class can change the data type of a field and users of the class do not need to change any of their code.

    Hope this helps elaborate a little bit more.

  3. dude i was just lazy i ddint really want to create a new instance and have to go about using that. Rather then having it already initialize.

     

    Well that's why a lot of people including myself when I wrote scripts use the Node frame, since your able to store your method provider instance inside of the NodeWrapper, allowing you to use it throughout all your nodes, which I'm sure you already know.

     

    Though as @Swizzbeat said above, this creates a unnecessary amount of method provider instances; when in reality, you only need one, and have it passed around like a dirty whore.

     

    The less redundant instantiations, the better. :)

    • Like 3
  4. I get it almost every night, have since I was a kid. It's really not scary after a while, I usually just relax and fall back asleep when I wake up with it, or if I know I have to get up, I have a few tricks I use to pull myself out of it. Like getting enough energy to roll over if I'm on my side, or keep wiggling my fingers or toes until I finally wake up, though sometimes I do have trouble and I usually just move my foot as much as possible until my girlfriend notices, since I have told her what to look for if I'm having it.

     

    Just know it can't kill you, you will wake up before you choke or anything like that; if you are able to relax, you usually can go lucid by falling back asleep.

    • Like 2
  5. Read my post above yours, I edited it. I know what the default method looks like, that's why I made mine. If it's really that big of a problem I'll just make it private again.

     

    I'm not saying that it is a problem, just useless at best. There is no reason for it to public or even be private for that matter, when you can achieve the same by using the default methods, with the added benefit of less lines of code.

     

    Not trying to put you down, just being a critic.

  6. 	} else { // ADDED THIS @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@22
    					objects.closest(16642).interact("Bank");
    					sleep(random(1500, 2000));
    					bank.depositAll();
    					sleep(random(1500, 2000));
    					bank.withdraw(2568, 1);
    					bank.withdrawAll(440);
    					sleep(random(1500, 2000));
    					bank.close();
    					sleep(random(1500, 2000));
    					equipment.equip(EquipmentSlot.RING, 2568);
    					sleep(random(1500, 2000));
    

    Is this real life?

     

    Please tell me you didn't go through with using this....

     

    No I will no provide anything helpful because everything you do here should be obvious for ANYONE who spent a small amount of time actually learning Java instead of thinking "Hey I want be popular, so I should start writing scripts.", so please do everyone a favor and start reading.

     

    I even took the first step for you: http://www.ibm.com/developerworks/java/tutorials/j-introtojava1/

    • Like 1
  7. That awkward moment when SimpleDateFormat isn't simple enough for anyone to understand....

       public String getSuperComplexFormatTime (long time) {
            return new SimpleDateFormat("H:mm:ss").format(new Date(time - TimeZone.getDefault().getRawOffset()));
        }
    
  8. then you are stupider than you look, iv'e said about 4 times now i have made the GUI but i dont know how to implement it into my already existent script

     

    Yes I am stupid, yet I write the API your using...

     

    #Logic

    • Like 3
  9. you are all obviously taking this the wrong way.... probably just me putting it the wrong way... i know OSRS is all about java but what im trying to say is about 99% of the stuff people teach me i wont even use for a OSRS script... which is why i request help from a OSRS script writing forum.... i just dont understand why they have a "Questions" section if all people post on here are jst going to get ignorant people saying... "go learn java" basic java is not hard... and i know mainly osrs scripting is pretty basic... but for fuck sake... im not asking anyone to write me a full script just for some pointers on how to do something... and yes somtimes i ask for the code for something is because i know its so simple for some yet i just cant get i

    Because for one, you need to have a basic understand of Java to write scripts... Do you think your using a special "OSRS Script Writting Language"? No. You are using Java.

     

    i just dont understand why they have a "Questions"

    Because this a question area, not "Please spoonfood all the code I need, so I don't have to learn anything".

     

     

    Even take one step back further, creating a GUI have NOTHING to do with OSRS, that is a built in library in Java (Swing), so yes you need to know Java to create a GUI, which is what we all have said.

  10. and the reason i dont try learn "Java" is due to the fact is that it helps me with nothing to do with OSRS scripting...

     

    Dude you just made my fucking day! Thank you!

     

    Would you mind if I used this as my signature?

  11. "if your just going to post random trolling just stop trying to boost your post count wink.png"

     

    facep.gif

     

    Like I need post count, what does that achieve? Try to answer that please.

     

    If you think I'm trolling, there is less hope for you than I originally thought.

  12. sorry, im really bad at this... 

    GUI gui = new GUI();
    public String getLocation() {
     
    }
    

    thats the code i have now used, the main thing i really want to do is get the GUI to popup on start, due to eclipse would not let me run it to test it do i dont even know what it looks like tongue.png

     

    i do know how to make a gui... i didnt use a gui maker, i watched a tutorial on youtube that someone linked in another GUI question in tutorials section i think.. but i just dont know how to implement it and make everything work on the script side

     

    I already told you... Learn Java, this is basic Java stuff. If you don't understand how to do this, stop, and study the basics of Java, because no one here is going to spoonfeed you like you keep begging for us to do.

    • Like 2
×
×
  • Create New...