Pages

Showing posts with label Cabal Online. Show all posts
Showing posts with label Cabal Online. Show all posts

Change Item Type Cabal Online

How to make item (Account Bind / Character Bind / Sell able / drop able)
Hello,
as title says it will be short tutorial how to change type of item even if its easy still some users have problem with it.

Sweetscape template item enc:
Files to edit:
--- Clientside:
--------- /data/Item.enc
--- Serverside:
--------- /etc/cabal/data/Item.scp

Let me first explain u all types of item propert:
    NORMAL = 0
    NO_DROP = 1 
    NO_TRADE = 2
    BIND_ACT = 3
    NO_SELL = 4
    NO_DROPSELL = 5
    NO_SELLTRADE = 6
    BIND_ACT_NO_SELL = 7
    NO_STOR = 8
    NO_DROPSTOR = 9
    NO_STORTRADE = 10
    BIND_CHAR = 11
    NO_SELLSTOR = 12
    NO_DROPSELLSTOR = 13
    NO_SELLSTORTRADE = 14
    BIND_CHAR_NO_SELL = 15

If u are homo sapiens sapiens u should understand what each option exactly do.
Example of "BIND_CHAR = 11"
Example of "BIND_ACT = 3"

Client side:
Ok we will start with item.enc, unpack it and open with 010 sweetscape editor and use template.
Now find ur item ID and then option: "enum property property" - this is the place which hold the item specification.
Choose option what u want to have we take for .ex Normal = 0
Save & Pack it back to .enc

Server side:
Open file "/etc/cabal/data/item.scp", find itemID which u edit and edit "Property" option its 7th option from right column. Make it same what u set in client, in our case its 0.
Save & Edit

Well done, now ur item is "Normal" mean u can trade it, drop, sell etc.
Restart server & client

Dens666
Ragezone
Read more ...

Edit Cabalmain.exe Cabal Online

How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)
Hello,
it's next of my short tutorial which showing how to edit basic things in Cabalmain.exe

