Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Who have the 1.13c D2GS source code ? #29
Hello as the title say it, i'm searching a working 1.13c D2GS source code that can compile on VS 2017.
I spent 4h to fix it, i re-used official PVPGN.Pro protocol for authentication and all, the Custom D2CS now connect fine with the official PVPGN i'm able to connect/create characters and all, the realm is fine as well.
I did recompile D2GS (MultiThreaded) and disabled the Patch_D2.mpq file size as i have custom patch, and this still doesn't do anything ! that trash error "main: Failed to startup net connector".
Also i don't really want the MultiThread i would like the original 1.13c D2GS that is used by MagicBuilder but i didn't find the source of this D2GS, is it public at least ?
I would like the source because in addition to my mod i would like to introduce server sided administrator command and a real WorldEvent trigger.
Any help would be appreciated !
Ps: I don't want to use linux ! wtf.
There is only 1.09d source code for D2GS.exe https://github.com/pvpgn/d2gs109
As I understand, @tesseract2048 takes 1.09d sources and made some modifications to make it working with his D2GE engine, that handles game logic https://github.com/pvpgn/d2gs/tree/master/D2GS
Source for LibD2Server you can find in @tesseract2048 repository or in every build from Marsgod https://pvpgn.pro/download/d2gs/
Thanks for the reply, looking to fix the "failed to start net connector" error, i'm so close to have it working on windows
By the way to fix the fdwatch iop error i simply re-used fdwatch select() so the custom D2CS connect on the official CURRENT pvpgn (changed some auth-reply packet) and done.
I was able to compile all the required binaries. This is really a quest how to do it and to understand how to setup. I spent whole the day, all programs are running and connected in logs, but I still could not connect to a server with
Download complete binaries pvpgn_d2gs_tesseract.zip
All the binaries are required to run together. So it's not enough only modified D2CS as I assumed before — modified PvPGN and D2DBSDotNet are also required.
How to setup
Mostly similar with https://pvpgn.pro/d2gs_installation.html
Run d2cs.exe or d2csConsole.exe
Run d2gs/D2GS.exe, it also has no any visible interface, but a process should be running.
As I understand, a new process D2GE.exe should start for every created Diablo 2 game.
Note: D2GS.exe will exit immediately if D2CS or D2DBSDotNet is not running.
@RElesgoe Its because I was trying to figure it out why this not work - first we know tesseract desing all this for 32 bits, and for windows XP originally - And the problem with the compiled version at this moment is the d2cs - When you open it say:
And thats the trick with this multi thread D2GS - In fact the D2GS works OK but the realms are not working at this moment.-
The real question here is, in Windows XP say that error because its Windows XP ? or because its a 64 bits app?
@RElesgoe I see, well I try in 32 bits Windows 7 and works, so its related to the Win XP support.-
If you any IP different from the host or # in Mirror_IP you have two errors:
And the Realm its created, but in practice we know thats not true, I believe because we have a "fatal" error in the tcpinput.
But if you put the local IP where D2CS its running in the Mirror_IP you get:
No fatal error, but the realm dont say its created.-
I believe the mirror IP its where the realm its working - In any of the two ways if you try to connect via "Multiplayer" options you can connect but when try to create a game you get
In my opinion its very clear the problem its the compilation of the D2CS.-
In regards to
@RElesgoe I see, so the D2GS HT dont allow open games and it's fine this was desing to be used in a pvpgn server.-
And about the "could not create realm" - No never.-
And the other condition its when you put the same local IP in the
And no, in any of this two posible conditions I find get the error
I test this in 32 bits or 64 bits, Windows 10 or 7, its the same.-
Then I try to create two servers in different local ips to see if the mirror its related and no, nothing happend its the same.-
The D2DBS works OK, the D2GS, works fine too, the PVPGN start OK - but, we still have the problem with the D2CS
@RElesgoe for example this is an output trying to login:
Apr 23 16:43:59 [error] sd_accept: s_addr: 1401a8c0, mirror_addr: 301a8c0