Welcome to RaGEZONE - MMORPG Development Forums (sponsored by tfn.gr) Mark forums read | View Forum Leaders
RaGEZONE - MMORPG Development Forums (sponsored by tfn.gr)

Cabal Tutorials Discuss, [dead] My guides + databases + server files repack -V2! at Cabal Online forum; Quote: Originally Posted by christoper i can't connect on server in my log its [ request account id - mcahlyn08 ...




Closed Thread
Thread Tools
[dead] My guides + databases + server files repack -V2!
 
 
Certified PBKAC

Rank: Moderator


 
Join Date: Jun 2008
Location: 2 clouds to your right
Posts: 1,647
10-08-2008, 08:09 PM
 
Quote: Originally Posted by christoper View Post
i can't connect on server in my log its [ request account id - mcahlyn08 then account close :| i just follow ur guide ;) /home/cabal/cabal_config.sh
You must be able to ping the centos machine from windows or it won't connect. Find me on msn as it will be quicker than forum posts i think.

Quote: Originally Posted by Cath22 View Post
help me please here is the error why my world server is stopping
Ace assert errors are usually the result of editing server files on windows which converts them from unix format to dos format and the server does not like that. Re-extracting the server files, copying to centos and editing from centos only is one fix. Editing everything you changed on centos and resaving would do it or you could use the dos2unix command to convert the file formats back.

Quote: Originally Posted by gpadmin View Post
2chumpywumpy
Hello. Man wanna ask you. After phase 4 on TG end... TG just auto shutdown... its normal? I can run him only with service cabal start.. after that.

Thank you.
Yes this is normal as official TG servers don't loop the close after play. InstantWarShutDownTimeAttackMilliSec=1800000 in the TG worldsvr ini seems to be the timer for shutdown so try removing the line, not sure if that will work though. To make TG start at a certain time you have to use a cron job to start it, let it shut down and then start it again next hour/day or whatever. This is a bit fiddly and there are some potential problems if you do it wrong though. There will be an update posted shortly that has autostart TG working so be patient until it is released ;)

Quote: Originally Posted by christoper View Post
what client ur using ?

can some one give me link for GP client derict link ?
I don't know of any direct links. Even GP themselves mostly used shares last time i checked. I will have to make a mirror if i can find the original installer. At the moment my client is GP + the GP login patch n darkxl's sticky and SAUR0N's client synch on top (not sure if every file is overwritten or not). I am still tinkering with clients though :/

Quote: Originally Posted by jm3k3rul View Post
here is my problem...

