08.11.2009, 15:48
How built this multi players game?
i mean which Programming language it's built?
i mean which Programming language it's built?
|
Originally Posted by clum'
Search for Raknet.
|
|
Originally Posted by Kye
RakNet is like DirectX, but for networking instead of graphics.
|
|
Originally Posted by Kye
The server and client is written in C/C++.
There is some x86 assembly in the client that interfaces SA-MP with GTA:SA. San Andreas does not come with any SDK and there are no source/headers available. SA-MP is written without any source code or any assistance from Rockstar. It's all based on self research. I have to use memory editing, hooks, runtime hot-patching, and sometimes assembly to call functions. About 80-90% of the coding time on this mod is spent figuring out how to control San Andreas to make it do what I want - hopefully without crashing. But that's actually the most fun part. SA-MP is one of the largest extensions ever written for another program without access to documentation or source files describing the original program's coding or limits. RakNet provides SA-MP with the ability to do reliable messaging over the internet. That's so things like chat messages and server commands don't go missing while being transmitted. Some people think RakNet does most of the work in the mod but that's not true. RakNet is like DirectX, but for networking instead of graphics. Most of the protocol which makes everything sync still had to be designed and coded by the SA-MP team. RakNet has made our job a lot easier though. |