[Request] Need to find Stronghold Mimic Donation Limits

Post Reply
Elephanteau
Veteran botter
Veteran botter
Posts: 195
Joined: Wed May 30, 2018 6:10 am

[Request] Need to find Stronghold Mimic Donation Limits

Post by Elephanteau » Wed Sep 09, 2020 12:55 pm

Hi. Jarod.
Please help us find Stronghold Mimic Donation Limits for all materials.
Astral gets stuck when it is still possible to donate something, but the maximum limit will be exceeded.
Example: I want to donate Frozen: the Maximum Limit is (let's say) 1000. The mimic is filled by 999. Anything I would donate will exceed 1000, which is forbidden by the game mechanics. So It is required to assess free space in mimic and compare it with the donated material. And if the donation exceeds this amount, the action should be skipped.
We could not find these numbers.
Please Help.
May the force be with you.

User avatar
Jarod46
Administrator
Administrator
Posts: 1887
Joined: Fri Aug 13, 2010 12:31 pm

Re: [Request] Need to find Stronghold Mimic Donation Limits

Post by Jarod46 » Fri Sep 25, 2020 10:30 am

In last update you can found GroupProjectState.CofferNumericGetMaxValue() function.
Only account support via private messages
Low English level, sorry

DartKotik
Contributor
Contributor
Posts: 1093
Joined: Sat Jan 07, 2017 4:00 pm

Re: [Request] Need to find Stronghold Mimic Donation Limits

Post by DartKotik » Wed Sep 30, 2020 2:53 pm

1. You have error in code in class Injection:

Code: Select all

return Hooks.Executor.Execute<int>(mnemonics, "cmdwrapper_gslGuildProject_DonateToCofferForAlliance ");
This cmdWrapper is like for DonateToCoffer()

Code: Select all

Hooks.Executor.Execute<IntPtr>(mnemonics, "cmdwrapper_gslGuildProject_DonateToCofferForAlliance ");
2. This method crashes frequently

Code: Select all

[21:36] Action set to : Mimic
[21:36] Action set to : MoveTo
[21:36] Sh_Pve loaded from profile zip !
[21:36] MoveTo completed (conditions completed)
[21:36] Action set to : Miscellaneous
[21:36] Action set to : DonateToStronghold : Героический осколок могущества [Coffer_Shard_Stronghold]
[21:36] ---- Gameclient closed ? Last injections at 76892890 : 
[21:36] [76890765] cmdwrapper_gslGuildProject_DonateToCofferForAlliance  inj : True
[21:36] [76890625] Entity_VipPromoItemAvailable inj : True
[21:36] [76889843] cmdwrapper_gslAwayPoke inj : True
[21:36] [76885171] UIGen_PerformInteraction - 26CA9B94468 inj : True
[21:36] [76884812] cmdwrapper_gslAwayPoke inj : True
[21:36] [76879812] cmdwrapper_gslAwayPoke inj : True
[21:36] [76874765] cmdwrapper_gslAwayPoke inj : True
[21:36] [76869750] cmdwrapper_gslAwayPoke inj : True
[21:36] [76864718] cmdwrapper_gslAwayPoke inj : True
[21:36] [76859703] cmdwrapper_gslAwayPoke inj : True
[21:36] ---- Last injections end
[21:36] Disconnected !

Code: Select all

[20:39] Action set to : Mimic
[20:39] Action set to : MoveTo
[20:39] Sh_Pve loaded from profile zip !
[20:39] Скакун
[20:39] MoveTo completed (conditions completed)
[20:39] Action set to : Miscellaneous
[20:39] Action set to : DonateToStronghold : Героический осколок могущества [Coffer_Shard_Stronghold]
[20:39] ---- Gameclient closed ? Last injections at 73505171 : 
[20:39] [73502718] cmdwrapper_gslGuildProject_DonateToCofferForAlliance  inj : True
[20:39] [73501687] cmdwrapper_gslAwayPoke inj : True
[20:39] [73501625] Entity_VipPromoItemAvailable inj : True
[20:39] [73499093] Entity_VipPromoItemAvailable inj : True
[20:39] [73496906] UIGen_PerformInteraction - 217A384BF78 inj : True
[20:39] [73496687] cmdwrapper_gslAwayPoke inj : True
[20:39] [73496578] Entity_VipPromoItemAvailable inj : True
[20:39] [73494078] Entity_VipPromoItemAvailable inj : True
[20:39] [73491671] cmdwrapper_gslAwayPoke inj : True
[20:39] [73491531] Entity_VipPromoItemAvailable inj : True
[20:39] ---- Last injections end

Code: Select all

[19:02] Скакун
[19:03] MoveTo completed (conditions completed)
[19:03] Action set to : Miscellaneous
[19:03] Action set to : DonateToStronghold : Героический осколок могущества [Coffer_Shard_Stronghold]
[19:03] ---- Gameclient closed ? Last injections at 67713062 : 
[19:03] [67710328] cmdwrapper_gslGuildProject_DonateToCofferForAlliance  inj : True
[19:03] [67709281] cmdwrapper_gslAwayPoke inj : True
[19:03] [67708765] UIGen_PerformInteraction - 29C463EF1D8 inj : True
[19:03] [67708750] Entity_VipPromoItemAvailable inj : True
[19:03] [67708718] UIGen_Gen - Invocationresults_Root inj : True
[19:03] [67708703] UIGen_Gen - Rewardpackviewer_Root inj : True
[19:03] [67708671] UIGen_Gen - Mail_Buttonbar inj : True
[19:03] [67708656] UIGen_Gen - Auction_Root inj : True
[19:03] [67706234] Entity_VipPromoItemAvailable inj : True
[19:03] [67704250] cmdwrapper_gslAwayPoke inj : True
[19:03] ---- Last injections end
I invoke GroupProjectState.CofferNumericGetMaxValue() when Mimic screen is already opened.
Sorry for my English. I translate with Google.
Quester Assistant plugin

Post Reply

Who is online

Users browsing this forum: michaelprog, PedroMarques and 104 guests