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!

How to properly start a Cabal client

The Dinosaur
Loyal Member
Joined
Jun 29, 2008
Messages
5,028
Reaction score
999
This isn't really that obvious to people new to cabal and it needs a guide really.

Once you have installed your client (check the stickies in the release section) and applied one of the login patches (also on the stickies) you need to give cabalmain.exe an extra command or it won't even try connecting to your server.

First make sure your computer is not hiding things from you.
  • Go to your cabal client folder
  • Click Tools->Folder options
  • Switch to the View tab
  • Untick "Hide extensions for known filetypes"

Now create a new textfile by clicking File->New->Text document in the cabal folder and call it "play-cabal.bat". You will get a warning when you do this just say Yes to it. Now right-click the file and select edit so you can paste the following into it:

Code:
cabalmain.exe breaklee

Save the file. Always use this .bat file to launch the cabal client as it is this "breaklee" command that tells it to read internal.txt and connect to the IP it finds in there, yours.

The internal.txt file is just a plain textfile in the data folder of your cabal client that should have the following in it.
Code:
IP=gameserver IP
PORT=38101
CHAT_IP=gameserver IP
CHAT_PORT=38121
 
Experienced Elementalist
Joined
Oct 26, 2007
Messages
296
Reaction score
0
its an "cabal.bat" files not and exe
 
Newbie Spellweaver
Joined
Sep 29, 2007
Messages
9
Reaction score
0
hmm why mine still unable to connect to the server?
i've downloaded GPCabal client and use the RZpatch as what chumpy said in the other guide..
i have internal.txt and i use play-cabal.bat but it just producing a crystal report and the cabal is not opening..anyone can help me?
 
The Dinosaur
Loyal Member
Joined
Jun 29, 2008
Messages
5,028
Reaction score
999
i use play-cabal.bat but it just producing a crystal report and the cabal is not opening

All the batch file does is call cabalmain.exe in the same folder using the "breaklee" switch. There is no way it can be producing crystal reports as that is an entirely different application and doesn't exist in the cabal folder. Make sure play-cabal.bat is in the cabal folder.
 
Newbie Spellweaver
Joined
Sep 29, 2007
Messages
9
Reaction score
0
yes i'm sure i've put the play-cabal.bat in cabal folder
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Jul 5, 2006
Messages
7
Reaction score
0
chump i just confuse on what to put on the internal.txt ip
is it the centos ip, wan ip or my windows ip?
 
Newbie Spellweaver
Joined
Aug 17, 2007
Messages
5
Reaction score
0
After I completed mssql, cp and centos. I registered thru CP and try to play using recommended GP-Client patched with RZPatch but it just waiting at Cabal login screen. No sign of pop up message reporting any error.
 
The Dinosaur
Loyal Member
Joined
Jun 29, 2008
Messages
5,028
Reaction score
999
After I completed mssql, cp and centos. I registered thru CP and try to play using recommended GP-Client patched with RZPatch but it just waiting at Cabal login screen. No sign of pop up message reporting any error.

Check the sticky about what to do with connection problems. It is impossible to help you based on "its not working", much info is needed.

does anybody here have a full gp client link.... Not in split zip files in one whole file download...

Not here because of the size. Anyone posting it would see all their bandwidth lost in about 3 days. Go to og planet and download from one of their official mirros, update and then apply SAUR0N's patch and add an internal.txt (GP is a US client).
 
H

hellfireisascam

Guest
breaklee is 4.7mb file format right ? and use start cabal.bat or .exe ?
Use batch (.bat) format, or instead of breaklee, use -breaklee when right-clicking your Cabal client's shortcut, then type -breaklee after the line in the 'Target:' field. ;)
 
Divine Celestial
Loyal Member
Joined
Aug 24, 2007
Messages
890
Reaction score
5
Use batch (.bat) format, or instead of breaklee, use -breaklee when right-clicking your Cabal client's shortcut, then type -breaklee after the line in the 'Target:' field. ;)
just make your own launcher. and main and finish xD
 
Newbie Spellweaver
Joined
Aug 2, 2008
Messages
12
Reaction score
0
I tried almost everything I could find using search within a week to solve my issues before posting so I'm not a complete noob.

I tried GP-cabal Patch, Snaity's PatchUS, and RZPatch and I cannot connect to the cabal server. I disabled all firewall and am good at networking computer. I don't see launcher or login screen. I have read lots of forum threads and tried on two different computers.

I followed Chumpy, dordort, Mahi, and Cypher's guides. I also downloaded multiple Cabal Client version. I even tried ignoreclientversion=1

here are my logs, please help me.

Start-cabal.bat
Internal.txt

IP=192.168.1.200
PORT=38101
CHAT_IP=192.168.1.200
CHAT_PORT=38121

