Most visitors online was 8830 , on 6 Feb 2024
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!can you provide the compiled fixed one? sorry for being a spoon fed I just don't have skills on codinghere is mine costumize for block user 1day/2days/1week/2weeks/1month/6months/1year and permanent.View attachment 157745
can you provide the compiled fixed one? sorry for being a spoon fed I just don't have skills on coding
'; } else { if (file_exists($cachefile) && time() - $cachetime < filemtime($cachefile) && !isset($_get['nocache'])) { include($cachefile); echo "\n"; exit; } $fullurl = 'http://'.$_server['http_host'].substr($_server['script_name'], 0, strrpos($_server['script_name'], "/")+1); include_once('template/'.$_config['template'].'/index.php'); if (!isset($_get['nocache'])) { $fp = @fopen($cachefile, 'w'); if ($fp) { fwrite($fp, compress(ob_get_contents())); fclose($fp); ob_end_flush(); } } } ?>
<?php
require_once 'config.php';
include_once $_config['server_type'].'/functions.php';
include_once $_config['server_type'].'/dbconnect.php';
include_once $_config['server_type'].'/define.php';
ob_start();
if (!session_id()){ session_start(); }
header("Cache-control: private");
$db->debug=1;
if(!$db) {
echo'Could not connect';
die('Could not connect: ' . mssql_error());
}
echo'Successful connection';
?>
array( 'Official Cabal Online', 'http://'.$hostname.$path.'backend/', ''.$hostname.'', '80', 'About This Page: ', 'Official Cabal Online ' ), 'SSL-ON' => array( 'Official Cabal Online', 'https://'.$hostname.$path.'backend/', ''.$hostname.'', '443', 'About This Page: ', 'Official Cabal Online ' ), ); $_config['default_feed'] = 'SSL-OFF'; // End multi server support $_config['cross_domain'] = true; // Cache sytem $_config['nocache'] = true; $_config['curl'] = false; // this is a faster URL fetch make sure u have PHP curl turned on. $_config['2ndLevelCacheTime'] = 24 * 3600; // 3600 = 1 hour $_config['1stLevelCacheTime'] = 5 * 60; // 60 = 1 minute $_config['cache_manger_pass'] = '0000'; $_config['hosted'] = true; // host some js libraries via google // CDN SETTING $_config['cdn_hosting'] = false; //not used $_config['cdn_host'] = 'http://127.0.0.1'; //not used $_config['server_name'] = 'Cabal Online'; $_config['template'] = 'default'; $_config['extension'] = '.html'; $_config['url_separator'] = '/'; $_config['channel_ip'] = ''; // Channel IP // usernames passwords lengths $_config['username'] = '[2,20]'; $_config['password'] = '[5,20]'; // default module $_config['front_page'] = 'home'; //forum link $_config['forum_link'] = ''; $_config['close_site'] = false; $_config['redirect'] = 'http://'.$hostname; $_config['imagehost'] = 'http://i.imgur.com/'; // image hosting service [ don't change ] //feeds $_config['news_feed'] = ''; $_config['guide_feed'] = ''; //twitter $_config['tweeter'] = 'eztsoft';//not used // facebook $_config['fb_fanpage_id'] = ''; $_config['fb_application_key'] = ''; //download client setup $_config['downloads']['fullclient'] = array( 'Not Available' => '#', ); $_config['downloads']['patchclient'] = array( 'Not Available' => '#', ); ?>
Notice: Undefined variable: _config in C:\xampp\htdocs\test.php on line 4
Warning: include_once(/functions.php): failed to open stream: No such file or directory in C:\xampp\htdocs\test.php on line 4
Warning: include_once(): Failed opening '/functions.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\test.php on line 4
Notice: Undefined variable: _config in C:\xampp\htdocs\test.php on line 5
Warning: include_once(/dbconnect.php): failed to open stream: No such file or directory in C:\xampp\htdocs\test.php on line 5
Warning: include_once(): Failed opening '/dbconnect.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\test.php on line 5
Notice: Undefined variable: _config in C:\xampp\htdocs\test.php on line 6
Warning: include_once(/define.php): failed to open stream: No such file or directory in C:\xampp\htdocs\test.php on line 6
Warning: include_once(): Failed opening '/define.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\test.php on line 6
Warning: Creating default object from empty value in C:\xampp\htdocs\test.php on line 10
Successful connection
Still not working...
Put the test.php in backend folder not in main htdocs.Warning: Creating default object from empty value in C:\xampp\htdocs\test.php on line 10
Successful connection
Put the test.php in backend folder not in main htdocs.
example htdocs/backend/
/*********************************** [ Server01 ] ***********************************/
USE [Server01]
GO
ALTER TABLE [dbo].[cabal_character_table] ADD Resets int NOT NULL DEFAULT((0))
GO
/*********************************** [ Account ] ***********************************/
USE [Account]
GO
ALTER TABLE [dbo].[cabal_auth_table] ADD Name varchar(200) NOT NULL DEFAULT((NULL))
GO
ALTER TABLE [dbo].[cabal_auth_table] ADD Gender varchar(7) NOT NULL DEFAULT((NULL))
GO
ALTER TABLE [dbo].[cabal_auth_table] ADD Country varchar(200) NOT NULL DEFAULT((NULL))
GO
ALTER TABLE [dbo].[cabal_auth_table] ADD EventTag int NOT NULL DEFAULT((NULL))
GO
/*********************************** [ CabalCash ] ***********************************/
USE [CabalCash]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[WebShop](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Name] [varchar](50) NOT NULL,
[Description] [varchar](200) NOT NULL,
[ItemIdx] [int] NOT NULL,
[Options] [int] NOT NULL,
[Image] [varchar](200) NOT NULL,
[Category] [int] NOT NULL,
[Available] [int] NOT NULL,
[TimeLimit] [int] NOT NULL,
[Total] [int] NOT NULL,
[VALUE] [int] NOT NULL,
[Cash] [int] NULL,
[Alz] [int] NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
ALTER TABLE [dbo].[WebShop] ADD CONSTRAINT [DF_WebShop_Total] DEFAULT ((0)) FOR [Total]
GO
ALTER TABLE [dbo].[WebShop] ADD CONSTRAINT [DF_WebShop_VALUE] DEFAULT ((0)) FOR [VALUE]
GO
USE [CabalCash]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[WebShop_Category](
[ID] [smallint] IDENTITY(1,1) NOT NULL,
[Category] [nvarchar](50) NOT NULL,
[Access] [smallint] NOT NULL
) ON [PRIMARY]
GO
USE [CabalCash]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[toolz_vote](
[id] [int] IDENTITY(1,1) NOT NULL,
[userid] [nchar](10) NOT NULL,
[votedata] [text] NULL,
CONSTRAINT [PK_mutoolz] PRIMARY KEY CLUSTERED
(
[userid] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/*********************************** [ Stored Procedure ] ***********************************/
USE [Account]
GO
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[cabal_tool_registerAccount_web] (
[USER=19862]id[/USER] varchar(50),
[USER=2000229135]pas[/USER]sword varchar(50),
[USER=1333344765]name[/USER] varchar(200),
[USER=213273]email[/USER] varchar(200),
[USER=109]gender[/USER] char (7),
[USER=528823]question[/USER] varchar(200),
@answer varchar(200),
@ip varchar(50),
[USER=686431]country[/USER] varchar(200)
)
AS
begin tran
declare [USER=1335]user[/USER]Num as int
insert into cabal_auth_table( ID, Password, Login, AuthType, IdentityNo,Name,Email,Gender,Question,Answer,IP,Country )
values [USER=19862]id[/USER], pwdencrypt [USER=2000229135]pas[/USER]sword), '0', 1, '7700000000000' [USER=1333344765]name[/USER] [USER=213273]email[/USER] [USER=109]gender[/USER] [USER=528823]question[/USER],@answer,@ip [USER=686431]country[/USER] )
set [USER=1335]user[/USER]Num = [USER=19862]id[/USER]entity
insert into cabal_charge_auth(usernum, type, expiredate, payminutes)
values [USER=1335]user[/USER]Num, 5, DATEADD(day, 30, getdate()), 0)
insert into CabalCash.dbo.cashaccount (id,UserNum,Cash,CashBonus,UpdateDateTime) values [USER=19862]id[/USER] [USER=1335]user[/USER]Num,0,0,GETDATE())
select [USER=1335]user[/USER]Num as usernum
commit
what this mean?check if you have a connection between mssql and cabal toolz!
create new file in "http://yourdomainhere/cabal/backend/" and name it as test.php copy this code and paste it to test.php and run to a browser
"http://yourdomain/cabal/backend/test.php"
what this mean?
kolipri but i still cannot use the web. no error, cannot login.
already did, but cannot login