Alright, well, I learned how to find GetTop:
Code:
#define ATA_LUA_GETTOP 0x0000000141576A80
/* Search: ToString > xrefs to aToString > Generate Pseudocode >
Line above tostring, look for sub_xxxxxxxxx, double click, should look like:
return (*(_QWORD *)(a1 + 16) - *(_QWORD *)(a1 + 24)) >> 4; */
one down, 10 to go? That first one was only easy because of documentation, the rest... no clue.
I'm trying to cross reference the BDO Lua files, but the pseudocode doesn't seem to match up very easily to what I examine.
Code:
#define ATA_REQUEST_ITEM_MARKET_SELL_INFO 0x0000000141964250 // Search: requestItemMarketSellInfo
#define ATA_GET_ITEM_MARKET_SELL_INFO_IN_CLIENT_COUNT 0x00000001419640F0 // Search: getItemMarketSellInfoInClientCount
#define ATA_GET_ITEM_MARKET_SELL_INFO_IN_CLIENT_BY_INDEX 0x0000000141964160 // Search: getItemMarketSellInfoInClientByIndex
#define ATA_REQUEST_BUY_ITEM_FOR_ITEM_MARKET 0x0000000141964188 // Search: requestBuyItemForItemMarket
#define ATA_IS_BIDDING_ITEM 0x0000000141963DB0 // Search: isBiddingItem
#define ATA_IS_BIDDING_JOIN_TIME 0x0000000141963E80 // Search: isBiddingJoinTime
#define ATA_GET_ITEM_MARKET_NO 0x0000000141963E70 // Search: getItemMarketNo
#define ATA_IS_BIDDING_JOIN_ITEM 0x0000000141964148 // Search: isBiddingJoinItem
#define ATA_GET_ONE_PRICE 0x0000000141963DA0 // Search: getOnePrice
#define ATA_WAREHOUSE_MONEY_FROM_NPC_SHOP 0x0000000141994450 // Search: warehouse_moneyFromNpcShop_s64
// However these aren't correct because when I press Num6 the game instantly freezes
#define ADA_LOCAL_PLAYER 0x00000001421F5260 // Search: FromClient_consoleQuickSlot > xrefs to aFromclient_c_2 > scroll up until you find [mov rax, cs:qword_xxxxxxxxx]
// Local Player should be correct
-----------------------------------------
Such a proud moment, *sniff*
[Only registered and activated users can see links. Click Here To Register...]
-----------------------------------------
Well, I managed to get this far tonight.
[Only registered and activated users can see links. Click Here To Register...]
It can read the amount of silver in your current Heidel warehouse, and when an item is ready to bid I believe it is trying to execute the command for it, as when a Value Pack went up, about 30 seconds later it froze, so I'm not quite there yet.
So confusing, think I'll manage to get it with trial and error here in a few days, then I just have to document how I found those addresses so I don't forget how to update it in the future. I think...