Forums Announcement
Read-Only Mode for Announcements & Changelogs
Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.
For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.
Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!
Stay safe out there,
Your DayZ Team
-
Content Count
195 -
Joined
-
Last visited
Everything posted by dayz247
-
Why do the Zombies run? ZOMBIES SHOULD NOT RUN AT ALL!!! c.c
dayz247 replied to SoulHunter (DayZ)'s topic in DayZ Mod General Discussion
How do you give two cans of beans to the same post? -
Probably a group of bambis that found the osprey full of weapons.
-
Boiling salt water will not make it drinkable, distillation will.
-
I think the second method would be nice for folks that setup camps.... essentially would be able to create a "water point" .... similar to a well.
-
Mamaaaaa...... i just killed a man Put a bullet in head stole his guitar now hes dead mamaaaa........ wait.... sorry.
-
HOW do I add a whitelist to my server? (without running a program 24/7)
dayz247 replied to Odin.'s topic in Mod Servers & Private Hives
The .bat should be running on the server (for a windows server, I do believe the majority of servers are windows servers). .nix means you are running a linux server. What server host do you use? Do you have access to the desktop of the server? -
HOW do I add a whitelist to my server? (without running a program 24/7)
dayz247 replied to Odin.'s topic in Mod Servers & Private Hives
click the "readme" on that page..... that one seems very simple. -
HOW do I add a whitelist to my server? (without running a program 24/7)
dayz247 replied to Odin.'s topic in Mod Servers & Private Hives
Quick google search got me this: https://github.com/nn4e/LisGames-WhiteList-tool-for-Arma2-DayZ -
"You have been kicked from the game" on every Server
dayz247 replied to JanSpeer's topic in DayZ Mod Troubleshooting
Pull up dayzcommander, go to install/update .... and make sure everything (dayz mod, arma etc) are up to date. The reason you are getting that error is because something is out of date.... dayzcommander is about the easiest way to verify. -
Adding "average life expectancy" to a website
dayz247 replied to Uncle Zed's topic in Mod Servers & Private Hives
When calling the php file via javascript you must include some javascript in the php in order for it to work (this is why I had the div and the getelementbyid in the second code). For the error you are receiving, make sure you have your information entered correctly at the top. It is saying you have an error on line 3... did you do something wonky when putting your IP address in there? Try putting quotes around the variables... like so: $ip = "127.0.0.1"; $port = "2302"; $user = "blah"; etc etc also edit this line: echo "document.getElementById('AvgLife').innerHTML = 'Average survival time in minutes: " . $avgTimeMin . "'; \n"; to this: echo "document.getElementById('AvgLife').innerHTML = 'Average survival time in minutes: " . $avgTimeMin . "' \n"; Shouldn't make a difference (the extra ; should have just shown up on your page, which would have been aggrevating, and you would have wanted to remove it lol). -
Adding "average life expectancy" to a website
dayz247 replied to Uncle Zed's topic in Mod Servers & Private Hives
Ok, this is going to get ugly, lol Save the following as AvgLife.php : <?php // edit these $dbIp = Ip.to.your.database; $dbPort = port_for_your_sql; $dbUname = YourSqlUserName; $dbPassword = duh; $dbName = Your_Database_Name; // stop editing here, unless you know what your doing $con=mysqli_connect($dbIp . ":" . $dbPort, $dbUname, $dbPassword, $dbName); if (mysqli_connect_errno($con)) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $q1 = mysqli_query($con,"Select survival_attempts,total_survival_time from profile"); $attempts = 0; $time = 0; while ($r1 = mysqli_fetch_array($q1)) { $attempts += $r1[0]; $time += $r1[1]; } // average time in minutes $avgTimeMin = $time / $attempts; // edit here for output formatting echo "<div id=AvgLife>\n"; echo "document.getElementById('AvgLife').innerHTML = 'Average survival time in minutes: " . $avgTimeMin . "'; \n"; echo "</div>"; mysql_close($con); ?> put this on your webpage: <script type="text/javascript" src="http://www.yourpage.com/AvgLife.php"></script> That should get you something, lol -
Adding "average life expectancy" to a website
dayz247 replied to Uncle Zed's topic in Mod Servers & Private Hives
Do you have access to a file named ".htaccess" on your server? You need to enable php parsing of html files. You can store the code as a php file, and use the "include" command to put the file into html, but that in itself requires php parsin of the html file in order to work.... that command would be: <?php include("yourfile.php"); ?> but if the snippet I gave you to test shows on the page, then the above code will as well. -
Adding "average life expectancy" to a website
dayz247 replied to Uncle Zed's topic in Mod Servers & Private Hives
It really depends on how your host handles php within html...... you should be able to simply copy that block into your html block and go with it. Try copying the following into a html block: <?php // if you can read me on your website you have problems, ignore the next statement. echo "if this is all you can see, your set..... remove this code and copy that block, replacing the top portion with your database information"; ?> -
Adding "average life expectancy" to a website
dayz247 replied to Uncle Zed's topic in Mod Servers & Private Hives
If you have access to the database for your server, this would easily be done with a php script. pull your "profile" table down into an array (select survival_attempts,total_survivor_time from profile) .... loop through each row and add up all the survival attempts and survival time ..... then divide the two. This should work (untested): <?php // edit these $dbIp = Ip.to.your.database; $dbPort = port_for_your_sql; $dbUname = YourSqlUserName; $dbPassword = duh; $dbName = Your_Database_Name; // stop editing here, unless you know what your doing $con=mysqli_connect($dbIp . ":" . $dbPort, $dbUname, $dbPassword, $dbName); if (mysqli_connect_errno($con)) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $q1 = mysqli_query($con,"Select survival_attempts,total_survival_time from profile"); $attempts = 0; $time = 0; while ($r1 = mysqli_fetch_array($q1)) { $attempts += $r1[0]; $time += $r1[1]; } // average time in minutes $avgTimeMin = $time / $attempts; // edit here for output formatting echo "Average survival time in minutes: " . $avgTimeMin; mysql_close($con); ?> -
Have found them, in deer stands. For hand to hand pretty much the same as a hatchet..... not as useful as you can cut wood with a hatchet as well as use it for melee.
-
Perhaps zombie dogs, chickens, cows etc? I would not want to see "special zombies" or boss zombies like resident evil or whatever, but zombie animals would seem feasible.
-
As with any service, it will be shut down.
-
Are you updating in the database? I know on mine, even though I have a table "cust_loadout", I have to add the loadout into the "instance" table in order for it to work. Vehicles should appear after a restart.
-
Im Looking For A Server Close To Kentucky
dayz247 replied to John Lazarus's topic in Mod Servers & Private Hives
Mine is hosted out of Dallas, TX and get decent ping out of folks on the east coast. I know that there are servers hosted out of washington dc, but i don't think that either withsix or dayzcommander differentiates between locations (other than country). -
What is it about the map you want? It might be just as well off to build it yourself. It doesn't take too long to build up stuff in the editor.
-
I think the ethical thing to do here would be to contact the server owner and ask them if you can use it..... if they don't mind they shouldn't have a problem giving you the specified files. Some server owners put a lot of time into developing the features/map on their server, and mind not take too kindly to someone just coming along and using it without any credit.
-
dayz247 .. 24/7 day ... lots of vehicles ... added military camps
dayz247 replied to dayz247's topic in Mod Servers & Private Hives
NPC now guard military bases. Smaller bases have only a few NPC, so one person being careful can kill them. Big bases have a lot of npc (largest base has 16 NPC now 30 now 40 npc guarding it), takes a very experienced player or a team of players to get in! NPC also roam the map, looking for you =) We recently had a server host move, come join us and try it out. Let me know if you have any suggestions! Twitter: playindayz247 E-mail: [email protected] -
Zombies completly blind and deaf now???
dayz247 replied to kumando's topic in DayZ Mod General Discussion
I love it. In this version I can stand in the middle of cherno, throw a smoke, a grenade, fire a couple 107 rounds and then kill the 2 or 3 zombies that come with a hatchet. Love it!! /sarcasm -
I like the idea of adding crop dusters and the like to the game. It would indeed be interesting if we could modify the vehicles we find to add weapons. You say crop duster, I say bus B) Just saying, bus + 8 or 10 people hanging out the window with a couple on top in makeshift turrets..... oh my. Not to mention we should be able to shoot out of moving vehicles!
-
dayz247 .. 24/7 day ... lots of vehicles ... added military camps
dayz247 replied to dayz247's topic in Mod Servers & Private Hives
Barracks now added to balota airstrip =) Enjoy!