Request Looking for a team

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,683
34
3,286
520
I suspect the main reason most Chinese private servers are still using delphi files is because most of them are still running windows XP and couldn't run Crystal if they wanted to.
 
  • Like
Reactions: zedina and Martyn

NightScare

Legend
Legendary
Nov 11, 2005
3,071
225
290
Nottingham
Hmm, I disagree, C# can be just as performant and as secure as C++/Delphi clients.

For example, I have been working on a new client that is C# based, using OpenGL with advanced rendering techniques, plus tight control on memory usage to practically nullify the effects of GC. Also with the ability of AOT compiling C# can produce a native binary which is just as secure as C++/Delphi. I don't see the down sides..

Can you give me some insight into the performance differences/issues that you see compared to general Crystal c#?




This looks really good.

Whats eta haha
 

Chriz

Captain Lurker
VIP
Mar 24, 2003
1,198
1
336
315
LOMCN
For performance, As far as I know, the AOT mechanism is quite new, the compatibility varies in different platforms and OS versions, and it requires more effort to achieve that goal sometimes, because less experience you can directly get from the community, I admit that if you don't consider time, every programing language can be the one for your best option, personally I like to choose the abundant ecosystem, at least in Mir2, Delphi is sort of the king in the Mir2 ecosystem, I see none of the companies in China use Crystal as their choice, that's the reality.

For security, as you don't mention, I'd like to go through a bit, the AOT compiling traits can be figured out easier than the real native applications as it's packed by a unique rule, If someone found a trait and shared it out, that affects all the AOT applications, currently I don't see any external packer like Themida to protect the C# AOT based applications, please let me know if you have used one.

And also, never look down the powerful inline ASM, the assembly code can do more for the reverse engineering, If you don't know how your opponent's doing, you can think about it, what disaster would be.

Themida can also protect native assemblies from C# :)

I fully understand that the most true engines will be based on the Delphi client, and naturally, there is a bigger 'ecosystem' around that. Any other implementation like in C# is pure emulation, which for better or worse is always going to be somewhat different.

Indeed - fair point, the inline ASM is a nice feature.. however there are ways to do this in C# - but it's not nearly as nice and is not really a feature of the language. Do you know if the Mir Clients based in Delphi use inline ASM for anything other than blending though? I mean, because of that implementation it means that the graphics processing for blending is carried out on the CPU instead of taking advantage of the GPU. In Crystal the c# takes advantage of the GPU blending through DirectX and in my client I take advantage of OpenGL for blending and have full access to shaders. (This is one thing I need to expand on with my client, because I can essentially replicate the pallet-based blending mechanism that is done by the ASM through shaders)

I would love to see how the Delphi/C++ clients perform under strain, are you able to provide any footage or links to the engines?

---

@NightScare I'm slowly getting there, but this will be quite a major upgrade from our current engine (Also going from .NET 4.8 to .NET8/9 for both Client and server, so it's requiring a lot of testing! We will likely run a test server for a while before we use this new client/server)
 

cary

Loyal Member
Loyal Member
Sep 3, 2016
23
7
30

Themida can also protect native assemblies from C# :)

I fully understand that the most true engines will be based on the Delphi client, and naturally, there is a bigger 'ecosystem' around that. Any other implementation like in C# is pure emulation, which for better or worse is always going to be somewhat different.

Indeed - fair point, the inline ASM is a nice feature.. however there are ways to do this in C# - but it's not nearly as nice and is not really a feature of the language. Do you know if the Mir Clients based in Delphi use inline ASM for anything other than blending though? I mean, because of that implementation it means that the graphics processing for blending is carried out on the CPU instead of taking advantage of the GPU. In Crystal the c# takes advantage of the GPU blending through DirectX and in my client I take advantage of OpenGL for blending and have full access to shaders. (This is one thing I need to expand on with my client, because I can essentially replicate the pallet-based blending mechanism that is done by the ASM through shaders)

I would love to see how the Delphi/C++ clients perform under strain, are you able to provide any footage or links to the engines?

---

@NightScare I'm slowly getting there, but this will be quite a major upgrade from our current engine (Also going from .NET 4.8 to .NET8/9 for both Client and server, so it's requiring a lot of testing! We will likely run a test server for a while before we use this new client/server)
Oh, I don't know Themida can protect it from the SDK level, thanks to know. One use case for the inline ASM is you can make a game not fully from the ground, if you really like a game, you can use the hack way to manipulate the network protocols and D3D rendering for adding new features, and then repack to yours, I know it's hard for lots of developers, but that's always happening in the gaming industry.

the bigger 'ecosystem' may only be narrowed down to the Unity/Godot(Please correct me if I'm wrong), however, if you notice more, the TypeScript is quietly making the progress, the engine like Cocos Creator/Laya are very hot as well, if you notice UE5, C++ is still the one for making big games.

You said the inline ASM is not a feature, I really doubt about it, If you've ever made any Cheat applications, this feature is really the one beautiful which is really user-friendly for mapping the memory pointers to the real classes and functions, so the readability is very high.

Above all, don't get me wrong, in fact, I don't have a strong opinion for Delphi, I always use different programing languages for different purposes, however, I have to consider and understand the entire Mir2 community and ecosystem, I notice the LOMCN and Chinese community are developing in different ways, one is driven by the pure business, another is driven by the love and passion, who knows what the future will be but the GMs and Players :)

Sorry, I don't have the engine links as some of them can be found easily via the Chinese search engine.
 
  • Like
Reactions: Chriz

Valhalla

Nexus Mir Developer
Veteran
Nexus
Game Master
Sep 7, 2012
2,112
6
597
180
127.0.0.1
I have to disagree with using Themida, I won't link the url to it but there are a few free crackers for Themida. Pretty sure @Valhalla & Win discovered that.

Themida is useless. All of the "big" cheaters already have the crackers for it and it just makes windows flag it as a virus constantly.
 
  • Like
Reactions: Jev

Tai

HEAD CAPTAIN
Staff member
Administrator
May 11, 2003
14,769
3
3,342
495
United Kingdom
@Tai

- TorchM2 - The oldest one some developers are still working on for their own Mir2/Mir3/Wool
- AceM2
- HeroM2 - Classic one still exists for some GMs
- BlueM2 - Open sourced only in the Chinese community - various new features
- GomM2 - Very white-hot one for tens of hundreds GMs
- GeeM2 - Very white-hot one for hundreds of thousands GMs
- TopM2
- Many more, haha.
Ah You’re talking about Chinese Mir, it’s not relevant here I’m afraid as we cannot use them.
 

theduke

Dedicated Member
Dedicated Member
Oct 5, 2006
115
70
55
its a tough ask these days, a few hundred dwindling players across a few servers. alot of the remaining are still playing with their 14 year old ego and are more about the greifing than having fun. Then the server owners, alot (not all) just out to make money with no love for the game like the players (Egyptians etc). Then the gold sellers and levelers inbetween just remove the competition that yes in most games of 1000's of players isn't so bad but with such a small base its so obvious its demoralising.