So ! Here we go:
DEVELOPERS ONLY !
This is a small Client API for Forsaken World ! What you can do with this is pretty simple - but awesome !
It works with AutoIT, and prevents you from doing Stupid PixelSearches !
You can for example do:
and it will set myMaxHealth to your current max health !Code:$myMaxHealth = Ask($MC_GetMaxHP)
Functions that are implemented yet:
All you have to do is the following:Code:;$MC_IsInitiated - used once in fwca.au3. dont use urself ;$MC_GetMaxHP - returns your maximal hp ;$MC_GetMaxMP - returns your maximal mp ;$MC_GetCurHP - returns your current hp ;$MC_GetCurMP - returns your current mp ;$MC_GetTargetId - returns the id of your current target ;$MC_SetTargetId - sets a new target by id [use: Say($MC_SetTargetId, id)] ;$MC_GetTargetCurHP - returns the current hp of your current target ;$MC_GetTargetCurMP - returns the current mp of your current target ;$MC_GetTargetMaxHP - returns the maximal hp of your current target ;$MC_GetTargetMaxMP - returns the maximal mp of your current target ;$MC_GetTargetLevel - returns the level of your current target ;$MC_GetTargetNamePtr - returns a pointer to the name of your target. use GetTargetName() instead ;$MC_HideTitle - hides your title. no parameters ;$MC_SetTitle - this will require a title id. dont use it ! ;$MC_AttackTarget - attacks the current target (no skills!) ;$MC_CancelSkill - no parameters. does what it says ;$MC_CallPet - zero based index. calls a pet (e.g.: Say($MC_CallPet, 0)) <- call it permanently to make ur pet attack! ;$MC_DropPet - zero based index. drops the curent called pet. see $MC_CallPet for example ;$MC_PetAttack - forces the pet to attack the given target. Say($MC_CallPet, $TargetId) ;$MC_UsePot - this will require you 2 parameters. Dont use it!
Step 1: Launch Forsaken World
Step 2: Go to Character Selection Screen
Step 3: Run "Injector.exe" (This will load FWCA into your game!)
Step 4: Run your Bot/Script (or one of my Sample.au3's)
You have to run Injector.exe EVERYTIME you restart your Game.
You can also run the Injector.exe automatically using AutoIT of course.
Remember to put FWCA.au3 into your Scripts directory and include it.
Its tested with german Client, but should work with every Version.Code:#include "FWCA.au3"
Please give feedback, and tell ur wishes (e.g. what to be added)
greetz, buFFy ~
Please register or login to download attachments.