LunaticMouse
Member
Great Work soo Far But how do i Log in lol
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I dont know as i havent used dayz.st in over 6 months.
my config looks like this.
$DB_CONNSTRING = "mysql:host="; // DO NOT EDIT THIS LINE
$DB_CONNSTRING .= "localhost"; // THIS SHOULD BE THE DATABASE HOSTORT (E.g. localhost:3306 or 127.0.0.1:3306 or yourdomain.net:3306)
$DB_CONNSTRING .= ";dbname="; // DO NOT EDIT THIS LINE
$DB_CONNSTRING .= "dayz_reality_hive_gaz492"; // EDIT THIS LINE, THIS SHOULD BE THE DATABASE NAME
$DB_USERNAME = "gaz492"; // EDIT THIS LINE, THIS SHOULD BE THE DATABASE USERNAME
$DB_PASSWORD = "password"; // EDIT THIS LINE, THIS SHOULD BE THE DATABASE PASSWORD
$dbhost = "localhost"; //mysql database host
$dbname = "dayz_reality_hive_gaz492"; //mysql database name
$dbusername = $DB_USERNAME; //mysql database username
$dbpassword = $DB_PASSWORD; //mysql database password
Think i'll need a join me or team viewer session. Sorry im such a noob with the databases. IM me ur skype, or ts3 channel, or email, or somethin, lol.
Nevermind i got it to work with the above code, but when it try to login it says invalid username when i try to login with admin, admin
update `profile` set rights = 'member';
haha just found out this is a complete tear down of my own code, awh well
i would like 100% credits for the loadout editors, thats totally all my code with modded requirements to work outside SMF, i will be reporting this if credits not given.
Just took a look at this and like it so far!
To get it working you have to add a column to the profiles table in your DayZ database. If you are using Navicat then do this:
Open your database and right click on your profile table and choose design table.
In the new window click "Add Field" at the top. Now use these values:
Name: rights
Type: varchar
length: 30 (probably to long but doesn't hurt!)
decimal: 0
In the bottom pane set type member in the default field
Now just save and close that window.
That will set it so that any new players that join the server will be set as a member, you can change to vip in the panel, but it won't change it for existing people on the server so you need to run a quick query.
Click Query at the top of Navicat the click new query under that. In the new window that opens paste this and click run:
Code:update `profile` set rights = 'member';
The last step is to give yourself admin rights so find your name in the profile table and change your rights from member to admin
That's it, it should now be working! To log in there is no password, you use your in game name as username and your player id as the password.
This project is dead for the time being, feel free to fix the issue. But until the new year there will be no updates, even after the new year there may not be any updates, as i am busy with other work.Fatal error: Class 'PDO' not found in W:\www\gaz492-dayz-admin-panel-294de4cbed7b\index.php on line 7