Jump to content

Deceiver

VIP
  • Posts

    6986
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    100%

Everything posted by Deceiver

  1. why are you uploading images to dropbox and not imgur, vgy, etc?
  2. i believe the client would use the cyberghost one then
  3. cyberghost gonna get u banned since ur probably using the free versoin
  4. your V is still upside down, just letting you know
  5. no shit u didnt do it right you idiot fuck. theres no point in calling me a shit scripter when you fuck up on your own shit learn your place you fucking sheep. you should do it directly, not with a half-assed thread including failed decompiling and bullshit this made me laugh a bit bc the first one was hidden :sarcasm:
  6. When programming, regardless if you're new or old to programming, it should always be your best practice into improving your code for good(clean) looks, so that you and others may understand it as well, etc. This short and simple tutorial (more of a guide) will help you understand some general tips when you start your new project. Object DefiningBad Example: public RS2Object entrance; public RS2Widget wait; public RS2Widget cont; public NPC guard; public NPC tzkih; public NPC tzkek; public NPC tokxil; public NPC ytmejkot; public NPC ketzek; public NPC jad; public NPC ythurkot; String state; int startHPExp; int startATTExp; int startDEFExp; int startSTRExp; int completed; long startTime; long runTime; This is an example of bad code! Most of us have probably defined our variables like this before and thought it is correct. Though it is correct and will work, it is not the most efficient and clean way to define them. Good Example: int profit, age; int a = 4, b = 6; long startTime, timeRun RS2Object guard, target, chicken; RS2Widget selectX, makeAll; ..... so forth Fewer lines of your code, all your variables are still there and it looks neater and easier on the eyes. Casting and 'this'Bad Example: this.wait = this.widgets.getWidgetContainingText(new String[] { "Hey, JalyYt, you were in a cave only a moment ago." }); this.cont = this.widgets.getWidgetContainingText(new String[] { "Well done in the cave, here take TokKul as reward." }); this.entrance = (RS2Object)this.objects.closest(new String[] { "Cave entrance" }); this.guard = (NPC)this.npcs.closest(new String[] { "TzHaar-Mej-Jal" }); this.tzkih = (NPC)this.npcs.closest(new String[] { "Tz-Kih" }); this.tzkek = (NPC)this.npcs.closest(new String[] { "Tz-Kek" }); this.tokxil = (NPC)this.npcs.closest(new String[] { "Tok-Xil" }); this.ytmejkot = (NPC)this.npcs.closest(new String[] { "Yt-MejKot" }); this.ketzek = (NPC)this.npcs.closest(new String[] { "Ket-Zek" }); this.ythurkot = (NPC)this.npcs.closest(new String[] { "Yt-HurKot" }); In this example, the variable names are the same ones we defined earlier, therefore, we do not need this. As well, we do not need the absurd and gross looking String array and casting. Good Example: wait = widgets.getWidgetContainingText("Hey, JalyYt, you were in a cave only a moment ago."); entrance = objects.closest("Cave entrance"); guard = npcs.closest("TzHaar-Mej-Jal" ); tzkih = npcs.closest("Tz-Kih" ); Refer to the above picture. Method NamingBad Example: void eatfood() {} void attacktarget() {} Good Example: boolean isUnderAttack() {} boolean findTarget() {} void eatFood() {} I hope this simple but hopefully effective guide has opened some new things to your eyes and knowledge of programming your projects.
  7. yeah bc money means nothing so i'd get it
  8. cant, use http://www.javadecompilers.com/ or bytecodeviewer
  9. Deceiver

    700

    unhide my thread
  10. knew the userbars looked really similar http://www.rune-server.org/graphics/resources/pack-releases/493493-rs-themed-userbars.html
  11. what if u gotta select multiple interfaces? e.g. crafting gem or smithin an item
  12. can u check the log when u run it for me
  13. reset cache twice now and i dont see it reset cache twice now and i dont see it
×
×
  • Create New...