Giter VIP home page Giter VIP logo

pvpgn-magic-builder's Introduction

PvPGN Magic Builder

PvPGN Magic Builder provides an easy way to build your own PvPGN binaries from the latest source code for Windows.

Let's see how it works in one-minute video: http://www.youtube.com/watch?v=70KYeFqG34M

Use Magic Builder to build Visual Studio solution: https://www.youtube.com/watch?v=98of8yEQt6o

PvPGN Builder D2GS Builder

Features

  • Builds PvPGN with one of the databases support: MySQL, PostgreSQL, SQLite3 or ODBC. Feature to enable Lua scripting. Feature to choose Git branch to download source code from. Feature to build x86 and x64 binaries.
  • Builds any version of D2GS, feature to download all DLL and MPQ that are necessary to start your server
  • Doesn’t require additional files - all built in
  • Has a multilanguage command line interface: Russian, English, Dutch, German, Polish, Serbian, Spanish, Ukrainian (please, translate this file if you know others)
  • (optional) Auto updates
  • (optional) Auto downloads actual PvPGN source code from the GIT
  • Auto configurates and compilates PvPGN source code
  • Auto create release\ directory with a PvPGN binaries and support files that are ready to use immediately
  • Auto create Visual Studio projects and pvpgn.sln, with it you can immediately start a development (use build_pvpgn_dev.bat)

Requirements

  • Visual C++ 2015 (Community is supported)
  • Visual C++ 2017 (Community is supported)
  • Visual C++ 2019 (Community is supported)
  • Visual C++ 2022 (Community is supported)

"Community" is the light edition of Visual Studio. It's free to download.

Note: Visual Studio doesn't install C++ by default. If you already have it installed then you have to rerun the setup and check Desktop development with C++.

Visual Studio 2017 C++ Installation

Downloads

Go to Release section and download the latest release.

Github Downloads

Discussions

pvpgn-magic-builder's People

Contributors

harpywar avatar relesgoe avatar yjfyy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pvpgn-magic-builder's Issues

Windows XP Targeting

Visual Studio offers Windows XP Targeting option so that the compiled program is compatible with Windows XP.

Error Compile.

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
Microsoft (R) Build Engine, versi¢n 14.0.25123.0
Copyright (C) Microsoft Corporation. Todos los derechos reservados.

Compilaci¢n iniciada a las 26/05/2016 3:56:40.
Proyecto "C:\pvpgn-magic-builder-master\build\CMakeFiles\3.3.2\CompilerIdCXX\CompilerIdCXX.vcxproj" en nodo 1 (destinos predeterminados).
PrepareForBuild:
Creando directorio "Debug".
Creando directorio "Debug\CompilerIdCXX.tlog".
InitializeBuildStatus:
Se crear  "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" porque se especific¢ "AlwaysCreate".
ClCompile:
CL.exe /c /nologo /W0 /WX- /Od /Oy- /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug" /Fd"Debug\vc140.pdb" /Gd /TP /analyze- /errorReport:queue CMakeCXXCompilerId.cpp
TRACKER : error TRK0005: no se encontr¢: "CL.exe". El sistema no puede encontrar el archivo especificado. [C:\pvpgn-magic-builder-master\build\CMakeFiles\3.3.2\CompilerIdCXX\CompilerIdCXX.vcxproj]

Compilaci¢n del proyecto terminada "C:\pvpgn-magic-builder-master\build\CMakeFiles\3.3.2\CompilerIdCXX\CompilerIdCXX.vcxproj" (destinos predeterminados) -- ERROR.

ERROR al compilar.

"C:\pvpgn-magic-builder-master\build\CMakeFiles\3.3.2\CompilerIdCXX\CompilerIdCXX.vcxproj" (destino predeterminado) (1) ->
(ClCompile destino) ->
TRACKER : error TRK0005: no se encontr¢: "CL.exe". El sistema no puede encontrar el archivo especificado. [C:\pvpgn-magic-builder-master\build\CMakeFiles\3.3.2\CompilerIdCXX\CompilerIdCXX.vcxproj]