What you will need to edit cabalmain.exe property?:
--- Ollydbg
(i hope rz staff won't kill me for that ^^) best version.
--- 010 Sweetscape editor (or other hex editor but i recommend to use 010)

Some knowledge at begining

What is XOR Key?: It's a key which help to make our files safe agaist steal or edits.
Xor key is needed to unpack the .enc files.
XOR Key's address in Cabalmain 374:
004A82FA 83F0 57 XOR EAX,57 - 4th xor
004A830C 83F0 67 XOR EAX,67 - 3rd xor
004A831E 83F0 65 XOR EAX,65 - 2nd xor
004A832F 35 92000000 XOR EAX,92 - 1st xor
What is "load ech's" in cabalmain?: It's a amount of load visual files into our Cabalmain.
for ex. if u want load ech's 14 (man14.ech & woman14.ech) you need to change the load in cabalmain to "CMP EAX,0E"
005daf38 CMP EAX,0C - Load Man.echs (this load ech's. 12)
005db06a CMP EAX,0C  - load Woman.echs (this load ech's 12)
List of all possible loads in cabalmain:
CMP EAX,0A = 10
CMP EAX,0B = 11
CMP EAX,0C = 12
CMP EAX,0D = 13
CMP EAX,0E = 14
CMP EAX,0F = 15
CMP EAX,10 = 16
What is "load staff"?: It's an amount of load the wizard "staff" into Cabalmain - Not tested u do at ur own
008D4E81 => 1h_staff_%s.efx
008D4EF3 => 1h_staff_%s_15.efx
What is "Remove file check ENC"?: FIle check is related to xData if u dont know how to setup it and u have problem with start game cause appear error "File corrupted or missing" just remove it from cabalmain. Below u have address and what to do:
004A0C84 . 74 0D JE SHORT cabalmai.004A0C93 -------> Press space on it and write NOP and press enter
004A0C86 . 85C0 TEST EAX,EAX
004A0C88 . 74 09 JE SHORT cabalmai.004A0C93 -------> Press space on it and write NOP and press enter
Copyright @PunkS7yle

What is "Auction 4 slot load"?: It's allow to add 4 sloted items into Auction House
006F83e8
jl 006F8358=> Press space and change the value to NOP and press enter

006F8890
jl 006F87FE=> Press space and change the value to NOP and press enter
Someone release it but i can't find the thread, i had it in notepad. If u read it PM ME so i can add copyrights.

What is husky?: "husky" is a startup command in Cabalmain, it allow to open the game and connect to server using language.enc. To avoid stealing ur work or smth u can change the husky command to other 5 character word.

What is breaklee?: as up its startup command in cabalmain, it allow to open the game and connect to server using internal.txt. Breaklee allow to use SPECIAL commands for all users. To avoid connecting with breaklee command better is remove it from cabalmain.

Ok enought knowledge, now let's start editing the Cabalmain, firstly we start with edit the "husky" command
Open Cabalmain.exe in 010 Sweetscape editor (Remember that cabalmain must be unpacked) now press ctrl+f and serach for word "husky" u should find just one result.
Now in ASCII (right side) edit the command by REPLACING EACH LETTER (DO NOT USE BACKSPACE).
You can use just 5 bytes for the new command, it can be everything.
Save & Exit - now u start ur game with new startup command.

Let's now REMOVE the "breaklee" startup command, as up open Cabalmain in 010 editor.
Press ctrl+f and serach for word "breaklee" u should find just one result.
Now in left window side (hex) REPLACE each bytes of the breaklee world with "00"
Before:
After:
Save & Exit - now the breaklee command is disabled.
Ok, let's now start with Ollydbg, open cabalmain using ollydbg (remember cabalmain must be in folder where u have placed cabal files) also remember to run ollydbg as Admin!.
If u have already loaded cabalmain in ollydbg now Press "Ctrl+G" and put address where u want to jump.
Let's change the xor keys so. Ctrl + G and put adress "004A832F" and press enter.
Here u have to edit 4 xor keys, just press on each xor SPACE and change the XOR EAX,85 to your new key, after change press enter and close the window, do the same with all other keys. When u change them all Right Click mouse somewhere -> Copy -> Select ALL
if u have selected everything now again Right Click -> Copy to executable -> Selection
New window appear, on this window Right Click -> Save File - now replace or save it with new name and done :) u have changed xor keys.
By this way u do every modyfications in Cabalmain.

Dens666
Ragezone
Read more ...

Edit Drop Monster Cabal Online

How To edit drop for EACH monster in EACH place.
well i really appreciate making these tutorials for you guys i really have hope u also like it.
I start with basic things but if u will just want i gonna add more and more tutorials.

In this tutorial i'm gonna show you how to edit drop for mob what u want in every place u want.
At first u have to know that everything we gonna set in Server side!
From Clientside u can just take Monsters ID which u want to edit drop.

So... let's start!
At first let's choose what mob drop we gonna edit? I've choosen a Mnisha!
Open Cabal_msg.enc -> and follow to monster section -> now find ur monster ID
<msg id="monster1497" cont="Keshapone Minisha" />
That's all what we do in client side.

ID = 1497
Now is time to edit the drop on serverside, open WorldDrop.scp
[WorldDrop] = Counting Index (no matter)
Terrain_World = World on which the mob is placed (in our case 11)
DungeonID = in our case 0 (porta inferno is not dungeon map)
Terrain_Mob = ID of mob which drop we want to edit (in our case 1497)
ItemKind = ItemID what u want to drop from it (for ex. UCH so in our case 1)
ItemOpt  = ItemOPT of drop item (in our case 0)
DropRate = as name says drop rate of item (i dont understand it perfectly but all the drop from EACH mob must be equal to = 1, so if u want 100% drop uch just set it to = 1.0)
MinLv = Minimum lvl (set to 1)
MaxLv = Maximum lvl to which it will drop (default set to 200)
Group = default 0
MaxDropCnt = default 0
OptPoolIdx = OptionPool if u dont know what is it then set to 0
DurationIdx = 0 (durations: 31 - with perma title, 0 no perma title, 7 - 7 days etc.)
DropSvrCh = default 0
EventDropOnly = default 0
So our new line will looks like:
999 11 0 1497 1 0 1.0 1 200 0 0 0 0 0 0 # UCH - Minisha
Place it at down of the file Save & Exit - Restart server and should work :)
btw. Remember! Minisha have already set drop, if edit drop of mob's i suggest to remove old one.
To remove old one just simply find in WorldDrop.scp "1497" Terrain_mob ID and remove all lines with it.

If u want add one more drop to minisha u do it exactly the same way! add one more line:
999 11 0 1497 1 0 0.5 1 200 0 0 0 0 0 0 # UCH - Minisha

1000 11 0 1497 2 0 0.5 1 200 0 0 0 0 0 0 # FCH - Minisha
Remember about edit DropRate! Equal to = 1. so if we have 2 drop then 0.5 on each line.

Dens666
Ragezone
Read more ...

Fix Event System Cabal Online

[Guide] EVENT System Works
Hi Ragezone i repair Event System its works
bug is cabal_sp_ems_get_events
solved:
USE [EventData]
GO

/****** Object: StoredProcedure [dbo].[cabal_sp_ems_get_events] Script Date: 03/03/2013 13:55:28 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[cabal_sp_ems_get_events]') AND type in (N'P', N'PC'))
DROP PROCEDURE [dbo].[cabal_sp_ems_get_events]
GO

USE [EventData]
GO

/****** Object: StoredProcedure [dbo].[cabal_sp_ems_get_events] Script Date: 03/03/2013 13:55:29 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO


-- =============================================
-- Author: Hefajstos
-- Create date: 2013-01-08
-- Description:
-- =============================================
CREATE PROCEDURE [dbo].[cabal_sp_ems_get_events] 
AS
BEGIN

SET NOCOUNT ON

DECLARE @TimeZone INT
SET @TimeZone = DATEDIFF(hour, GETUTCDATE(), GETDATE())

SELECT
TOP 10
EventID, 
EventType,
UseFlag,
DATEADD(hour, -@TimeZone, BeginDate), 
DATEADD(hour, -@TimeZone, EndDate), 
DATEADD(hour, -@TimeZone, LastModifiedDate), 
worldIndex,
npcIndex,
Name
FROM
cabal_ems_event_table
WHERE
UseFlag= 1
ORDER BY EndDate DESC

END


GO
hefajstos
Ragezone
Read more ...

Items Options Cabal Online EP 8

EP8 items options, and EPIC options
Hi all. I will write all most important options for items.

This topic will contain options for weapons, armours, epaulettes, jevelery (ring, amulet, bracelet, erring), bikes, and their OP OPTIONS! (read until down ;) )

Because some people asked me to write this, I will try find some time and write it as fast as I can. Because of my lack of time, this topic will be in few part, updated when I will be able to write. Every new thing I add will be in this color. I will write later topic about items id (weapons, armours and so on, but it will be about thuesday) So let;s start:

Weapons

4slot amp + craft amp is not exacly 4slots amp, but sth diffrent, but most important that it has 38% amp

As item id, u write id of item u want. As option for each kind of options:

4slot m.amp + craft m.amp - 1075395065
4slot s.amp + craft s.amp - 1075329272
4slot skill exp + craft skill exp - 1075263479
4slot 2slot item drop + craft 2slot item drop - 1075197686
4slot critical rate + craft critical rate - 1075131893
4slot critical dmg + craft critical dmg - 1075066100
4slot att rate + craft att rate - 1075000307
4slot m.att + craft m.att - 1074934514
4slot att + craft att - 1074868721
4slot empty - 1074802928

This options are good for weapons untill mithril.

For any weapon (also lycanus ) , I found this OP options :)

49% m.amp - 806959417
49% s.amp - 806893624

63% m.amp - 809056569
63% s.amp - 808990776

70% m.amp - 1228486969
70% s.amp - 1211643960

36 skill exp - 808924983
40 skill exp - 1194800951
1350% 2slot item drop - 808859190
1500% 2slot item drop - 1177957942
30% critical rate - 808793397
35% critical rate - 1161114933
60% critical dmg - 808727604
70% critical dmg - 1144271924
450 att rate - 808661811
500 att rate - 1127428915
18 m.att - 808596018
20 m.att - 1110585906
18 att - 808530225
20 att - 1093742897

This options works even on drei Frame sets. If someone could for example post, how to edit stats on sets, could make nice OP item :) This options works only at weapon and armours, for jevelery are other options which I'm looking for (right now found for bikes 36% amp and resist critical dmg) But pls be patient, I will update this topic as soon as I can (unfortunately I will be off at weekend because of studies)

Amulets

20 skill exp - 1177957942
MP auto heal +14 - 1161114933
Hp auto heal +14 - 1144271924
Flee rate +10% - 1127428915
Max crit rate +10% - 1110585906
20 defense - 1093742897

Rings

100 hp - 1211643960
10 skill exp - 1177957942
Add damage +50 - 1161114933
Min dmg 10% - 1144271924
Att rate +200 - 1127428915
20 m.att - 1110585906
20 att - 1093742897

Bracelets

10 skill exp - 808924983
Mp steal 10% - 1177957942
Hp steal 10% - 1161114933
18% m.amp - 1144271924
18% s.amp - 1127428915
Max mp steal +50 - 1110585906
Max hp steal +50 - 1093742897

Earrings
HP +100 - 1093742897
Defense +20 - 1110585906
Def rate +10 - 1127428915
Max hp steal +50 - 1144271924
Max mp steal +50 - 1161114933
10% flee rate - 1177957942
Skill exp +10 - 1194800951

Belts

HP +100 - 1093742897
Att +20 - 1110585906
M.att +20 - 1127428915
Defense +20 - 1144271924
Att rate +200 - 1161114933
Def rate +100 - 1177957942
Hp steal +10% - 1194800951
Skill exp +20 - 1211643960

Bikes

HP +1500 - 1093742897
Att +200 - 1110585906
M.att +200 - 1127428915
Critical dmg +80% - 1144271924
Critical rate +40% - 1161114933
Max critical rate +20% - 1177957942
S.amp + 40% - 1194800951
M.amp +40% - 1211643960
Resist critical dmg +40% - 1228486969

Epaulettes

HP +100 - 1093742897
Att +20 - 1110585906
M.att +20 -1127428915
Defense +20 - 1144271924
Att rate +200 - 1161114933
Def rate +200 - 1177957942
S.amp +18% - 1194800951
M.amp +18% - 1211643960
Flee rate +10% - 1228486969

jozefpawelec
Ragezone
Read more ...

Formula Cards ID Cabal Online EP 8

Formula Cards
ID is constant. Id:626 . We change options( in ItemOpt ) for diffrent formula cards. Numbers which arent written, are empty formula cards.

1 - Hp potion lv2
2 - Hp potion lv3
3 - Mp potion lv2
4 - Mp potion lv3
5 - Epaulet of proof
6 - Concentration potion lv1
7 - Reflex potion lv1
8 - Vital potion lv1
9 - Sharpness potion lv1
10 - Mana condense potion lv1
11 - Hp potion lv2
12 - Hp potion lv3
13 - Mp potion lv2
14 - Mp potion lv3
15 - Epaulet of proof +1
16 - Vital regen potion lv1
18 - Hardness potion lv1
19 - Strike potion lv1
22 - Return stone
23 - Hp potion lv2
24 - Hp potion lv3
25 - Mp potion lv2
26 - Mp potion lv3
30 - Epaulet of proof +2
32 - Fury potion lv1
33 - Concentration potion lv2
34 - Reflex potion lv2
35 - Vital potion lv2
36 - Sharpness potion lv2
37 - Mana condense potion lv2
38 - Hp potion lv2
39 - Hp potion lv3
40 - Return stone
41 - Mp potion lv2
42 - Mp potion lv3
50 - Epaulet of proof +3
51 - Upgrade core crystal
52 - Force core crystal
53 - Extract potion STR
54 - Extract potion DEX
55 - Extract potion INT
56 - C.A. Unit – Regard for H.Age
57 - Hp potion lv3
58 - Mp potion lv3
59 - Return stone
60 - Goodluck potion lv1
63 - Vital regen potion lv2
65 - Hardness potion lv2
66 - Strike potion lv2
75 - Epaulet of proof +4
76 - Upgrade core low
77 - Plasma circuit
78 - Extender circuit
79 - Glory potion lv1
80 - Astral core forcium
81 - Goodluck potion lv2
82 - Hp potion lv3
83 - Mp potion lv3
84 - Fury potion lv2
85 - Concentration potion lv3
86 - Reflex potion lv3
87 - Vital potion lv3
88 - Sharpness potion lv3
89 - Mana condense potion lv3
90 - Slot extender high
91 - Plasma plug
92 - Return stone
93 - Force core low
95 - Epaulet of proof +5
96 - Upgrade core medium
97 - Slot extender low
98 - Sword master potion lv3
99 - Magic master potion lv3
100 - Astral core blue forcium
101 - Glory potion lv2
102 - Hp potion lv3
103 - Evasion potion lv3
104 - Vital regen potion lv3
105 - Hardness potion lv3
106 - Hardness potion lv3
107 - Strike potion lv3
108 - Return stone
109 - Force core medum
110 - Epaulet of proof +6
111 - Force core high
112 - Upgrade core high
113 - Astral bike card – rw3 1slot
114 - Slot extender medium
115 - Fury potion lv3
116 - Glory potion lv3
117 - Astral bike card – blue 1slot
118 - Astral bike card – blue 2slot
119 - Astral bike card – rw3 2slot
120 - Epaulet of proof +7
121 - Perfect core high
122 - Perfect coating kit
123 - Slot extender high

formula cards (event) - blue
id option
560 3934 HP
560 3933 All Skill Amp
560 3932 Critical Rate
560 3931 Critical DMG
560 3930 All Attack
560 3929 Resist Skill Critical Rate
560 3928 Resist Skill Critical DMG
560 3927 Resist Skill Amp

formula cards (event) - RW3
id option
560 3926 HP
560 3925 All Skill Amp
560 3924 Critical Rate
560 3923 Critical DMG
560 3922 All Attack
560 3921 Resist Skill Critical Rate
560 3920 Resist Skill Critical DMG
560 3919 Resist Skill Amp

Read more ...

Dungeon Entry Items Cabal Online EP 8

Hi all. I dont know if that is somewhere written, if so I'm sorry for duplication, but I hope it can help a bit people.

so lets go:

I will post all entry dungeons items, so read untill bottom ;) For every dungeon item u have to write diffrent ID and ItemOpt:

Chaos Arena

Key of Chaos Lv. 1 ID: 2323 ; OPTION: 1400
Key of Chaos Lv. 2 ID: 2324 ; OPTION: 1401
Key of Chaos Lv. 3 ID: 2325 ; OPTION: 1402
Key of Chaos Lv. 4 ID: 2326 ; OPTION: 1403
Key of Chaos Lv. 5 ID: 2327 ; OPTION: 1404
Key of Chaos Lv. 6 ID: 2328 ; OPTION: 1405

Ruina Station

Copy of Muster Card ID: 2149 ; OPTION: 1364
Muster card : Ruina Station ID: 496 ; OPTION: 1231

Lake in Dusk

Copy of Map Part ID: 2148 ; OPTION: 1363
Map Part ID: 578 ; OPTION: 1108

Forgotten Temple

Muster card : FT B1F ID: 1185 ; OPTION: 1313
Muster card : FT B2F ID: 1467 ; OPTION: 1322

Tower of Dead

Copy of Epaulet of undead ID: 2150 ; OPTION: 1365
Epaulet of the Dead ID: 601 ; OPTION: 1215
Epaulet of the Dead (B2F) Part1 ID: 945 ; OPTION: 1288

Volcanic Citadel

Seal of the darkness ID: 663 ; OPTION: 1292

Forbidden Island

Lost Island Compass ID: 1538 ; OPTION: 1346

Illusion Castle

Apocalypse of Other Dimension ID: 2255 ; OPTION: 1373
Copy of the Illusive Apocalypse ID: 2202 ; OPTION: 1368

Altar of Siena

Siena's Crest B1F ID: 1660 ; OPTION: 1347
Siena's Crest B2F ID: 1787 ; OPTION: 1357

Maquinas Outpost

Hacked Code Disc ID: 2850 ; OPTION: 1428

Panic Cave

Explorer;s Journal ID: 1733 ; OPTION: 1356
Explorer;s Special Journal ID: 2367 ; OPTION: 1419

Steamer Crazy

Ruined Train Card ID: 2181 ; OPTION: 1366
Another Ruined Train Card ID: 2368 ; OPTION: 1420

Catacomb Frost

Frozen Clue ID: 2254 ; OPTION: 1372
New Frozen Clue ID: 2369 ; OPTION: 1421

Lava Hellfire

Ever-Heated Lava Stone ID: 2565 ; OPTION: 1422
Ever-Heated Hot Lava Stone ID: 2566 ; OPTION: 1423

Hazardous Valley

Nearly-Hatching egg ID: 2567 ; OPTION: 1424

jozefpawelec
Ragezone
Read more ...

Add GM Buffs Cabal Online

GM Buffs - Test and Work.
First Feet..
Get the current skill your character. Which you get it running this query.
USE [Server01]GO
DECLARE    @return_value int

EXEC    
@return_value = [dbo].[cabal_tool_GetSkill]
        @
CharacterIdx YourCharacterIdx

SELECT    
'Return Value' = @return_value

GO  
 My pj Skill.
0x020001000064000120004D010146005E010148005F010149009A01014B00FC00012100D001014E00D101014F00D201015000D301015100A501016600A601016700DA01016800FA01016900FB01016A00FC01016B00
Paste this Code at the end of ur skill data.
CC01012300CD01012400CE01012500CF01012600
Second Feet..
Now Copy all data and paste an the next query.
0x020001000064000120004D010146005E010148005F010149009A01014B00FC00012100D001014E00D101014F00D201015000D301015100A501016600A601016700DA01016800FA01016900FB01016A00FC01016B00CC01012300CD01012400CE01012500CF01012600
Executes this Query
USE [Server01]GO
DECLARE    @return_value int

EXEC    
@return_value = [dbo].[cabal_tool_SetSkill]
        @
CharacterIdx YourCharacterIdx,
        @
Data YourSkillData

SELECT    
'Return Value' = @return_value

GO  

Ready now your character has GM buffs.
InGame.

poshobelloxd
Ragezone
Read more ...

Cabal Online EP 8

Server Files all
Download

My Modified Files
Download

Oracle VirtualBox
Download

CentOS 5.8 DVD Full
Torrent

MSSQL 2008 R2 32/64bit both
Download Page

Client (TGCABAL Ep8)
Mirror Bayfilesr
Mirror Depositfiles

1.)MSSQL Installation:

This need 40GB free space around, until anyone dont creating clean db's!

-Download MSSQL 2008 R2
-Follow this guide!
Install and Configure SQL Server 2008 Express | Symantec Connect Community
!!! Install in Default Instance (not Named!!!!) and Mixed authenctication! (this will be a sa's password)
-Create a backup devices (database you find in full files /backupDB/ directory)
-Add Linked Server:












-If you are finished need to seen as:




2.)CentOS Installation
-Download VirtualBox and CentOS DVD
-Set your VM as you know! (Minimum 2 core, and 2GB of memory), if you have router set your Network to Bridged Network.





-Install CentOS (maybe can help this video: How to install CentOS 5 [www.techedze.com] - YouTube)
-copy the rpm folder (this you found in full server files) into /home then
Code:
yum install unixODBC openssl097a net-snmp-utils net-snmp-libs net-snmp lm_sensors gcc freetds dstat compat-libstdc++-33 compat-libstdc++-296

rpm -Uvh /home/rpm/cabal-server-ph-1.0-1.i386.rpm
-Use WinSCP for copying files to CentOS and copy from full server etc, home, usr directory (Do not modify anything!)
-Run this script in Terminal:
Code:
#!/bin/sh
chmod 0777 /etc/odbc.ini
chmod -R 0777 /etc/cabal

rm -f /usr/bin/GlobalDBAgent
rm -f /usr/bin/CashDBAgent
rm -f /usr/bin/PCBangDBAgent
rm -f /usr/bin/EventDBAgent
rm -f /usr/bin/DBAgent_*
rm -f /usr/bin/ChatNode_*
rm -f /usr/bin/WorldSvr_*
rm -f /usr/bin/AgentShop_*
rm -f /usr/bin/LoginSvr_*
rm -f /usr/bin/PartySvr_*

ln -sf /usr/bin/DBAgent /usr/bin/CashDBAgent
ln -sf /usr/bin/DBAgent /usr/bin/DBAgent_01
ln -sf /usr/bin/DBAgent /usr/bin/GlobalDBAgent
ln -sf /usr/bin/DBAgent /usr/bin/PCBangDBAgent
ln -sf /usr/bin/DBAgent /usr/bin/EventDBAgent
ln -sf /usr/bin/ChatNode /usr/bin/ChatNode_01
ln -sf /usr/bin/AgentShop /usr/bin/AgentShop_01
ln -sf /usr/bin/LoginSvr /usr/bin/LoginSvr_01
ln -sf /usr/bin/PartySvr /usr/bin/PartySvr_01
ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_01
ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_02
ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_03
ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_04
ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_05
ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_06
ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_08

chmod 0777 /usr/bin/AuthDBAgent
chmod 0777 /usr/bin/RockAndRollITS
chmod 0777 /usr/bin/DBAgent*
chmod 0777 /usr/bin/GlobalDBAgent
chmod 0777 /usr/bin/GlobalMgrSvr
chmod 0777 /usr/bin/ChatNode*
chmod 0777 /usr/bin/CashDBAgent
chmod 0777 /usr/bin/PCBangDBAgent
chmod 0777 /usr/bin/EventDBAgent
chmod 0777 /usr/bin/EventMgrSvr
chmod 0777 /usr/bin/AgentShop*
chmod 0777 /usr/bin/LoginSvr*
chmod 0777 /usr/bin/PartySvr*
chmod 0777 /usr/bin/WorldSvr*

rm -f /etc/init.d/AuthDBAgent
rm -f /etc/init.d/RockAndRollITS
rm -f /etc/init.d/DBAgent*
rm -f /etc/init.d/GlobalDBAgent
rm -f /etc/init.d/GlobalMgrSvr
rm -f /etc/init.d/ChatNode*
rm -f /etc/init.d/CashDBAgent
rm -f /etc/init.d/PCBangDBAgent
rm -f /etc/init.d/EventDBAgent
rm -f /etc/init.d/EventMgrSvr
rm -f /etc/init.d/AgentShop*
rm -f /etc/init.d/LoginSvr*
rm -f /etc/init.d/PartySvr*
rm -f /etc/init.d/WorldSvr*

ln -sf /etc/init.d/cabal_server /etc/init.d/AuthDBAgent
ln -sf /etc/init.d/cabal_server /etc/init.d/RockAndRollITS
ln -sf /etc/init.d/cabal_server /etc/init.d/DBAgent_01
ln -sf /etc/init.d/cabal_server /etc/init.d/GlobalDBAgent
ln -sf /etc/init.d/cabal_server /etc/init.d/GlobalMgrSvr
ln -sf /etc/init.d/cabal_server /etc/init.d/ChatNode_01
ln -sf /etc/init.d/cabal_server /etc/init.d/CashDBAgent
ln -sf /etc/init.d/cabal_server /etc/init.d/PCBangDBAgent
ln -sf /etc/init.d/cabal_server /etc/init.d/EventDBAgent
ln -sf /etc/init.d/cabal_server /etc/init.d/EventMgrSvr
ln -sf /etc/init.d/cabal_server /etc/init.d/AgentShop_01
ln -sf /etc/init.d/cabal_server /etc/init.d/LoginSvr_01
ln -sf /etc/init.d/cabal_server /etc/init.d/PartySvr_01
ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_01
ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_02
ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_03
ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_04
ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_05
ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_06
ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_08

chmod 0777 /etc/init.d/AuthDBAgent
chmod 0777 /etc/init.d/RockAndRollITS
chmod 0777 /etc/init.d/DBAgent*
chmod 0777 /etc/init.d/GlobalDBAgent
chmod 0777 /etc/init.d/GlobalMgrSvr
chmod 0777 /etc/init.d/ChatNode*
chmod 0777 /etc/init.d/CashDBAgent
chmod 0777 /etc/init.d/PCBangDBAgent
chmod 0777 /etc/init.d/EventDBAgent
chmod 0777 /etc/init.d/EventMgrSvr
chmod 0777 /etc/init.d/AgentShop*
chmod 0777 /etc/init.d/LoginSvr*
chmod 0777 /etc/init.d/PartySvr*
chmod 0777 /etc/init.d/WorldSvr*
-extract my mofidied files into somewhere your windows and edit:
--etc/odbc.ini
MSSQLIP = Your MSSQL Server IP adress (3x each WorldSvr!!! If u forgot some, than you can't connect into channel!)
--etc/cabal/
---AuthDBAgent.ini, CashDBAgent.ini, DBAgent_01.ini, EventDBAgent.ini, GlobalDBAgent.ini, PCBangDBAgent.ini
MSSQLUSER = Your MSSQL user name, (default: sa)
MSSQLPW = Your MSSQL password
--WorldSvr_01_0x.ini x=1,2,3...
CENTOSIP = Your CentOS Ip

-Now copy these files into centos
-Type into console:
Code:
service cabal stop
wait until all finished and again:
Code:
service cabal stop
and if finished than write:
Code:
service cabal start
ENJOY!

3.)Client
-Download any TGCabalep8 link
-Create a file internal.txt
Code:
[MD5CHECK]
LANGUAGE_SKIP = 1
ALL_FILE_CHECK = 0

[server]
IP=CENTOSIP
PORT=38101
IP_CHAT=CENTOSIP
IP_PORT=38121
CMK=0
(check your centos firewall the ports are opened)
-start cabalmain.exe with breaklee

==SQL CLEANUP FROM x30unlimited post
Code:
here's some db cleanup scripts, credits to eRRoR and me for addin a few extra lines :P

CREATE PROCEDURE [dbo].[clean_account]
AS
BEGIN
TRUNCATE TABLE cabal_additional_dungeon_instance_table
TRUNCATE TABLE cabal_AlzEarnLock_table
TRUNCATE TABLE cabal_auth_table
TRUNCATE TABLE cabal_autoblock_log
TRUNCATE TABLE cabal_blockip_list
TRUNCATE TABLE cabal_blockuser_table
TRUNCATE TABLE cabal_bot_report_table
TRUNCATE TABLE cabal_character_count_table
TRUNCATE TABLE cabal_charge_auth
TRUNCATE TABLE cabal_freeip_list
TRUNCATE TABLE cabal_GM_ip_table
TRUNCATE TABLE cabal_hackuser_list
TRUNCATE TABLE cabal_otp_table
TRUNCATE TABLE cabal_permission_shop
TRUNCATE TABLE cabal_sub_password_table
TRUNCATE TABLE cabalapp_android_push_category
TRUNCATE TABLE cabalapp_android_push_message
TRUNCATE TABLE cabalapp_android_registration_id
TRUNCATE TABLE cabalapp_iphone_device_token
TRUNCATE TABLE cabalapp_iphone_lastlogin
TRUNCATE TABLE cabalapp_iphone_push_category
TRUNCATE TABLE cabalapp_iphone_push_message
TRUNCATE TABLE facebook_authcode
TRUNCATE TABLE facebook_event
TRUNCATE TABLE facebook_event_category
TRUNCATE TABLE facebook_event_log
TRUNCATE TABLE facebook_event_log_image
TRUNCATE TABLE facebook_userevent
TRUNCATE TABLE facebook_usermapping
TRUNCATE TABLE ipchecking
TRUNCATE TABLE Web_Log
TRUNCATE TABLE Web_Vote
TRUNCATE TABLE Web_Wall
END

CREATE PROCEDURE [dbo].[clean_cabalcash]
AS
BEGIN
TRUNCATE TABLE CashAccount
TRUNCATE TABLE CashChargeErrorLog
TRUNCATE TABLE CashLog
TRUNCATE TABLE CashLogType
TRUNCATE TABLE CashPremiumLog
TRUNCATE TABLE epoint_buy
TRUNCATE TABLE epoint_charge
TRUNCATE TABLE epoint_charge_transfer
TRUNCATE TABLE GiftCashLog
TRUNCATE TABLE MyCashItem
TRUNCATE TABLE npc_deleteCashLog
TRUNCATE TABLE PAYPAL_LOG
TRUNCATE TABLE VoucherDetails
TRUNCATE TABLE VoucherItemMaster
TRUNCATE TABLE VoucherMaster
END

CREATE PROCEDURE [dbo].[clean_cabalguild]
AS
BEGIN
TRUNCATE TABLE Guildboard
TRUNCATE TABLE GuildBoardComment
TRUNCATE TABLE GuildDetail
TRUNCATE TABLE GuildGuestBoard
TRUNCATE TABLE GuildInfo
TRUNCATE TABLE GuildMaster_Change_Log
TRUNCATE TABLE tempguild
END

CREATE PROCEDURE [dbo].[clean_netcafebilling]
AS
BEGIN
TRUNCATE TABLE Point
END

CREATE PROCEDURE [dbo].[clean_gamedb]
AS
BEGIN
TRUNCATE TABLE cabal_achievement_history
TRUNCATE TABLE cabal_achievement_open
TRUNCATE TABLE cabal_achievement_title
TRUNCATE TABLE cabal_achievement_title_shared
TRUNCATE TABLE cabal_agentshop_bookmark
TRUNCATE TABLE cabal_agentshop_done_table
TRUNCATE TABLE cabal_agentshop_pet_table
TRUNCATE TABLE cabal_agentshop_price_average
TRUNCATE TABLE cabal_agentshop_price_daily
TRUNCATE TABLE cabal_agentshop_sale_table
TRUNCATE TABLE cabal_alzSupply_table
TRUNCATE TABLE cabal_Assistant_table
TRUNCATE TABLE cabal_badwoard
TRUNCATE TABLE cabal_bbead_table
TRUNCATE TABLE cabal_character_table
TRUNCATE TABLE cabal_craft_table
TRUNCATE TABLE cabal_DungeonPoint_table
TRUNCATE TABLE cabal_DungeonRanking_Data_table
TRUNCATE TABLE cabal_DungeonRankingParty_table
TRUNCATE TABLE cabal_DungeonRankingSingle_table
TRUNCATE TABLE cabal_ems_userstate_table
TRUNCATE TABLE cabal_equipment_lock_table
TRUNCATE TABLE cabal_equipment_table
TRUNCATE TABLE cabal_event_partydg
TRUNCATE TABLE cabal_event_singledg
TRUNCATE TABLE cabal_event_special_character_data
TRUNCATE TABLE cabal_event_special_character_data_for_client
TRUNCATE TABLE cabal_Forcecalibur_Owner
TRUNCATE TABLE cabal_guildEnterLog_table
TRUNCATE TABLE cabal_GuildLord_WinnerRecord
TRUNCATE TABLE cabal_guildMaxCcu_table
TRUNCATE TABLE cabal_help_table
TRUNCATE TABLE cabal_instantWar_nationRewardWarResults
TRUNCATE TABLE Cabal_InstantWar_Penalty_table
TRUNCATE TABLE cabal_instantWar_results
TRUNCATE TABLE cabal_instantWar_statistics
TRUNCATE TABLE cabal_Inventory_table
TRUNCATE TABLE cabal_item_extend_table
TRUNCATE TABLE cabal_last_login_character
UPDATE cabal_itemserial_table SET SerialBgn = 0
TRUNCATE TABLE cabal_LordOfWar_point_table
TRUNCATE TABLE cabal_LordOfWar_Rank_table
TRUNCATE TABLE cabal_LordOfWar_table
TRUNCATE TABLE cabal_mail_notice_forward_table
DELETE FROM cabal_mail_notice_table
TRUNCATE TABLE cabal_mail_received_table
TRUNCATE TABLE cabal_mail_report_table
TRUNCATE TABLE cabal_mail_sent_pet_table
DELETE FROM cabal_mail_sent_table
DELETE FROM cabal_pet_table
TRUNCATE TABLE cabal_qddata_table
TRUNCATE TABLE cabal_questdata_table
TRUNCATE TABLE cabal_quickslot_table
TRUNCATE TABLE cabal_record_combo
TRUNCATE TABLE cabal_saved_buff_table
TRUNCATE TABLE cabal_skilllist_table
TRUNCATE TABLE cabal_sold_item_table
TRUNCATE TABLE cabal_soul_ability_table
TRUNCATE TABLE cabal_title_guild
TRUNCATE TABLE Cabal_Title_PlayHistory
TRUNCATE TABLE Cabal_Title_Show_Table
TRUNCATE TABLE Cabal_Title_Table
TRUNCATE TABLE cabal_title_viaserver_table
TRUNCATE TABLE cabal_tool_agentshop_auto_item_table
TRUNCATE TABLE cabal_tool_agentshop_auto_table
TRUNCATE TABLE cabal_tool_agentshop_log_table
TRUNCATE TABLE cabal_tool_agentshop_schedule_log_table
TRUNCATE TABLE cabal_tool_agentshop_search_item_table
TRUNCATE TABLE cabal_warehouse_ext_table
TRUNCATE TABLE cabal_warehouse_ext2_table
TRUNCATE TABLE cabal_warehouse_table
TRUNCATE TABLE cabal_WarExp_Table
TRUNCATE TABLE cabalapp_log_table
TRUNCATE TABLE chat_buddy_pr_message
TRUNCATE TABLE chat_buddy_table
TRUNCATE TABLE chat_buddygroup_table
TRUNCATE TABLE ChatBlacklist
TRUNCATE TABLE chg_mrank
TRUNCATE TABLE chg_srank
TRUNCATE TABLE deleted_cabal_achievement_title
TRUNCATE TABLE deleted_cabal_character_table
TRUNCATE TABLE deleted_cabal_inventory_table
TRUNCATE TABLE deleted_cabal_item_extend_table
TRUNCATE TABLE deleted_Cabal_Title_PlayHistory
TRUNCATE TABLE EVENT_LEVELUP_NEWCHAR_TABLE
TRUNCATE TABLE Guild
TRUNCATE TABLE guild_backup
TRUNCATE TABLE guild_level_limit
TRUNCATE TABLE guild_warehouse_log
TRUNCATE TABLE guild_warehouse_table
TRUNCATE TABLE GuildGroup
TRUNCATE TABLE GuildMember
TRUNCATE TABLE levelUpStepTable
TRUNCATE TABLE LevUpEventWinTable
TRUNCATE TABLE log_nation
TRUNCATE TABLE Mail
END
If you get something error with sql but server run than you can login.
if your cabalmaiin.exe erroring with item.enc than download this and extract into client/Data folder it will help.

!!! IgnoreClientVersion=1 in LoginSvr_01.ini provide that you can connect with any client. Later should modify the final client version and Magic Key !!!

UPDATE 2013.01.25:
-How check my centos can connect to mssql server?
-Run followings:
Code:
yum install nmap
after install use it! (MSSQLIP mean your mssql ip adress)
Code:
nmap -p T:1433 MSSQLIP
If you get result open than it's okay! Any other (closed/filtered) will be bad. Make your firewall sure!

-How to summon Vkalitan in LS4?
-Get a GM nation and write ingame:
Code:
/_summon 1 1799
Number of Drops = ForceCalibur drops number!

-Some instruction for cabal_character_table:
Code:
-CharacterIdx = Your Character Database ID! (need for lot of stored procedure!)
-Name = Character Name
-LEV = Character Level
-EXP = Current Experience points
-STR, DEX, INT = Your character base stats, you can modify free, but be aware if your stats too high may attack rate gone to 1 and you hit much miss
PNT = Free stat points
Rank = Your skill rank!
Alz = Your alz amount, never modify in this table because you will crash when you try log in to server.
WorldIdx, Position = That place where you logged out!
Style = You character styles and class ranks!
HP, MP = Encoded datas. This too should not modify! Same as with Alz editing.
SwdPNT, MagPNT = Your sword/magic skill points
WarpBField, MapBField = Ingame M (Map) maps and warps. Set to 2047 to get until porta inferno!
SP = Your current SP amount. Coded data... do not modify
PenalityExp = Your death penality exp amount
LogoutTime = When you logged out
RP = idk
Reputation = Honor Points amount (max. 2 000 000 000)
LoginTime = When you logged in
Playtime = Your ingame spent time in minute!
PKPenality = Is set your PK level! (i dont tested it yet)
Nation = Neutal, Procyon, Capella, GM (for GM need to add ip in DB too)
CreateDate = When you created the character
Login = Are you now logged in or no! (It will be bugged if server down! This cause your double login messeage)

GOOD LUCK FOR EVERYONE!

Credits:
Justin Bieber ^^ - For full server files
x30unlimited - For lots of tutorials
AkiSora - For just because :P
TmX - For Vkalitan GM command and using /_summon
PLACEHOLDER

DeXtR
Ragezone
Read more ...