Page 2 of 2 FirstFirst 12
Results 26 to 35 of 35

Thread: [07] Zimbabwe National Updater

  1. #26
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    N3ss3s, do you happen to have hooks for on-screen Interfaces?
    Do you mean the current open interface, like bank? There's a field but I'm not sure how consistent it is, I'm gonna look into it.

    For the actual widget content all I have is

    [ Widget ] -> fk extends fo
    F getRelativeX ::: b * 434510407 I
    F getRelativeY ::: x * 431106607 I
    F getActions ::: bz String[]
    F getID ::: a * -2125932301 I
    F getText ::: bi String
    F getItems ::: dz I[]
    F getStackSizes ::: dh I[]
    I'll probably be adding texture id etc so it's usable

  2. #27
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by n3ss3s View Post
    Do you mean the current open interface, like bank? There's a field but I'm not sure how consistent it is, I'm gonna look into it.

    For the actual widget content all I have is



    I'll probably be adding texture id etc so it's usable
    I was wondering if it was Widget or not because I have no idea what that was referring to. And yes indeed the current interface being shown on screen, like bank & shop. Texture would be nice as I assume that's what's required for solving a few random events, like the certer, mordaut, strange box, and so on...

    Yes hoodz I'd only like to know some specific hooks for the sake of building some random-solvers. Honestly this should have been the top priority when reflection became available to us.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  3. #28
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    I was wondering if it was Widget or not because I have no idea what that was referring to. And yes indeed the current interface being shown on screen, like bank & shop. Texture would be nice as I assume that's what's required for solving a few random events, like the certer, mordaut, strange box, and so on...

    Yes hoodz I'd only like to know some specific hooks for the sake of building some random-solvers. Honestly this should have been the top priority when reflection became available to us.
    ill try to get something to work too, if i get something ill let you know.

  4. #29
    Join Date
    Mar 2012
    Posts
    201
    Mentioned
    8 Post(s)
    Quoted
    74 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    I was wondering if it was Widget or not because I have no idea what that was referring to. And yes indeed the current interface being shown on screen, like bank & shop. Texture would be nice as I assume that's what's required for solving a few random events, like the certer, mordaut, strange box, and so on...

    Yes hoodz I'd only like to know some specific hooks for the sake of building some random-solvers. Honestly this should have been the top priority when reflection became available to us.
    Yes but we first need an include before we can make solvers. I.E. We will have to develop the functions used in the solvers; I am looking into that (I just don't have much time atm) =)

  5. #30
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by fish1328 View Post
    Yes but we first need an include before we can make solvers. I.E. We will have to develop the functions used in the solvers; I am looking into that (I just don't have much time atm) =)
    and we need hooks before we can make an include..

  6. #31
    Join Date
    Mar 2012
    Posts
    201
    Mentioned
    8 Post(s)
    Quoted
    74 Post(s)

    Default

    We have most of the hooks needed. Just need the widget ones mainly We do have some, courtesy of N3ss3s but we need them all

  7. #32
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    @n3ss3s did the updater broke?

    edit:

    Code:
    C:\simba\HookUpdater by N3ss3s>java -jar ZNU.jar
    Downloading jar
    ***************************************************
    ********** ZIMBABWE NATIONAL UPDATER 1.0 **********
    ***************************************************
    NodeAnalyzer ran in 16 ms.
    CacheableNodeAnalyzer ran in 1 ms.
    StreamAnalyzer ran in 5 ms.
    RenderableAnalyzer ran in 3 ms.
    CharacterAnalyzer ran in 7 ms.
    CacheableNodeQueueAnalyzer ran in 1 ms.
    NodeHashTableAnalyzer ran in 0 ms.
    NodeQueueAnalyzer ran in 1 ms.
    NodeCacheAnalyzer ran in 6 ms.
    ModelAnalyzer ran in 6 ms.
    StringStorageAnalyzer ran in 0 ms.
    ItemDefinitionAnalyzer ran in 3 ms.
    ItemAnalyzer ran in 1 ms.
    ObjectDefinitionAnalyzer ran in 2 ms.
    NPCDefinitionAnalyzer ran in 7 ms.
    NPCAnalyzer ran in 0 ms.
    PlayerDefinitionAnalyzer ran in 1 ms.
    PlayerAnalyzer ran in 1 ms.
    RegionAnalyzer ran in 7 ms.
    SceneTileAnalyzer ran in 3 ms.
    GameObjectAnalyzer ran in 1 ms.
    WidgetAnalyzer ran in 2 ms.
    MouseAnalyzer ran in 0 ms.
    KeyboardAnalyzer ran in 2 ms.
    Exception in thread "main" java.lang.ClassCastException: org.objectweb.asm.tree.
    FieldInsnNode cannot be cast to org.objectweb.asm.tree.LdcInsnNode
            at org.znu.analyzers.ClientAnalyzer.hookCam(ClientAnalyzer.java:270)
            at org.znu.analyzers.ClientAnalyzer.analyze(ClientAnalyzer.java:370)
            at org.znu.core.AbstractAnalyzer.run(AbstractAnalyzer.java:33)
            at Updater.analyzeClient(Updater.java:91)
            at Updater.main(Updater.java:117)
    
    C:\simba\HookUpdater by N3ss3s>PAUSE
    Press any key to continue . . .

  8. #33
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    @n3ss3s did the updater broke?

    edit:

    Code:
    C:\simba\HookUpdater by N3ss3s>java -jar ZNU.jar
    Downloading jar
    ***************************************************
    ********** ZIMBABWE NATIONAL UPDATER 1.0 **********
    ***************************************************
    NodeAnalyzer ran in 16 ms.
    CacheableNodeAnalyzer ran in 1 ms.
    StreamAnalyzer ran in 5 ms.
    RenderableAnalyzer ran in 3 ms.
    CharacterAnalyzer ran in 7 ms.
    CacheableNodeQueueAnalyzer ran in 1 ms.
    NodeHashTableAnalyzer ran in 0 ms.
    NodeQueueAnalyzer ran in 1 ms.
    NodeCacheAnalyzer ran in 6 ms.
    ModelAnalyzer ran in 6 ms.
    StringStorageAnalyzer ran in 0 ms.
    ItemDefinitionAnalyzer ran in 3 ms.
    ItemAnalyzer ran in 1 ms.
    ObjectDefinitionAnalyzer ran in 2 ms.
    NPCDefinitionAnalyzer ran in 7 ms.
    NPCAnalyzer ran in 0 ms.
    PlayerDefinitionAnalyzer ran in 1 ms.
    PlayerAnalyzer ran in 1 ms.
    RegionAnalyzer ran in 7 ms.
    SceneTileAnalyzer ran in 3 ms.
    GameObjectAnalyzer ran in 1 ms.
    WidgetAnalyzer ran in 2 ms.
    MouseAnalyzer ran in 0 ms.
    KeyboardAnalyzer ran in 2 ms.
    Exception in thread "main" java.lang.ClassCastException: org.objectweb.asm.tree.
    FieldInsnNode cannot be cast to org.objectweb.asm.tree.LdcInsnNode
            at org.znu.analyzers.ClientAnalyzer.hookCam(ClientAnalyzer.java:270)
            at org.znu.analyzers.ClientAnalyzer.analyze(ClientAnalyzer.java:370)
            at org.znu.core.AbstractAnalyzer.run(AbstractAnalyzer.java:33)
            at Updater.analyzeClient(Updater.java:91)
            at Updater.main(Updater.java:117)
    
    C:\simba\HookUpdater by N3ss3s>PAUSE
    Press any key to continue . . .
    Gonna take a stab and say he's casting field to an ldc.


  9. #34
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    I pushed an update to the bitbucket that along with other things lets it continue after a runtime exception. The current problem with posted above is probably due to some structural changes in the part of the code that it was built to grab from, I currently don't have time/effort/interest to fix it so someone else can take a stab at it.

    [ Node ] -> fi extends Object
    F getID ::: dw J
    F getPrev ::: dl fi
    F getNext ::: ei fi

    [ CacheableNode ] -> fk extends fi
    F getNext ::: cz fk
    F getPrev ::: cf fk

    [ Stream ] -> dv extends fi
    M getUnsignedByte(I)I ::: al
    M getShort(B)I ::: af
    M getUnsignedLEShort(B)I ::: av
    M getString(I)Ljava/lang/String; ::: ab

    [ Renderable ] -> ca extends fk
    F getHeight ::: bd * 997826471 I

    [ Character ] -> as extends ca
    F getText ::: an String
    F getPathY ::: bc I[]
    F getPathX ::: br I[]
    F getLocalY ::: t * 554651779 I
    F getLocalX ::: h * 1813826637 I
    F getAnimation ::: aq * 230112839 I
    F getMaxHealth ::: af * 674323769 I
    F getHealth ::: av * 1753840346 I
    F getInteracting ::: ap * -332434183 I

    [ CacheableNodeQueue ] -> ft extends Object
    F getHead ::: v fk

    [ NodeHashTable ] -> fw extends Object
    F getNodes ::: c fi[]
    F getSize ::: m I

    [ NodeQueue ] -> fd extends Object
    F getHead ::: v fi
    F getCurrent ::: c fi

    [ NodeCache ] -> fb extends Object
    F getQueue ::: m ft
    F getHashTable ::: i fw
    F getCacheableNode ::: v fk
    F getRemaining ::: b I
    F getSize ::: c I

    [ Model ] -> dk extends ca
    F getTrianglesX ::: g I[]
    F getTrianglesY ::: y I[]
    F getTrianglesZ ::: a I[]
    F getVerticesX ::: z I[]
    F getVerticesY ::: x I[]
    F getVerticesZ ::: d I[]

    [ StringStorage ] -> eu extends Object
    (Truncated strings

    [ ItemDefinition ] -> al extends fk
    F getInventoryActions ::: n String[]
    F getGroundActions ::: l String[]
    F getName ::: g String
    F isMembers ::: b Z
    F isMembers ::: r Z

    [ Item ] -> o extends ca
    F getID ::: v * 1361609809 I
    F getStackSize ::: c * 1398354247 I

    [ ObjectDefinition ] -> aa extends fk
    F getName ::: a String
    F getActions ::: ax String[]

    [ NPCDefinition ] -> ah extends fk
    F getActions ::: t String[]
    F getName ::: z String
    F getID ::: m * -853424803 I

    [ NPC ] -> n extends as
    F getDefinition ::: v ah

    [ PlayerDefinition ] -> fa extends Object
    F getAppearanceIndices ::: y I[]
    F getAppearance ::: v I[]

    [ Player ] -> b extends as
    F getDefinition ::: c fa
    F getName ::: v String
    F getModel ::: u dk
    F getLevel ::: m * 1226372481 I

    [ Region ] -> cw extends Object
    F getSceneObjects ::: j cy[]
    F getSceneTiles ::: z ck[][][]

    [ SceneTile ] -> ck extends fi
    F getTilePlane ::: v * 1609058777 I
    F getSceneObjects ::: a cy[]

    [ GameObject ] -> cy extends Object
    F getRenderable ::: z ca
    F getHash ::: u * -1670009035 I
    F getLocalX ::: b * -1296165315 I
    F getLocalY ::: i * 1389028149 I
    F getHeight ::: c * -1506742805 I

    [ Widget ] -> fu extends fi
    F getRelativeX ::: f * -87954445 I
    F getRelativeY ::: x * -1050316303 I
    F getActions ::: br String[]
    F getID ::: k * 976778509 I
    F getText ::: bo String
    F getItems ::: df I[]
    F getStackSizes ::: dc I[]

    [ Mouse ] -> bt extends Object
    F getX ::: i * -1828091377 I
    F getY ::: m * 2132506777 I
    F lastPressedState ::: b I

    [ Keyboard ] -> be extends Object

    [ Client ] -> client extends br
    F getNPCIndices ::: client.gt I[]
    F getBaseX ::: am.cm * -1462679003 I
    F getBaseY ::: bh.cp * 1016146699 I
    F getMenuCount ::: client.ib * 940788281 I
    F getKeyboard ::: be.v be
    F getRegion ::: a.dk cw
    F getMenuOptions ::: d.p String[]
    F getMenuActions ::: t.o String[]
    F getWidgets ::: fu.v fu[][]
    F getLocalPlayer ::: es.hu b
    F getCamPitch ::: er.fa * -1397185493 I
    F getCamYaw ::: ef.fs * 2136828965 I
    F getCamPosX ::: client.h * -1607280005 I
    F getCurrentLevels ::: hi I[]
    F getMaxLevels ::: hl I[]
    F getExperiences ::: hr I[]
    F getEnergy ::: jg * 1708023801 I
    F getWeight ::: jr * 253244699 I
    F getMenuX ::: hd * 108649449 I
    F getMenuY ::: hg * -1642054603 I
    F getMenuWidth ::: he * 1906222353 I
    F getMenuHeight ::: iu * 1713986561 I
    F isMenuOpen ::: hq Z
    F getPacketStream ::: cf di
    F getLocalPlayers ::: gp b[]
    F getLocalNpcs ::: br n[]

    [ Rasterizer2D ] -> cb extends fk
    F getPixels ::: u I[]
    F getWidth ::: k I
    F getHeight ::: e I
    F getTopX ::: s I
    F getTopY ::: p I
    F getBottomX ::: f I
    F getBottomY ::: o I
    M createRasterizer([III)V ::: cc
    M setCoordinates(IIII)V ::: ci
    M drawEmptyRect(IIIII)V ::: ce
    M fillRectAlpha(IIIIII)V ::: cp

    [ Rasterizer3D ] -> ch extends cb

    ************************************************** *
    Time: 379 milliseconds.
    ************************************************** *
    187 analyzedClasses analyzed!
    27 analyzedClasses identified!
    Hooked total 110 fields/methods!
    ************************************************** *

  10. #35
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by n3ss3s View Post
    I pushed an update to the bitbucket that along with other things lets it continue after a runtime exception. The current problem with posted above is probably due to some structural changes in the part of the code that it was built to grab from, I currently don't have time/effort/interest to fix it so someone else can take a stab at it.
    its working again now!

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •