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

Initiate Mage
Joined
Aug 21, 2019
Messages
27
Reaction score
10
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
 
Initiate Mage
Joined
Aug 21, 2019
Messages
27
Reaction score
10
is Server of Ea leaked in 2010 (the god the1domo leaked this)
the backend if of Synaxis
 
----
Member
Joined
Mar 26, 2008
Messages
1,038
Reaction score
413
First of all thanks for this share i am very happy for it and works as you wrote the tutorial, but erm ok then i have multiple problems, as you wrote it is working good, however:

1. If you want to connect to other than 127.0.0.1 you need to edit the client and server exe's. and change 127.0.0.1 to an other...(or there is an other command for change it? i used hexa editor. there are some dev. domains too you can use them iguess in your hosts file or edit it...?)

2. What is this account 123?? it is not in the database.. it is a built in admin account or what? If i use another name it wont work...

3. How to create own account and own players? It has preconfigured players...

4. Where is the store and xampp for it? (or there is no store source at all?)

5. How the hell you create own players? if you add lines the password hash generator would need....

6. How to multiplayer exactly...?

note: In the code there are lines for AI and Bots, it is preconfigured for 16 players but no bot is adding when you enter the server.


it is basicly follows the file structure of BF2/2142 and ect ect...
 
Joined
Feb 7, 2010
Messages
1,848
Reaction score
1,004
Seems to work fine!

tkB1ui7 - BFH Complete Backend and server - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Initiate Mage
Joined
Aug 21, 2019
Messages
27
Reaction score
10


First of all thanks for this share i am very happy for it and works as you wrote the tutorial, but erm ok then i have multiple problems, as you wrote it is working good, however:

1. If you want to connect to other than 127.0.0.1 you need to edit the client and server exe's. and change 127.0.0.1 to an other...(or there is an other command for change it? i used hexa editor. there are some dev. domains too you can use them iguess in your hosts file or edit it...?)

2. What is this account 123?? it is not in the database.. it is a built in admin account or what? If i use another name it wont work...

3. How to create own account and own players? It has preconfigured players...

4. Where is the store and xampp for it? (or there is no store source at all?)

5. How the hell you create own players? if you add lines the password hash generator would need....

6. How to multiplayer exactly...?

note: In the code there are lines for AI and Bots, it is preconfigured for 16 players but no bot is adding when you enter the server.


it is basicly follows the file structure of BF2/2142 and ect ect...


1-in client and server you just need to change 127.0.0.1 for you domain or vps IP
2- "123" is one ID of one "accountt" you can see more IDS in database "game_heroes" "session id"
3-for create new account you need the website and launcher
4-this backend no have the store yet
5-same of "4"
6-in backend put you VPS IP and in DB
( and put in client and server to connect to backend)

bots no work.....only work in bf2 or bf2142

and I go to make one tutorial for use website and launcher
 
----
Member
Joined
Mar 26, 2008
Messages
1,038
Reaction score
413
3-for create new account you need the website and launcher
and I go to make one tutorial for use website and launcher

Thanks in advance :D
Yea i saw the launcher before but i was unable to use or edit the two default server in the list.
So my last question: that means that the website part is not in the pack and you will share that later with the tutorial i guess?

Becouse i can wait, and i wont fiddle with this then XD
 
Initiate Mage
Joined
Aug 21, 2019
Messages
27
Reaction score
10
Thanks in advance :D
Yea i saw the launcher before but i was unable to use or edit the two default server in the list.
So my last question: that means that the website part is not in the pack and you will share that later with the tutorial i guess?

Becouse i can wait, and i wont fiddle with this then XD

Yes I go to share the website (with website you can create one account and soldier....after go to database and take the ID)
launcher is boring for setup and no need rly
 
Initiate Mage
Joined
Aug 21, 2019
Messages
27
Reaction score
10
no speak portuguese here

yes is possible but I know no the files

I never tested this
 
----
Member
Joined
Mar 26, 2008
Messages
1,038
Reaction score
413
@Tolrok ; All battlefield 2/2142/Heroes and other mods based on same engine; the games can be translated in theese files:

Client : HeroesClient.rar\HeroesClient\mods\bfheroes\Localization\strings.csv
Server: HeroesServer.rar\HeroesServer\mods\bfheroes\Localization\strings.csv


You will need Excel for it(Or Libre/openoffice equivalent calc or something.).
At opening: separators: Tab, comma(,), and semicolon(;) Unicode utf-16.

Translation Rules:
1. Don't modify the lines order
2. Don't modify the encoding.
3. Don't modify the Columns order.
4. Do not modify column "A".
5. English language is "B" column. There are
other columns for other translations, but in this
game those wont work. It only uses enus...
6. Only save in same format.(CSV)
Peace.(This works with all BF2 based games.)

Also i have to mention in BF heroes lot of buttons and text is a picture so you cannot translate those... in other games it will work good... if you want 100% translate BFH, you need to extract images from zip files from mod folders...
 
Last edited:
Junior Spellweaver
Joined
Jun 28, 2009
Messages
121
Reaction score
16
hey anyone can help me about launcher >>

missing one file o references:
LitJson
 
Initiate Mage
Joined
Aug 21, 2019
Messages
27
Reaction score
10
@Tolrok ; All battlefield 2/2142/Heroes and other mods based on same engine; the games can be translated in theese files:

Client : HeroesClient.rar\HeroesClient\mods\bfheroes\Localization\strings.csv
Server: HeroesServer.rar\HeroesServer\mods\bfheroes\Localization\strings.csv


You will need Excel for it(Or Libre/openoffice equivalent calc or something.).
At opening: separators: Tab, comma(,), and semicolon(;) Unicode utf-16.

Translation Rules:
1. Don't modify the lines order
2. Don't modify the encoding.
3. Don't modify the Columns order.
4. Do not modify column "A".
5. English language is "B" column. There are
other columns for other translations, but in this
game those wont work. It only uses enus...
6. Only save in same format.(CSV)
Peace.(This works with all BF2 based games.)

Also i have to mention in BF heroes lot of buttons and text is a picture so you cannot translate those... in other games it will work good... if you want 100% translate BFH, you need to extract images from zip files from mod folders...


in BFH the menu are PNG files

so you need to edit this files

and need to edit one flash file IN menu_server/External\FlashMenu

and edit mainMenu_west.dfm (you need to make the dfm in sfw to flash editor can read)


In bfp4f the menu is one webserver
No use flash

is more easy to edit just edit the PNG in you webserver (you can make one webserver in bfh too)



hey anyone can help me about launcher >>

missing one file o references:
LitJson

I go to make one tutorial with launcher soon
 
Junior Spellweaver
Joined
Jun 28, 2009
Messages
121
Reaction score
16
but do you have the source?
I'm adjusting website, already fixed:

- translate all languages
- news
- serverlist
and community.

You know something about admin on mysql ?

I found, register account for see admin things:

Can see change language on profile too
 
Last edited:
Back
Top