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!

BR Website

Newbie Spellweaver
Joined
Jan 14, 2020
Messages
15
Reaction score
1
Re: No more selling! ^_^

PHP:
function protect($var) {      $banlist = array("insert", "select", "update", "delete", ";", "'", "+", "--", "/", "|", ":", "=", "%", "(", ")", "distinct", "having", "truncate", "replace","handler", "like", " as ", "or ", "procedure", "limit", "order by", "group by", "asc", "union", "desc", "'", "union all");      if (eregi("[a-zA-Z0-9]+", $var)) {        $texto = trim(str_replace($banlist,'', strtolower($var)));      }      return $texto;}

####################################
[h=1]eregi[/h](PHP 4, PHP 5)
eregi — Case insensitive regular expression match

WarningThis function was DEPRECATED in PHP 5.3.0, and REMOVED in PHP 7.0.0.
Alternatives to this function include:

  • (with the i (PCRE_CASELESS) modifier)


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

need to look inside file and change eregi() .


 
Newbie Spellweaver
Joined
Jan 14, 2020
Messages
15
Reaction score
1
Re: No more selling! ^_^

I did everything but I don't get admin panel

Try edit this line to:
define('HTTP', 'https://');
define('URL', 'www.cabalProX.top');
define('URLWebShop', 'webshop.cabalProX.top');
define('url_token', 'cabalProX.com.br');
define('NAME', 'CABAL ProX - O DESAFIO DE LUTADORES');
define('TITLE', 'Cabal Online - ProX - Cabal Pirata - Cabal 2');
define('DESCRIPTION', 'Cabal - Cabal Online - Cabal Pirata - Cabal 2 - ProX - a batalha que você sempre imaginou - O lugar onde nascem as lendas. conheça os personagens do Cabal');
define('KEYWORDS', 'Cabal, Cabal Online, Cabal Pirata, Cabal 2, Cabal2, Pirata, Online, Cabal Cadastro, Cabal Download, cabal br, cabal online brasil, cabal online download, cabal pirata download, cabalpirata, cabalonline, cabal private, ProX');

$AdminCP = array('ID DA CONTA','pomps');

/../config/settings.php
 
Joined
Oct 10, 2007
Messages
1,772
Reaction score
187
Re: No more selling! ^_^

Try edit this line to:
define('HTTP', 'https://');
define('URL', 'www.cabalProX.top');
define('URLWebShop', 'webshop.cabalProX.top');
define('url_token', 'cabalProX.com.br');
define('NAME', 'CABAL ProX - O DESAFIO DE LUTADORES');
define('TITLE', 'Cabal Online - ProX - Cabal Pirata - Cabal 2');
define('DESCRIPTION', 'Cabal - Cabal Online - Cabal Pirata - Cabal 2 - ProX - a batalha que você sempre imaginou - O lugar onde nascem as lendas. conheça os personagens do Cabal');
define('KEYWORDS', 'Cabal, Cabal Online, Cabal Pirata, Cabal 2, Cabal2, Pirata, Online, Cabal Cadastro, Cabal Download, cabal br, cabal online brasil, cabal online download, cabal pirata download, cabalpirata, cabalonline, cabal private, ProX');

$AdminCP = array('ID DA CONTA','pomps');

/../config/settings.php

already done it but nothing changes
 
Newbie Spellweaver
Joined
Jan 14, 2020
Messages
15
Reaction score
1
Re: No more selling! ^_^

I'm not sure...

but after i check the files, i'm sure that this webapp running
MySQL(PHPMailer) and MSSQL(DATABASE) and PHP5(OLD VERSION)

I only try this on my localhost including database without Cabal Server:
XAMMP: MYSQL & PHP7 (So there are errors because PHP VERSION)
DATABASE: SQL Server Management Studio 18 & SQL EXPRESS 2019
so i can run from localhost without internet connection.
EDITOR: Visual Studio Code Including Extenstion for PHP & MSSQL(DB)
 

Attachments

You must be registered for see attachments list
Joined
Oct 10, 2007
Messages
1,772
Reaction score
187
Re: No more selling! ^_^

I'm not sure...

but after i check the files, i'm sure that this webapp running
MySQL(PHPMailer) and MSSQL(DATABASE) and PHP5(OLD VERSION)

I only try this on my localhost including database without Cabal Server:
XAMMP: MYSQL & PHP7 (So there are errors because PHP VERSION)
DATABASE: SQL Server Management Studio 18 & SQL EXPRESS 2019
so i can run from localhost without internet connection.
EDITOR: Visual Studio Code Including Extenstion for PHP & MSSQL(DB)

2 Account and Server01 files are missing in this database
 
Newbie Spellweaver
Joined
Jan 14, 2020
Messages
15
Reaction score
1
Re: No more selling! ^_^

2 Account and Server01 files are missing in this database