0 Advertencia(s)
1 Errores

Tiempo transcurrido 00:00:00.95

Cannot run D2gs

system win10 x64
in D2SVC.LOG
08/22 10:47:59.898 ServerSetParameter: set working directory to "D:\server_data\legacy_server\bnet\d2gs"
08/22 10:47:59.899 D2GSControler: started, process id 14344
08/22 10:47:59.899 D2GSControler: D2GS Server is not running
08/22 10:47:59.901 RunServer: Using CmdLine "D2GS.EXE"
08/22 10:47:59.931 RunServer: Server started successfully, process id: 14520
08/22 10:48:00.517 D2GSControler: D2GS Server is not running
08/22 10:48:00.520 RunServer: Using CmdLine "D2GS.EXE"
…………
…………

Change font for better unicode support

The default font in the Command Prompt isn't good for unicode text but Lucida can support displaying cyrillic without changing the codepage or file encoding.
99.9% of people hasn't enabled Lucida font yet and registry changes aren't a good idea. A workaround for this situation is to create a shortcut of the main Magic Builder batch file and set it to use Lucida in the file properties. The user only has to run the shortcut so you should probably hide the main batch file in another folder.

Who have the 1.13c D2GS source code ?

Hello as the title say it, i'm searching a working 1.13c D2GS source code that can compile on VS 2017.
It's impossible to get that damn D2GS Multi-threaded to work on windows.

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.

Cannot run D2GS-mt

Hi, I've made PVPGN build with PostgreSQL and also made multi-threaded D2GS build. However, while PVPGN, D2CS and D2DBS are working after configuration, D2GS process simply doesn't start with no logs. I've added its config to registry also creating D2GS and duplicate D2GS13 entries to be sure, tried to run from administrator or in compatibility modes, no affect. Need help running this combo.

Errors creating pvpgn 2.26

Getting an error before the Visual Studio build regarding a CMake error. Running Windows 10. Tried modifying the CMake application in the tools folder to under Windows Vista Compatibility mode, like D2 requires, with no luck. The D2gs builder works fine, having issues with the Build_pvpgn batch file.


CMake Error: The source directory "C:/Users/MyUser/Desktop/Builder/source" does not appear to contain CMakeLists.txt.

Seems to fail no matter what choices I make even default ones. I selected no to replace latest pvpgn source from git, but have selected Y in previous attempts to make sure I wasn't missing important files. It also fails with or without database support. Tried with MySQL and PostgreSQL.

[ U P D A T E ]_____
Checking for update ...
"v2.26" is your version
"v2.26" is the latest version

You have the latest PvPGN Magic Builder

[ S E T U P ]_____
"Visual Studio 15 2017" is selected as a build environment


Do you want to download/replace the latest PvPGN source from Git (into "source" directory)?
[Y,N]?N
PvPGN source code will not be updated


Select PvPGN interface:

  1. Console (defaut)
  2. GUI

Select a number
[1,2]?1
Set PvPGN interface as Console


Select a database type:

  1. Plain / CDB (default)
  2. MySQL
  3. PostgreSQL
  4. SQLite3
  5. ODBC

Select a number
[1,2,3,4,5]?1
PvPGN will be built without database support


Enable Lua scripting support?
[Y,N]?N
PvPGN will be compiled without Lua

[ P V P G N S O U R C E C O D E]____

[ C M A K E C O N F I G U R E ]____
Visual Studio Locator version 2.3.2+gf154130015 [query version 1.18.21.37008]
Copyright (C) Microsoft Corporation. All rights reserved.

