A few questions about Arcane Code, that I do not understand
Hi, I introduce myself, My name is Jonathan I'm student in IT, and I'm actually looking for coding C/C++ sro server.
I know that this will be long and hard >.<
But I htink it is a good way to involve my skils
I'm actually basing my work on Arcane server (I think it is the best so
But there is something that I didn't understand >.< (I think all will be good after ^^')
Quote:
Originally Posted by login server
public static void oPCode(Decode de)
{
Systems sys = (Systems)de.Packet;
sys.PacketInformation = de;
try
{
switch (de.opcode)
{
case 0x2001:
sys.GateWay();
break;
case 0x6100:
sys.Patch();
break;
case 0x6101:
sys.ServerList();
break;
case 0x6102:
sys.Connect();
break;
case 0x6104:
sys.Launcher();
break;
case 1905:
UserTablo(de.buffer);
break;
default:
break;
}
}
Decode de -> What is that ? I have searcha lot if Lynzerk code, but nothing >.<
Also can u explain me what do this function ? I know that this is analising opcode but from where ?
Thank you for the futur reply you can give me ^^
Dunno what happened but the title of my post look like wrong so if you can correct it
I'm not sure (I didn't check it) but I think it's like this:
The receive packet function receives the packet, it parses it into a Decode object.
The Decode object will probably contain the opcode, the size, the data, security crc, ...
So when it's parsed, it will call the oPCode function with the packet (a Decode object) as parameter (de).
The oPCode function will then use a switch to select the opcode of the packet (de.opcode).
de is just the param which is given to this function by the call (de as Decode obj param)
-> Decode splits the packet into it's relevant informations. (e.g. opcode)
-> Framework.Decode.cs
I just want to make my own server (based on arcane) in C/C++ instead of C# (C++ is really faster than C#, my server will have a better capacity and stability when all will be done)
I don't want ppl flamming, I just want to build my own emu to develop my skills in C++ programming (and build server with custom thing)
So start from beginning by yourself instead of trying to understand someone else code. I am sure in this way you will improve your skills alot more than edit someone else code like an idiot.
You are right, but I don't know work silkroad packet, so no choice :S
After I will create my own functions for Game server (but always related to Arcane Packet/Opcode)
Lol, you can thin,k what you want, I'm french student in IT, and I'm 22 year old
I will understand how work packet while understanding how Arcane works
Lol, you can thin,k what you want, I'm french student in IT, and I'm 22 year old
I will understand how work packet while understanding how Arcane works
You are too lazy to understand anything kid, good luck <facepalm>.
[LEAKED] Arcane Source Code [for Development only] 10/22/2010 - SRO Coding Corner - 136 Replies Hi,
So have fun :) There alot of File which are missed. But you can see all Packets and .. You cant run that files. Because they are incomplete. You can make youre own Emulator you can see all Packets and Importent Informations.
Look at :
Game/Packets/Public.cs
Game/Packets/Private.cs
Loginserver isnt there. I think we dont need Packets from an LoginServer.