Drink Water v2.0

This thread will serve as support discussion for my new script release, Drink Water v2.0.


DOes this srcipt work with HBFserver hosting? i am pretty sure it does just not 100% becuase i just got this server yesterday. i havent been able to find a video tut for this, any help would be great. I got all the files modified up to this part :
* Extract your ``mission.pbo`` and copy into it the contents of the `dayz_drink_water\mission\script` folder.
* Merge / Modify / Create your `stringtable.xml` by `dayz_drink_water\mission\stringtable.xml`
* Merge / Modify your `description.ext` by `dayz_drink_water\mission\description.ext`
* Compress your ``mission.pbo``, fire up your server and enjoy a cool drink from a well or pond of your choice.
I dont understand this part. should i create these folders in my file manager thru hfbs?
 
Is this still working?

I've added it on Epoch and added s_player_DrinkWater to Infistar as an allowed action but I get nothing on the scroll wheel menu when stood in a pond or next to any water pump.

Also I don't have a mission.pbo, as with most Epoch servers it's unpacked to MPMissions\DayZ_EpochZ11.chernarus so I've added it in there and edited the descriptions.ext as instructed.

I can't see any errors, server starts fine, any help would be greatly appreciated.

EDIT

I managed to fix this, all my scripts are in a folder called custom in my MPMissions folder as well as having a custom compiles file which I got from this guide:
http://epochmod.com/forum/index.php?/topic/5211-creating-a-custom-compilessqf/

I copied fn_selfactions.sqf to the custom folder, as well as the drinkwater.sqf. Added fn_selfaction.sqf to the custom compiles file and edited the location of the script in fn_selfactions to custom\drinkwater.sqf and now it all works.

Hope this helps anyone else who comes looking with this same issue.
 
Last edited:
I am having issues getting this to work with Epoch, I have installed it just like the instructions say.

*update
I have it working but the option to drink water is invisible i can scroll to it but i cant see it on my scroll down actions. What could be causing that?
 
Last edited:
I'm trying to get this working on a new server I'm putting up. Epoch 1.0.5.1, but I get no scroll menu option to drink the water. Does it still work?
 
Did you add this line to your variables.sqf?
s_player_drinkWater = -1;
If not, then s_player_drinkWater will not be defined and will not be < 0.

You have checked the scripts location to be in your mission at custom\drink_water\drink_water.sqf ?

And my final possible issue is "did you add the stringtable.xml?" Because your addaction doesnt have any text, it just gets the language definition from that file https://github.com/clark17/dayz_drink_water/blob/master/mission/stringtable.xml
try changing your addaction to
Code:
s_player_drinkWater = player addaction["<t color='#0000c7'>Drink Water","custom\drink_water\drink_water.sqf"];
Screw them foreigners if they cant read English! :p

That was probably the issue with the previous posts about "invisible action".
 
I am going to add this script to my Exilemod server .. that is retarded that you can only drink if you fill a bottle and drink it. Bottles should be reserved for taking water to boil it, but if I am going to die of thirst, I would rather take a chance drinking dirty water.
 
Did you add this line to your variables.sqf?
s_player_drinkWater = -1;
If not, then s_player_drinkWater will not be defined and will not be < 0.

You have checked the scripts location to be in your mission at custom\drink_water\drink_water.sqf ?

And my final possible issue is "did you add the stringtable.xml?" Because your addaction doesnt have any text, it just gets the language definition from that file https://github.com/clark17/dayz_drink_water/blob/master/mission/stringtable.xml
try changing your addaction to
Code:
s_player_drinkWater = player addaction["<t color='#0000c7'>Drink Water","custom\drink_water\drink_water.sqf"];
Screw them foreigners if they cant read English! :p

That was probably the issue with the previous posts about "invisible action".

Yes to all of your questions.
 
Back
Top