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!

CabalToolz4 For EP8

Skilled Illusionist
Joined
Apr 17, 2010
Messages
323
Reaction score
23
here is mine costumize for block user 1day/2days/1week/2weeks/1month/6months/1year and permanent.
 
Last edited:
Newbie Spellweaver
Joined
Jun 5, 2010
Messages
43
Reaction score
2
'; } 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(); } } } ?>

it gives me this error
 
Skilled Illusionist
Joined
Apr 17, 2010
Messages
323
Reaction score
23
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"
<?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';

?>
 
Newbie Spellweaver
Joined
Jun 5, 2010
Messages
43
Reaction score
2
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 :p // 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...
 
Skilled Illusionist
Joined
Apr 17, 2010
Messages
323
Reaction score
23
this CabalToolz4 For EP8 is working all you need to do is edit the column in database.

to make it work for registration you need to add column in Account.dbo.cabal_auth_table
to make it works for login you need to edit and add column in CabalCash.dbo.CashAccount

and execute this store procedure
Code:
/*********************************** [ 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
 
Elite Diviner
Joined
Jan 3, 2014
Messages
461
Reaction score
49
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?

MaViAhXr - CabalToolz4 For EP8 - RaGEZONE Forums
 
Skilled Illusionist
Joined
Apr 17, 2010
Messages
323
Reaction score
23
kolipri but i still cannot use the web. no error, cannot login.

you have to modify some table in CabalCash database to be able to login, and to be able to register you have to modify the table in Account database.
 
Back
Top