Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Mu Core 1.0.8 + PHP7 Loader

Newbie Spellweaver
Joined
Jun 11, 2017
Messages
7
Reaction score
8
Hi, I've seen that many are still using the mucore, and as we know, this website only works a very old php version. So the insecurity and instability of the mucore is very critical !.Then I decided to update it to work with PHP7. I have to stress that this version of mucore only works with PHP 7 and up.I hope you like my contribution.

Changelog:
-Update Core engine, admincp and modules for PHP7+
-Update/Fix Template default for use on this mucore.
-Fix small bugs in install
-Edit Install for news requires of the mucore.
-Other small fixes...

Link Mucore: .
Link Xampp(Use xampp with php 7.2):
Link SQLServer PHP:


Video Tutorial (Spanish Only):



How to install
1- Download and install xampp with php7.2
2- Download and extract PHP-SQL Drivers for PHP7.2 in xamppfolder>php>ext (Dll x86 + ts only)
3- Change names of the librarys:
- php_sqlsrv_72_ts for php_sqlsrv
- php_pdo_sqlsrv_72_ts for php_pdo_sqlsrv
4- Open php.ini in xamppfolder>php , Search extension=php_bz2 and add:
*extension=php_sqlsrv
*extension=php_pdo_sqlsrv
5- Restart Xampp Apache and install mucore in xamppfolder>htdocs

Credits:
-MuCore (obviously).
-Isumeru & MaryJo For fixes and edit this mucore
-Kevin fernandez for final fix, update, and edit mucore
 
Last edited:
Joined
Apr 22, 2013
Messages
710
Reaction score
49
Tried installing it using latest XAMPP + the Drivers included but still getting error on the ff:
- short_open_tag=On
-
extension=php_sqlsrv.dll
- extension=php_pdo_sqlsrv.dll

it's being detected as off even though its already on w/o the ";" and reset apache.

UPDATE:
php issues now fixed!

PROBLEM NOW:
DBase not connecting
 
Last edited:

CEK

Initiate Mage
Joined
Oct 30, 2017
Messages
1
Reaction score
0
Nice!

I hope you're not using XAMPP on production.

Just my 2 cents.
 
Last edited:
Newbie Spellweaver
Joined
Dec 26, 2004
Messages
15
Reaction score
0
for which seasons ?

i need 97d 99i



Hi, I've seen that many are still using the mucore, and as we know, this website only works a very old php version. So the insecurity and instability of the mucore is very critical !.Then I decided to update it to work with PHP7. I have to stress that this version of mucore only works with PHP 7 and up.I hope you like my contribution.

Changelog:


Link Mucore: .
Link Xampp(Use xampp with php 7.2):
Link SQLServer PHP:


Video Tutorial (Spanish Only):



How to install
1- Download and install xampp with php7.2
2- Download and extract PHP-SQL Drivers for PHP7.2 in xamppfolder>php>ext (Dll x86 + ts only)
3- Change names of the librarys:
- php_sqlsrv_72_ts for php_sqlsrv
- php_pdo_sqlsrv_72_ts for php_pdo_sqlsrv
4- Open php.ini in xamppfolder>php , Search extension=php_bz2 and add:
*extension=php_sqlsrv
*extension=php_pdo_sqlsrv
5- Restart Xampp Apache and install mucore in xamppfolder>htdocs

Credits:
-MuCore (obviously).
-Isumeru & MaryJo For fixes and edit this mucore
-Kevin fernandez for final fix, update, and edit mucore




for which seasons ?

i need 97d 99i
 
Joined
Jan 22, 2005
Messages
889
Reaction score
80
from config php:
PHP:
/*------------------------------------------*\
| Server Databases:                          |
|                                            |
|  0 : MuOnline [database]                   |
|  1 : MuOnline and Me_Muonline [databases]  |
\*------------------------------------------*/
$core['server_use_2_db'] = "0"; 

##############################################

/*-------------------------------------*\
| MUCore SQL Connection Type:           |
|                                       |
|  MSSQL : Connect using mssql_conect() |
|  ODBC : Connect using odbc            |
\*-------------------------------------*/

