What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

couple of dev questions

RodionP

New Member
Joined
Jul 14, 2011
Messages
18
Reaction score
0
Hi,

I've decided to do some developing. So far I've gathered that Routine classes are being loaded via Reflection, and dlls are being picked up automatically, but how can I reload a dll once it had already been loaded? The only way so far is to shut down bot, replace dll and fire it up again - which is a little counter productive provided that i have to wait for license key verification everytime i want to try my code.

Also, since i haven't seen a 2nd exe other than a launcher I'm assuming an actual bot program is being launched via Reflection by Launcher, I could probably reverse engineer ur launcher and circumvent your license checker as it is not obfuscated (oh did i say it outloud? :) - hint, you should) but i don't want to do that.

3rd question, I've noticed there is an InputManager API that essentially presses buttons for me, could I spam it and then setup a macro ingame to make botting a lot more flexible (I setup what get casted based on macro vs hardcoding in routine)

and lastly, I'm assuming you guys are using some sort of injection into Rift to get access to Rift contextual data, if I want to attach a debugger, should i be attaching to Ryftomate process (probably) or actual game .exe?

Thanks

[Edit]:

A couple more questions. What is the workflow of routine execution and what is the meaning of a return statement inside Create****Behavior functions? if I return a value, in one of the delegates, does that mean the execution will stop or it will still attempt to execute next queued action in exec tree?

Also, what is the sequence in which all behaviour fuctions get executed? is it resting -> pulling -> fighting ? or what is the relation between them?

Thanks
 
Thanks, your link helped a lot.

Got another question, is there a way to access game settings. or better yet, is there a way to explicitly execute a certain action on an Action Bar?

say I have something like this:

new Decorator(c => GigaRift.Me.HealthPercent < 50, new Action(c => InputManager.PressKey(Keys.D2)))

but instead of InputManager.PressKey(Keys.D2) I want to do something like: InputManager.PressActionBar(ActionBar1.Action1)

or something a long those lines?

Thanks
 
Game Setting like the ones you get when you hit escape and go through the drop down menus... probably not (But not 100% sure on it you would have to browse the api.)

As for the changing of the actionbars... just a quick glance through the object browser really don't see any reference to actionbars. This doesn't surprise me since the bot never really needed to swap actionbars to select abilities like the gatherbuddy used to. Pretty much just cast he spells/abilities/whatever directly... i really don't see where you would need to swap actionbars or manually press specific keys unless your trying to use a ingame macro that way you can make spell changes on the fly without having to reload the bot (since once you load the compiled dll the only way to reload it so far as I know is to restart. HB used to have the ability to refresh persay but it cause problems and most people were having issues with it.)

But if your dead set on going that route I'm sure you could probably bind your action bar changes ingame then have the bot use the keybind. Although you would be better off just using like a g-15 keyboard macro software for that route. As far as I know they don't ban/suspend you for using that.

Or I can be wrong... there are ALOT more proficient coders/routine makers here they might be able to help you.
 
Well that's what I'm trying to accomplish. instead of bot casting spells, I want it to press buttons, and I would set which spells or macros gets executed. This way I can fine tune what bot does without reloading and would also help me fine tune cooldowns too so that i don't have to spam anything that is still on cooldown.

What I' going to do now is I'll give 4 action bars keyboard mapping - 44 buttons should be enough for all combination and devide them into sections. Say 10 buttons for Attacking, 10 for healing, 10 for resting/buffing. I'm trying to make a very generic routine as I've noticed that prebuilt ones are very inefficient and are build dependant.
 
Back
Top