n3ss3s
2013-09-20 23:28:01
Here's my updater, now you can stop pestering me.
Comments: The updater was started when I knew absolutely nothing, and I haven't bothered to go back and rewrite things in smarter ways etc etc. Some of it will give you cancer just by looking at it, some is semi decent.
It'll give you both a textual output (not easy to parse) and serialized objects that encapsulate hook info (not useful when reading with pascal). Someone will have to modify the printing if they plan on actively using it. DO NOT post your own topic of this with your printer edit, or I will make stew out of your balls. Instead, write a printer that'll produce a reasonable config file for a reflection include.
The jar is attached below, source is at https://bitbucket.org/Kneesause/znu/src/ , the hooks themselves are pretty solid but I wouldn't consult it for structural decisions, I've been pretty inconsistent with where to make it efficient etc etc. Should've abstracted all the way down to a single field searcher than just a whole class analyzer.
OSRS #21
Comments: The updater was started when I knew absolutely nothing, and I haven't bothered to go back and rewrite things in smarter ways etc etc. Some of it will give you cancer just by looking at it, some is semi decent.
It'll give you both a textual output (not easy to parse) and serialized objects that encapsulate hook info (not useful when reading with pascal). Someone will have to modify the printing if they plan on actively using it. DO NOT post your own topic of this with your printer edit, or I will make stew out of your balls. Instead, write a printer that'll produce a reasonable config file for a reflection include.
The jar is attached below, source is at https://bitbucket.org/Kneesause/znu/src/ , the hooks themselves are pretty solid but I wouldn't consult it for structural decisions, I've been pretty inconsistent with where to make it efficient etc etc. Should've abstracted all the way down to a single field searcher than just a whole class analyzer.
OSRS #21
***************************************************
********** ZIMBABWE NATIONAL UPDATER 1.0 **********
***************************************************
NodeAnalyzer ran in 4 ms.
CacheableNodeAnalyzer ran in 11 ms.
StreamAnalyzer ran in 5 ms.
RenderableAnalyzer ran in 5 ms.
CharacterAnalyzer ran in 10 ms.
CacheableNodeQueueAnalyzer ran in 3 ms.
NodeHashTableAnalyzer ran in 0 ms.
NodeQueueAnalyzer ran in 1 ms.
NodeCacheAnalyzer ran in 17 ms.
ModelAnalyzer ran in 10 ms.
StringStorageAnalyzer ran in 2 ms.
ItemDefinitionAnalyzer ran in 5 ms.
ItemAnalyzer ran in 3 ms.
ObjectDefinitionAnalyzer ran in 4 ms.
NPCDefinitionAnalyzer ran in 13 ms.
NPCAnalyzer ran in 2 ms.
PlayerDefinitionAnalyzer ran in 1 ms.
PlayerAnalyzer ran in 2 ms.
RegionAnalyzer ran in 17 ms.
SceneTileAnalyzer ran in 11 ms.
GameObjectAnalyzer ran in 11 ms.
WidgetAnalyzer ran in 19 ms.
MouseAnalyzer ran in 2 ms.
KeyboardAnalyzer ran in 2 ms.
ClientAnalyzer ran in 20 ms.
[ Node ] -> fk extends Object
F getPrev ::: df fk
F getID ::: du J
F getNext ::: eb fk
[ CacheableNode ] -> fd extends fk
F getNext ::: ch fd
F getPrev ::: ci fd
[ Stream ] -> dn extends fk
M getUnsignedByte(I)I ::: au
M getUnsignedLEShort(B)I ::: ab
M getShort(I)I ::: aj
M getString(I)Ljava/lang/String; ::: an
[ Renderable ] -> cv extends fd
F getHeight ::: br * 1745582025 I
[ Character ] -> az extends cv
F getHitDamages ::: ao I[]
F getText ::: ar String
F getPathX ::: by I[]
F getPathY ::: bl I[]
F getLocalX ::: s * 92987285 I
F getLocalY ::: t * -235871715 I
F getAnimation ::: ad * -417459509 I
F getInteracting ::: af * -760299985 I
F getMaxHealth ::: au * 1163810669 I
F getHealth ::: av * -1472068590 I
[ CacheableNodeQueue ] -> fe extends Object
F getHead ::: i fd
[ NodeHashTable ] -> fm extends Object
F getNodes ::: p fk[]
F getSize ::: q I
[ NodeQueue ] -> fx extends Object
F getHead ::: i fk
F getCurrent ::: p fk
[ NodeCache ] -> fb extends Object
F getHashTable ::: l fm
F getCacheableNode ::: i fd
F getQueue ::: q fe
F getRemaining ::: a I
F getSize ::: l fm
[ Model ] -> dc extends cv
F getTrianglesX ::: v I[]
F getTrianglesY ::: j I[]
F getTrianglesZ ::: f I[]
F getVerticesX ::: b I[]
F getVerticesY ::: u I[]
F getVerticesZ ::: d I[]
[ StringStorage ] -> ex extends Object
(Truncated strings
[ ItemDefinition ] -> ah extends fd
F getGroundActions ::: x String[]
F getInventoryActions ::: n String[]
F isMembers ::: a Z
F isMembers ::: w Z
F getName ::: v String
[ Item ] -> y extends cv
F getID ::: i * 1958746787 I
F getStackSize ::: p * -863047449 I
[ ObjectDefinition ] -> ai extends fd
F getName ::: f String
F getActions ::: aq String[]
[ NPCDefinition ] -> aa extends fd
F getActions ::: t String[]
F getName ::: b String
F getID ::: q * -2007014387 I
F getLevel ::: w * -99142993 I
[ NPC ] -> n extends az
F getDefinition ::: i aa
[ PlayerDefinition ] -> fs extends Object
F getAppearanceIndices ::: j I[]
F getAppearance ::: i I[]
[ Player ] -> a extends az
F getModel ::: h dc
F getName ::: i String
F getDefinition ::: p fs
F getLevel ::: q * 676971579 I
[ Region ] -> cl extends Object
F getSceneObjects ::: m ck[]
F getSceneTiles ::: b cw[][][]
[ SceneTile ] -> cw extends fk
F getTilePlane ::: i * 1367449299 I
F getSceneObjects ::: f ck[]
[ GameObject ] -> ck extends Object
F getRenderable ::: q cv
F getHash ::: h * -1512848797 I
F getLocalX ::: a * 1897507503 I
F getLocalY ::: l * -901302631 I
F getHeight ::: p * 1989504467 I
[ Widget ] -> fj extends fk
F getRelativeX ::: g * 1189477275 I
F getRelativeY ::: e * 1398335543 I
[ Mouse ] -> bj extends Object
F lastPressedState ::: v I
F getX ::: l * -2024098985 I
F getY ::: q * -1070281815 I
[ Keyboard ] -> bo extends Object
[ Client ] -> client extends by
F getBaseX ::: g.cx * 1094864529 I
F getBaseY ::: r.cu * -1695938473 I
F getMenuCount ::: client.ip * 164584831 I
F getMenuOptions ::: cb.k String[]
F getMenuActions ::: d.y String[]
F getMenuX ::: hq * -1042895341 I
F getMenuY ::: hj * 1882830667 I
F getMenuWidth ::: hk * -516104225 I
F getMenuHeight ::: ir * 1352814499 I
F isMenuOpen ::: hy Z
F getWidgets ::: fj.i fj[][]
F getLocalPlayer ::: bl.hw a
F getCompassAngle ::: df * -496201329 I
F getMapOffset ::: ea * 765311969 I
F getMapScale ::: fq * 1389421701 I
F getCamPitch ::: aw.fs * -792252477 I
F getCamYaw ::: m.ft * -1329716993 I
F getCamPosX ::: dx.fo * 2089328449 I
F getCamPosY ::: cx.fl * 952487425 I
F getCamPosZ ::: dw.fu * -354738449 I
F getCurrentLevels ::: hi I[]
F getMaxLevels ::: hg I[]
F getExperiences ::: hz I[]
F getEnergy ::: jo * -666833949 I
F getWeight ::: jt * 2128463673 I
F getLocalPlayers ::: gb a[]
F getLocalNpcs ::: by n[]
***************************************************
Time: 300 milliseconds.
***************************************************
187 analyzedClasses analyzed!
25 analyzedClasses identified!
Hooked total 97 fields/methods!
***************************************************
Process finished with exit code 0