[PHP/SQL]Bindik's HIVE/SAVE System

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jul 14, 2013
Messages
97
Reaction score
14
Hello, i just want to introduce you this system on DayZ.


SQL FILE
Code:
CREATE TABLE IF NOT EXISTS `dayz_hive` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `lastupdate` text NOT NULL,
  `playerdata` text NOT NULL,
  `player` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ;

INSTALLATION
1. Download the .zip
2. Extract it into main WEB WWW folder (If you are not sure, just try to find clue in this post :P)
3. Edit superubersecreturl.php (Put there your mysql connection)
4. Insert my .sql file into your database

Quesiton and Answers

# CONFIG #
$cnn = mysqli_connect("SQL HOST","USER","PASSWORD","DATABASE") or die("Error " . mysqli_error($link));

# MAIN FOLDER #
Are you using WAMPP?
D:\wamp\www - You can have different directories ...

Are you using XAMPP?
D:\xampp\htdocs

Do you want to use it on your webserver?
.htaccess need to be in your main directory, .php file too, but you can edit .htaccess,so it does not have to be.

The final structure should look like this
D:\wamp\www\superubersecreturl.php
D:\wamp\www\.htaccess

# Im still not sure where should i put it
Then look at this

# Should i put something in init.sqf ?
Okay, first of all you dont have to, but if you do i recommend to read this
BAD EXAMPLE
dbSelectHost "http://127.0.0.1/bss2";

GOOD EXAMPLE

dbSelectHost "http://127.0.0.1/";
Of course you can edit IP/Hostname

TESTED ON: http://forum.ragezone.com/f866/release-dayz-server-pack-0-a-1012926/

 
Last edited:
[Sun Jul 06 21:00:46.758615 2014] [access_compat:error] [pid 30656] [client 94.221.106.39:60359] AH01797: client denied by server configuration: /opt/lampp/htdocs/DayZServlet/
[Sun Jul 06 21:00:48.010279 2014] [access_compat:error] [pid 30656] [client 94.221.106.39:60359] AH01797: client denied by server configuration: /opt/lampp/htdocs/DayZServlet/
[Sun Jul 06 21:00:48.925376 2014] [access_compat:error] [pid 30656] [client 94.221.106.39:60359] AH01797: client denied by server configuration: /opt/lampp/htdocs/DayZServlet/
[Sun Jul 06 21:00:56.240689 2014] [access_compat:error] [pid 30651] [client 94.221.106.39:60377] AH01797: client denied by server configuration: /opt/lampp/htdocs/DayZServlet/
[Sun Jul 06 21:01:10.629895 2014] [access_compat:error] [pid 30652] [client 94.221.106.39:60396] AH01797: client denied by server configuration: /opt/lampp/htdocs/DayZServlet/
[Sun Jul 06 21:01:12.689169 2014] [access_compat:error] [pid 30652] [client 94.221.106.39:60396] AH01797: client denied by server configuration: /opt/lampp/htdocs/DayZServlet/, referer:
[Sun Jul 06 21:01:14.077562 2014] [access_compat:error] [pid 30652] [client 94.221.106.39:60396] AH01797: client denied by server configuration: /opt/lampp/htdocs/DayZServlet/, referer:
[Sun Jul 06 21:01:25.927402 2014] [access_compat:error] [pid 30654] [client 94.221.106.39:60454] AH01797: client denied by server configuration: /opt/lampp/htdocs/DayZServlet/
[Sun Jul 06 21:01:32.327681 2014] [access_compat:error] [pid 30655] [client 94.221.106.39:60467] AH01797: client denied by server configuration: /opt/lampp/htdocs/DayZServlet/
[Sun Jul 06 21:01:37.716617 2014] [access_compat:error] [pid 30653] [client 94.221.106.39:60475] AH01797: client denied by server configuration: /opt/lampp/htdocs/
[Sun Jul 06 21:01:38.762574 2014] [access_compat:error] [pid 30653] [client 94.221.106.39:60475] AH01797: client denied by server configuration: /opt/lampp/htdocs/
[Sun Jul 06 21:01:39.788936 2014] [access_compat:error] [pid 30653] [client 94.221.106.39:60475] AH01797: client denied by server configuration: /opt/lampp/htdocs/
[Sun Jul 06 21:01:40.672575 2014] [access_compat:error] [pid 30653] [client 94.221.106.39:60475] AH01797: client denied by server configuration: /opt/lampp/htdocs/
[Sun Jul 06 21:01:48.340303 2014] [access_compat:error] [pid 30657] [client 94.221.106.39:60490] AH01797: client denied by server configuration: /opt/lampp/htdocs/DayZServlet/
[Sun Jul 06 21:02:10.806057 2014] [access_compat:error] [pid 30656] [client 94.221.106.39:60521] AH01797: client denied by server configuration: /opt/lampp/htdocs/DayZServlet/
[Sun Jul 06 22:07:02.234414 2014] [access_compat:error] [pid 30657] [client 92.229.171.84:49487] AH01797: client denied by server configuration: /opt/lampp/htdocs/DayZServlet/
 
Okay first of all, did you create folder DayZServlet in htdocs folder ? If you did, then move the content of the DAYZSERVLET and put it into HTDOCS, then remove DayZServlet folder.

Then
client denied by server configuration: /opt/lampp/htdocs/
I dont know how to fix it, but you can use google


In my case my folder looks like this
 
Last edited:
hello, it doesnt work for me either
i use XAMPP
my logs
127.0.0.1 - - [14/Jul/2014:22:19:42 +0200] "POST /lud0/find/?uid=76561198018871515&id=000000 HTTP/1.1" 404 1053 "-" "-"
127.0.0.1 - - [14/Jul/2014:22:19:43 +0200] "POST /lud0/find/?uid=76561198018871515&id=000000 HTTP/1.1" 404 1053 "-" "-"
127.0.0.1 - - [14/Jul/2014:22:19:43 +0200] "POST /lud0/create/?uid=76561198018871515&id=000000 HTTP/1.1" 404 1053 "-" "-"
127.0.0.1 - - [14/Jul/2014:22:19:43 +0200] "POST /lud0/save/?uid=76561198018871515&id=000000 HTTP/1.1" 404 1053 "-" "-"
127.0.0.1 - - [14/Jul/2014:22:20:25 +0200] "POST /lud0/save/?uid=76561198018871515&id=000000 HTTP/1.1" 404 1053 "-" "-"
127.0.0.1 - - [14/Jul/2014:22:20:25 +0200] "POST /lud0/queue/?uid=76561198018871515&id=000000 HTTP/1.1" 404 1053 "-" "-"
127.0.0.1 - - [14/Jul/2014:22:20:47 +0200] "POST /lud0/find/?uid=76561198018871515&id=000000 HTTP/1.1" 404 1053 "-" "-"
127.0.0.1 - - [14/Jul/2014:22:20:48 +0200] "POST /lud0/find/?uid=76561198018871515&id=000000 HTTP/1.1" 404 1053 "-" "-"
127.0.0.1 - - [14/Jul/2014:22:20:48 +0200] "POST /lud0/create/?uid=76561198018871515&id=000000 HTTP/1.1" 404 1053 "-" "-"


looks like it cant save in DB, i chcecked db when i was on server and mysql is clean,
what can be the problem?
 
Last edited:
First of all try it manually - localhost/lud0/find/?uid=76561198018871515&id=000000
Then check if there is data with that UID. If yes problem is somewhere else
BTW: Check my server PACK, you should use that :)
 
Status
Not open for further replies.
Back