Discussion on [Release] ClassicConquer Bot/Multi-Tool (Packets, Overlays, Plugins) within the CO2 Bots & Macros forum part of the Conquer Online 2 category.
CNETCLIENT_GET_INSTANCE is wrapped in a ton of Themida virtualization, which is probably what's causing the extra CPU usage everyone's been complaining about on their Discord. It's a pretty important function that gets called a lot, so all that overhead adds up quick. I'm pretty sure Flux will end up reverting it there's way too many people complaining for them to just ignore it.
Ill look at sifting through the Themida Virtualization tonight & see if i can find the reference or whatnot.
Makes sense because my diff tool wasn't able to find it in one shot. I wouldn't bother trying to reverse any obfuscated code because it's a pain in the ass unless you've figured out how Themida obfuscates it. Like you said he'll probably revert it, and if he doesn't, he's an idiot
Quote:
Originally Posted by JJRedeemer
ah okay, hopefully it gets reverted then and the offsets don't change again lol, I wonder if there is a way around this if it doesn't get changed back to original. I was able to get the bot stable, it just crashes every time I enable auto-hunt. I'm guessing CNETCLIENT_GET_INSTANCE is probably the issue then.
I haven't touched the code in a long time, but as far as I can remember CNetClient is used for stuff like skill casting. If you just want a melee auto-hunt, you can use the existing attack/jump functions that don't require the CNetClient instance.
Stuff like item pickup can also be done with SetCommand which doesn't require sending packets directly. Warehouse and NPC interactions may not work w/o it though. You can look for dedicated functions that activate NPCs but I don't think they exist (haven't been able to find them).
There is a function for MagicAttack but last time I checked it was obfuscated.
Makes sense because my diff tool wasn't able to find it in one shot. I wouldn't bother trying to reverse any obfuscated code because it's a pain in the *** unless you've figured out how Themida obfuscates it. Like you said he'll probably revert it, and if he doesn't, he's an idiot
I haven't touched the code in a long time, but as far as I can remember CNetClient is used for stuff like skill casting. If you just want a melee auto-hunt, you can use the existing attack/jump functions that don't require the CNetClient instance.
Stuff like item pickup can also be done with SetCommand which doesn't require sending packets directly. Warehouse and NPC interactions may not work w/o it though. You can look for dedicated functions that activate NPCs but I don't think they exist (haven't been able to find them).
There is a function for MagicAttack but last time I checked it was obfuscated.
I was using scatter with an archer. I haven't been able to try npc interactions yet cause I been trying to get scatter to work in auto hunt. I been trying to get things to work without having to use the protected packets...it is being difficult lol.
I unfortunately don't have time to work on this right now, but I've done a quick version sync on Ghidra. I'll include the Ghidra files so you guys can play around with it.
is it possible to give a new link for the files?
could use for my investigation
I downloaded the source files, but I’m having a lot of trouble locating the addresses. With the latest update, the locations of these addresses have changed. I’ve managed to find a few, but the rest remain elusive. Is there a tool that could help with this, or perhaps an entirely unlocked and unprotected version of the source file that I could analyze using Ghidra?
[Release] +5500 Packets structure , client/packets constants 10/07/2012 - CO2 PServer Guides & Releases - 10 Replies edit : if u know nothing about packets go to this post first
explaining what is packets , and explaining a packet with details and everything
http://www.elitepvpers.com/forum/co2-pserver-disc ussions-questions/2162344-packets-packets-packets. html#post19074533
i start making my very own packet structure to use them on my new proxy but i thought of ripping them from the source
so yeah the following packets is ripped of trinity base source
right now im just providing the packets structure...
Packets packets packets... 10/06/2012 - CO2 Private Server - 13 Replies I have been struggling to understand what is a Packet how could i create one with the data i want then send it to my server
So please any one tell if as example i want to send some info from my client to my server, then handle them from the server
how could i do that
: i have my socket server, also i don't wanna copy and paste codes i want to UNDERSTAND.
My PacketReader.cs
ClassicConquer 10/31/2010 - CO2 PServer Archive - 12 Replies Classic conquer 1.0 is back check the site if you dont believe me, but we need your support to keep this server alive, we need ur support :(
Here is the video: YouTube - classic-conquer
Classic Conquer:Classic-Conquer
And remember we need your support to keep this project alive, we also need programmes to help in fixing bugs. :handsdown:
No BP