[Only Registered and Activated Users Can See Links. Click Here To Register...]
Quote:
[##ERROR##] DB ERROR(MSG) : [unixODBC][Driver Manager]Can't open lib '/usr/lib/libtdsodbc.so.0' : /usr/lib/libtdsodbc.so.0: cannot open shared object file: No such file or directory
You didn't install freetds. Did you use my files as this would be done automatically?? Did you get errors when running /root/cabal_install.sh?

Quote: Originally Posted by xrobertox View Post
hello to everyone as a query is made to mount the web of programs that are comprehensive and terrorist attacks? if someone help me in this would be good thanks
... I am really not sure what you are asking for here but i am going to guess that you want a website that has lots of features and is secure against hacks (if not then i don't have a website capable of mounting terrorist attacks, but i can imagine one could be nice lol). There are not many cabal server websites yet and the only one i have seen that has a reasonable amount of features is john_d's cabaltoolz which is stickied in the releases section. All of the other websites such as my simple regpage, cabal rebirth and others are all really just account registration pages. Mine is pretty secure but i can't comment on others as i don't use them.

Quote: Originally Posted by Revmed View Post
so many repeated logs to read, same as in work quite tiring...... its nice that chumpywumpy has a full patience reading repeated logs,question etc everytime..... nice c",x)
Thanks :P I just like helping people make stuff work though really. I help you make stuff work, you help me fix bugs in my stuff. It's a simple arrangement ;)

Quote: Originally Posted by choon2257 View Post
can teach me step by step plz
That is what guides are for my friend. Start at the top of my first post and work downwards ;) When finding vmware server from vmware.com make sure you use vmware server 1.7 and not 2.0 as it is very different. Centos 4.7 can be found at centos.org (cd 1 and 2 only is needed) and mssql 2005 can be found at microsoft.com. All are free. If you get stuck on a part post a help topic or find me on msn (under contact info on my profile).

Quote: Originally Posted by devn142 View Post
Hey Chummy
I installed CentOS and did all the config as in ur pdf files....
Everything was fine even all the service run...

But I am unable to connect frm the Client Side.....

M uploading all the log files please have a look at it.. and say is the server configured well or something is missing....

I put 172.16.100.110 as my Centos Ip ------ on my PC 1
172.16.100.105 my My SQL (Windows ip) --- on my PC 1
and 172.16.29.129 ( my other windows ip where i was trying to connect through Game--- GP Client). --- on my PC 2

I also copied that internal.txt file and those 2 files.....in the Cabal Client game(GP Client)...

1 more thing I can ping all 3 ips from my both the PCs.. so i dont think there is any firewall issue..
GlobalMgrSvr and That looks very much like the old login bug that was fixed by adding the authenticated globalmgrsvr posted by youyou in the release section. Are you sure these are my server files?

Quote: Originally Posted by convitbeo View Post
Hi Chumpy

I'm new here but I've to say that you and your guide are rock !!. I could done alomost everything except this :

This came from the worldsvr_24.log

[Wed Oct 8 2008 21:58:56.284388 3086952128]: accept success 11(192.168.2.3:2974)
[Wed Oct 8 2008 21:58:56.285328 3086952128]: 1.open user 11 [8B153B0] (192.168.2.3)
[Wed Oct 8 2008 21:58:56.285927 3086952128]: [##ERROR##] wrong packet command: 101
[Wed Oct 8 2008 21:59:28.854276 3086952128]: 1.close user 11 [8B153B0] (192.168.2.3)

Did anyone go into this ?

Thanks
Thanks xD That is a very weird error and i'm guessing the packet is coming from the client (192.168.2.3). What client do you use as GP is generally popular here (darkxl's sticky in the release section)?

Man these posts are getting big lol.
 
 
permalink
 

 
Your fate is sealed!

Rank: Moderator

1 Highscore

 
Join Date: Oct 2005
Location: Italy
Posts: 1,760
10-08-2008, 09:25 PM
 
You guys should stop just making chumpy to repeat all things over and over and start saying "thank you" as chumpy is the no.1 ragezone cabal online helper!

Good Job!
 
 
permalink
 

 
Newbie

Rank: Omicron


 
Join Date: Oct 2008
Posts: 18
10-09-2008, 02:24 AM
 
Quote:

Thanks xD That is a very weird error and i'm guessing the packet is coming from the client (192.168.2.3). What client do you use as GP is generally popular here (darkxl's sticky in the release section)?
Do I have to download the full client of darkxl's section ?. cause I update my client to the latest offical patch -> patch it with the GP - > change the internal.txt to point to my server -> wrong packet command. seems like noone has faced this before :sq_yellow


// I deployed your v2 repack server

//My current client connects perfectly with cabalserver1.mmowebs.com

I guess I have to download full darkxl's GP client then, rapidshare is a pain in the ass

Last edited by convitbeo; 10-09-2008 at 09:53 AM.
 
 
permalink
 

 
Wala ako maisip

Rank: Member


 
Join Date: Oct 2005
Location: Mindanao
Posts: 190
10-09-2008, 02:39 AM
 
Thank you chummpy.. I figured the problem in connecting my server.... IP addressing.. One thing guys.. make sure the ip you indicate in internal.txt is your centos static ip... to know your centos IP ... just run this command in your ssh or putty... ifconfig make sure you can ping your centos ip ing windows command prompt and same as windows ip in centos console.... Thanks again sir CHummpy
 
 
permalink
 

 
Member

Rank: Omicron


 
Join Date: Sep 2008
Location: India
Posts: 31
10-09-2008, 04:17 AM
 
yes Chummy I used your V2 repack cabal server files.....

is the server working well as per the logs .......

also 1 more thing how we can make some test accounts....

i used ur GM tool to make some accounts is it fine to use tht. or there is some other way to do.
 
 
permalink
 

 
Newbie