instanceId: 00eed39d
installDate: 9/7/2018 8:24:51 PM
installationName: VisualStudio/15.9.2+28307.108
installationPath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community
installationVersion: 15.9.28307.108
productId: Microsoft.VisualStudio.Product.Community
productPath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe
isPrerelease: 0
displayName: Visual Studio Community 2017
description: Free, fully-featured IDE for students, open-source and individual developers
channelId: VisualStudio.15.Release
channelUri: https://aka.ms/vs/15/release/channel
enginePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service
releaseNotes: https://go.microsoft.com/fwlink/?LinkId=660692#15.9.2
thirdPartyNotices: https://go.microsoft.com/fwlink/?LinkId=660708
updateDate: 2018-11-21T17:14:25.8393221Z
catalog_buildBranch: d15.9
catalog_buildVersion: 15.9.28307.108
catalog_id: VisualStudio/15.9.2+28307.108
catalog_localBuild: build-lab
catalog_manifestName: VisualStudio
catalog_manifestType: installer
catalog_productDisplayVersion: 15.9.2
catalog_productLine: Dev15
catalog_productLineVersion: 2017
catalog_productMilestone: RTW
catalog_productMilestoneIsPreRelease: False
catalog_productName: Visual Studio
catalog_productPatchVersion: 2
catalog_productPreReleaseMilestoneSuffix: 1.0
catalog_productRelease: RTW
catalog_productSemanticVersion: 15.9.2+28307.108
catalog_requiredEngineVersion: 1.18.1036.54187
properties_campaignId: Unity3d_Unity
properties_channelManifestId: VisualStudio.15.Release/15.9.2+28307.108
properties_nickname:
properties_setupEngineFilePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installershell.exe
The system cannot find the file specified.
'cmake.exe' is not recognized as an internal or external command,
operable program or batch file.

CMake Error: The source directory "C:/Users/myuser/Desktop/Builder/source" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

[ B U I L D W I T H V I S U A L S T U D I O ]____

CMake configuration failed

[ C O M P L E T E ]_______

Redvex overhead crash.

Harpy do you know some way to fix the overhead crash exploit which belongs to redvex program?? I realized that d2gs makes overhead text appear a shorter span of time than in single player. Maybe set the span of time to 0 seconds? The problem is that i don't know where to look for that, any ideas?

MSBUILD : error MSB1009: Project file does not exist.

Currently I cannot build the project using the magic builder . It seems weird to me because I check that the project file pvpgn.sln is available in build folder but msbuild cannot find it.
Please take a look in the log file I attached. Thank you so much.

Log.txt

1.13d Uber Tristram does not work

Just got it setup (1.13d D2GS) last week and tried to open Uber portals but nothing happens, am i missing a config option somewhere?

wget.exe has stopped working error MSB1009: Project file does not exist.

I get this windows error if i choose not to update to latest source on git, it says "CMake configuration failed" and ends there.
image

Then when i choose to use the latest from git it shows lots of not found messages and ends with

MSBUILD : error MSB1009: Project file does not exist.
Switch: build\pvpgn.sln

[ R E L E A S E ]___
SOMETHING GONE WRONG :-(
Press any key to continue . . .
image

Installation problem for windows, no unzip.exe

Hello, I got some problem when they download source.zip for cmake installation. There are no unzip.exe file, then cmake configuration failed! Anyone please help me with this problem!

Why binary files in main tree?

Where is source code of executable files?
What is bnhash.exe and choice.exe? Wget.exe is trusted (I know, where is code).

PVPGN

-- GHost++ (https://github.com/OHSystem/ohsystem)
ghost = true, -- enable GHost commands
ghost_bots = {"test" , "test1" , "test2" , "test3" }, -- list of authorized bots
ghost_dota_server = true, -- replace normal Warcraft 3 stats with DotA
ghost_ping_expire = 90, -- interval when outdated botpings should be removed (bot ping updates for each user when he join a game hosted by ghost); game list shows to user depending on the best ping to host bot

It only writes at very first, although different names are already written.

Have I made a mistake somewhere?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.