Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 15:18

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

Advertisement



[Question]New way of packet handling?

Discussion on [Question]New way of packet handling? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 01/26/2011, 20:57   #16
 
stealarcher's Avatar
 
elite*gold: 0
Join Date: Apr 2006
Posts: 231
Received Thanks: 94
@unknownone Thanks for the clarification on everything.

I typically work with PHP, and in PHP it doesn't effect it too much when u do something as the following:

Code:
$var = "Test";
$Test = "Hello";
$Test2 = " World";
echo ${$var};

Outcome: Hello
Which allows it to be dynamic using the same principle. AKA, im too used to the high-level of programming and am trying to go back to the low-end of things xD
stealarcher is offline  
Old 01/26/2011, 21:15   #17
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
PHP uses a different approach though, usually that of executing code at runtime dynamically, which is of magnitudes slower than optimised code execution to begin with - so you might not notice the difference of slow code vs. slow code.

.NET is compiled and somewhat optimised before execution though. A method call in .NET is pretty much equivalent to a CALL instruction on the processor after JIT compilation. The procedure to invoke a method via reflection involves potentially loading an assembly, looking through metadata for the method, JIT compiling the method, instantiating any objects needed, then calling the method. (pretty costly).

in .NET 4.0, dynamic dispatch is a slight performance improvement over the System.Reflection technique, but is still noticably slower then calling a delegate or method directly.
unknownone is offline  
Reply


Similar Threads Similar Threads
Play sound via Packet Send?? [Question String Packet]
07/14/2010 - CO2 Private Server - 5 Replies
Yow im trying to figure out why i cant play music with the string packet What im doin is; MyChar.Client.SendPacket(Game.Packet.String(MyCha r.UID, 20, Splitter)); My Packet is: public byte String(long CharId, byte Type, string name)
[Question] Packet data , packet editing ??
10/13/2009 - 9Dragons - 2 Replies
I would like to know : What is packet data? How do i get the address for hacking a item in game? How to use it ??
packet bot [QUESTION]
08/11/2009 - Kal Online - 10 Replies
well...is packetbot written in c++ or c#? and if there is anyone who could help me with it pls post here....i will give somthing in exchange :D



All times are GMT +1. The time now is 15:19.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.