Rank: Omicron


 
Join Date: Oct 2008
Posts: 18
10-09-2008, 04:32 AM
 
Quote: Originally Posted by devn142 View Post
yes Chummy I used your V2 repack cabal server files.....

is the server working well as per the logs .......

also 1 more thing how we can make some test accounts....

i used ur GM tool to make some accounts is it fine to use tht. or there is some other way to do.
Use his GM Tool or use stored procedure in ACCOUNT database.
 
 
permalink
 

 
Wala ako maisip

Rank: Member


 
Join Date: Oct 2005
Location: Mindanao
Posts: 190
10-09-2008, 04:56 AM
 
Or try downloading CHummpy s simple webpage
 
 
permalink
 

 
Rock ON Cabal

Rank: Member


Blog Entries: 1
 
Join Date: Aug 2008
Location: cabalpilipinas....
Posts: 232
10-09-2008, 01:45 PM
 
Quote: Originally Posted by celmae View Post
Thank you chummpy.. I figured the problem in connecting my server.... IP addressing.. One thing guys.. make sure the ip you indicate in internal.txt is your centos static ip... to know your centos IP ... just run this command in your ssh or putty... ifconfig make sure you can ping your centos ip ing windows command prompt and same as windows ip in centos console.... Thanks again sir CHummpy
In Vmware what connection did you use for your centos machine NAT or Brigde

chumpy what should i use ?
 
 
permalink
 

 
.:: SpECiaLiSt CrAcKeR::.

Rank: Member


 
Join Date: Sep 2006
Location: Cracker World :D
Posts: 242
10-09-2008, 02:29 PM
 
dear friends
i didn't play this game before but i want to know
why linux??
also how Linux with MSSQL Server
is there is any way to install MSsql with linux?
also what is the ver of cabal that work perfectly with this server files
 
 
permalink
 

 
Newbie

Rank: Omicron


 
Join Date: Oct 2008
Posts: 18
10-09-2008, 02:37 PM
 
I'm desperate, still wrong packet command ! :(
 
 
permalink
 

 
MMORPG-DEVELOPMENT.CO.NR

Rank: Member


 
Join Date: Aug 2007
Location: PrOuD To Be Ka - FuSo
Posts: 1,360
10-09-2008, 02:44 PM
 
Quote:
dear friends
i didn't play this game before but i want to know
why linux??
also how Linux with MSSQL Server
is there is any way to install MSsql with linux?
also what is the ver of cabal that work perfectly with this server files
1st of all try to play it in 1 week then get back here.

Quote:
I'm desperate, still wrong packet command ! :(
what centos version ur using ? 4.5 or something ?

Quote:
In Vmware what connection did you use for your centos machine NAT or Brigde

chumpy what should i use ?
he / she use brigde connection. disable all vmware connection ;)
 
 
permalink
 

 
Newbie

Rank: Omicron


 
Join Date: Oct 2008
Posts: 18
10-09-2008, 03:04 PM
 
Centos 4.7 Final 192.168.2.5
Sql 2005 . 192.168.2.3
Client 192.168.2.3

I guess there's something wrong with CentOS , but I still can not figure out .
 
 
permalink
 

 
MMORPG-DEVELOPMENT.CO.NR

Rank: Member


 
Join Date: Aug 2007
Location: PrOuD To Be Ka - FuSo
Posts: 1,360
10-09-2008, 03:27 PM
 
Quote:
Centos 4.7 Final 192.168.2.5
Sql 2005 . 192.168.2.3
Client 192.168.2.3

I guess there's something wrong with CentOS , but I still can not figure out .
did u put on mssql server ip : windows ip?

IP players will connect to [121.96.234.xxx] : centos ip - if ur making offline.

Enter MSSQL server IP : 192.168.0.xxx - windows ip
Enter MSSQL DB username : sa
Enter MSSQL DB password :
 
 
permalink
 

 
.:: SpECiaLiSt CrAcKeR::.

Rank: Member


 
Join Date: Sep 2006
Location: Cracker World :D
Posts: 242
10-09-2008, 03:34 PM
 
why vmware??
there is virtual pc and it's working with all options to install and manage any O.S and also small size could some one explain why???
wlao why CentOS there is another versions better and easy to use like opensuse also mandriva and alot of linux version
can some one explain that will help noob's to install server
 
 
permalink
 

 
Newbie

