Jump to content
AC Tool Forums
  • Sign Up
Sign in to follow this  
rzn

ffxi_info.inc

Recommended Posts

(*
//ver 0.8r4
//current functions
//mise
timestamp $info_zone_name                               //4-25-06
//timestamp $info_zone //by cgrinds
timestamp $info_keyboard //returns 1=compact 0=full,    //4-25-06

//chat:
timestamp $info_chat_last_line //only shows incomming chat
timestamp $info_chat_last_action            //4-25-06

//self
timestamp $info_tp                  	//4-25-06
timestamp $info_hp_current                              //4-25-06
timestamp $info_hp_max                                  //4-25-06
timestamp $info_mp_current                              //4-25-06
timestamp $info_mp_max                                  //4-25-06
timestamp $info_player_stat                             //4-25-06
timestamp $info_view                                    //4-25-06
timestamp $info_player_gil                              //4-25-06
timestamp $info_Player_posX
timestamp $info_Player_posz
timestamp $info_Player_posy
timestamp $info_Player_posr
timestamp $info_Player_posh
timestamp $info_Limit_Points
timestamp $info_Merit_points
timestamp $info_exp_current                             //4-25-06
timestamp $info_exp_max                                 //4-25-06
timestamp $info_job_main                                //4-25-06
timestamp $info_job_main_lv                             //4-25-06
timestamp $info_job_sub                                 //4-25-06
timestamp $info_job_sub_lv                              //4-25-06

//inv
timestamp $info_inv_itemnum                             //4-25-06
timestamp $info_inv_count                               //4-25-06
timestamp $info_inv_itemName //works with AH also       //4-25-06
timestamp $info_item_stack              	//4-25-06

//target
timestamp $info_target_sub //returns true/false         //4-25-06
timestamp $info_target_hp                               //4-25-06
timestamp $info_target_name                             //4-25-06
timestamp $info_target_stat                             //4-25-06
timestamp $info_target_posX                             //4-25-06
timestamp $info_target_posZ                             //4-25-06
timestamp $info_target_posY                             //4-25-06
timestamp $info_target_posH                             //4-25-06

//mise
timestamp $info_shopcraft_quantity          	//4-25-06
timestamp $info_shopcraft_quantity_max        	//4-25-06

//menu
timestamp $info_menu_help                               //4-25-06
timestamp $info_Menu_TopLeftText                        //4-25-06

//AH
//procedure info_ah_bid using amount //by leggmann      //4-25-06
timestamp $info_AH_itemnum              	//4-25-06
timestamp $info_ah_lastprice
timestamp $info_bid_amount                               //4-25-06
timestamp $info_bid_place //1s,10s,100s ect              //4-25-06

//fish
timestamp $info_Fish_RodLocation //by DT 3D09CB
timestamp $info_Fish_MaxHP //by DT
timestamp $info_Fish_CurrentHP //by DT
*)

 

To use this include you must add this to your script:

include .\FFXI_info.dat  //or the path if it's not in the same folder

constants
window = FFXiApp - Windower Enabled    //or the name of your ffxi window
end 

 

 

 

updated:

5-8: fishing updated i think

4-29" info_gill new memloc

4-25: same .dat forgot to include the zones.xml

4-25: some new memlocs

4-5 added Cgrinds zone code, added zone name

4-5 fixed pos and $info_bid_place

4-4: very much untested

3-30: see list above. I'm sure something isn't working. I need a nap.

3-29: minor bug in target hp

3-28: added tager status. fixed chat last line and menu top left

3-25: rewrite, added inv, target name, and shop/craft quanity. Chat bug fixed

 

 

I'd like to thank DT for the great examples in his fishing bot, not sure i would have finished this with out them.

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Useful offsets

 

Draw Distance : 3A537E

Model Detail : 3A536E

Models Displayed : 3A5350 (255 max)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ffxi_info.rar

Edited by rzn

Share this post


Link to post
Share on other sites

At presnt ffxi_info does not have inv_current_item. I have messed with it but the problem is following the inv array for each item. I'm not saying actool can't do it but i haven't been able to make it.

Share this post


Link to post
Share on other sites

eh it does ok a little cpu heavy and i can't figure out why it cuts the last 4-6 chaters off the end of some strings.

 

i'm still woring on inv stuff so i should have a update in the next few days.

Share this post


Link to post
Share on other sites
Inventory Item

 

Procedure ItemName 
    Call ItemInit 42D600 
    Call GetPointer 
    Call GetPointer 20
    Call GetPointer 3104
    Call ReadMem CString
    SetConst Result = $memResult
End

ohh, looks to me like thatll help in fixxing the SynthBot /cheers

Share this post


Link to post
Share on other sites
eh it does ok a little cpu heavy and i can't figure out why it cuts the last 4-6 chaters off the end of some strings...

I think its cpu heavy because it tries to process the chatlog. Fortunately (for me, at least) thats the one thing left that FFACT still does, so I just use ffact to handle the chatlog so the script doesnt get bogged down by it all.

 

Still, I am very impressed with the work you have accomplished so far. Keep it up!

Share this post


Link to post
Share on other sites

After spending hours knee deep in memory i have working inventory offsets. That said i now have to rewrite my memory read code so i should have a update with inventory sometime tomorrow.

Share this post


Link to post
Share on other sites

updated

 

should be able to get the synth bots working now

 

This is a rewrite so there has to be errors. Let me know and i'll update as needed.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and to our Privacy Policy.