Refueling script??

Emmoth

Member
Ok, I've read all the pages of DayZ Chenarus Auto Refuel! All stations!

And I still don't understand how to do it.
All I see on my ftp is:
  • Folder: @bliss
    • addons
      • dayz_server.pbo
    • HiveExt.dll
  • Folder: BattleEye
  • Folder: User
  • arma2.cfg
  • arma2oaserver.RPT
  • HiveExt.ini
  • HiveExt.log
  • server.cfg
  • server_console.log
So where do I find the file I need to alter and where do I put it ??

Could someone please post a HOW-TO step by step guide on how to add this, and I mean a real noob friendly one.

I'm guessing that I should take some of the files that i located in my own arma2 folder and add them to the server, so that ther others can get that tweal. BUT I don't know which files from where to to where ...

Oh yeah. I'm running a Private Hive that I rent from dayz.st

Regards
Mattias Emmoth
 
Chernarus

Here, i'll help you out.
You need to download Notepad++ and PBOview.
Google to find them.

Every hosting service is different, so it depends on who your with.. if you're not with dayz.st , i can't help you.
On dayz.st you can to enable advanced settings.
Click get default, it will download a default mission.pbo.
W7NuRX.png


Open that pbo in pbo view.
Upack the mission.pbo
open init.sqf with notepad++
replace line-

Code:
if (!isDedicated) then {

with

Code:
if (!isDedicated) then {[] execVM "Scripts\kh_actions.sqf";

Save your changes
Create folder named "Scripts" inside the dayz_mission folder (dayz_mission\Scripts)
Download and save File: http://sponsored.dayz.st/wiki/images/b/be/Autorefuel.zip and extract the files kh_actions.sqf and kh_vehicle_refuel.sqf into your new "Scripts" folder.
Re-pack the file.

Edit the file BattlEye/scripts.txt (hint, use FTP Client)
Add this line as the last line:
spacer.gif
spacer.gif
spacer.gif

spacer.gif

Code:
5 setFuel !"\"setFuel\"," !"z\addons\dayz_code\compile\local_setFuel.sqf" !"\"dayzSetFuel\"" !"dayzSetFuel_code" !"dayzSetFuel = _val;" !"Scripts\kh_actions.sqf" !"Scripts\kh_vehicle_refuel.sqf"
spacer.gif
spacer.gif


Save and upload the edited scripts.txt file.


Original thread: http://patriots.freeforums.org/auto-refuel-t10.html

NAMALSK: http://opendayz.net/index.php?threads/dayz-chenarus-auto-refuel-all-stations.7056/page-4
 
Back
Top