-
Active Member
Originally Posted by
EthEth
I'm testing this:
# HARVEST
Metadata/Terrain/Leagues/Harvest/Objects/HarvestFeatureChest; Harvest; ff36B400
Metadata/Terrain/Leagues/Harvest/harvest_encounter.arm; Harvest; ff36B400
# HEIST
Metadata/Chests/LeagueHeist/HeistSmugglersCoinCache; Heist; ffcfb109
Metadata/Chests/LeagueHeist/HeistSmugglersCoinCacheOutdoors; Heist; ffcfb109
Harvest works, Heist works in most cases. I can't see why sometimes preload does not detect smuggler's cache.
edit: yeah. weird.
Heist stuff preload sometimes, others don't. =s
Last edited by MACROS4LIFE; 01-21-2021 at 12:14 AM.
GH it's like cocaine, once you used, you can't forget.
-
Member
Buff Util doesnt seem to be working for me when I input the URL to add. I've added several others with no problems. Is there a way to fix this or can I perhaps use another different one? Thanks boss! You the man.
-
Terrain offsets are still incorrect.
If you need a really working option - use the static address, which I updated for 3.13.0c
3.13 Some Useful Static Offsets
terrain_3.13.0c.jpg
Last edited by GameAssist; 01-21-2021 at 09:26 AM.
Reason: fixed link
-
Post Thanks / Like - 1 Thanks
levelmax (1 members gave Thanks to GameAssist for this useful post)
-
Member
Hi, Hello, because I am in the mainland, so I can only play Tencent service, so I would like to ask if I can update and support Tencent service? I hope to add estate alert in preloadalert. I really need exileapi. If you can update it for me, I'd like to sponsor 50 dollars as support. thank! How can I add estate alert in preloadalert
-
Elite User
Originally Posted by
Randomizer
@
Queuete
It would appear the fix for Gems did not work.
public IList<Element> GemsToLvlUp => GetChildAtIndex(0)?.Children; is still reporting "0" when there are gems present.
If you want to add me on discord, feel free to shoot me a PM.
I am not using Discord. I just checked it in DevTree and GemsToLvlUp contains all the gems which are shown on the right side and are ready to level.
Originally Posted by
Tian9803
PreloadAlert seems not work for me. What's the problem? AND, how can I use it in Epic Server? thanks.
Attachment 75926
Originally Posted by
mxl
Hi, Hello, because I am in the mainland, so I can only play Tencent service, so I would like to ask if I can update and support Tencent service? I hope to add estate alert in preloadalert. I really need exileapi. If you can update it for me, I'd like to sponsor 50 dollars as support. thank! How can I add estate alert in preloadalert
You cant, see first post. Only the standalone client is supported.
Originally Posted by
jja0016
Buff Util doesnt seem to be working for me when I input the URL to add. I've added several others with no problems. Is there a way to fix this or can I perhaps use another different one? Thanks boss! You the man.
When a plugin download / compilation fails there should be an error in the log, show us those. Nevertheless at least last league CoPilot was a lot more stable compared to BuffUtil.
Originally Posted by
wlastas
Terrain offsets are still correct, I just checked the plugin and its appearing as intended. Furthermore your link is not working.
-
Post Thanks / Like - 2 Thanks
-
Contributor
Originally Posted by
Queuete
I am not using Discord. I just checked it in DevTree and GemsToLvlUp contains all the gems which are shown on the right side and are ready to level.
@Queuete - I apologize. you are correct, the number of gems coming back is infact working. Thank you for your time. Sadly, the code below used to work in AutoFollow plugin, I am trying to figure out why it doesn't any more after the patch. I have two gems to level and a third one almost ready. This is the code + output from the code.
The problem is, as you can see, the children are in fact not working properly. I see we have 3 gems to level up but the Text in the children is gibberish (possibly unicode?) and the vector seems wrong.
Output:
Code:
2021-01-21 07:31:53.996 -06:00 [ERR] Count 3
2021-01-21 07:31:53.997 -06:00 [ERR] possibleGemsToLvlUpElement: | 1 | X:0 Y:0
2021-01-21 07:31:53.997 -06:00 [ERR] elem: Æ°ê¥ƒÇ | X:454 Y:90 | 0
2021-01-21 07:31:53.997 -06:00 [ERR] possibleGemsToLvlUpElement: ᑻ㾪Ǯ | 1 | X:0 Y:134
2021-01-21 07:31:53.997 -06:00 [ERR] elem: | X:10 Y:0 | 2
2021-01-21 07:31:53.997 -06:00 [ERR] possibleGemsToLvlUpElement: | 0 | X:0 Y:144
Code:
var possibleGemsToLvlUpElements = GameController.IngameState.IngameUi?.GemLvlUpPanel?.GemsToLvlUp;
if (possibleGemsToLvlUpElements != null && possibleGemsToLvlUpElements.Any())
{
LogError($"Count {possibleGemsToLvlUpElements.Count}");
foreach (Element possibleGemsToLvlUpElement in possibleGemsToLvlUpElements)
{
LogError($"possibleGemsToLvlUpElement: {possibleGemsToLvlUpElement.Text} | {possibleGemsToLvlUpElement.ChildCount} | {possibleGemsToLvlUpElement.Position}");
foreach (Element elem in possibleGemsToLvlUpElement.Children)
{
LogError($"elem: {elem.Text} | {elem.Position} | {elem.ChildCount}");
if (elem.Text != null && elem.Text.ToLower().Contains("click to level"))
gemsToLevelUp.Add(possibleGemsToLvlUpElement);
}
}
}
Could it be that GetChildren isn't working correctly?
Code:
protected List<Element> GetChildren<T>() where T : Element
{
var e = Elem;
if (Address == 0 || e.ChildStart == 0 || e.ChildEnd == 0 || ChildCount < 0) return _childrens;
if (ChildHash == childHashCache)
return _childrens;
var pointers = M.ReadPointersArray(e.ChildStart, e.ChildEnd);
if (pointers.Count != ChildCount) return _childrens;
_childrens.Clear();
foreach (var pointer in pointers)
{
_childrens.Add(GetObject<Element>(pointer));
}
childHashCache = ChildHash;
return _childrens;
}
Last edited by Randomizer; 01-21-2021 at 09:14 AM.
Yup.
-
Member
I keep getting disconnected to login screen while using this program. I unchecked all of the mods except flask and auto quit and it still d/cs me. Any help?
-
Originally Posted by
Queuete
Terrain offsets are still correct, I just checked the plugin and its appearing as intended. Furthermore your link is not working.
oh correct link
3.13 Some Useful Static Offsets
Lioneye's Watch (13)__________right ____________current
coll___________________________30 _______________31
row___________________________18 _____________ _19
b_per_row_____________________345 _____________345
LayerMelee data______________byte[142830]_____byte[142830]
if i insert into the for loop [31 19] = > 'Index was outside the bounds of the array.'
if I replace with correct [30 18] - no error during creation, then the resulting map contains no data
-
Elite User
@Randomizer
You are going through all the children of a gem to level up, whats supposed to be the outcome?
Not every element contains valid text, the gibberish values in the .text fields are nothing unusal.
Code:
var gemsToLevelUp = GameController.IngameState.IngameUi?.GemLvlUpPanel?.GemsToLvlUp;
foreach (var gem in gemsToLevelUp) {
// those are probably the 2 interesting children of a gem element.
var button = gem.GetChildAtIndex(1);
var clickToLevelUpText = gem.GetChildAtIndex(3);
}
Short advice on your code. Try to keep the indentation low. Thats often easily done by turning around your if's:
Code:
// instead of
var gemsToLevelUp = GameController.IngameState.IngameUi?.GemLvlUpPanel?.GemsToLvlUp;
if (gemsToLevelUp != null) {
foreach (var....) {
...;
}
}
// this
var gemsToLevelUp = GameController.IngameState.IngameUi?.GemLvlUpPanel?.GemsToLvlUp;
if (gemsTolevelUp == null) return;
foreach (var....) {
...;
}
-
Member
Maybe if I use a different version it won't d/c me? Is there any way? I really want to use it.
-
Elite User
I keep getting disconnected to login screen while using this program. I unchecked all of the mods except flask and auto quit and it still d/cs me. Any help?
Most likely your AutoQuit settings log you out.
Originally Posted by
wlastas
oh correct link
3.13 Some Useful Static Offsets
Lioneye's Watch (13)__________right ____________current
coll___________________________30 _______________31
row___________________________18 _____________ _19
b_per_row_____________________345 _____________345
LayerMelee data______________byte[142830]_____byte[142830]
if i insert into the for loop [31 19] = > 'Index was outside the bounds of the array.'
if I replace with correct [30 18] - no error during creation, then the resulting map contains no data
The used offset for "NumCols" and "NumRows" are identical with the ones from your link.
If the result is false then its also false with your offsets. - and the Terrain plugin still works without a problem for me, so I dont have any reason to believe its false.
Your for loop is most likely just going 1 iteration too far.
When there are 31 columns and you start counting by 0 then the last column has the index 30. Your loop most likely goes up to 31.
-
Member
[QUOTE=Queuete;4281295]Most likely your AutoQuit settings log you out.
LOL THANKS!
-
Contributor
Originally Posted by
Queuete
@
Randomizer
You are going through all the children of a gem to level up, whats supposed to be the outcome?
Not every element contains valid text, the gibberish values in the .text fields are nothing unusal.
Code:
var gemsToLevelUp = GameController.IngameState.IngameUi?.GemLvlUpPanel?.GemsToLvlUp;
foreach (var gem in gemsToLevelUp) {
// those are probably the 2 interesting children of a gem element.
var button = gem.GetChildAtIndex(1);
var clickToLevelUpText = gem.GetChildAtIndex(3);
}
Short advice on your code. Try to keep the indentation low. Thats often easily done by turning around your if's:
Code:
// instead of
var gemsToLevelUp = GameController.IngameState.IngameUi?.GemLvlUpPanel?.GemsToLvlUp;
if (gemsToLevelUp != null) {
foreach (var....) {
...;
}
}
// this
var gemsToLevelUp = GameController.IngameState.IngameUi?.GemLvlUpPanel?.GemsToLvlUp;
if (gemsTolevelUp == null) return;
foreach (var....) {
...;
}
Thank you for responding. We should be able to read the text of the children, if they contain text, they also should have a vector for the button position for us to click on. What we are getting back is not that sadly. As for the code, it wasn't mine, it was the Author of Autofollow. I am slowly refactoring the entirety of it, as there is a lot of code like this in the base.
I have included a picture of the 3 gems and the text. I have also included the original code.
chrome_P0Vj3VZb3u.jpg
Code:
var possibleGemsToLvlUpElements = GameController.IngameState.IngameUi?.GemLvlUpPanel?.GemsToLvlUp;
if (possibleGemsToLvlUpElements != null && possibleGemsToLvlUpElements.Any())
{
foreach (Element possibleGemsToLvlUpElement in possibleGemsToLvlUpElements)
{
foreach (Element elem in possibleGemsToLvlUpElement.Children)
{
if (elem.Text != null && elem.Text.ToLower().Contains("click to level"))
gemsToLevelUp.Add(possibleGemsToLvlUpElement);
}
}
}
-
Elite User
Thank you for responding. We should be able to read the text of the children, if they contain text, they also should have a vector for the button position for us to click on. What we are getting back is not that sadly.
Thats exactly what "we are getting back". You may want to look at the code I posted. The text element (Click to level up, its the only text element in there) and the button are the ones I posted.
-
Post Thanks / Like - 1 Thanks
EthEth (1 members gave Thanks to Queuete for this useful post)
-
Contributor
Originally Posted by
Queuete
Thats exactly what "we are getting back". You may want to look at the code I posted. The text element (Click to level up, its the only text element in there) and the button are the ones I posted.
I completely missed that code block, I 100% apologize. I am thankful for your help in all of this. I am going to go up my patreon contribution. Well worth my money. Thank you again for taking the time out of your day to help me.
Edit: Appears your Patreon is gone, got any other way of donating? If you want to PM me a paypal or something, I will be happy to toss some cash at you.
Last edited by Randomizer; 01-21-2021 at 12:32 PM.
Yup.