Support for 32 bit OS to be withdrawn

michaelprog
Contributor
Contributor
Posts: 974
Joined: Wed Aug 31, 2016 7:32 am

Re: Support for 32 bit OS to be withdrawn

Post by michaelprog » Wed Jul 10, 2019 2:47 pm

Astral don't crash but I see int the log the following:

Code: Select all

[17-42-53 LOG][17:42] Routines thread crash :
[17-42-53 LOG][17:42] System.Exception: Yasm error : Invalid mnemonics !
   в MyMemory.Assembly.Yasm.Assemble(String[] mnemonics, IntPtr org)
   в MyMemory.Assembly.Yasm.Inject(String[] mnemonics, IntPtr lpAddress)
   в MyMemory.Hooks.CallbackExecutor.Execute[T](String[] mnemonics, String infos)
   в MyNW.Internals.Injection.(TeamLootItemSlot , NeedOrGreedChoice )
   в Astral.Controllers.Routines.loop()
[17-42-53 LOG][17:42] Change target for : Гончая Ужаса (Nearest)
[17-42-54 DEBUG][17:42] Play : [Slotted] Обжигающая сулица (Spell) action !
[17-42-55 LOG][17:42] Routines thread crash :
[17-42-55 LOG][17:42] System.Exception: Yasm error : Invalid mnemonics !
   в MyMemory.Assembly.Yasm.Assemble(String[] mnemonics, IntPtr org)
   в MyMemory.Assembly.Yasm.Inject(String[] mnemonics, IntPtr lpAddress)
   в MyMemory.Hooks.CallbackExecutor.Execute[T](String[] mnemonics, String infos)
   в MyNW.Internals.Injection.(TeamLootItemSlot , NeedOrGreedChoice )
   в Astral.Controllers.Routines.loop()
[17-42-55 DEBUG][17:42] Play : ApproachMelee action !
[17-42-56 DEBUG][17:42] Play : [Slotted] Обжигающая сулица (Spell) action !
[17-42-58 DEBUG][17:42] Play : [Slotted] Священное пламя (Spell) action !
[17-43-1 LOG][17:43] Attack : Гончая Ужаса
Хочешь что-то сделать хорошо - сделай это сам!

michaelprog
Contributor
Contributor
Posts: 974
Joined: Wed Aug 31, 2016 7:32 am

Re: Support for 32 bit OS to be withdrawn

Post by michaelprog » Wed Jul 10, 2019 2:49 pm

Game crash

Code: Select all

[17-44-31 DEBUG][17:44] Play : Use Event_Trinket_Alliance_Horn_Perm action !
[17-44-31 DEBUG][17:44] Play : [Slotted] Копье веры (Spell) action !
[17-44-37 DEBUG][17:44] Play : ApproachMelee action !
[17-44-38 DEBUG][17:44] Play : TabSpell action !
[17-47-22 LOG][17:47] ---- Gameclient closed ? Last injections at 34607292 : 
[17-47-22 LOG][17:47] [34603330] ExecuteCommand - Command : InventoryExec 1 Potions 1 inj : True
[17-47-22 LOG][17:47] [34593330] mass raycast 25 inj : True
[17-47-22 LOG][17:47] [34583331] cmdwrapper_player_killme inj : True
[17-47-22 LOG][17:47] [34573331] cmdwrapper_gslAwayPoke inj : True
[17-47-22 LOG][17:47] [34563331] MassCanExePower [Artifact_Class_Devoted_R5;Devoted_Daily_Flamestrike;Devoted_Daily_Hallowedground;Devoted_Encounter_Breakthespirit;Devoted_Encounter_Dauntinglight;Devoted_Encounter_Searinglight;Devoted_Encounter_Searinglight;Devoted_Atwill_Lanceoffaith_Combo;Devoted_Atwill_Sacredflame_Combo;Devoted_Encounter_Dauntinglight;] inj : True
[17-47-22 LOG][17:47] [34553332] mass raycast 25 inj : True
[17-47-22 LOG][17:47] [34543332] RayCast inj : True
[17-47-22 LOG][17:47] [34533332] cmdwrapper_gslAwayPoke inj : True
[17-47-22 LOG][17:47] [34523333] mass raycast 6 inj : True
[17-47-22 LOG][17:47] [34513333] mass raycast 25 inj : True
[17-47-22 LOG][17:47] ---- Last injections end
Хочешь что-то сделать хорошо - сделай это сам!

