KaoriAMS

Kaori

LOMCN MiR3 Queen!
VIP
Jun 3, 2004
3,584
38
285
Canada
I think you asked me that few months ago. The answer is still a NO.

the other thing is... there's PM you can use to message 1 person. Others don't really want to know if you want me to add you.
 

Kaori

LOMCN MiR3 Queen!
VIP
Jun 3, 2004
3,584
38
285
Canada
it's probably easier for all of us if you put what you have done and what is working and what is not working... in details. that saves at least 3-4 posts 2-3 days.
 

Kaori

LOMCN MiR3 Queen!
VIP
Jun 3, 2004
3,584
38
285
Canada
assume you have php and webserver running on the same computer as your game ms sql server.

just unzip/unrar the file to somewhere do you can access it from the web, then change all the 00*.* files to match yours.

some stuff may not work on 3.xx
 

Krige

Dedicated Member
Dedicated Member
Mar 17, 2007
25
0
47
I got this error when i enter statistics page

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/freehost/m/i/mir3/www/ams/statistics.php on line 9

Warning: file_get_contents(http://www.mir3.lua.pl/ams/backend/statistics.php) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/freehost/m/i/mir3/www/ams/statistics.php on line 9

Hmm some1 know where i make an error im not good in php.
 

MasterQ

LOMCN Veteran
Veteran
Loyal Member
Aug 6, 2006
462
0
62
London
Kaori would you be able to add a dislay for PK points? on statics or a new section.

I tried to do it myself but failed lol.
 

twisterdmk

LOMCN Veteran
Veteran
May 13, 2009
759
28
115
USA
Cannot open database requested in login 'CruelDragon3GBaseData'. Login fails.
---------- Game Database (Direct) ----------
Game Database is connected successfully.
TBL_ABILITY has 4 rows.
---------- Hero Database (Direct) ----------
Hero Database is connected successfully.
rareitemsdata has 1 rows.
---------- SQL Checking Done ----------


---------- Port Checking Start ----------
Localhost Address is 72.24.162.143
Net Address is 72.24.162.143
---------- Reg Server ----------
Cannot connect to 72.24.162.143:7010.
Cannot connect to 72.24.162.143:7010.
Cannot connect to 72.24.162.143:7010 from outside.
---------- Login Server (check server) ----------
Cannot connect to 72.24.162.143:3000.
Cannot connect to 72.24.162.143:3000.
Cannot connect to 72.24.162.143:3000 from outside.
---------- Login Server (for login gate) ----------
Connected to 72.24.162.143:5500.
Connected to 72.24.162.143:5500.
Connected to 72.24.162.143:5500 from outside.
---------- Login Server (for db/game server) ----------
Connected to 72.24.162.143:5600.
Connected to 72.24.162.143:5600.
Connected to 72.24.162.143:5600 from outside.
---------- Message Server (for split server) ----------
Connected to 72.24.162.143:4900.
Connected to 72.24.162.143:4900.
Connected to 72.24.162.143:4900 from outside.
---------- Game Server (for game gate) ----------
Connected to 72.24.162.143:5010.
Connected to 72.24.162.143:5010.
Connected to 72.24.162.143:5010 from outside.
---------- DB Server (for selchar gate) ----------
Connected to 72.24.162.143:5100.
Connected to 72.24.162.143:5100.
Connected to 72.24.162.143:5100 from outside.
---------- DB Server (for game server) ----------
Connected to 72.24.162.143:6000.
Connected to 72.24.162.143:6000.
Connected to 72.24.162.143:6000 from outside.
---------- Login Gate (for user) ----------
Connected to 72.24.162.143:7000.
Connected to 72.24.162.143:7000.
Connected to 72.24.162.143:7000 from outside.
---------- Select Char Gate (for user) ----------
Connected to 72.24.162.143:7100.
Connected to 72.24.162.143:7100.
Connected to 72.24.162.143:7100 from outside.
---------- Game Gate (for user) ----------
Cannot connect to 72.24.162.143:7200.
Cannot connect to 72.24.162.143:7200.
Cannot connect to 72.24.162.143:7200 from outside.
---------- Log Data Server (for logging) ----------
Connected to 72.24.162.143:10000.
---------- HTTP Server ----------
Connected to 72.24.162.143:80.
Connected to 72.24.162.143:80.
Connected to 72.24.162.143:80 from outside.
---------- FTP Server ----------
Cannot connect to 72.24.162.143:21.
Cannot connect to 72.24.162.143:21.
Cannot connect to 72.24.162.143:21 from outside.
---------- Port Checking Done ----------
 
Last edited:

twisterdmk

LOMCN Veteran
Veteran
May 13, 2009
759
28
115
USA
This is the parent 00.config

<?php

// You must config this for your server.

// Some common stuff for the scripts
$home = "http://localhost/backend";
$forums = "http://hellfiremir3.forumotion.com/";
$forumsname = "hellfiremir3.com";
$serverName = "HellFire";

// Enter url for your backend (ie something internal or hidden or not easily seen from other users)
$backend = "http://localhost/backend/";

// This key must match the one in the backend directory
$magickey = "magic";

?>


This is the backend 00.config

<?php

// This key must match the one in the other directory
$magickey = "magic";
$serverName = "HellFire";

?>

This is the 00connstring one

<?php

// This construct the connection string for your server.

$host = "(local)"; // if your webserver is with your sqlserver, use (local), otherwise type the ip or hostname here
$port = ""; // if your sqlserver is not on (local) and it's not on port 1433, put the port number here.

// if your webserver user has access to your db (windows authentication), don't type anything in the ""
// how to add IIS user to sqlserver? goto SQL Server Enterprise Manager under your server->Security->Logins, add IUSR_computername and add db roles to it. Search google if you don't understand
// or you can put sa and sa's password (not recommended)
$username = "";
$password = "";

// this is the name of your Account and Game DB
$accountDB = "Account";
$gameDB = "Game3G";



// Don't touch the rest

$hostport = empty($port) ? $host : $host.",".$port;
$auth = empty($username) ? "Trusted_Connection=Yes;" : "User ID=".$username.";Password=".$password.";";

$accountDSN="PROVIDER=MSDASQL;DRIVER={SQL Server};SERVER=".$hostport.";DATABASE=".$accountDB.";".$auth ;
$gameDSN="PROVIDER=MSDASQL;DRIVER={SQL Server};SERVER=".$hostport.";DATABASE=".$gameDB.";".$auth ;

?>
 
Last edited:

Amenovis

Golden Oldie
Golden Oldie
Loyal Member
Jan 9, 2006
1,105
0
143
Germany
Problem solved: For all that use Xamp !!!! Before you start and copy all AMS files in the HTDOCS Folder DELETE ALL WHAT IS INSIDE!!!!.

Xamp have a own help webpage system so after xamp is installed it exist in htdocs a webside "Index.html" that should help the user of Xamp.

1)Install Xamp
2)Delete all in HTDOCS
3)Extract all files from KaoriAms in that folder
4)Edit 00Config.php / 00ConnString.php (Backendfolder)
5)Edit 00Config.php (Main Folder)
6)Test by open browser and input IP from the PC Where you installed Xamp

