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!

Cabal Toolz v4

Joined
Apr 12, 2007
Messages
426
Reaction score
251
Hello guys.

I thought i should share this package with the cabal community since my other project is going very slow, so here it is.

Not much to explain about it.
I added the queries here and also in the package.

Heres a screenie how it looks:
Acnathon - Cabal Toolz v4 - RaGEZONE Forums


Queries

CashAccount:
Code:
USE [CabalCash]
GO

ALTER TABLE [dbo].[CashAccount] ADD  VOTE INT NOT NULL  DEFAULT ((0))
GO

ALTER TABLE [dbo].[CashAccount] ADD  USED_VOTE INT NOT NULL  DEFAULT ((0))
GO

ALTER TABLE [dbo].[CashAccount] ADD  USED_CASH INT NOT NULL  DEFAULT ((0))
GO

Resets:
Code:
USE [GAMEDB]
GO

ALTER TABLE [dbo].[cabal_character_table] ADD  Resets int NOT NULL DEFAULT((0))
GO

Webshop
Code:
USE [CabalCash]
GO

/****** Object:  Table [dbo].[WebShop]    Script Date: 11/11/2012 12:50:13 ******/
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

Webshop Category:
Code:
USE [CabalCash]
GO

/****** Object:  Table [dbo].[WebShop_Category]    Script Date: 11/11/2012 12:50:51 ******/
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

Vote:
Code:
USE [CabalCash]
GO

/****** Object:  Table [dbo].[toolz_vote]    Script Date: 11/11/2012 12:51:06 ******/
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

Credits:
john_d
TG Cabal (For the package :eek:tt1:)
LocaSimon (For providing me the needed files to test the whole package)

Notes
1. Do not ask how to properly set it up. Everything you need to know is inside the config files so please take a look at it, also search the forums for v3 setup since its almost the same.
2. This version doesnt contains the Item Customizer since LocaSimon asked me to no release with this package.

Some important things:
1. I keept the cache system on false because else i had some issues with the news system(maybe others too i dont remember exactly)
2. Make sure that mod_rewrite is enabled on your webserver & and also curl for more performance(check config files you will see what i meant).
3. I forgot to mention before the bug with the aura changer. If you change aura from site then probably it will change the face style(maybe others too? i dont remember exactly) of your character.
To fix this you have to change the new style code in the "backend/cabal/user.heroes.php" but to be honest i never messed with that code so im not sure where exactly the problem lies.
Heres the code that needs to be fixed(?)
PHP:
$newstyle = ($style['GenderNO'] * hexdec(4000000)) +
(($_GET['value']*2) * hexdec(200000)) +
($style['Hair'] *  hexdec(20000)) +
($style['Hair_Color'] *  hexdec(2000)) +
($style['Face'] * hexdec(100)) +
($style['Class_Rank'] * 8) +
$style['Class'];

Feel free to post the fixed code and i will add it to the package also the credits. :shakehands:

Let me know if i missed out anything from the package or anyone from the credits :cool:

Have a nice day and have fun with the files.

Multiupload Mirror:

Mediafire Mirror:
 
Last edited:
Serenity GamerZ Owner
Joined
Apr 30, 2011
Messages
771
Reaction score
299
Nicely Done , Tested Works Perfect ! News System is new like i see, Really Great Job i Suggest To Sticky This Release.

P.S : if some one have hard time installing i can help as much as i can you can pm me if you want and ill do my best but no promises :\
 
Last edited:
Junior Spellweaver
Joined
Jun 3, 2011
Messages
140
Reaction score
23
I Can't login :/
Admincp OK, GMCP OK but simple user cp nok :/

Login Initialed
Communicating with Server. Please Wait a few seconds!

Aaaaand nothin' :/ :(
Any Idea?
 
Skilled Illusionist
Joined
Apr 13, 2011
Messages
387
Reaction score
69
We hope that this will make user start sharing more.
Well done mate ;)
 
Joined
Apr 12, 2007
Messages
426
Reaction score
251
Just so we're clear the only xampp version on which the site will function by 100% is xampp 1.7.1

Thats actually not 100% true but its probably the easiest way to get it working.

For php 5.3 you can use php_dblib (free tds compiled for windows)
Link:

For php 5.4 if im not wrong you can still find third-party extensions that will enable mssql and then the other way is to redefine the mssql functions.

Anyways on windows you can use xampp 1.7.7 with php_dblib and it will work perfectly.

Now the decision is up to you guys :)
 
Joined
Jan 11, 2011
Messages
44
Reaction score
2
i already got this problem..and the problem is in the define.php.

use define.php CT4 from emi then copy into Acnathon CT4


and its work.


my problem is Voting Reward.its only Processing Appear when i click VOTE link.
 
Joined
Apr 12, 2007
Messages
426
Reaction score
251
i already got this problem..and the problem is in the define.php.

use define.php CT4 from emi then copy into Acnathon CT4


and its work.


my problem is Voting Reward.its only Processing Appear when i click VOTE link.

First of all: Do not use other define.php use the one in this package since it works perfectly.
Second: About your login problems and vote problems make sure you have ran all the queries posted in the first post... since when u first enter the login panel it will look for your account in the CabalCash database and fetch some info (Cash, Vote,etc) if it doesnt exist then it will try to insert your account into the CashAccount table but if you dont add the required columns(run the queries from the first post and make sure they executed successfully) it will fail to add and it will reject your login.
 
Joined
Mar 14, 2011
Messages
436
Reaction score
244
I was not talking because of the MSSQL. Only stupid people will use PHP_MSSQL.dll considering how low the stability is. Using the php_dblib you technically use FreeTDS which is the best way to go.
 
Joined
Apr 12, 2007
Messages
426
Reaction score
251
And you use the define.php from this package? (if so then it must work... i dont see why it wouldnt since it works for me)
 
Back
Top