michaelprog
Contributor
Contributor
Posts: 974
Joined: Wed Aug 31, 2016 7:32 am

Re: Support for 32 bit OS to be withdrawn

Post by michaelprog » Wed Jul 10, 2019 4:27 pm

Another GameClient crash

Code: Select all

[19-25-18 LOG][19:25] Attack : Вожак зимних волков
[19-25-23 LOG][19:25] ---- Gameclient closed ? Last injections at 40489092 : 
[19-25-23 LOG][19:25] [40483179] RayCast inj : True
[19-25-23 LOG][19:25] [40483164] mass raycast 2 inj : True
[19-25-23 LOG][19:25] [40483008] ExecuteCommand - Command : specialClassPower 0 inj : True
[19-25-23 LOG][19:25] [40482914] ExecuteCommand - Command : specialClassPower 1 inj : True
[19-25-23 LOG][19:25] [40482883] MassCanExePower [Artifact_Class_Devoted_R5;] inj : True
[19-25-23 LOG][19:25] [40482867] RayCast inj : True
[19-25-23 LOG][19:25] [40482852] mass raycast 2 inj : True
[19-25-23 LOG][19:25] [40482789] UIGen_Gen - Loot_Root inj : True
[19-25-23 LOG][19:25] [40481807] mass raycast 1 inj : True
[19-25-23 LOG][19:25] [40481791] UIGen_Gen - Loot_Root inj : True
[19-25-23 LOG][19:25] ---- Last injections end
[19-25-30 LOG][19:25] Disconnected and can't relog, stop bot !
When I press "Play" button in the Astral window it write int the Log:

Code: Select all

[19-26-23 LOG][19:26] ---- Gameclient closed ? Last injections at 40548497 : 
[19-26-23 LOG][19:26] [40503179] cmdwrapper_gslAwayPoke inj : False
[19-26-23 LOG][19:26] [40493179] RayCast inj : False
[19-26-23 LOG][19:26] [40483179] RayCast inj : True
[19-26-23 LOG][19:26] [40483164] mass raycast 2 inj : True
[19-26-23 LOG][19:26] [40483008] ExecuteCommand - Command : specialClassPower 0 inj : True
[19-26-23 LOG][19:26] [40482914] ExecuteCommand - Command : specialClassPower 1 inj : True
[19-26-23 LOG][19:26] [40482883] MassCanExePower [Artifact_Class_Devoted_R5;] inj : True
[19-26-23 LOG][19:26] [40482867] RayCast inj : True
[19-26-23 LOG][19:26] [40482852] mass raycast 2 inj : True
[19-26-23 LOG][19:26] [40482789] UIGen_Gen - Loot_Root inj : True
[19-26-23 LOG][19:26] ---- Last injections end
[19-26-29 LOG][19:26] Disconnected and can't relog, stop bot !
Хочешь что-то сделать хорошо - сделай это сам!

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

Re: Support for 32 bit OS to be withdrawn

Post by DartKotik » Thu Jul 11, 2019 12:02 pm

We found out today that Astral_x86 and Astral_x64 return different hash codes for the same NPC.
Executing old profiles with InteractNPC and InteractSpecificNPC is impossible without a complete rework.
So, GuildCoffer's NameUntranslatedHash has 1351539263 on x86 version and 425453727 on x64
GetHashCode() returns different values not only between different architectures, but also between different versions of .NET.

https://docs.microsoft.com/en-us/dotnet ... etHashCode
A hash code is intended for efficient insertion and lookup in collections that are based on a hash table. A hash code is not a permanent value. For this reason:

