Silfro 36 Report post Posted February 11, 2018 Hi there, I remembered I had the PKO source code on my HD and noticed it is not possible to compile it with visual studio 2017 so I've fixed it. To compile the server: Open the folder PKO_2_4 -> Server and double click the "Server.snl" file. Now visual studio will pop up. Go to Build -> Build Solution and the Libs including servers will build. I did not test if the files work because I do not have sql server installed. If anyone is interested in the client, then tell me and Ill also fix the client. PS: Make sure you have "Release" selected and not Debug or anything else. Info: In the file "PrivilegeCheck.cpp" you might want to change the function bool PrivilegeCheck::IsAdmin(const char* accountName, const char* ip) { #ifdef _DEBUG return true; #else // Ä¿Ç°IP»¹È¡²»µ½£¬ÒÔºó×·¼Ó¹«Ë¾IPÏÞÖÆ //if(strcmp(accountName, "GameTest1") == 0 && // (strcmp(ip, "116.228.42.71") == 0 || strcmp(ip, "10.0.30.60") == 0)) if(strcmp(accountName, "gametest1") == 0) { return true; } #endif return false; } to bool PrivilegeCheck::IsAdmin(const char* accountName, const char* ip) { #ifdef _DEBUG return true; #endif return false; } otherwhise the person with the account name "gametest1" seems to be an admin. Download Link: https://mega.nz/#!fVNz0TLT!mRSmm3bJgVo3kkTVNiRGZuaG7cuLA-xcwHBOn0iUrPo 6 Quote Share this post Link to post Share on other sites
Angelix 384 Report post Posted February 11, 2018 Yes please, if you can also do client, it would be highly appreciated! Thanks for this as well. Quote Share this post Link to post Share on other sites
Ximboliex 91 Report post Posted February 11, 2018 Yes!! Sr please Client Too, we will start a new era of TOP / KOP thanks to its unbearable help Quote Share this post Link to post Share on other sites
Silfro 36 Report post Posted February 11, 2018 Hi, in the pko 2_4 client, there seems to be a file missing for the LightEngine. File called: drTextFileLoader.h and seems to be important 1 Quote Share this post Link to post Share on other sites
Ximboliex 91 Report post Posted February 11, 2018 (edited) then it will not be able to carry out the release and fix of the Client or is there hope? Edited February 11, 2018 by Ximboliex Quote Share this post Link to post Share on other sites
Silfro 36 Report post Posted February 12, 2018 (edited) I could try and compile it without. But I need directx 8 libs compiled with VS 2017. Otherwise you can download visual studio 2005 and use it to compile the game client. Edited February 12, 2018 by Silfro 1 Quote Share this post Link to post Share on other sites
deguix 65 Report post Posted February 12, 2018 (edited) well I did release the src code with top-recode at https://gitlab.com/deguix/top-recode/. Its based on the modified src from top2 files. I just didn't bother to make a post yet, or even to update after that ;/. It includes source for both client and server (except trade server). The reason that I didn't mention it yet is because I didn't fix a major bug that prevents showing of some effects (like the intense magic). Edited February 12, 2018 by deguix 4 Quote Share this post Link to post Share on other sites
Unknown 18 Report post Posted June 20, 2018 Why is it empty? No GameDB? Quote Share this post Link to post Share on other sites
leanth240 0 Report post Posted May 22, 2020 Buenas noches men sigue actualizando es interezante Quote Share this post Link to post Share on other sites
leanth240 0 Report post Posted May 22, 2020 una pregunta el cliente que tienes es para pegar lo en en top 2 o en el top 1 Quote Share this post Link to post Share on other sites
Mesut 28 Report post Posted June 13, 2023 vs 2003.net does not work on win 10 is there any other program i can compile souce code? Quote Share this post Link to post Share on other sites
champ 173 Report post Posted June 13, 2023 3 hours ago, Mesut said: vs 2003.net does not work on win 10 is there any other program i can compile souce code? The title explicitly says you need visual studio 2017 to compile. Quote Share this post Link to post Share on other sites