Rank: Omicron


 
Join Date: Oct 2008
Posts: 18
10-09-2008, 03:49 PM
 
Quote: Originally Posted by christoper View Post
did u put on mssql server ip : windows ip?

IP players will connect to [121.96.234.xxx] : centos ip - if ur making offline.

Enter MSSQL server IP : 192.168.0.xxx - windows ip
Enter MSSQL DB username : sa
Enter MSSQL DB password :
Thanks for your quick reply. I'm going to run offline so I did as you said. Check every logs and I don't see any error till I start client and try to connect

worldsvr_24_01
[Wed Oct 8 2008 21:48:00.222754 2822187936]: CProcessLayer(28)::svc Start [2822187936]
[Wed Oct 8 2008 21:48:00.308179 2807110560]: CProcessLayer(29)::svc Start [2807110560]
[Wed Oct 8 2008 21:48:00.410037 2791865248]: CProcessLayer(30)::svc Start [2791865248]
[Wed Oct 8 2008 21:48:00.462883 3086952128]: try listening 38111 port
[Wed Oct 8 2008 21:48:01.639070 25029536]: ChannelType changed(0 -> 1)
[Wed Oct 8 2008 21:50:18.507031 3086952128]: accept success 11(192.168.2.3:3503)
[Wed Oct 8 2008 21:50:18.508560 3086952128]: 1.open user 11 [8D7C410] (192.168.2.3)
[Wed Oct 8 2008 21:50:18.509115 3086952128]: [##ERROR##] wrong packet command: 101

DBAgent_24_01

[Wed Oct 8 2008 21:47:44.320898 3085940416]: try listening 38181 port
[Wed Oct 8 2008 21:47:44.321482 3054468000]: CProcessLayer(0)::svc Start [3054468000]
[Wed Oct 8 2008 21:47:44.321570 3043978144]: CProcessLayer(0)::svc Start [3043978144]
[Wed Oct 8 2008 21:47:44.944743 3085940416]: accept success 8(127.0.0.1:32771)
[Wed Oct 8 2008 21:47:44.948432 3085940416]: 1.open user 8 [9753F68] (127.0.0.1)
[Wed Oct 8 2008 21:47:46.051441 3085940416]: accept success 10(127.0.0.1:32773)
[Wed Oct 8 2008 21:47:46.052243 3085940416]: 2.open user 10 [97626A8] (127.0.0.1)
[Wed Oct 8 2008 21:48:02.092596 3054468000]: Database Connect success!
[Wed Oct 8 2008 21:48:02.123009 3075447712]: Database Connect success!
[Wed Oct 8 2008 21:48:02.134780 3064957856]: Database Connect success!
[Wed Oct 8 2008 21:50:46.036109 3043978144]: Database Connect success!

It's weird, I searched whole forums but did not find any clue.
 
 
permalink
 

 
Certified PBKAC

Rank: Moderator


 
Join Date: Jun 2008
Location: 2 clouds to your right
Posts: 1,647
10-09-2008, 08:02 PM
 
Quote: Originally Posted by convitbeo View Post
Do I have to download the full client of darkxl's section ?. cause I update my client to the latest offical patch -> patch it with the GP - > change the internal.txt to point to my server -> wrong packet command. seems like noone has faced this before :sq_yellow


// I deployed your v2 repack server

//My current client connects perfectly with cabalserver1.mmowebs.com

I guess I have to download full darkxl's GP client then, rapidshare is a pain in the ass
The problem you have is a very strange one indeed. I have played on my server with an up to date EU client and darkxl's GP login patch and that was only about a week ago so it can't be that the client is too new or anything like that.

Can you check the size of the following files in /usr/bin? Not as good as an MD5 but easier.

ChatNode - 701,832 bytes
DBAgent - 842,584 bytes
GlobalMgrSvr - 307,984 bytes
LoginSvr - 362,976 bytes
WorldSvr - 2,353,916 bytes

Also, you are definitely using ini files created by cabal_config.sh and not manually edited?

Quote: Originally Posted by Cath22 View Post
In Vmware what connection did you use for your centos machine NAT or Brigde

chumpy what should i use ?
For VMWare server 1.07 i install vmware and i do not touch the networking settings in it at all. I create a vmware machine and use a bridged connection and i leave the virtual network adaptor on defaults, i literally do not touch a thing and when asked about centos IP configuration i leave it on auto (DHCP). After centos has logged in i then manually set the centos IP, netmask and DNS server to an address i know is free on my network.

From what i understand if you do not have a local network you should used a NAT connection for VMWare and a Bridged connection for when you have a local netowrk.

On my network i happen to know what my IP address range and netmask is, but if i did not know that i would do this.

From command prompt on my machine i would do "ipconfig". I would write down the netmask i saw here. If i see an IP address that started with 192.xx or 10.xx then i would know i have a router and i am on a local network (LAN) seperate to the internet (WAN). If i saw a different one i would know i was directly connected to the internet and had no LAN or router.

If i discovered i was on a LAN i would check the gateway address the ipconfig showed me as that is probably the router. If say the router was 192.168.0.1 and my ip was 192.168.0.3 then my LAN address range is 192.168.0.x and to be ont he same LAN the centos machine would have to have an IP address in that range, but one i know is't taken up by another machine as 2 computers can't share an address (and the constant errors when it happens are annoying :P). I would probably set my centos IP to 192.168.0.10 or 192.168.0.20 depending on how many machines i thought might be on the network.

If i found the gateway and my own IP were totally different i would find another computer on the LAN and check it's address to see which number was different to find my network range so i could decide on a centos address.

If i was not on a LAN i would just leave the centos settings as they were on auto (DHCP) as NAT can get funny if you start changing addresses it doesn't expect you to change.

Quote: Originally Posted by el3ashe2 View Post
dear friends
i didn't play this game before but i want to know
why linux??
also how Linux with MSSQL Server
is there is any way to install MSsql with linux?
also what is the ver of cabal that work perfectly with this server files
ESTsoft wrote it that way. Generally linux is a lot more stable than windows and will run for far longer periods of time without crashing or needing reboots if properly managed. I guess they use centos because it is closely connected to Red Hat which is a commercial grade linux rather than a comunity based one but you can use other linux variants if you want. You have to use the "alien" command to install the rpm files on debian based linux distros like Ubuntu and others have have similar tricks for installng rpm files if they don't directly support them.

Quote: Originally Posted by el3ashe2 View Post
why vmware??
there is virtual pc and it's working with all options to install and manage any O.S and also small size could some one explain why???
wlao why CentOS there is another versions better and easy to use like opensuse also mandriva and alot of linux version
can some one explain that will help noob's to install server
Virtualpc would probably work as well but i don't know anyone who has ever tried it. Personally i use vmware for 2 reasons, first i use it a lot at work so i am familiar with it and second because vmware server is free and not made by microstuffed :P
 
 
permalink
 

 
.:: SpECiaLiSt CrAcKeR::.

Rank: Member


 
Join Date: Sep 2006
Location: Cracker World :D
Posts: 242
10-09-2008, 08:17 PM
 
first i want to thank you for your reply
second i appreciate that linux more stable i;m a system administrator of email server build on linux O.S and i like linux more than widows but is there is any way to use the MSSQL at linux?? no one replyed about that
also
i'll use opensuse and DarkRPM to install RPM packages
i like opensuse but as i understand that we will install database with windows and server files with linux?
if that's true we can use any mssql webhosting to host Database and use server files with fully linux without VBWare right?
cause you know if we started system with VMWare or with VirtualPC that we will lose ram space
right?

please reply
thnx
el3ashe2
 
 
permalink
 

 
Seeker's of Truth

Rank: Member


 
Join Date: Jan 2008
Posts: 308
10-09-2008, 08:33 PM
 
Hi Chumpy and all mods here just wanna ask whats causing the DC bug at Fentus ferum everytime I PK a player there many times it causes me to DC? Does anyone here experience same problem with me?
 
 
permalink
 

 
Certified PBKAC

Rank: Moderator


 
Join Date: Jun 2008
Location: 2 clouds to your right
Posts: 1,647
10-09-2008, 08:57 PM
 
Quote: Originally Posted by el3ashe2 View Post
first i want to thank you for your reply
second i appreciate that linux more stable i;m a system administrator of email server build on linux O.S and i like linux more than widows but is there is any way to use the MSSQL at linux?? no one replyed about that
also
i'll use opensuse and DarkRPM to install RPM packages
i like opensuse but as i understand that we will install database with windows and server files with linux?
if that's true we can use any mssql webhosting to host Database and use server files with fully linux without VBWare right?
cause you know if we started system with VMWare or with VirtualPC that we will lose ram space
right?

please reply
thnx
el3ashe2
Yes it is better to install the database on a windows computer and the gameserver on a linux server without using vmware, in fact that is how i run mine. The only way to run it all one one computer is to use vmware or things like that which are not as stable i think and they use lots of ram as you said.

Quote: Originally Posted by Death__ View Post
Hi Chumpy and all mods here just wanna ask whats causing the DC bug at Fentus ferum everytime I PK a player there many times it causes me to DC? Does anyone here experience same problem with me?
This is a know problem we call the "warmap d/c bug". This isn't actually on the sticky in this section though so i must have forgotten to add it.

[Only Registered and Activated Users Can See Links. Click Here To Register...]
 
 
permalink
 

 
.:: SpECiaLiSt CrAcKeR::.

Rank: Member


 
Join Date: Sep 2006
Location: Cracker World :D
Posts: 242
10-10-2008, 12:39 AM
 
tell me please every thing about this game is there is bugs is there is alot of errors
and thnx again
 
 
permalink
 

 
Newbie

Rank: Omicron


 
Join Date: Oct 2008
Posts: 18
10-10-2008, 04:19 AM
 
@chumpy

You patched your up to date EU client with darkxl GP one and it run well, didn't it ?. If so then I guess my up-to-date client has something wrong, cause after patching it, cabalmain.exe said cabal.enc is corrupted.!

Any idea ?

Any chance of this error when running CentOS 4.7 i386 on an 32 bit WMware on 64bit host machine ?

Last edited by convitbeo; 10-10-2008 at 06:34 AM.
 
 
permalink
 

 
Average Member

Rank: Omicron


 
Join Date: Jul 2005
Posts: 59
10-10-2008, 04:29 AM
 
Hey, could you plz tell me that how can I add all quest skills to my character (ex: Astral Bike, Combo skill,..). As well as finish all quest?
 
 
permalink
 

 
Member

Rank: Omicron


 
Join Date: Sep 2008
Location: India
Posts: 31
10-10-2008, 08:56 AM
 
Hey Chumpy Please tell me where I am Wrong.....

I can ping all three ips i.e my SQL ip , Centos ip and the Client ip.....

Also all the service of cabal starts without any errors... So I am Unable to connect to the server .... I am using GP -client.... I also copied that internal.txt and those 2 other files ui and ui.dts

I already posted the screenshots of all the logs......

I am using your V2 cabal files.....

please tell me what should i do....
 
 
permalink
 

 
Newbie

Rank: Omicron


 
Join Date: Oct 2008
Posts: 18
10-10-2008, 09:06 AM
 
Quote: Originally Posted by devn142 View Post
Hey Chumpy Please tell me where I am Wrong.....

I can ping all three ips i.e my SQL ip , Centos ip and the Client ip.....

Also all the service of cabal starts without any errors... So I am Unable to connect to the server .... I am using GP -client.... I also copied that internal.txt and those 2 other files ui and ui.dts

I already posted the screenshots of all the logs......

I am using your V2 cabal files.....

please tell me what should i do....
I looked at your worldsvr log and I did not see any connection attempt to your server. Did you set the right port in both server side and client side ? and make sure you start the client with the start-cabal.bat.
 
 
permalink
 

 
Member

Rank: Omicron


 
Join Date: Sep 2008
Location: India
Posts: 31
10-10-2008, 11:00 AM
 
Hey convitbeo
thx buddy

now I can Login with the ids.... But again stopped in the next step.....
Now its not able to connect to the Channel......

I selected the Mercury Server.. but when I click on Channel 1(Trade) and try to connect .. It shows unable to connect...

In the WorldSvr_01_01.log A message occurs

"ChannelType not changed. this(0), fromGMS(0) "

Where I am Wrong now???????
 
 
permalink
 

Closed Thread