Do not serialize hash code values or store them in databases.
Do not use the hash code as the key to retrieve an object from a keyed collection.
Do not send hash codes across application domains or processes. In some cases, hash codes may be computed on a per-process or per-application domain basis.
Do not use the hash code instead of a value returned by a cryptographic hashing function if you need a cryptographically strong hash. For cryptographic hashes, use a class derived from the System.Security.Cryptography.HashAlgorithm or System.Security.Cryptography.KeyedHashAlgorithm class.
Do not test for equality of hash codes to determine whether two objects are equal. (Unequal objects can have identical hash codes.) To test for equality, call the ReferenceEquals or Equals method.
If you still want to use this function, you need to override it. This needs to be fixed.
Sorry for my English. I translate with Google.
Quester Assistant plugin

michaelprog
Contributor
Contributor
Posts: 974
Joined: Wed Aug 31, 2016 7:32 am

Re: Support for 32 bit OS to be withdrawn

Post by michaelprog » Thu Jul 11, 2019 12:44 pm

An illustration for the HashCode problem
Astral32
NPC_Hash_Astral32.png
Astral64
NPC_Hash_Astral64.png
You do not have the required permissions to view the files attached to this post.
Хочешь что-то сделать хорошо - сделай это сам!

michaelprog
Contributor
Contributor
Posts: 974
Joined: Wed Aug 31, 2016 7:32 am

Re: Support for 32 bit OS to be withdrawn

Post by michaelprog » Thu Jul 11, 2019 3:09 pm

GameClient freezed at the time [17-59-48]
You do not have the required permissions to view the files attached to this post.
Хочешь что-то сделать хорошо - сделай это сам!

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

Re: Support for 32 bit OS to be withdrawn

Post by Jarod46 » Mon Jul 15, 2019 9:33 am

DartKotik wrote:
Thu Jul 11, 2019 12:02 pm
We found out today that Astral_x86 and Astral_x64 return different hash codes for the same NPC.
Executing old profiles with InteractNPC and InteractSpecificNPC is impossible without a complete rework.
So, GuildCoffer's NameUntranslatedHash has 1351539263 on x86 version and 425453727 on x64
GetHashCode() returns different values not only between different architectures, but also between different versions of .NET.
...
Ok, I removed NPCUntranslatedNameId and just replaced by NPCUntranslatedName without hashing.
In most of cases InteractSpecificNPC should don't require an update because location is enough in most of cases, property is ignored if empty, but for InteractNPC action bot could interact with incorrect npcs without update.
Only account support via private messages
Low English level, sorry

michaelprog
Contributor
Contributor
Posts: 974
Joined: Wed Aug 31, 2016 7:32 am

Re: Support for 32 bit OS to be withdrawn

Post by michaelprog » Mon Jul 15, 2019 11:32 am

Jarod46 wrote:
Mon Jul 15, 2019 9:33 am
Ok, I removed NPCUntranslatedNameId and just replaced by NPCUntranslatedName without hashing.
In most of cases InteractSpecificNPC should don't require an update because location is enough in most of cases, property is ignored if empty, but for InteractNPC action bot could interact with incorrect npcs without update.
Is NPCUntranslatedName will support regEx ?
Without this we will have the same problems as described here

Moreover the RegEx have a big complexity but it is needed in small number of situations.
So it would be nice to have a property switching simple and regex comparison of the NPCUntranslatedName
Хочешь что-то сделать хорошо - сделай это сам!

anton55
Frenetic botter
Frenetic botter
Posts: 99
Joined: Mon Jul 20, 2015 12:37 pm

Re: Support for 32 bit OS to be withdrawn

Post by anton55 » Fri Jul 19, 2019 2:56 pm

Is there an ETA for astral64 coming out of test?

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

Re: Support for 32 bit OS to be withdrawn

Post by Jarod46 » Fri Jul 19, 2019 8:51 pm

Astral 64 bit is already available with test version.
Only account support via private messages
Low English level, sorry

Post Reply

Who is online

Users browsing this forum: No registered users and 55 guests