about that im not sure, but for the first time when i restore database
files.bak

database name not following the default, database name is testAccount same with other files.bak

i need to make sure database name following the setup if not it cannot be read by server.

1. Check Database name on Server
- If it not the same so need change it MSSQL/SERVER
2. If it about Webapp. so i need to check the script first to make sure database name is the same.

Account / testAccount
Server01 / Server01_01

Sorry for my english and hoping this can help.
 
Joined
Oct 10, 2007
Messages
1,772
Reaction score
187
Re: No more selling! ^_^

about that im not sure, but for the first time when i restore database
files.bak

database name not following the default, database name is testAccount same with other files.bak

i need to make sure database name following the setup if not it cannot be read by server.

1. Check Database name on Server
- If it not the same so need change it MSSQL/SERVER
2. If it about Webapp. so i need to check the script first to make sure database name is the same.

Account / testAccount
Server01 / Server01_01

Sorry for my english and hoping this can help.

these are the files that are missing 2

authentication.bakcabalcash.bakcabalguild.bakcabalmanager.bakcashshop.bakeventdata.bakMWeb.baknetcafebilling.bak
 
Newbie Spellweaver
Joined
Jan 14, 2020
Messages
15
Reaction score
1
Re: No more selling! ^_^

these are the files that are missing 2

DATABASE:
01 authentication
02 cabalcash
03 cabalguild
04 cabalmanager
05 cashshop
06 eventdata
07 Mweb
08 netcafebilling
09 Account
10 Server01

files from 01-08 from files from 09-10 from

edit files inside /../config/settings.php
define('DB_ACC', 'Account');
define('DB_CSH', 'CabalCash');
define('DB_SRV01', 'server01');
define('DB_NETC', 'NetcafeBilling');
define('DB_EVENT', 'EventData');
define('DB_SITE', 'WebDB');

for the name follow database name like this:
define('DB_ACC', 'Account');
define('DB_CSH', 'cabalcash');
define('DB_SRV01', 'Server01');
define('DB_NETC', 'netcafebilling');
define('DB_EVENT', 'eventdata');
define('DB_SITE', 'Mweb');
 
Junior Spellweaver
Joined
Apr 24, 2014
Messages
117
Reaction score
7
Re: No more selling! ^_^

Contact your webhost support team and ask them to configure ini. If u dont have access to php.ini in cpanel.

Short tags enable without support team.
Open config/settings.php
and write in tihs line

ini_set('short_open_tag','On');

same :(
 
Newbie Spellweaver
Joined
Jan 14, 2020
Messages
15
Reaction score
1
Re: No more selling! ^_^

can you share the corrected version of the website here...
to much error...

Need to rebuild cabal website by following the old cabal web that can be found from RageZone.

First error that i found is connection with database:
website use mssql_connect

when i check at about MSSQL, to connect Microsoft SQL Server need to use this function:

$serverName = "localhost\SQLEXPRESS";
$connectionInfo = array( "Database"=>"Account", "UID"=>"username", "PWD"=>"passwd");
$link = sqlsrv_connect( $serverName, $connectionInfo);
if (!$link) {
die('Falha ao conectar com o MSSQL do Cabal online.');
}


change mssql_connect to sqlsrv_connect and include servername.
 
Junior Spellweaver
Joined
Apr 24, 2014
Messages
117
Reaction score
7
Re: No more selling! ^_^

Contact your webhost support team and ask them to configure ini. If u dont have access to php.ini in cpanel.

Short tags enable without support team.
Open config/settings.php
and write in tihs line

ini_set('short_open_tag','On');

i did but have error login init php on line 8 and register to...:blink:
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Jan 14, 2020
Messages
15
Reaction score
1
Re: No more selling! ^_^

1. Make sure you already install Driver that needed for MSSQL
2. Make sure you already enable MSSQL extension in php (extension_name.dll)

 
Last edited:
Newbie Spellweaver
Joined
Apr 4, 2020
Messages
9
Reaction score
2
Re: No more selling! ^_^

@S37uP!Update did you found a solution? I am also stocked with that problem. I tried to contact my hosting provider but they can not find error on their end. I am thinking maybe there are something that need to setup in Centos server(where server files are located)

Edit:
I am using Namecheap hosting for website files, and contabo for cabal server files and Mssql
 
Joined
Oct 14, 2008
Messages
1,277
Reaction score
249
Re: No more selling! ^_^

@S37uP!Update did you found a solution? I am also stocked with that problem. I tried to contact my hosting provider but they can not find error on their end. I am thinking maybe there are something that need to setup in Centos server(where server files are located)

Edit:
I am using Namecheap hosting for website files, and contabo for cabal server files and Mssql

No, still searching, i even tried to install separated files for ODBC Driver, also did a whole bunch of things and in the end the Driver was installed in odbc.ini but still not working...
 
Back
Top