tail -f log/LoginSvr_01.log
[Sat Feb 14 2015 06:16:33.942954 3086030544]: ImageAuthDataMgr Init End(Count:0)
[Sat Feb 14 2015 06:16:33.945589 3086030544]: try connect 192.168.1.200:38170, Sync
[Sat Feb 14 2015 06:16:33.948941 3086027664]: CProcessLayer(0)::svc Start [3086027664]
[Sat Feb 14 2015 06:16:34.220804 3086030544]: sock 7 ->LinkHandler Open
[Sat Feb 14 2015 06:16:34.221054 3086030544]: SendIPSConnect2Svr (195:128:01:00)
[Sat Feb 14 2015 06:16:34.221236 3086030544]: try connect 192.168.1.200:38180, Sync
[Sat Feb 14 2015 06:16:34.222599 3086030544]: sock 9 ->LinkHandler Open
[Sat Feb 14 2015 06:16:34.222720 3086030544]: SendIPSConnect2Svr (195:128:01:00)
[Sat Feb 14 2015 06:16:34.222910 3086030544]: try listening 38101 port
[Sat Feb 14 2015 06:16:34.227087 3086027664]: ServerState changed(0 -> 0)
[Sat Feb 14 2015 07:25:39.882743 3086030544]: accept success 11(192.168.1.2:1392)
[Sat Feb 14 2015 07:25:39.886856 3086030544]: 1.open user 11 [88BD620] (192.168.1.2)
[Sat Feb 14 2015 07:26:36.527159 3086030544]: sock 11=> wrong checksum (A0D0A0D, 9FA87B4C)
[Sat Feb 14 2015 07:26:36.527491 3086030544]: sock 11=> Recv Packet error
[Sat Feb 14 2015 07:26:36.535136 3086030544]: 1.close user 11 [88BD620] (192.168.1.2)


