Register for your free account! | Forgot your password?

You last visited: Today at 00:12

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



couple of questions

Discussion on couple of questions within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2014
Posts: 43
Received Thanks: 12
couple of questions

first about memory based bots, would it be possible to hook functions using c# application pinvoking a c++ dll ?

second about parallel processing for packets to decrease ping(split long buffer with many packets and process them at once), would that even be possible, if yes how vulnerable it would be
OverKill. is offline  
Old 02/23/2014, 05:38   #2
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Yes. You can call any Windows 32 API function using a platform invoke. As far as parallel, I'd recommend using a threaded worker queue system or asynchronous socket system for receiving packets in parallel. If this is a client bot, you could also use tasks to parallel packet processing. I've found that the best option is an IOCP model or C#'s asynchronous classes.
Spirited is offline  
Thanks
1 User
Old 02/23/2014, 06:01   #3
 
elite*gold: 0
Join Date: Jan 2014
Posts: 43
Received Thanks: 12
Quote:
Originally Posted by Spirited Fang View Post
Yes. You can call any Windows 32 API function using a platform invoke. As far as parallel, I'd recommend using a threaded worker queue system or asynchronous socket system for receiving packets in parallel. If this is a client bot, you could also use tasks to parallel packet processing. I've found that the best option is an IOCP model or C#'s asynchronous classes.
you didn't really get the last part but here ill explain more
sometimes you get buffer with more than a packet (ex. buffer with 5 walk packets or buffer with jump and use item packets)
i was talking about processing those packets in the buffer in parallel so i can reply faster to the client

but the question is how vulnerable that would be, for instance if one walk packet from the middle of distance finished first, also if people could exploit it


regard of the first part, sorry if this sound stupid but when you say "Windows 32 API" does this include plain c++ dlls compiled maybe with pure clr
OverKill. is offline  
Old 02/23/2014, 06:16   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Oh, I see. You don't want to process all of the walk packets at once. That does create problems with updating the location of the character. You want to process packets in some sort of queued system where there's some delay between packets. You can still execute some things in parallel, but walking isn't something you should do in parallel. Regarding the Windows API, yes, it does contain ANSI C++ functions, but editing a process's memory is part of the Windows API.
Spirited is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
a couple questions
04/01/2013 - Main - 2 Replies
first how do we receive thanks from others andif i buy elite gold with real money can i do the reverse thing aswell? i mean use the elite gold i got from an acc i sold to get real money?
Couple of Questions
05/21/2012 - CO2 Private Server - 4 Replies
Well i Got Couple of Question :- 1 - When i Activated Flower Transform it doesnt appear to others ..So is it Sent to players using Spawn Packet ? 2 - when i Sent Poker Table packet 2172 to myself ..once i go away from then Come back it disAppear so how i prevent that .. Regards Shadowman123
A couple questions.
05/09/2010 - EO PServer Hosting - 17 Replies
How come when i edit my cq_user in my navicat and relog in on my account it says "Server interruption. Please log in later" How do i add stars to any of my pets in the navicat? How do i add eps to my character in th navicat? Where can i get a good schopping mall, like in any other server, mine has not many things i got problley 8 pets, and 5 pages, 2 pages are filled with eudcards how do i get +255 gears with +255 elemnts 2 socket and gems for warrior in my server? and for the...
A couple of questions.
10/14/2009 - CO2 Private Server - 9 Replies
I want to know what in a source determines what client version the source is compatible with. Can anybody explain that to me? This next question is for those who know the AndreaCo/FutureCo Source that xelios released. How can I set up my LOTF Source to have the NPCDialog.cs like they do? And how do I add a new map to my server? I would like to add that new map that TQ added to Conquer, its a Ice Dungeon or something. All help is appreciated.
Just a couple of Questions
04/24/2008 - Conquer Online 2 - 2 Replies
Hey guys i just wanted to know if some1 could show me the link to a met spammer. I also wanted to know if anyone could do some edits for conquer for me. I posted the edits i wantes before but i guess a mod said no. If you can help me i would appreciate very much.



All times are GMT +1. The time now is 00:12.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.