[Hack] CO2Hook

02/10/2008 22:55 phize#91
Quote:
Originally Posted by high6 View Post
You have to select the warehouse first. Thats whats being pushed

push dword ptr ds:[esi+0x52DF8]

Is the currently selected warehouse. So select it, cancel out of the password thing and then call it.
What do you mean?
I call it exactly as the game does after you typed in the password and that push the same always

By the way you got any of the packet structures 0x3F6 or 0x44D?
02/11/2008 01:59 MushyPeas#92
Quote:
Originally Posted by RootCore View Post
What do you mean?
I call it exactly as the game does after you typed in the password and that push the same always

By the way you got any of the packet structures 0x3F6 or 0x44D?
He's just saying that esi+0x52DF8 doesn't have a "wh-id" in it yet until you go in-game and click on your warehouse, because if you don't then the game opens a fictive wh with whatever number esi+0x52DF8 contains at that time.
02/11/2008 02:28 phize#93
What I meant was that it is only possible to see what's in your warehouse if you opened it once, and I have just tested with high6's dll and it is the same. So basically not possible to use it without having the password.

Anyway how is it going with your hack coding Mushy? :)
02/11/2008 03:21 high6#94
Quote:
Originally Posted by RootCore View Post
What I meant was that it is only possible to see what's in your warehouse if you opened it once, and I have just tested with high6's dll and it is the same. So basically not possible to use it without having the password.

Anyway how is it going with your hack coding Mushy? :)
I just tested and it works fine.
02/11/2008 05:19 phize#95
Quote:
Originally Posted by high6 View Post
I just tested and it works fine.
Ok I got it working now, you were right :p
Just of curiosity did you stop making hacks for CO or...?
Haven't seen any stuff from you lately...
02/11/2008 05:36 genoys2#96
is this ok?
02/11/2008 14:32 noobiedude#97
Plzzz can u teach me how to get the / effects like constantly super armor effect for warrior????
I tried to do it in chat but that didn't work.... how to do???
02/11/2008 15:36 phize#98
Quote:
Originally Posted by noobiedude View Post
Plzzz can u teach me how to get the / effects like constantly super armor effect for warrior????
I tried to do it in chat but that didn't work.... how to do???
As it says in readme: /addeffect role-select8
02/11/2008 16:18 noobiedude#99
It was fun for a few mins:P then i got bored:D

but it was good work:D
02/11/2008 16:32 MushyPeas#100
Quote:
Originally Posted by RootCore View Post
Anyway how is it going with your hack coding Mushy? :)
Learned a lot already, but I have a problem with calling for example the gamemsg function when triggered by another game function.
For example:
I hook a piece of code that gets activated when an item drops.
Then my hook looks like this in semi-code:
Code:
[B]> reconstruct the code I deleted to place my hook
> mov a value from a register into my c++ variable
> sprintf something like "Found item at (%d %d)",itemx, itemy
> call the GameMsg function with the newly made *char
> jmp back to game code[/B]
But after it executes the GameMsg line it won't continue on processing the remaining code in the function (or atleast that's what I think goes wrong).
Any ideas on that?
02/11/2008 16:52 phize#101
Quote:
Originally Posted by MushyPeas View Post
Learned a lot already, but I have a problem with calling for example the gamemsg function when triggered by another game function.
For example:
I hook a piece of code that gets activated when an item drops.
Then my hook looks like this in semi-code:
Code:
[B]> reconstruct the code I deleted to place my hook
> mov a value from a register into my c++ variable
> sprintf something like "Found item at (%d %d)",itemx, itemy
> call the GameMsg function with the newly made *char
> jmp back to game code[/B]
But after it executes the GameMsg line it won't continue on processing the remaining code in the function (or atleast that's what I think goes wrong).
Any ideas on that?
Did you use pushfd/pushad/popfd/popad?
Code:
	__asm
	{
		// original game code
		pushfd
		pushad
	}

	// your code here

	__asm
	{
		popad
		popfd
		// jmp back
	}
You need the asm there because you would change the stack of the game
Btw are you using packets to spot items on ground?
02/12/2008 01:56 phize#102
*bump*

I decided to continue work on this project anyway, started playing with packets.
New features are: warehouse unlocking, vp viewing, monster/player/item notifier

Removed the old loader as it didn't work for some people.
Read the readme.txt included in the RAR archive, it shows everything you need.
02/13/2008 04:01 zajaceto#103
why warehouse unlock dont work?
02/13/2008 09:52 phize#104
Should work now :)
02/13/2008 20:19 RuBBisH#105
hi :)
i decided to try this bot and i think its a nice one but i got some questions....
u can use the command /notify BlueMouse to detect it but .... it doestn work for me :( it detects red named ppl on market for example but with the mouse it seams to have a problem... and another thing i wanted to ask the add effect one. anytime i try to use it i get dcd i see a sign u will be disconnected in 3 seconds and when the timer gets to 0 i get dcd is there anyway i could not get dc? and detect the blue mouse? coz trully speakin the mouse detection is the thing i wanted to use this bot :) thx in advance for ur replays