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

[Question] Accessing preloaded assets

jyam

Community Developer
Joined
Dec 27, 2014
Messages
72
Reaction score
1
I've bought the bot and i've been fiddling with it and i have to say it's impressive work, amazing job buddy.
Now onto the main issue :
I'm trying to make some sort of condition for the bot to keep resetting instance if some assets aren't preloaded in it and i've got everything ready except for a way to access preloaded assets, the object manager only has object near vision AFAIK.
 
I've bought the bot and i've been fiddling with it and i have to say it's impressive work, amazing job buddy.
Now onto the main issue :
I'm trying to make some sort of condition for the bot to keep resetting instance if some assets aren't preloaded in it and i've got everything ready except for a way to access preloaded assets, the object manager only has object near vision AFAIK.
Hey jyam,
I believe you have access to the terrain data =).
Hint
Code:
Loki.Game.LokiPoe.TerrainData.GetTerrainDataEntriesBy(Loki.Game.LokiPoe.TerrainData.TerrainDataEntryMatches)

Also a word of warning. This is the fastest way to get you banned. GGG does check if you make too many instances. This is from pure speculation from my experience.
 
Thanks a lot buddy! I do know about the ban don't worry but nothing can stop a coder curiosity.
By the way I also dumped some data from the Dat entry and I see there is no more entry for unique strongbox, were they renamed or were they taken out of the game?
 
Last edited:
foreach (Loki.Game.LokiPoe.TerrainDataEntry element in Loki.Game.LokiPoe.TerrainData.GetTgtEntries())
{

Log.DebugFormat(element.TgtName);

}

Doesn't have metadata for preloaded chest/etc, am i doing something wrong? It's just tiles.
 
foreach (Loki.Game.LokiPoe.TerrainDataEntry element in Loki.Game.LokiPoe.TerrainData.GetTgtEntries())
{

Log.DebugFormat(element.TgtName);

}

Doesn't have metadata for preloaded chest/etc, am i doing something wrong? It's just tiles.
Hey jyam, go next to a "strong box" or "corrupted area", go to the tools Tab on the bot.
Click Object Browser, click Refesh. Find the Item and you can work your magic with that smart brain of yours =).
 
Then again you need to be in vision for the network object to be created. If you look at poehud, it gives yo an alert if there's a gemcutter/etc in the area the second you load, you don't need to move? I mean i'm pretty new to the Loki API and it's barely documented so maybe there is something i'm missing.
 
Then again you need to be in vision for the network object to be created. If you look at poehud, it gives yo an alert if there's a gemcutter/etc in the area the second you load, you don't need to move? I mean i'm pretty new to the Loki API and it's barely documented so maybe there is something i'm missing.
Hey jyam,
Check out GreyMagic in Api =).
 
Hello,
So basically it isn't implemented "directly" in the api and i have to read manually from the memory?
Is there any plan to implement the preloaded cache in the api? A clarification frorm pushedx would be welcome because you're kinda leading me in a circle right now by giving vague answers.
 
Hello,
Exactly the information I needed, thank you!

I suppose if i make my own routine for it i can't share it on this forum though?
 
Back
Top