What about c++, does this library works whit that language?
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 shit 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");
}
}
}
Cooperative isn't a proxy.Quote:
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.
Chances are the client uses a different memory address for send/receive function meaning that the bot cannot hook it properly.Quote:
Then why it wouldnt work on the BR conquer?
I mean , the login name doesnt show ..
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
&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.Quote:
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.
Ahh, so &H = 0x?Quote:
&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.