loxeo (07-20-2016),Wtf is that (11-22-2015)
In this post i'll be walking you through the Server-side configuration for Fabiano's Source, there are a few guides dotted about but they aren't very detailed.
Steps to follow:
1 - Download Fabiano's from ******
2 - Download Visual Studio Commuity 2015 and it's prerequisite
3 - Download XAMPP
Setup:
1 - Unpack Fab's Source
2 - Install Visual Studio
3 - Install XAMPP
Config:
- Open XAMPP and start Apache and MySQL
1 - Note: if you need to change Apache ports through XAMPP's control panel because port 80 is already in use, first click on the Config Button to the right of the Admin button and select httpd.conf)
Search the document for any instances of "80" (without quotations) and change to any number you like, I used port 8888.
Repeat the process for the httpd-ssl.conf document.
2 - Now, open XAMPP config at the top right of XAMPP control panel and click "Service and Port Settings", change Apache's port to the one which you put in the previous document, hint: mine was 8888, and save.
3 - Once Apache and MySQL are running, click on the Admin button at the side of the Config button for Apache, this should open a web browser where you can upload the Fabiano's SQL database to.
4 - Click on the "Import" tab and Select rotmgprod from within Fabiano's Server file, path: fabiano-swagger-of-doom-master\db\rotmgprod.sql
Once that's uploaded you have to stop Apache from running via XAMPP control panel.
Now we have to change the Config files which are located in your Fabiano's file.
1 - Open Server.cfg - path: fabiano-swagger-of-doom-master\Server\Server.cfg
2 - Change #ServerConfigport: to the port which you told Apache to run on - mine is 8888
3 - Change #svr0Adr: to your IPV4 Address making sure to add your port to the end of it - mine is 192.168.1.5:8888
You can find you IPV4 Address by running command prompt and typing "ipconfig"
4 - Change Localhostsvr0Adr: to your IPV4 Address this time without the port at the end - mine is 192.168.1.5
Now we have to Rebuild the solution through Visual Studio 2015
1 - Open up Server.sln with Visual Studio and click build at the top, Rebuild the Solution.
Now you'll notice that a "bin" folder appears in your Fab directory, Run the Server.exe as Admin and run wServer.exe however you like.
bin folder path: fabiano-swagger-of-doom-master\bin\Debug\
HOORAY, YOU'RE DONE
I will probably be adding a few more guides if people found this useful - Connecting with the Client, Socket 2031 + 2048 Fix, Language Error Fix etc and Adobe Flash Fixes.
Credits:
BARM
ossimc82
ShadowX13 - for his tutorial
K1ng31layer - for his tutorial
loxeo (07-20-2016),Wtf is that (11-22-2015)
Add image for a better tutorial
Don't hate the player, hate the game.
There were like 2 tutorials for this already... And it's sad that you had to credit 4 people for a tut on setting a server up when it's basic knowledge and takes 5~ minutes if on a fast pc.
And wrong section.
And you don't have to stop Apache when done importing, you might as well keep it on (unless you use Heidi or something else) since youll have to go on phpmyadmin again to rank yourself and some other stuff
Whatever tho lol
Btw there's not really a fix to the 2048, it just gives you that message when the wserver is down (only time I ever gotten that message at least), I changed mine to say "Server down, try later"
And I've never gotten 2031 and client there's a few tuts already.
Last edited by Riigged; 11-22-2015 at 10:47 AM.
I Don't Love You (11-22-2015)
Hence making another, with regards to it taking 5 minutes I highly doubt it because the tutorials that are already up are terrible.there are a few guides dotted about but they aren't very detailed.
Literally took me hours to set it up, so why not make a more detailed tutorial?
Apache has to use the same port as server.exe as far as I know, so having it open gives you the "port already in use" error.
Error 2048 and 2031 are due to code in NetworkHandler.cs, crossdomain.cs and PolicyServer.cs, I checked that out on Flash's Stack Overflow website
Then you must not be very smart, this source is no different from any other, and has like multiple tutorials.. if you actually have a working brain just use common since and don't even use a tutorial because it is literally that simple...
Because the current tutorials are already perfectly fine...
BlackRayquaza (11-22-2015),Riigged (11-22-2015)
Not really surprised about that one, Shame you guys are slating me for helping others to use the source as it was intended.You are free to use this source as long as u credit this guys
And you are not "WintersQ" and "I Don't Love You" on MPGH
Still, I haven't yet done any more tutorials, I'm sure people will be appreciative if I did, unlike some.
Error 2048 and 2031 however, I've not seen any tutorials on coding in the NetworkHandler.cs, crossdomain.cs and PolicyServer.cs files, so I'll probably cover that.
DUDE OMG I JUST FOUND THE COOLEST THING FOR THIS
/S
@Raple @krazyshank move please, or tell me people I can tag to do this besides you two so I stop bothering you ;-;
Also:
I almost corrected the spelling of the wrong person because of that bright yellow text q_q
A tutorial is a tutorial, and if someone wants to try and be helpful and make another, then good on them. Don't get mad at him because he had the nerve to try and be helpful.