tail -f log/DBAgent_24.log
[Sat Feb 14 2015 07:22:38.151371 3086535568]: [##ERROR##] DB ERROR(CODE) : 20009
[Sat Feb 14 2015 07:22:38.151482 3086535568]: [##ERROR##] DB ERROR(VAR_INFO) :
[Sat Feb 14 2015 07:22:38.151583 3086535568]: [##ERROR##] DB ERROR(SQLSTATE) : 08S01
[Sat Feb 14 2015 07:22:38.151681 3086535568]: [##ERROR##] DB ERROR(STM_TEXT) :
[Sat Feb 14 2015 07:22:38.151779 3086535568]: [##ERROR##] Database Connect Fail (uid=cabal;pwd=caba1;dsn=CabalGame24;APP=DBAgent_24)
[Sat Feb 14 2015 07:22:38.151881 3086535568]: [##ERROR##] check 'pDB' fail
[Sat Feb 14 2015 07:22:38.151978 3086535568]: [##ERROR##] 'OnIPCIWarGetLastNationRewardWarResults' fail (Database/InstantWar.cpp:140)
[Sat Feb 14 2015 07:22:38.152083 3086535568]: [##ERROR##] UsrMap Fail : MainCmd(600) Ret(8C:0:140) Addr(192.168.1.200)
[Sat Feb 14 2015 07:23:35.191610 3044576144]: Database Connect success!
[Sat Feb 14 2015 07:24:35.183777 3076045712]: Database Connect success!

tail -f log/WorldSvr_24_01.log
[Sat Feb 14 2015 06:49:22.134286 1122880]: try connect 192.168.1.200:38170, Sync
[Sat Feb 14 2015 06:49:22.147992 1122880]: sock 5 ->LinkHandler Open
[Sat Feb 14 2015 06:49:22.148169 1122880]: SendIPSConnect2Svr (161:24:01:00)
[Sat Feb 14 2015 06:49:22.158665 21474192]: ChannelType not changed. this(1), fromGMS(1)
[Sat Feb 14 2015 07:14:43.097649 1122880]: sock 5 ->LinkHandler close
[Sat Feb 14 2015 07:14:48.100030 1122880]: [##ERROR##] remoteAddr(192.168.1.200), connectRetryNum_(9,0), serverAddr(192.168.1.200:38170)
[Sat Feb 14 2015 07:14:48.100352 1122880]: try connect 192.168.1.200:38170, Sync
[Sat Feb 14 2015 07:14:48.116127 1122880]: sock 5 ->LinkHandler Open
[Sat Feb 14 2015 07:14:48.116326 1122880]: SendIPSConnect2Svr (161:24:01:00)
[Sat Feb 14 2015 07:14:48.158143 21474192]: ChannelType not changed. this(1), fromGMS(1)

tail log/GlobalDBAgent.log
[Tue Jan 13 2009 19:13:09.164057 3034139536]: CProcessLayer(0)::svc Start [3034139536]
[Tue Jan 13 2009 19:13:09.164294 3023649680]: CProcessLayer(0)::svc Start [3023649680]
[Tue Jan 13 2009 19:13:09.164503 3013159824]: CProcessLayer(0)::svc Start [3013159824]
[Tue Jan 13 2009 19:13:09.164712 3002669968]: CProcessLayer(0)::svc Start [3002669968]
[Tue Jan 13 2009 19:13:09.164982 3086592496]: try listening 38180 port
[Tue Jan 13 2009 19:13:09.166174 2992180112]: CProcessLayer(0)::svc Start [2992180112]
[Tue Jan 13 2009 19:13:10.857179 3086592496]: accept success 8(192.168.1.200:41630)
[Tue Jan 13 2009 19:13:10.860192 3086592496]: 1.open user 8 [9CB76F8] (192.168.1.200)
[Tue Jan 13 2009 19:13:11.854821 3086592496]: accept success 10(192.168.1.200:41634)
[Tue Jan 13 2009 19:13:11.855119 3086592496]: 2.open user 10 [9CC5E38] (192.168.1.200)
[root@cabalserver ~]#

tail log/GlobalMgrSvr.log
[Tue Jan 13 2009 19:13:28.885786 3086194400]: 3.open user 11 [9560330] (192.168.1.200)
[Tue Jan 13 2009 19:13:28.888106 3085724560]: new server session (128:01)
[Tue Jan 13 2009 19:13:32.306155 3085724560]: [##ERROR##] OnIPCNFYUserCnt0(): pUserDataCtx(bServerIdx:0, bGroupIdx:0), pIPSNFYUserCnt0(bServerIdx:24, bGroupIdx:1)
[Tue Jan 13 2009 19:13:32.306376 3085724560]: [##ERROR##] 'OnIPCNFYUserCnt0' fail (Proc/Global.cpp:21)
[Tue Jan 13 2009 19:13:32.306492 3085724560]: [##ERROR##] UsrMap Fail : MainCmd(52) Ret(15:0:21) Addr(192.168.1.200)
[Tue Jan 13 2009 19:13:33.030486 3086194400]: sock 12=> recv 82 bytes, close waiting
[Tue Jan 13 2009 19:13:33.031824 3086194400]: 3.close user 12 [95665B0] (192.168.1.200)
[Tue Jan 13 2009 19:13:38.045521 3086194400]: accept success 12(192.168.1.200:34257)
[Tue Jan 13 2009 19:13:38.046298 3086194400]: 3.open user 12 [95665B0] (192.168.1.200)
[Tue Jan 13 2009 19:13:38.046781 3085724560]: new server session (24:01)
[root@cabalserver ~]#

I cannot connect my GP client as well following your guide. I have read the other posts for connection issue too. Maybe, I don't understand what it means to patching the client. Isn't it just extracting the patched files(cabalmain.exe and Data folder) I download and copy them to the client folder. If so, I did this with the RZ patch and patchus. However, I have tried SAUR0N's patch since I cannot find where to download it.

please help.

nvm - I found my issues - Mixed up CENTOS IP ADDRESS AND MSSQL2005 SERVER IP ADDRESS in all the .ini files. MSSQL2005 Linked Server label was also mismatching with the /etc/odbc.ini file

thanks so much for sharing - BIG Credits to all contributors of development, guides, and tutorials for noobs like me.
 
Last edited by a moderator:
Newbie Spellweaver
Joined
Nov 29, 2008
Messages
9
Reaction score
0
i had install cabal and setting centos server..the server seem working properly but i cant start the cabal client..i already made bat files to run cabal launcher, when i click the bat file, Xtrap popup and i cant run the game..i dont have internet connection..plz help me to solve this client problem
 
The Dinosaur
Loyal Member
Joined
Jun 29, 2008
Messages
5,028
Reaction score
999
If xtrap is popping up then you are using an xtrap protected exe and not a login patch. Use one of the login patches posted here such as saur0n's or mine (mine are in /etc/cabal/docs/clientfiles on centos if you use my server files).
 
Newbie Spellweaver
Joined
Nov 29, 2008
Messages
9
Reaction score
0
thanks..now my problem to connect to the server..it failed..my internal.txt ip same as centos ip but failed to cnnect..the server working..what is the problem?
 
Newbie Spellweaver
Joined
Jan 10, 2009
Messages
28
Reaction score
0
same as my problem chumpy i try to connect but failed.. i enter the ID: and password in cabal log in but the message is can you have failed to connect the server "please try later" chumpy what can i do to fix this.. im almost done thanks to you.. in my internal txt. i enter my IP address i see my IP in local area connevtion status.
 
Newbie Spellweaver
Joined
Feb 1, 2009
Messages
23
Reaction score
0
you could write "breaklee" as the exe parameter ? am I right ??
 
Back
Top