GWA2 Update

12/28/2024 23:11 glechene#31
So a quick question. The new GWA2 has "current action" listed a lot throughout. It is making an error that says unknown function name. I cannot find "Current Action" listed anywhere as a function name. Is there a function for current action?
12/28/2024 23:48 Mandilus33#32
Quote:
Originally Posted by glechene View Post
So a quick question. The new GWA2 has "current action" listed a lot throughout. It is making an error that says unknown function name. I cannot find "Current Action" listed anywhere as a function name. Is there a function for current action?
He was more than likely using this for debugging and fixing things. For my uses, I just found all CurrentAction in Notepad++ and replaced it with ;~CurrentAction to comment them out and it fixed it for me.
12/29/2024 00:18 glechene#33
Quote:
Originally Posted by Mandilus33 View Post
He was more than likely using this for debugging and fixing things. For my uses, I just found all CurrentAction in Notepad++ and replaced it with ;~CurrentAction to comment them out and it fixed it for me.
Thank you. I did find a function in an old GWA2 instead of commenting out everything.
12/29/2024 00:22 Mrjambix#34
Yeah I use CurrentAction as a debugger ^_^, I did put in the notes on Github to change it as needed
12/29/2024 09:24 gwbotcrazy123#35
very nice. can you update EquipItem(GetItemBySlot(1,1)),it dont work. and fight() func dont work too.

Thank you very much!
12/29/2024 15:49 Mrjambix#36
Quote:
Originally Posted by gwbotcrazy123 View Post
very nice. can you update EquipItem(GetItemBySlot(1,1)),it dont work. and fight() func dont work too.

Thank you very much!
What's wrong with EquipItem?
I'm not fixing actual functions only patterns/address.

Your Equip Item should be talking to this function
Code:
;~ Description: Equips an item.
Func EquipItem($aItem)
	Local $lItemID

	If IsDllStruct($aItem) = 0 Then
		$lItemID = $aItem
	Else
		$lItemID = DllStructGetData($aItem, 'ID')
	EndIf

	Return SendPacket(0x8, $HEADER_ITEM_EQUIP, $lItemID)
EndFunc   ;==>EquipItem
which in return talks to
Code:
Global Const $HEADER_ITEM_EQUIP = 0x002F ; Equip an item.
This header was verified to be working!

for the Fight Function once again, I don't fix Individual function what we are looking for is the freeze issue happening as you use skills to see if there's an issue causing the freeze up.

Code:
; **Skill Base and Timer**
    $mSkillBase = MemoryRead(GetScannedAddress('ScanSkillBase', 8))
    If [MENTION=2544426]Error T[/MENTION]hen
        WriteLog("Failed to read skill base")
        Return 0
    EndIf
    $mSkillTimer = MemoryRead(GetScannedAddress('ScanSkillTimer', -3))
    If [MENTION=2544426]Error T[/MENTION]hen
        WriteLog("Failed to read skill timer")
        Return 0
    EndIf
    WriteLog("Read skill base and timer: 0x" & Hex($mSkillBase, 8) & ", 0x" & Hex($mSkillTimer, 8))
If your functions are jacked/broken apart from what I mentioned above, then it's on you. Please do report issues but debug them and give some details in the future so we can dig into it.
12/29/2024 20:54 sky51100#37
Hi, thanks for job. I have a little problem when i run my bot. Some help plz
12/29/2024 21:22 AlienMan9696#38
Quote:
Originally Posted by sky51100 View Post
Hi, thanks for job. I have a little problem when i run my bot. Some help plz
It's because the headers are defined in the GWA2 already, removed the include <GWA2_Headers> from your bot script.
12/30/2024 10:08 sky51100#39
Quote:
Originally Posted by AlienMan9696 View Post
It's because the headers are defined in the GWA2 already, removed the include <GWA2_Headers> from your bot script.
THKS Bro ! I've a another problem : bot crash when dropping and an another bot freeze my character on a position (when i create a spirit whith my RT after that my character still at this position and bot crash after)

EDIT : all of my Nickset Bot don't work :( (freeze and crash)

Someone can help me plz ?
12/30/2024 13:40 Gint0nic#40
Tysm for your work! How do I use it right? Overwrite the current files in the bots? That does not work for me.. What do I have to do?
12/30/2024 16:40 AlienMan9696#41
Quote:
Originally Posted by sky51100 View Post
THKS Bro ! I've a another problem : bot crash when dropping and an another bot freeze my character on a position (when i create a spirit whith my RT after that my character still at this position and bot crash after)

EDIT : all of my Nickset Bot don't work :( (freeze and crash)

Someone can help me plz ?
It seems to be a memory related issue, he’s aware of it, best thing we can go is bust open cheat engine and try to help or just wait patiently and maybe he finds a fix.
12/30/2024 17:07 epvp_dragon#42
Test… that was weird.. I wasn’t able to go to or see page 3 until I made a comment..
12/30/2024 19:29 moneyvsmoney#43
GWA2 Is 99% fully functioning, there may be a few things here or there. Disable Rendering is known to not be working at this time also.
Here is a zip file of updated gwa2, headers, and bots. Please don't bombard me with questions if something is not working. I believe mrjambix and I have done far enough now and any issue you come across are likely to be found with a quick search of the forums. HUGE Thank you to mrjambix and any of his associates that helped. Cheers! -Globs
12/30/2024 21:46 Gint0nic#44
Quote:
Originally Posted by moneyvsmoney View Post
GWA2 Is 99% fully functioning, there may be a few things here or there. Disable Rendering is known to not be working at this time also.
Here is a zip file of updated gwa2, headers, and bots. Please don't bombard me with questions if something is not working. I believe mrjambix and I have done far enough now and any issue you come across are likely to be found with a quick search of the forums. HUGE Thank you to mrjambix and any of his associates that helped. Cheers! -Globs
Ty for ur work! It`s sadly not very userfriendly, because every Bot gives an error message when you start it. But people with a good knowledge will surely can use it ;)
12/31/2024 00:06 Mrjambix#45
This updated GWA2 Lib won't be operational forever...take this time and reflect on the past month that everyone has been unable to bot or refuse to learn how to with PY4GW. Stop being leeches and start learning the process so that when the time comes you are able to contribute as well.

For those in private that updated their scripts and kept it secret, I don't blame you...The amount of people who refuse to do the simplest things drives me crazy sometimes, as well as the amount of bitching that happens in this community by those leechers. If you want to work with me in the future let me know.