|
Post by dasnoob on Oct 16, 2005 3:55:10 GMT -5
I’m looking for documentation on how too read info from FFxi and use it too actually display text with the new Lunar Windower plug-in. I have been searching around to only find that the only help points too the Auto-Terror section which no longer seems too be around. Any links too actual documentation or lists of some sort of get functions would be greatly appreciated.
As well, good luck on finishing the alpha for Lunar as the scripting community looks forward too fresh tools.
|
|
|
Post by TinyTerror on Oct 16, 2005 10:36:06 GMT -5
Heh, you're going to have a hard time finding that info. I haven't added it to the documentation yet because of problems loading the FFXIRead.dll from Lunar. The set of functions used to read info will likely change, so writing docs for them before they are coded would not be a good idea. I am still waiting on starhawk to get back from where ever he went so he can give me the new memory code. Right now it looks like there will be alot more info available from the new code than from ffxiread, so I guess good things come to those who wait. Yeah, the release date is going to slide if I don't get the code, but integration and testing should be pretty quick, so I'm optimistic. Hopefully this will all be sorted out by the end of today. Sorry again for the delays.
|
|
|
Post by TinyTerror on Oct 16, 2005 10:47:11 GMT -5
I don't know if this will help much, but I'll post it anyway. This is the lua function registration struct from lunar for the ffxi memory stuff. On each line there are two things. The first is a string containing the lua name for the function, the second is the C++ name of the function. None of these functions have any arguments, and all of them return data in the expected form (strings, ints, and booleans). Im posting this so that you can see what to expect. I'll try to keep this from changing as much as I can, but there will likely be at least 20 new functions. Anyway, here is the code. Please don't ask for any more Lunar source, because its not going to happen static const luaL_reg FFXILibReg[] = { {"player_GetName",FFXILib::PlayerGetName}, {"player_GetStatus",FFXILib::PlayerGetStatus}, {"player_GetXPos",FFXILib::PlayerGetXPos}, {"player_GetYPos",FFXILib::PlayerGetYPos}, {"player_GetZPos",FFXILib::PlayerGetZPos}, {"player_GetHeading",FFXILib::PlayerGetHeading}, {"player_GetHeadingRads",FFXILib::PlayerGetHeadingRads}, {"player_GetFirstPerson",FFXILib::PlayerGetFirstPerson}, {"player_GetCurrentHP",FFXILib::PlayerGetCurrentHP}, {"player_GetMaxHP",FFXILib::PlayerGetMaxHP}, {"player_GetCurrentMP",FFXILib::PlayerGetCurrentMP}, {"player_GetMaxMP",FFXILib::PlayerGetMaxMP}, {"player_GetMainJob",FFXILib::PlayerGetMainJob}, {"player_GetMainJobLevel",FFXILib::PlayerGetMainJobLevel}, {"player_GetSubJob",FFXILib::PlayerGetSubJob}, {"player_GetSubJobLevel",FFXILib::PlayerGetSubJobLevel}, {"player_GetCurrentXP",FFXILib::PlayerGetCurrentXP}, {"player_GetRemainingXP",FFXILib::PlayerGetRemainingXP}, {"player_GetLevelXP",FFXILib::PlayerGetLevelXP}, {"player_GetCurrentTP",FFXILib::PlayerGetCurrentTP}, {"player_GetCurrentGil",FFXILib::PlayerGetCurrentGil}, {"target_GetName",FFXILib::TargetGetName}, //{"target_GetStatus",FFXILib::TargetGetStatus}, {"target_GetXPos",FFXILib::TargetGetXPos}, {"target_GetYPos",FFXILib::TargetGetYPos}, {"target_GetZPos",FFXILib::TargetGetZPos}, {"target_GetHeading",FFXILib::TargetGetHeading}, {"target_GetHeadingRads",FFXILib::TargetGetHeadingRads}, {"target_GetBearing",FFXILib::TargetGetBearing}, {"target_GetBearingToPlayer",FFXILib::TargetGetBearingToPlayer}, {"target_GetHPPercent",FFXILib::TargetGetHPPercent}, {"target_GetTargetDistance",FFXILib::TargetGetDistance}, {"descbar_GetDescription",FFXILib::DescbarGetDescription}, {"descbar_GetSubDescription",FFXILib::DescbarGetSubDescription}, {"descbar_GetSelection",FFXILib::DescbarGetSelected}, {"descbar_GetSubSelection",FFXILib::DescbarGetSubSelected}, {"iteminfo_GetItemName",FFXILib::ItemInfoGetItemName}, {"iteminfo_GetNumSelected",FFXILib::ItemInfoGetSelected}, {"iteminfo_GetItemMax",FFXILib::ItemInfoGetMax}, {"auction_GetPriceCursorLocation",FFXILib::AuctionGetPriceCurserLocation}, {"auction_GetPriceMaxValue",FFXILib::AuctionGetPriceMaxValue}, {"auction_GetPriceCurrentValue",FFXILib::AuctionGetPriceCurrentValue}, {"auction_GetCount",FFXILib::AuctionGetCount}, {"auction_GetCountAvailable",FFXILib::AuctionGetCountAvailable},
{NULL, NULL} };
|
|