|
You last visited: Today at 06:12
Advertisement
[Release] Advanced hooking
Discussion on [Release] Advanced hooking within the CO2 Programming forum part of the Conquer Online 2 category.
02/25/2011, 10:45
|
#31
|
elite*gold: 0
Join Date: Aug 2006
Posts: 127
Received Thanks: 5
|
What about c++, does this library works whit that language?
|
|
|
02/25/2011, 13:53
|
#32
|
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
|
Quote:
Originally Posted by Matic^
What about c++, does this library works whit that language?
|
It works for Visual C++, yes.
|
|
|
02/25/2011, 16:43
|
#33
|
elite*gold: 0
Join Date: Mar 2009
Posts: 518
Received Thanks: 238
|
This thread was good inb4 noobs going
"HURR DURR HOW DOES I PROGRAM AND MAKE TEH EP1C B0TZ?"
Nice share though, will definitely come in handy.
|
|
|
02/25/2011, 20:57
|
#34
|
elite*gold: 0
Join Date: Jun 2007
Posts: 1,272
Received Thanks: 246
|
great release hawt,it is nice to see some REAL releases in this place again.
big thumbs ups for that
|
|
|
03/04/2011, 08:13
|
#35
|
elite*gold: 0
Join Date: Feb 2011
Posts: 335
Received Thanks: 170
|
I'm interested in hooking. Seems like a really cool thing. I used this but not for Conquer, plan on using it for another game. But it just won't attach. see anything wrong with my code? And yes, it is getting the processid successfully.
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using AdvancedHooking;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Zeus Game = new Zeus();
if (Game.Attach())
Console.WriteLine("Successfully attached");
Console.Read();
}
}
class Zeus
{
private Debuggee _dbg;
private bool IsAttached = false;
private int _ProcessId = 0;
public Debuggee Dbg
{
get { return _dbg; }
}
public int ProcessId
{
get { return _ProcessId; }
}
public Zeus()
{
this._ProcessId = GetProcessID("Zeus");
this._dbg = new Debuggee(_ProcessId);//its getting the process id and **** perfectly. but it just wont attach
}
public int GetProcessID(string name)
{
foreach (Process Proc in Process.GetProcesses())
{
if (Proc.ProcessName.ToLower() == name.ToLower())
return Proc.Id;
}
return 0;
}
public bool Attach()
{
if (IsAttached)
return false;
_dbg.OnAttach += new Debuggee.OnAttachEventHandler(_dbg_OnAttach);
if (_dbg.AttachDebugger())
{
IsAttached = true;
return true;
}
else
{
return false;
}
}
void _dbg_OnAttach(ref Debuggee Debuggee, ref Helper.CONTEXT ctx)
{
Console.WriteLine("Attached");
}
}
}
|
|
|
03/05/2011, 07:53
|
#36
|
elite*gold: 0
Join Date: Dec 2010
Posts: 11
Received Thanks: 0
|
IAmHawtness can you do a big favour?
BR server ( Conquest ) just updated to Legends Return patch.
I tested in my proxy , and the packets are all the same with the USA version
The only difference I had to change was IP and local prot wich is
game ip: 187.17.71.196 , port 5003/5000
Can you change the ip config of your COOperative to the BR's ip i provided , to see if it will work? I can test , you send me a PM with it changed.
|
|
|
03/05/2011, 16:54
|
#37
|
elite*gold: 0
Join Date: Dec 2006
Posts: 1,039
Received Thanks: 1,335
|
Quote:
Originally Posted by kimbola
IAmHawtness can you do a big favour?
BR server ( Conquest ) just updated to Legends Return patch.
I tested in my proxy , and the packets are all the same with the USA version
The only difference I had to change was IP and local prot wich is
game ip: 187.17.71.196 , port 5003/5000
Can you change the ip config of your COOperative to the BR's ip i provided , to see if it will work? I can test , you send me a PM with it changed.
|
Cooperative isn't a proxy.
|
|
|
03/06/2011, 02:44
|
#38
|
elite*gold: 0
Join Date: Dec 2010
Posts: 11
Received Thanks: 0
|
Then why it wouldnt work on the BR conquer?
I mean , the login name doesnt show ..
|
|
|
03/06/2011, 21:24
|
#39
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
Quote:
Originally Posted by kimbola
Then why it wouldnt work on the BR conquer?
I mean , the login name doesnt show ..
|
Chances are the client uses a different memory address for send/receive function meaning that the bot cannot hook it properly.
Proxy = packet based bot which is achieved by routing all your conquer activity through a program which handles the connections and such.
CoOperative = memory based bot which hooks the send/receive packet methods meaning it is still packet based but there is no reason to handle encryption, connections or re-direct the client anywhere.
|
|
|
05/05/2011, 04:29
|
#40
|
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
|
Code:
Error 1 The best overloaded method match for 'AdvancedHooking.Debuggee.ReadString(int, uint)' has some invalid arguments C:\Users\Alan\AppData\Local\Temporary Projects\COHooker\COClient.cs 92 31 COHooker
Error 2 Argument 1: cannot convert from 'System.IntPtr' to 'int' C:\Users\Alan\AppData\Local\Temporary Projects\COHooker\COClient.cs 92 50 COHooker
|
|
|
05/07/2011, 23:10
|
#41
|
elite*gold: 0
Join Date: Mar 2009
Posts: 518
Received Thanks: 238
|
SelectedClient.SendPacket(Packet)
Doesn't get any easier than that.
But what are these?
Const NameOffset As Integer = &H15C
I am confused as to what &H15C is.
|
|
|
05/08/2011, 00:18
|
#42
|
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
|
Quote:
Originally Posted by DeathByMoogles
SelectedClient.SendPacket(Packet)
Doesn't get any easier than that.
But what are these?
Const NameOffset As Integer = &H15C
I am confused as to what &H15C is.
|
&H15C = 0x15C. It's the offset of the "Name" property (string pointer) of the role class. So, [Role base address + 0x15C] = Address that contains name of role.
|
|
|
05/08/2011, 01:50
|
#43
|
elite*gold: 0
Join Date: Mar 2009
Posts: 518
Received Thanks: 238
|
Quote:
Originally Posted by IAmHawtness
&H15C = 0x15C. It's the offset of the "Name" property (string pointer) of the role class. So, [Role base address + 0x15C] = Address that contains name of role.
|
Ahh, so &H = 0x?
Also, does the example program work?
It detects my client, but doesn't do anything.
|
|
|
05/08/2011, 02:30
|
#44
|
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
|
Quote:
Originally Posted by DeathByMoogles
Ahh, so &H = 0x?
Also, does the example program work?
It detects my client, but doesn't do anything.
|
Pretty sure some of the addresses are out-dated
|
|
|
05/08/2011, 19:01
|
#45
|
elite*gold: 0
Join Date: Mar 2009
Posts: 518
Received Thanks: 238
|
Quote:
Originally Posted by IAmHawtness
Pretty sure some of the addresses are out-dated
|
Haha, that would make sense.
|
|
|
 |
