Jump to content

HookCron: Automatic updates of hooks


Maxi

Recommended Posts

  • Developer

Dear community,

I introduce to you: HookCroon, a utility in place that will automatically update the hooks on the server once OSRS updates.

Every minute the host list of online worlds is downloaded and then one of those servers is polled for the current revision. If it recognizes an update of OSRS it computes the new hooks. The server reloads its hooks every minute, so in total the entire process of updating the hooks will take around 3 minutes maximum.

In order to load the new hooks you will have to close down your OSBot application and restart it.
 
This is how HookCron looks like when running:
 

[2014/08/05 03:13:49] New revision detected: 56 | old revision: 55
[2014/08/05 03:13:49] Starting to update hooks...
Grabbing client configuration...
Downloading client...
Loading application...
Loaded 203 classes!
Applying visitor : DummyMethodDeobfuscation DONE!
Detected 2695 dummy methods!
Saving application... DONE!

Loading application...
Loaded 203 classes!
Applying visitor : RevisionIdentifier DONE!
Applying visitor : HandlerDeobfuscation DONE!
Applying visitor : MonitorDeobfuscation DONE!

The client revision is : 56
.....



Identified hooks for revision 56 : 
------------------------------------------------------------------------
** magic happens here **
------------------------------------------------------------------------

Failed to hook the following hooks...
END!

Saving hooks...DONE!
Saving deob....DONE!

Loading application...
Loaded 203 classes!
Applying visitor : ClassNameDeobfuscator DONE!
Deobfuscated 176 class names and identified27 classes!
Applying visitor : FieldNameDeobfuscator DONE!
Refactored 2754 fields!
Applying visitor : MethodNameDeobfuscator DONE!
Refactored 1021 methods!
Saving application... DONE!

[2014/08/05 03:14:44] Hooks successfully updated...
[2014/08/05 03:14:44] Going to sleep for 60 seconds...
[2014/08/05 03:15:45] No update required...
[2014/08/05 03:15:45] Going to sleep for 60 seconds...

Enjoy!

Sincerely,

Maxi & the OSBot team.

  • Like 2
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...