Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

BFH Complete Backend and server

Newbie Spellweaver
Joined
Aug 21, 2019
Messages
27
Reaction score
10
hey bro help me about launcher , my friend can't connect on my server because no have where add ip or something
after create account go to DATABASE and take the session id
(create one .bat and put the id)



hey bro help me about launcher , my friend can't connect on my server because no have where add ip or something

and put here the tutorial for make the bookmark work ( I no have time )
 
Junior Spellweaver
Joined
Jun 28, 2009
Messages
121
Reaction score
16
after create account go to DATABASE and take the session id
(create one .bat and put the id)





and put here the tutorial for make the bookmark work ( I no have time )

I need to know how to configure my friend's client.exe to connect to my server.exe? even with .bat or session has no where to ip on client
 
Newbie Spellweaver
Joined
Aug 21, 2019
Messages
27
Reaction score
10
I need to know how to configure my friend's client.exe to connect to my server.exe? even with .bat or session has no where to ip on client

you need to use the HxD to edit client ip
open HxD in BFH client and change the ip 127.0.0.1 for you IP(or VPS dunno)
 
Newbie Spellweaver
Joined
Jul 8, 2012
Messages
70
Reaction score
12
in client you will need to create one .bat folder to start the game
use this "bfheroes +sessionId 123 +magma 0 +punkbuster 0 +developer 1"

How to implement this part? Create a bat-file and put in it: "bfheroes +sessionId 123 +magma 0 +punkbuster 0 +developer 1" ???
 
Banned
Banned
Joined
Aug 28, 2013
Messages
539
Reaction score
103
this is one tutorial to setup backend of BFH with server and client

1-SQL

open xampp and start apache and mysql
after put this link in you browser "http://localhost/phpmyadmin"

after create one DB and import the BFH sql



now you SQL is ready

2-backend

unzip backend files in you documents folder



go to \battlefieldHeroesBackend folder
and now edit .env file with notepad ++ or any text editor



if you want to test in you PC put 127.0.0.1 IP and you database name and username

(in VPS you need to put you ipv4 IP)

after save the file and run Fesl.exe and magma.exe




now you have you backend running ^^


3-client and server


unzip you client and server folder

in client you will need to create one .bat folder to start the game

use this "bfheroes +sessionId 123 +magma 0 +punkbuster 0 +developer 1"

sessionId is you "account" you can get more ID in the website

after just start the .bat that you created



Now the Server

In server folder you have the RUN.bat

just start this and wait for server



Now you have the client and server running


if some help you can call me in Ragezone or in discord Peach#6997

credits
the1domo for server files
Synaxis and Edited and me for Backend
heroes awaken of Client

download links

databae link

backend link

server link

client link

Hey bro, how you edit the ip of CLIENT ?
 
Newbie Spellweaver
Joined
Jul 8, 2012
Messages
70
Reaction score
12
Ok

1. Installing xampp (xampp-windows-x64-7.3.10-1-VC15-installer)
2. Start Apache and MySQL
3. Go in brouser to "localhost" and phpmyadmin
4. Create base "bfhbase" and user "bfhadmin", pass "bfhpass", import "goheroes-db_2019-04-03"
5. Unzip "goWork" and go to "goWork-src-github.com-Synaxis-battlefieldHeroesBackend"
6. Edit ".env" file, it is my file:
GAMESPY_IP=127.0.0.1
DATABASE_HOST=127.0.0.1
DATABASE_PORT=3306
DATABASE_USERNAME=bfhadmin
DATABASE_PASSWORD=bfhpass
DATABASE_NAME=bfhbase
THEATER_ADDR=127.0.0.1
TELEMETRY_IP=127.0.0.1
HTTP_BIND=127.0.0.1:8080
HTTPS_BIND=127.0.0.1:443
CERTIFICATE_PATH=_fixtures/cert.pem
PRIVATE_KEY_PATH=_fixtures/key.pem
LOG_LEVEL=debug

7. Run "fesl.exe" and "magma.exe" and first error.

 
Last edited:
Newbie Spellweaver
Joined
Aug 21, 2019
Messages
27
Reaction score
10
Ok

1. Installing xampp (xampp-windows-x64-7.3.10-1-VC15-installer)
2. Start Apache and MySQL
3. Go in brouser to "localhost" and phpmyadmin
4. Create base "bfhbase" and user "bfhadmin", pass "bfhpass", import "goheroes-db_2019-04-03"
5. Unzip "goWork" and go to "goWork-src-github.com-Synaxis-battlefieldHeroesBackend"
6. Edit ".env" file, it is my file:
GAMESPY_IP=127.0.0.1
DATABASE_HOST=127.0.0.1
DATABASE_PORT=3306
DATABASE_USERNAME=bfhadmin
DATABASE_PASSWORD=bfhpass
DATABASE_NAME=bfhbase
THEATER_ADDR=127.0.0.1
TELEMETRY_IP=127.0.0.1
HTTP_BIND=127.0.0.1:8080
HTTPS_BIND=127.0.0.1:443
CERTIFICATE_PATH=_fixtures/cert.pem
PRIVATE_KEY_PATH=_fixtures/key.pem
LOG_LEVEL=debug

7. Run "fesl.exe" and "magma.exe" and first error.




the backend is unable to access port 443
something is blocking the connection



use one HxD editor
seach for "127.0.0.1" inside the client or server and edit
 
Newbie Spellweaver
Joined
Aug 21, 2019
Messages
27
Reaction score
10
Im making one new private server of BFH if anyone wants to join me call me in the private or in discord Peach#6997
 
Banned
Banned
Joined
Aug 28, 2013
Messages
539
Reaction score
103
the backend is unable to access port 443
something is blocking the connection



use one HxD editor
seach for "127.0.0.1" inside the client or server and edit

Hey dude!
in client are a lot of "127.0.0.1" ips.. what i need edit?
 
Back
Top