|
Similar Threads
|
[RELEASE] Make a more Advanced NPC
02/02/2011 - CO2 PServer Guides & Releases - 55 Replies
This guide will show you how to make a NPC. I will update this post daily with new things to add to your NPC.
First. We are going to take this NPC from Paralyzer and modify this a little bit. here is the link if you have never made a simple NPC.
http://www.elitepvpers.com/forum/co2-pserver-guide s-releases/492901-release-how-code-decent-npc-npcs -txt-entry.html
Easiest stuff first.
How to make an NPC check for a specific level.
To make an NPC check for a level we can do this by adding...
|
Advanced Tribalwars Bot Release
05/31/2010 - Browsergames - 20 Replies
Ein Bot für das Browsergame "Die Stämme".
Features:
Multiaccountfähig
baut Dörfer selbstständig aus
Bot merkt sich, wann ein Gebäude gebaut werden kann, bzw. wann es fertiggestellt ist
Information: Bei "Server" z.B. de60.die-staemme.de o.ä. eingeben.
|
ReViSiOn [Advanced Public Release]
02/13/2009 - WarRock Hacks, Bots, Cheats & Exploits - 5 Replies
http://i295.photobucket.com/albums/mm150/gfx_forum s/revvv3.png
ReViSiOn Public Beta 1.2
_____
Working features:
No Recoil
No Spread
|
All times are GMT +1. The time now is 06:13.
|
|