Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • defrozen: need some help waited a couple for days and still no replys [https://forum.moparscape.org/server-help/48/launcher-help/682239/msg4520733#new]
      Today at 07:47:47 AM
    • EntasiaRSPS: Entasia is now released! [link]
      Today at 06:53:39 AM
    • Intdubspawn: Register on the RecklessPk website, we are releasing soon!
      Today at 01:45:01 AM
    • Adaro: WILKO STOP BANNING ME...i am not doing anything bad, just trying to help people
      Today at 01:22:33 AM
    • Lin: hey thanks stCky
      Today at 12:27:00 AM
    • stCky: :thinking_face: :ok_hand:
      September 18, 2017, 08:28:24 PM
    • cgh: dont tell me what to do
      September 18, 2017, 06:09:16 PM
    • stCky: really enjoying the openGL content Lin
      September 18, 2017, 04:15:57 PM
    • Jc22493: Keep the chatbox civil please and thanks
      September 18, 2017, 03:59:24 PM
    • Lin: fudge u drub
      September 18, 2017, 12:25:04 AM
    • stCky: yeah i want :thinking_face: give us emojis or im not voting u in as president again
      September 17, 2017, 04:34:30 PM
    • Intdubspawn: RecklessPk is releasing September 24th! :) All join the discord here [link]
      September 17, 2017, 04:30:05 PM
    • drubrkletern: when r we getting real emojis in shoutbox boys *okhand*
      September 17, 2017, 03:55:51 PM
    • Amcora: keep it out of shoutbox please
      September 17, 2017, 07:36:43 AM
    • ACCBIKERS: WHO DA FUK IS THAT GUY ?
      September 17, 2017, 05:53:49 AM
    • ACCBIKERS: I DO IT ON EVERY SERVER GOING I'LL DO WHAT I WHAT !
      September 17, 2017, 05:53:44 AM
    • ACCBIKERS: Bitch shut the fudge up you little poncy ass runt.... you're mad no one even trusted you and awwww how cute DO I GIVE A fudge
      September 17, 2017, 05:53:30 AM
    • Adaro: Not to mention I never abused my commands when I was a helper like you jailing yourself in wilderness to avoid pkers...then boosting about it to people
      September 17, 2017, 03:12:00 AM
    • Adaro: GEOFFREY I never told anyone about that command in all the 7 months of playing, and I knew worse glitches...can't say I break as many serious rules like you real world trading and scamming players over a RuneScape account
      September 17, 2017, 03:10:49 AM
    • bradyfan12: hey guys could anyone come test my server for me, free ags+inferno cape
      September 15, 2017, 08:37:15 PM

    Author Topic: Bcel Tutorial  (Read 22410 times)

    0 Members and 1 Guest are viewing this topic.

    OfflineTaharok

    • Member
    • ****
    • *
    • *
    • *
    • *
    • *
    • *
    • Posts: 7,524
    • Thanks: +0/-0
      • View Profile
      • Thornefall
    Re: Bcel Tutorial
    « Reply #20 on: July 24, 2007, 08:56:58 PM »
    Stop arguing for once in your life, PLEASE!

    Yakman, thanks a bunch for this tutorial. I always though Bcel was some complex Java library until I read this tutorial.


    Offlineexe626

    • Member
    • ****
    • *
    • Posts: 6,073
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #21 on: July 26, 2007, 07:49:18 AM »
    I actually learned something from a tutorial, like wtfux? This has got to be the most amazing thing I'm yet to read on this site, thanks very much ;D

    OfflineI Am Olan14

    • Member
    • ****
    • Posts: 448
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #22 on: July 28, 2007, 01:51:56 AM »
    OMAN I LIKE TEH BCELZ X)

    SRSLY.
    I just got good eD
    Cut the fudgeing epic shit out or you'll be epicly banned. Got it?


    OfflineYz85Racer

    • i > u
    • Member
    • ****
    • *
    • *
    • Posts: 7,735
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #23 on: July 28, 2007, 03:54:21 AM »
    OMAN I LIKE TEH BCELZ X)

    SRSLY.
    I just got good eD
    Your only education :rolleyes:

    Offlinebobarkinator

    • Member
    • **
    • Posts: 9
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #24 on: July 30, 2007, 02:29:28 PM »
    yakman I love you :D. Great tut.

    Offlinez33

    • Member
    • ***
    • Posts: 108
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #25 on: July 31, 2007, 06:15:09 PM »
    @yakman

    Yes thats fudgeing grate.
    How u compile all this crap now ?

    Wtf is the point of making a 1 part of tutorial that doesn't explain the hole thing.

    OfflineI Am Olan14

    • Member
    • ****
    • Posts: 448
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #26 on: July 31, 2007, 06:19:56 PM »
    @yakman

    Yes thats fudgeing grate.
    How u compile all this crap now ?

    Wtf is the point of making a 1 part of tutorial that doesn't explain the hole thing.


    Ooo!
    I know this website that tells you how to compile!
    Let em get it...




    Ahah!
    Here it is!
    Here tells you all about compiling!


    Oh, and also, GTF back to MoparScape pls.
    Cut the fudgeing epic shit out or you'll be epicly banned. Got it?

    Offlinez33

    • Member
    • ***
    • Posts: 108
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #27 on: July 31, 2007, 07:03:36 PM »
    And that is how to compile and run.

    Code: [Select]
    javac SomeClass.java
    javac -cp .:bcel-5.2.jar EditSomeClass
    javac -cp .:bcel-5.2.jar Bot
    java -cp bcel-5.2.jar; EditSomeClass SomeClass

    @Yakman
    Your writing a newb tutorial not a homework assignement report to ur geeky know it all teather.. ffs

    @I Am Olan14
    Do what barney says ch00b.
    _age?next_url=/watch%3Fv%3DMG6ZE55mkr4

    OfflineTaharok

    • Member
    • ****
    • *
    • *
    • *
    • *
    • *
    • *
    • Posts: 7,524
    • Thanks: +0/-0
      • View Profile
      • Thornefall
    Re: Bcel Tutorial
    « Reply #28 on: August 01, 2007, 12:55:24 AM »
    And that is how to compile and run.

    Code: [Select]
    javac SomeClass.java
    javac -cp .:bcel-5.2.jar EditSomeClass
    javac -cp .:bcel-5.2.jar Bot
    java -cp bcel-5.2.jar; EditSomeClass SomeClass

    @Yakman
    Your writing a newb tutorial not a homework assignement report to ur geeky know it all teather.. ffs

    @I Am Olan14
    Do what barney says ch00b.
    _age?next_url=/watch%3Fv%3DMG6ZE55mkr4


    What is wrong with you sir? Be grateful he wrote anything at all. Otherwise leave us peacefully.

    Offlinez33

    • Member
    • ***
    • Posts: 108
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #29 on: August 01, 2007, 02:33:44 PM »
    wtf is wrong with the way u speak ?
    Not like he invented the method its been around for 6 years
    and if you read 3-4 pages from books like Covert Java / Core Java 2, Volume II and couple of things that other ppl say about it u could do whats exlpained above with much less effort
    without wanting to punch authors face cuz of his geek like writing, with worlds like "challenge" lol ? and other shit i don't want to get in to...

    OfflineTaharok

    • Member
    • ****
    • *
    • *
    • *
    • *
    • *
    • *
    • Posts: 7,524
    • Thanks: +0/-0
      • View Profile
      • Thornefall
    Re: Bcel Tutorial
    « Reply #30 on: August 03, 2007, 06:13:08 PM »
    z33, he is helping people on this website by explaining the basics of BCEL as well as explaining what it has to do with RS Hacking. May I ask what is wrong with that?

    OfflineI Am Olan14

    • Member
    • ****
    • Posts: 448
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #31 on: August 03, 2007, 06:47:35 PM »
    z33, he is helping people on this website by explaining the basics of BCEL as well as explaining what it has to do with RS Client Hacking. May I ask what is wrong with that?

    ;)
    Cut the fudgeing epic shit out or you'll be epicly banned. Got it?

    OfflineSnowX_

    • Member
    • **
    • Posts: 6
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #32 on: August 03, 2007, 08:11:35 PM »
    always wanted to learn BCEL but never got round to it, might start now  :rolleyes: , looks like a very nice tutorial from what i read, thanks yakman.

    OfflineSpeljohan

    • Member
    • ****
    • *
    • Posts: 6,141
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #33 on: August 03, 2007, 08:15:34 PM »
    wtf is wrong with the way u speak ?
    Not like he invented the method its been around for 6 years
    and if you read 3-4 pages from books like Covert Java / Core Java 2, Volume II and couple of things that other ppl say about it u could do whats exlpained above with much less effort
    without wanting to punch authors face cuz of his geek like writing, with worlds like "challenge" lol ? and other shit i don't want to get in to...


    The way he speaks? He uses proper english grammar, something you don't seem to understand. This is not aimed for Java newbies, it's aimed for BCEL newbies, so why the hell explain how to make a batch file? Before you come here bitching, have something to bitch about.

    And very nice tutorial :)
    Do NOT PM me about private server-related matters, i have no interest nor any desire to be involved in such crap.

    OfflineTriton

    • Member
    • **
    • Posts: 81
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #34 on: August 20, 2007, 09:50:44 AM »
    Thanks for all the effort in making this excelent tutorial.
    3D Game Engine Developer

    OfflinePwnd

    • pround player of moparscape.org
    • Member
    • ****
    • *
    • *
    • Posts: 8,553
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #35 on: September 18, 2007, 06:25:01 AM »
    Quote
    Then we can just insert them in as before,
    note: getStaticOut is an instruction which gets System.out
    Code: [Select]
    iList.insert(getStaticOut,loadGraphics);
    iList.insert(getStaticOut,pushX);
    iList.insert(getStaticOut,pushY);
    iList.insert(getStaticOut,callHook);

    I got stuck there.
    I don't understand why you need the getStaticOut.
    I could be totally wrong about it, but yano, I really didn't understand that.
    Posted on: September 17, 2007, 10:41:36 PM
    wtf is wrong with the way u speak ?
    Not like he invented the method its been around for 6 years
    and if you read 3-4 pages from books like Covert Java / Core Java 2, Volume II and couple of things that other ppl say about it u could do whats exlpained above with much less effort
    without wanting to punch authors face cuz of his geek like writing, with worlds like "challenge" lol ? and other shit i don't want to get in to...

    And lets look at the way you type.  You type like a moron.  You, actually, type against the rules of this forum.
    [ +lawl ] web dev more like pleb dev

    Offlineyakman

    • thank God I'm an atheist
    • Member
    • ****
    • *
    • *
    • *
    • *
    • Posts: 1,746
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #36 on: September 18, 2007, 07:26:07 AM »
    that insert method places an intruction before one other instruction which is already in the instruction list, you need the referance to the already inserted instruction to tell the method where to insert it.
    so my stuff would insert those things just before the GETSTATIC "System.out" instruction

    so it would be a bit like this

    bipush 30
    sipush 300
    iadd
    getstatic "System.out"
    ldc "some string"
    invokevirtual "PrintStream.println(Ljava/lang/String;)V"

    after inserting you get

    bipush 30
    sipush 300
    iadd
    aload 2
    iload 3
    iload 4
    invokestatic "Bot.graphicsHook(Ljava/awt/Graphics;II)V
    getstatic "System.out"
    ldc "some string"
    invokevirtual "PrintStream.println(Ljava/lang/String;)V"


    might have gotten some signatures wrong or the names of stuff, cause im doing it in the quick post box

    OfflinePwnd

    • pround player of moparscape.org
    • Member
    • ****
    • *
    • *
    • Posts: 8,553
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #37 on: September 18, 2007, 05:29:10 PM »
    Rofl, I seriously went to lay in bed and I was thinking about it.

    And I literally /forhead'd, but was to lazy to get up and say "DUH".

    Thanks :]
    I'll see if I can get this now.
    Posted on: September 18, 2007, 10:06:59 AM
    Code: [Select]
    if (handle.getInstruction() instanceof GETSTATIC && ((GETSTATIC) handle.getInstruction()).getSignature(cp).equals("Ljava/io/PrintStream;")) {
                        System.out.println("Found the correct instruction to insert behind!");

    Seemed sufficient :]

    Edit: Although it isn't replacing the method with mine ;|
    « Last Edit: September 18, 2007, 06:52:13 PM by Pwnd »
    [ +lawl ] web dev more like pleb dev

    OfflineXharveyX

    • Member
    • ****
    • Posts: 708
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #38 on: September 18, 2007, 09:47:10 PM »
    I learned a new baby, bcel. Lol with my short memory ill forget buy tommorow.

    Offlineplanplan

    • Member
    • ****
    • Posts: 1,062
    • Thanks: +0/-0
      • View Profile
    Re: Bcel Tutorial
    « Reply #39 on: September 19, 2007, 08:27:53 PM »
    HOlyhell!! lel

    never knew Byte Code Engineering Library would be this hard!
    ...;dr

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal