instead of ******** around you could explain and contribute
Dont tell people to contribute. It just looks like u see sth is not working and didnt try to deal with it or read why stuff is not working. Also this tool is a Dev-HELPER -- which means it helps u developing bots not developing the 'API' to bot.
Dont tell people to contribute. It just looks like u see sth is not working and didnt try to deal with it or read why stuff is not working. Also this tool is a Dev-HELPER -- which means it helps u developing bots not developing the 'API' to bot.
You are basically right.
I know that this is a helping tool but since i tested it and it seemed to me that all you can do here is printing out memory adresses which you need for basically everything unless you do a pixelbased bot AFAIK.
Anyways. Since im not that into this botting scene i better hold back
First of all, thanks a lot to DerMoench14 for this tools it helps me a lot while playing with GWCA and GWTB.
I managed to create the premises of a salvaging module but I encounter an issue...
Everytime I (re)load a zone, I need to first salvage one item manually in order to use my salvage GWCA function next. If I skip this manual first salvage, GW crashes.
When I use the CtoGS logger, I can't find anything special on first salvage call...
First of all, thanks a lot to DerMoench14 for this tools it helps me a lot while playing with GWCA and GWTB.
I managed to create the premises of a salvaging module but I encounter an issue...
Everytime I (re)load a zone, I need to first salvage one item manually in order to use my salvage GWCA function next. If I skip this manual first salvage, GW crashes.
When I use the CtoGS logger, I can't find anything special on first salvage call...
Any idea ?
Thx for your help.
It is because you need some structs and pointers to them to allow the salvage function to work, otherwise the client gets unknown packets back from the game server. You need to update the following, this isn't fixed but what areas need to be updated of gwa2.
Code:
AddPattern('5F5E5B741A6860EA0000')
_('ScanSalvageFunction:')
AddPattern('8BFA8BD9897DF0895DF4')
_('ScanSalvageGlobal:')
;then the following asm needs to be updated as well
;~ _('CommandSalvage:')
;~ _('mov ebx,SalvageGlobal')
;~ _('mov ecx,dword[eax+4]')
;~ _('mov dword[ebx],ecx')
;~ _('push ecx')
;~ _('mov ecx,dword[eax+8]')
;~ _('add ebx,4')
;~ _('mov dword[ebx],ecx')
;~ _('mov edx,dword[eax+c]')
;~ _('mov dword[ebx],ecx')
;~ _('call SalvageFunction')
;~ _('ljmp CommandReturn')
As you will notice the public gwa2 has the salvage asm commented out as well that needs to be updated. This update would only work for non weapons as well I believe as weapons with mods require dealing with GStoC packets.
It is because you need some structs and pointers to them to allow the salvage function to work, otherwise the client gets unknown packets back from the game server. You need to update the following, this isn't fixed but what areas need to be updated of gwa2.
Code:
AddPattern('5F5E5B741A6860EA0000')
_('ScanSalvageFunction:')
AddPattern('8BFA8BD9897DF0895DF4')
_('ScanSalvageGlobal:')
;then the following asm needs to be updated as well
;~ _('CommandSalvage:')
;~ _('mov ebx,SalvageGlobal')
;~ _('mov ecx,dword[eax+4]')
;~ _('mov dword[ebx],ecx')
;~ _('push ecx')
;~ _('mov ecx,dword[eax+8]')
;~ _('add ebx,4')
;~ _('mov dword[ebx],ecx')
;~ _('mov edx,dword[eax+c]')
;~ _('mov dword[ebx],ecx')
;~ _('call SalvageFunction')
;~ _('ljmp CommandReturn')
As you will notice the public gwa2 has the salvage asm commented out as well that needs to be updated. This update would only work for non weapons as well I believe as weapons with mods require dealing with GStoC packets.
Thanks but I am not actually using GWA2 but GWCA.
I succeeded to salvage non weapon item with this code :
But unfortunately, it only works if I do a manual salvage within the game before calling this function to mass salvage the rest of the inventory.
Without the prior "manual salvage within the game", GW crashes right after the first call of the above function. :'(
With the prior "manual salvage within the game", items are salvaged like a charm.
By the way I placed some hooks on :
* GW::Packet::StoC::ItemGeneralInfo (0x0165)
* GW::Packet::StoC::SalvageSessionStart (0x0167)
* GW::Packet::StoC::SixteenA (0x016A)
* GW::Packet::StoC::InventoryItemQuantity (0x0013C)
* GW::Packet::StoC::ChatMessageCore (0x005D)
* GW::Packet::StoC::ChatMessageServer (0x005E)
Hooks are working well but it still does not solve my problem...
When I do the first manual salvage within the game , chat is displaying "SalvageSessionStart Hooked !". This tells me that the hook is working fine.
But when my first salvage come from a GWCA call, I still crash...
you crash because there is an global array of size 2x 4Bytes which need to be prepared before calling salvage. GW needs the globals in order to react on a successful salvage. His BotDev tool wont help you with it. you will need to dig into xdbg or IDA in order to understand what is happening.
You need to see whats on the stack and whats in the registers.
If the global from GW is not filled with the right values your salvage session will take the old values from last salvage session. if the old session contained the same items like ur new session (e.g. if u salvage the same stack with the same kit) then it wont create any crash if u use ur code after ur manual salvage.
[Release] Holy Helper - Most advanced helper in sro era 11/15/2014 - SRO PServer Guides & Releases - 81 Replies Hello , wazzap.
After over two weeks being working on Holy Helper , I decided to release it today.
Holy helper is a program which giving you unlimited power to control your server / play status . Which , could be used by a user or an server owner. Check it out.
First of all I would like to thank all over who did helped me through this program and they're
Holy Helper functions:
[Release] Holy Helper - Most advanced helper in sro era 02/27/2013 - SRO Private Server - 12 Replies Hello , wazzap.
After over two weeks being working on Holy Helper , I decided to release it today.
Holy helper is a program which giving you unlimited power to control your server / play status . Which , could be used by a user or an server owner. Check it out.
First of all I would like to thank all over who did helped me through this program and they're
Holy Helper functions:
[HELPER]ANY 1 need PM [HELPER] 12/17/2008 - EO PServer Hosting - 0 Replies hello guys just wana tell u if any one looking for a good pm can help as a good helper at Eo PServer
i know about database, not really good at hexedit i can get ppl to server have many freind to join :)
just tell me if u need a help
or add me at my msn [email protected] ]