Tutorial
Code:
Alright, after installing it go to "localinfo.dat" and paste this:
[URL]
VersionUrl=http://127.0.0.1/download/version.ini
Save it and close the file
Code:
Head to "version.ini" and paste this:
Code:
[VERSION]
LatestVersion = 1136
MinimalVersion= 1120
OwnVersion = 3
[DOWNLOAD]
server1 = http://cfpatch.z8games.com/download/
[SERVER]
COUNT = 1
IP1 =127.0.0.1
PORT1 =13008
[HGW]
PORT=16666
SERVER1=67.210.208.161
SERVER2=67.210.208.163
POD1=50
POD2=50
Save it and close the file
Code:
Now download and install "XAMPP" program and run "XAMPP Control Panel" and click "Start" on Apache (PS: close "Skype", it blocks its ports and it ain't open). After installing it, head to "C:\xampp\htdocs", create a folder called "download" and paste there your "version.ini" from CF's folder. Go to "XAMPP Control Panel", click "Stop" and "Start" again to get a fresh refresh.
Code:
Now, download and paste this to your CF folder:"click meh"
This one will bypass HGWC, without this you can't run CF. After pasting it, run normally "patcher_cf.exe".
Enter with this testing account:
Code:
ID: unionbr
PW: test
Code:
BONUS STEP
In order to buy or sell anything and working perfectly, head to the server files, open up "sqlitestudio-2.1.5.exe". After opening it, click "Databases" > "Add database" > "crossfire.sqlite" > "Open".
Now, to add weapons to the database so you can buy or sell anything on CF, head to "items_list" and click "Data". It's pretty easy to add an item. To add an item, you first need of course the codes! The items' code list in the server files, there's a txt file called "item.txt", Add correctly the codes on "Storage ID", "Item Shop ID", "Item Name", "Item Type", "IsVVIP" etc. To add a crate for the black market and win it, head to "crate_list" > "Data" and add it like you do on "items_list". But, there's something different here, "items_to_win_a" and "_b". These are the winning and possible items that you win every crate. To set a crate just do these steps:
ID: I0475 // this is for AWM-Magma Crate
Name: AWM-Magma Crate
items_to_win_a: 9000008201;2010049001;9000008201;9000008201;900000 8201;9000008201;9000008201;9000008201;9000008201;2 010049001;9000008201;9000008201 // note: copy & paste from M4A1-C Crate and change only the codes which starts with number "2", 'cause every weapon's id starts with "2" plus, the codes which start with "9" are the crates, coupons etc.
items_to_win_b: 2010050401;2010051101;2010051201 // note: these are bonus items to win, dunno if they are permanent. Didn't win anything from them yet, you can check what weapons are these from the "items.txt" file.
ZP: 1000 // you can customize it, like 1 zp each create etc.
You can also customize the announcements, right click "GameServer.py", "Edit with Notepad++" or edit with .txt, whatever and find this text: "announcements = [["BPG Crossfire",9], ["CLOSED ALPHA",8]]" (without quotes) and change the "BPG Crossfire" to whatever you want and "CLOSED ALPHA". These are mine, I'm currenty working on the server files to get to work. You can see "xp ration = 1", it's x1 so you can change it to whatever XP Ration, like x999 etc. and of course server_player_count etc., etc. You can check the weapons' type at "GameServerPacket.py" by right clicking it and "edit", also explevels etc. Edit them if you want to customize your.. alpha server xD.
On"ServerPacket.py" you can also customize your server.. I mean that you can set a server as a GM server, only GMs can join or change the min. level to join on the server, server's name, permission and mentainance. If mentainance = 0, the server is running, if = 1, the server is in mentainance, anyone can't join. That's all 'bout this bonus step .