7)Finished

8)Ams work perfect you need maybe 2 Minutes for it after xamp is installed

greetings
 

nicofortune

LOMCN Veteran
Veteran
Aug 13, 2009
340
1
45
Last edited by a moderator:

BlackDragon218

Dedicated Member
Dedicated Member
Nov 27, 2003
39
0
53
Account was not created. Server encountered an error while processing your info. Please re-register.

Can anyone shine a light?
 

TinieblaS

Dedicated Member
Dedicated Member
Dec 20, 2012
46
2
35
Spain
I have problems with this...

I have external hosting for webside, and the server with DB and server in other pc.

I change:

  • .../KaoriAMS/00Config.php
  • .../KaoriAMS/backend/00Config.php
  • .../KaoriAMS/backend/00connString.php

And i have problems to configure "00connString".

My changes on ".../KaoriAMS/Backend/00connString":
Code:
$host = "[COLOR=#a9a9a9]IP-PUBLIC[/COLOR]" (Exemple: 85.123.123.23")
$port= "2433" (I try the ports= 80, 1433 and with "" too)

$username = "sa";
$password = "[COLOR=#a9a9a9]PASSWORD TO DB[/COLOR]";

$accountDB = "Account";
$gameDB = "Game3G";

Changes on ".../KaoriAMS/00Config.php"
Code:
$serverName = "[COLOR=#a9a9a9]The Same to .../backend/00Config.php[/COLOR]"
$backend = "http://my...server.com/KaoriAMS/backend/";

Sorry to open this old post, i want help in other post too, and continue with problems.
Thanks for your help!