BFH Complete Backend and server
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
https://prnt.sc/ovmdxa
now you SQL is ready
2-backend
unzip backend files in you documents folder
https://prnt.sc/ovmhjw
go to \battlefieldHeroesBackend folder
and now edit .env file with notepad ++ or any text editor
https://prnt.sc/ovmiku
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
https://prnt.sc/ovmk0k
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
https://prnt.sc/ovmlup
Now the Server
In server folder you have the RUN.bat
just start this and wait for server
https://prnt.sc/ovmnta
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 https://drive.google.com/open?id=18J...RVN4QgJFF6k2qF
backend link https://drive.google.com/file/d/17Wa...iUJkgZuOy/view
server link https://drive.google.com/open?id=1VZ...Gbts5cSaUh_lWz
client link https://drive.google.com/open?id=192934e6BcBDm3-CdZAs9PK82C7GsGg17
Re: BFH Complete Backend and server
wow, i hope it's work. TY for release... I am going to try it
Re: BFH Complete Backend and server
Quote:
Originally Posted by
djbadboys38
wow, i hope it's work. TY for release... I am going to try it
work ^^ if need help call me in discord
Peach
Peach#6997
Re: BFH Complete Backend and server
Works great... Ty again ^^ anyway it's emulator or official server files?
Re: BFH Complete Backend and server
is Server of Ea leaked in 2010 (the god the1domo leaked this)
the backend if of Synaxis
Re: BFH Complete Backend and server
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...
Re: BFH Complete Backend and server
Re: BFH Complete Backend and server
- - - Updated - - -
Quote:
Originally Posted by
Flyer8472
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
Re: BFH Complete Backend and server
Quote:
Originally Posted by
TheLittlePeach
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
Re: BFH Complete Backend and server
Quote:
Originally Posted by
Flyer8472
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
Re: BFH Complete Backend and server
I posted one new thread with website files
Re: BFH Complete Backend and server
How can I translate these client and server files to Portuguese?
Re: BFH Complete Backend and server
translate is hard..............I think no need this
Im brazilian too
Re: BFH Complete Backend and server
no speak portuguese here
yes is possible but I know no the files
I never tested this
Re: BFH Complete Backend and server
@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...