$core['connection_type'] = "ODBC";
//$core['connection_type'] = "MSSQL";

#########################################

/*--------------------------------------------------*\
| MuOnline Database Connection Settings              |
|                                                    |
| $core['db_host'] : Database host address           |
| $core['db_name'] : Database name                   |
| $core['db_use'] : SQL Authentication user          |
| $core['db_password'] : SQL Authentication password |
\*--------------------------------------------------*/

$core['db_host'] = "localhost";
       
$core['db_name'] = "MuOnline";    
     
$core['db_user']= "sa";

$core['db_password'] = "mypassword";
on
PHP:
$core['db_host'] = "localhost";
tried (local) and 127.0.0.1 aswell but same result
Code:
[B]Warning[/B]:  odbc_connect(): SQL error: [Microsoft][ODBC Driver  Manager] Data source name not found and no default driver specified, SQL  state IM002 in SQLConnect in [B]D:\xampp\htdocs\muweb\engine\adodb\drivers\adodb-odbc.inc.php[/B] on line [B]66[/B]
MuOnline: Connection error to server 'MuOnline' with user 'sa'
Failed - Fix this
when i do:
PHP:
<?php
    $link = odbc_connect('MuOnline', 'sa', 'mypassword');
    if(!$link) {
        echo'Could not connect';
        die('Could not connect: ' . mssql_error());
    }
    echo'Successful connection';
    odbc_close($link);
?>
it will connect successfully
php.ini:
Code:
extension=bz2
extension=curl
extension=fileinfo
extension=gd2
extension=gettext
extension=mssql
extension=php_mssql.dll
;extension=gmp
;extension=intl
;extension=imap
;extension=interbase
;extension=ldap
extension=mbstring
extension=exif      ; Must be after mbstring as it depends on it
extension=mysqli
;extension=oci8_12c  ; Use with Oracle Database 12c Instant Client
extension=odbc
;extension=openssl
;extension=pdo_firebird
extension=pdo_mysql
;extension=pdo_oci
extension=pdo_odbc
;extension=pdo_pgsql
extension=pdo_sqlite
;extension=pgsql
;extension=shmop

extension=php_sqlsrv
extension=php_pdo_sqlsrv
i have no idea whats wrong here...
 
Newbie Spellweaver
Joined
Jun 22, 2011
Messages
5
Reaction score
0
What is happening here?
 
Newbie Spellweaver
Joined
Jul 24, 2014
Messages
34
Reaction score
1
Failed to connect to the MuOnline database

commandcom where did you applied that php code?
 
Last edited:
Joined
Jan 22, 2005
Messages
889
Reaction score
80
test php... just to see if it connect to db...
and it did...

When i use
PHP:
//$core['connection_type'] = "ODBC";
$core['connection_type'] = "MSSQL";
Then error as follows:
Clipboard02 - [Release] Mu Core 1.0.8 + PHP7 Loader - RaGEZONE Forums
When i use
PHP:
$core['connection_type'] = "ODBC";
//$core['connection_type'] = "MSSQL";
Then this kind of error
Clipboard03 - [Release] Mu Core 1.0.8 + PHP7 Loader - RaGEZONE Forums
I have no idea whats wrong and where...
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Feb 11, 2019
Messages
25
Reaction score
1
Is this working for two databases? or it reads only one?

[Edit]

I already solved this, you have to read carefully and change some lines in step_2.php to make 2 database work.
 
Last edited:
Newbie Spellweaver
Joined
May 3, 2019
Messages
22
Reaction score
1
Anyone know how to solve database connecting problem?



test php... just to see if it connect to db...
and it did...


When i use
PHP:
//$core['connection_type'] = "ODBC";
$core['connection_type'] = "MSSQL";
Then error as follows:
View attachment 164141
When i use
PHP:
$core['connection_type'] = "ODBC";
//$core['connection_type'] = "MSSQL";
Then this kind of error
View attachment 164140
I have no idea whats wrong and where...

Did you solve the problem?
 
Back
Top