I will make CMS for Archlord so everyone who will need website for hes private server he just need to install it, so users will be able to register, login, change password, email .... admin panel where admin can controll users, posts, events, etc...
But before all that i need to know is all servers ep1 and ep2 use same database and what type is ?
If would want to make myself a webpage using xampp I would use mysql database for ID and PW and other stuff like CC and **** for webpage only. Then i would install instantclient 12.1 for oracle. With PHP you are then able to connect to remote computer that host archlord server.
During register process your PHP script can access archlord oracle database on remote computer to create new/edit account. This way you give your users indirect access to gameserver database. Imo this almost eliminates violation of games database as you can check data from mysql before you access and change oracle database and you seperate forums, chantra store and other stuff to another computer decreasing database lag to high populated servers.
This is how i would do it. If you need webpage on same computer as gameserver is then you dont need instantclient 12.1 you only need to connect to oracle and know how to use oracle database queries...
Ye thats all fine I supposed if you run webpage on same computer as gameserver is. I would not recomend that but hey tis your project
If you dont intend to have webserver on same computer then to avoid installing oracle you can only install client.I was thinking something like this...
Making database class than connect to database and keep connection open for quick access.
Code:
include("constants.php");
class MyDB
{
/* Class constructor */
function MyDB(){
/* Make connection to database */
/* oracle database connection defined in contants.php
define("OCI_SERVER", "192.168.1.12");
define("OCI_USER", "alef");
define("OCI_PASS", "password");
define("OCI_SERVICE", "account");
define("SRV_WORLD", "MYworld1");
*/
$this->connection2 = oci_connect(OCI_USER,OCI_PASS,OCI_SERVER ."/". OCI_SERVICE);
if (!$this->connection2) {
$e = oci_error();
trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR);
}
}
function oci_addNewUser($username, $password, $email){
$time = date("d/m/y");
$qstring = array();
$qstring[0] = "INSERT INTO AMT_ACCOUNT (ACCOUNTID,PASSWORD) VALUES ('$username','$password')";
$qstring[1] = "INSERT INTO AMT_MASTER VALUES ('$username' ,'$email' ,'18' ,to_timestamp('$time','DD/MM/RR HH24:MI:SSXFF'),to_timestamp('$time','DD/MM/RR HH24:MI:SSXFF'),to_timestamp('$time','DD/MM/RR HH24:MI:SSXFF') ,null ,null ,null ,null ,null ,'N' ,'N' ,'0', null, null, null, null, null, null, null, null)";
$qstring[2] = "INSERT INTO ACCOUNTWORLD (ACCOUNTID, WORLD, BANKMONEY, BANKSIZE) VALUES ('$username', '".SRV_WORLD."', '0', '0')";
for ($i=0; $i<3; $i++){
$q = oci_parse($this->connection2, $qstring[$i]);
oci_execute($q);
}
}
};
$database = new MyDB;
Then you can register new players with
$database->oci_addNewUser($arg1, $arg2, $arg3);
[Request]Alchemy rate explanation 02/19/2014 - SRO Private Server - 2 Replies Request explanation for alchemy rates according to alchemy rate program made by maxizi, and if the 50% of +1 always succeeds, what is the increasing rate for each lucky powder/lucky stone
[Request] 2x kill explanation 02/19/2012 - Shaiya Private Server - 8 Replies Im looking for someone to explain how edit the kill gain to 2x, and if possible how to set it per map (effect only active in certain maps).
I found certain tools that do the trick, but I want a permanent and safe sollution, either edited in the database or coded in the ps_game.
thanks in advance.
Archlord Database Website 08/23/2011 - Archlord - 9 Replies hey all,
im looking for all archlord database website plz post me some :)
thx
Request: Help with AHK (explanation in msg) 07/24/2009 - CO2 Programming - 3 Replies 1) I am working on an autofogger. So far I have gotten it to fog twice and sit using {F2}. But I cant make it repeat and I don't know why. Any ideas on making the script run itself over and over until ^p:: (Pause) command is used? and also how do I set up the pause command.
2) I need an example of a melee attacking program. I can't seem to make my bot jump around and kill any monster in the general area. So I need an example to work off of.
Any help would be appreciated, and in the final...
A bout Emme's Database Injector? lol - explanation- 07/19/2009 - Archlord - 12 Replies detailed explanation of the archlord injector that Emme Wrote (before he deleted it from the attachment hehe):
well practically, its a fake program lol, and these are the details of the files he provided, before he deleted the attachments:
(the connect button)
private void button1_Click(object sender, EventArgs e)
{
if (((this.textBox4.Text == "localhost") && (this.textBox5.Text == "19.21.555.2")) && (this.textBox6.Text == "archlordv3"))
{
...