The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Source
Author Message
Garry_Coleman
Apprentice
*

Posts: 4
Likes Given: 2
Likes Received: 0 in 0 posts
Joined: Oct 2018
Reputation: 0



Post: #1
Source
Hello guys!!!
I want to test my skills and to merge a lil bit with source, mb to change some things for me personally. Tell me please which soft do I need? I installed Visual Studio 2015. I suffer with question - how to build sphere from source? Cmake ye? Help me please with your solutions and experience.
10-27-2018 06:54 PM
Find all posts by this user Like Post Quote this message in a reply
golfin
Banned

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017

Eranova

Post: #2
RE: Source
Building

Project files can be build on Windows (VS, CMake, MinGW) and Linux (GCC, CMake).

Even using 64bit OS, Sphere must be compiled/executed in 32bit mode to work properly. Project files included on source code will compile it in 32bit mode by default.
Windows

Visual Studio (VS)

Open the project file SphereSvr.vcxproj using Visual Studio
On top menu, select the build configuration (Debug/Local/Nightly/Release) and click on Build > Build Solution to compile

NOTES:

VS > 2010 users: When opening SphereSvr.vcxproj for the first time it will request an update on project file, just click OK to update
VS 2017 users: VS 2017 have an modular installation, it comes with just basic components and extra components must be installed as needed. To use Sphere source you must open Visual Studio Installer to install Desktop Development with C++ workload and Windows Universal CRT SDK individual component
///////////////

Well, here it is well written, good instructions.
https://github.com/Sphereserver/Source
10-28-2018 05:18 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes golfin's post
Garry_Coleman
Apprentice
*

Posts: 4
Likes Given: 2
Likes Received: 0 in 0 posts
Joined: Oct 2018
Reputation: 0



Post: #3
RE: Source
Thank you Golfin! But what about 56b sphere? I can't find SphereSvr.vcxproj in downloaded source.
10-29-2018 01:41 AM
Find all posts by this user Like Post Quote this message in a reply
golfin
Banned

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017

Eranova

Post: #4
RE: Source
56b sphere is very old, I do not think there will be a possibility of source code. But it knows developers sphere.
10-30-2018 04:54 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #5
RE: Source
on github page you can find the source code, including the guide to download and compile the code using visual studio
https://github.com/Sphereserver/Source

but it only have branches for latest 56d (active development) and 56c (ended since 2016), unfortunately there's no source code for 56b. Sphere 56b is a really old version from 2009/2013, which also means that its old code is vulnerable to many exploits discovered after that, so it's not recommended to be used on live servers
10-30-2018 01:19 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #6
RE: Source
Here it's the code for 56b but i don't know if it works or not:

https://github.com/Sphereserver/Source/t...616/0.56.b
10-31-2018 03:08 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)