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 Terbee yeah dns and gateway is the same.. But his guide show 2 different value dam ...




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

Rank: Omicron


 
Join Date: Oct 2005
Posts: 21
09-07-2008, 01:39 PM
 
Quote: Originally Posted by Terbee View Post
yeah dns and gateway is the same..
But his guide show 2 different value dam this is getting confusing -.-
 
 
permalink
 

 
RaGEZONER

Rank: Omicron


 
Join Date: Aug 2008
Posts: 92
09-07-2008, 01:50 PM
 
it depends on your router or network setup dude...
 
 
permalink
 

 
Newbie

Rank: Omicron


 
Join Date: Oct 2005
Posts: 21
09-07-2008, 01:54 PM
 
Quote: Originally Posted by Terbee View Post
it depends on your router or network setup dude...
anyway i do what my instinct tell me for now if i screw up i gonna keep bugging here XD

help it said i have no enough disk place at mount point(whats that?) whereas i'm sure i got more than 70g i checked what should i do now MEHX

Sorry for double posting i've got to do this but where is mount point????

Last edited by chumpywumpy; 09-07-2008 at 03:24 PM.
 
 
permalink
 

 
Certified PBKAC

Rank: Moderator


 
Join Date: Jun 2008
Location: 2 clouds to your right
Posts: 1,647
09-07-2008, 03:27 PM
 
There is an Edit button on your posts so you don't need to double post, just edit the last one.

If you have a router then your DNS may show as your router or it may show your ISP's one. Just use whatever it shows under ipconfig.

The mount point error means that the size of the virtual disk you created in vmware is not big enough. You need around 3Gb for centos 4 but i'm not sure for centos 5.
 
 
permalink
 

 
Newbie

Rank: Omicron


 
Join Date: Aug 2008
Posts: 4
09-07-2008, 04:34 PM
 
It was permissions on the cabal file.

I really appreciate you setting up this guide chumpy, big props.

Quote: Originally Posted by chumpywumpy View Post
I suspect you missed something out or have a permissions problem but it shouldn't happen if you followed the miniguide.

Check /etc/init.d/ and make sure there is a "functions" and a "cabal" file in there as these two are what is called when you do "service cabal start". Check permissions are ok for the user you are logged in as, use 0777 if you are not sure.

Also make sure you are logged in as root when you run the command ("su - root" from a terminal).

Once you figure that bit out then yes just start the services and edit internal.txt and you should be good to go. Remember to keep a close eye on your logs in /var/log/cabal the first few times just in case any errors or anything appear.
 
 
permalink
 

 
Newbie

Rank: Omicron


 
Join Date: Oct 2005
Posts: 21
09-07-2008, 04:36 PM
 
i using centos 4.6 guess i will just set the space to 8 then...
 
 
permalink
 

 
Certified PBKAC

Rank: Moderator


 
Join Date: Jun 2008
Location: 2 clouds to your right
Posts: 1,647
09-07-2008, 05:28 PM
 
4Gb should be more than enough. When setting up the virtual machine make sure you set it's type to the latest red hat type as shown in the guide as that works best with Centos 4.
 
 
permalink
 

 
Newbie

Rank: Omicron


 
Join Date: Oct 2005
Posts: 21
09-07-2008, 05:57 PM
 
Alright just to double confirm does u mean start centos disc 1 in the driver 1 mean make the window in show the disc 1 icon then i will just need to right click on it and use the terminal if no pls tell me the clearer way i am a dumbass

On the second note how do i run cent with wincp?

Last edited by starchaser; 09-07-2008 at 07:07 PM.
 
 
permalink
 

 
Certified PBKAC

Rank: Moderator


 
Join Date: Jun 2008
Location: 2 clouds to your right
Posts: 1,647
09-07-2008, 07:54 PM
 
You use the drive settings in vmware to mount centos CD1 to star the install if that is what you mean.

For winscp you just enter the ip, user and pass of the centos machine when connecting. Get the centos machine installed first though ok ;)

I think it might be better if you started a new topic in the help section as we are cluttering up this topic with a lot of unrelated stuff. Post your next bits there and i'll clean the topic later.
 
 
permalink
 

 
Newbie

Rank: Omicron


 
Join Date: Jun 2008
Posts: 13
09-08-2008, 02:54 AM
 
@ chumpywumpy:

very thx for help me on my post. Now i can install MSSQL 2005 server, but when im at page 9 at ur tutorial, i don´t knew how to open this application. I´ve tried to open SQL SERVER Management Studio Express, but when im going to login, its only finds Local Server Database with using Windows Authetication. When i choose SQL Server Authetication i´ve to say a username and password. I knew the password i´ve put at install, but i dot choose any username.

is it correct? I´ve to choose windows authentication without any password to log in?
I can start only with this confis.

Very thx for help me ^^
 
 
permalink
 

 
Your fate is sealed!

Rank: Moderator

1 Highscore

 
Join Date: Oct 2005
Location: Italy
Posts: 1,760
09-08-2008, 12:21 PM
 
the username is for usercalled 'sa'
 
 
permalink
 

 
Summer dont stop me!

Rank: Member


 
Join Date: Nov 2007
Posts: 266
09-09-2008, 05:52 PM
 
Hey can you rar your centos things for me. I downloaded Darkxls but his Centos thing seems bugged.

Thanks in advance
 
 
permalink
 

 
CabalOnline Developer (?)

Rank: Member


 
Join Date: Jul 2005
Location: Argentina
Posts: 819
09-09-2008, 06:45 PM
 
Quote: Originally Posted by Thesnowman View Post
Hey can you rar your centos things for me. I downloaded Darkxls but his Centos thing seems bugged.

Thanks in advance
You do not know use the centOS, it's not my fault.
PS: My files are not "bug"
 
 
permalink
 

 
Certified PBKAC

Rank: Moderator


 
Join Date: Jun 2008
Location: 2 clouds to your right
Posts: 1,647
09-09-2008, 07:25 PM
 
Do you mean my server files or guide? Both are available in the first post.

There is nothing wrong with darkxl's files, i used them as did many other people here and they work fine. In fact my repack is actually just the files in darkxl's sticky with some moinor modifications to make installation and reconfiguration a bit easier. If you compare the two they are almost identical apart from my gen_config2.sh which is the main reason mine aren't stickied, mine is technically just a mod.
 
 
permalink
 

 
Member

Rank: Omicron


 
Join Date: Jul 2008
Posts: 49
09-09-2008, 10:52 PM
 
hello .. can give guide 100% sucessful ..???
 
 
permalink
 

 
Summer dont stop me!

Rank: Member


 
Join Date: Nov 2007
Posts: 266
09-09-2008, 11:02 PM
 
Quote: Originally Posted by woodclaw View Post
hello .. can give guide 100% sucessful ..???
My Video guide will be done in the next week or so, Please resort to all the other wonderful guides instead of asking. Even the search button works.

Quote: Originally Posted by chumpywumpy View Post
Do you mean my server files or guide? Both are available in the first post.

There is nothing wrong with darkxl's files, i used them as did many other people here and they work fine. In fact my repack is actually just the files in darkxl's sticky with some moinor modifications to make installation and reconfiguration a bit easier. If you compare the two they are almost identical apart from my gen_config2.sh which is the main reason mine aren't stickied, mine is technically just a mod.
Thanks Chumpy, I realized when you replied to my other post that i opened the centos iso instead of saving it. Haha my bad. Now im golden. Thanks.

Last edited by chumpywumpy; 09-10-2008 at 07:20 PM. Reason: Removed unnecessary comments
 
 
permalink
 

 
Ultimate Member

Rank: New Blood


 
Join Date: May 2006
Location: /etc/home/cabal
Posts: 160
09-10-2008, 06:39 AM
 
Code:
[Multiple]	All_M	PC_M	Free_P	FreePC_P	Premium_P	PremiumPC_P	Remark
0		100	100	0	0		0		0		EXP
1		100	100	0	0		0		0		SKILL EXP
2		100	100	0	0		0		0		CRAFT EXP
3		100	100	0	0		0		0		DROP RATE
4		100	100	0	0		0		0		ALZ BOMB
5		100	100	0	0		0		0		ALZ AMOUNT
what is the right value to edit if im going to make exp high??
is it All_M or PC_M
 
 
permalink
 

 
Newbie

Rank: Omicron


 
Join Date: Oct 2005
Posts: 21
09-10-2008, 02:43 PM
 
Man this is so hard the ip setting of the centors.... Anyone can teach me personally?
 
 
permalink
 

 
Certified PBKAC

Rank: Moderator


 
Join Date: Jun 2008
Location: 2 clouds to your right
Posts: 1,647
09-10-2008, 07:44 PM
 
@JoniverPH - Change both values so they match like they do at the moment. Don't take your drop rate past about 5x though or it will ruin your drops ;)

@starchaser - You don't really learn networking by talking as it isn't an easy or quick thing to teach, especially when you start involving bridging and nat. Everybody's network setup is different so nobody could actually teach you how yours works without first learning the setup themselves. I could sit here and talk about my setwork setup all day and it wouldn't be even slightly useful to you unless your network was practically identical to mine.

This is exactly what a DHCP server is designed for, to make life easier for you if you don't already know this stuff. When you log on your PC looks for a dhcp server (in your case your router is probably the dhcp server) and asks it for an unused ip address on the network, things like the gateway, dns server and netmask too, so your computer can auto configure itself. If you look in your services manager in your control panel you will find a "vmware dhcp service" and this is what serves addresses and the other to your vmware machines.

So, if there is a process there that does this for you automatically so you can then copy what it provides, why are you trying to do it the hard way? :P

Just get it working using the details dhcp hands out, use ifconfig to find the ip address and try pinging the windows machine (and windows to centos). If that works then get the details you need from ifconfig and set them manually to stop them ever changing. If it doesn't work then it is your vmware ethernet config at fault as vmware dhcp's whole job is to make sure it works without you having to mess with anything.
 
 
permalink
 

 
Average Member

Rank: Omicron


 
Join Date: Jul 2005
Posts: 59
09-13-2008, 01:42 PM
 
Hey chumpy, when will you release the new version of files and completed guides? I'm still wating for you!
 
 
permalink
 

 
Average Member

Rank: Omicron


 
Join Date: Nov 2006
Posts: 56
09-14-2008, 01:00 AM
 
I'm really stuck with these files, I have restored all the DB's as is in the Guide, I've setup Cent OS as in the Guide and configured my server as in the Guide, but, for some reason I don't seem to be able to connect to my SQL server properly, for example, when I try to use GM Tools 0.51a it can connect with the 'sa' user, but I can't make any new accounts, it just gives me this error:

'Duplicate row. Player already exists?'

Which it can't because I have no accounts. XD

So, I tried the next thing I could think of to make an account, I installed a php website, using appserv, this after installing using the 'correct' details gives me this error (I've enabled the mssql extensions and alloverride all in the php.ini and httpd.conf too):

Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\cabal\index.php on line 60

Which just seems like it can't connect to the SQL Server.

Any ideas?

(I'm using SQL Server 2005, and Windows XP Pro SP3 and VMWare 5.5 with Cent OS 4.7)

EDIT: Okay, I fixed one error, with the GM tools, I can make accounts now, but, the website still doesn't work, not exactly essential, it's a LAN server to see how it works maybe make a server in the future, so, I'm not too bothered, now, i just need to sort out a client...)
 
 
permalink
 

 
RaGEZONER

Rank: Omicron


 
Join Date: Oct 2006
Posts: 86
09-14-2008, 09:31 AM
 
Tnx for server pack, very good work!!! save alot of time!!!!!!!!!! :) Glad to see your next rev. :)

Someone can explain where i can change my network config in CentOS? what file and where i can find him? I need change my IP, DNS servers after server install.. My wrong... but dont wanna reinstall system again :)

Ок, cant wait, reinstall CentOS :)

Have problem connect to server, little not undestand, help who can.

My net have IP like 10.1.120.* I have IP on my machine like 10.1.120.10

My VMware Network Adapter VMnet8 have IP like 192.168.223.1/255.255.255.0

When i am install CentOS first time i put machine IP - 192.168.223.10/255.255.255.0 after install i can upload files here via putty and etc... Cabal server running and work. Now i need connect to server... i need put him IP in internal.txt, right? Then its...
IP=192.168.223.10
PORT=38101
CHAT_IP=192.168.223.10
CHAT_PORT=38121

Cant connect... think i cant see this net from my net, right? Like all ppl in my net.... cant see that server, right?

Then i change my plan :) Install CentOS and put IP for CentOS like 10.1.120.11/255.255.255.0.
Change my VMware Network Adapter VMnet8 to like 10.1.120.12/255.255.255.0

Now i cant connect to CentOS via putty... cant see this adress 10.1.120.11... Whats wrong here? How i need fix it?

"If you have a network then the first thing you should know is that
you cannot play with your friends. The server cannot listen on both
a LAN and the internet at the same time so you have to choose one or
another unless you want to use Hamachi or similar to get around it.
Don't ask me for other solutions as there isn't one."

Hm...
I can put server to another subnet like 10.1.121.10 (like example) for see him too? Or you mean on server can play only server subnet? If we put server in 10.1.121.* Only ppl who have net adresses like 10.1.121.* can see server and my subnet cant?

Thank you

Ок, have progress :)
My wrong, i need change connection rules on my VM, need use
Bridged: connected derectly to the physical network. Because we hot have manual here, i use this manual
[Only Registered and Activated Users Can See Links. Click Here To Register...] and got error with net conf. Ok, undestand now how its work... I can upload server files, install them... server running and work.

question1: when i am install your server have this on desctop (SS) Its ok istall?

question2: When i am use Bridged: connected derectly to the physical network what IP i need put to internal.txt. For example my machine have 10.1.120.10/255.255.255.0 My CentOS have 10.1.120.11/255.255.255.0. On internal.txt i am put 10.1.120.11, right?

Yes, i put same IP for gen_config2.sh
Bindip - 10.1.120.11
Mssqlip - 10.1.120.10

Ок, still cant connect to server.... I think i need find some info how fill DB for this. Where i need put in DB server ip... test account and etc... I am use your DB buckup and files.

I am useing this GameClient [Only Registered and Activated Users Can See Links. Click Here To Register...]

Then... i try look this movie
[Only Registered and Activated Users Can See Links. Click Here To Register...]
How to install the files cabal online in centos [SHARED BY DARKXL].swf
but i am not chinese :)

To chumpywumpy:
I need fill files after i am install your server and execute gen_config2.sh ? I mean, i need fill server files like LoginSvr.cfg,WorldSvr.cfg,LoginSvr_01.ini and etc... ???
If i need it... someone can explain where i need change it? I mean if my CentOS have ip like 10.1.120.11 where correct i need put this IP for connect to server.

Thank all :)
Attached Images
File Type: jpg inst.JPG (148.3 KB, 44 views)

Last edited by chumpywumpy; 09-14-2008 at 03:43 PM.
 
 
permalink
 

 
Average Member

Rank: Omicron


 
Join Date: Nov 2006
Posts: 56
09-14-2008, 11:38 AM
 
Okay, I have some more problems now, my world server isn't starting, and I don't know what client to use, are you going to post links to a client that will work with these Guides too? I think I might just wait until you get the Server install guide finished, because, I'm just confused by a lot of things right now XD
 
 
permalink
 

 
Certified PBKAC

Rank: Moderator


 
Join Date: Jun 2008
Location: 2 clouds to your right
Posts: 1,647
09-14-2008, 03:42 PM
 
@ghosthud1 - The default mssql extensions in php don't work well, i have had lots of problems with them and i would suggest disabling them in the php.ini and installing freetds instead.

For the worldserver problem check your logs as they probably have some clues.

I will be posting a client once i settle on one i am happy with. Right now i use the GP client with SAURON's latest patc and enc files.

@gpadmin - please don't double post, you have an edit button on your posts you can use to update them. I will have to merge them now.

You do not need to edit a single .ini file using my repack as gen_config2.sh does it all for you, this is the whole reason my setup is different. You also do not need to manually set your vmware network settings as the whole point of the vmware dchp service this to do this for you.

When running gen_config2 the bind IP is whichever IP you want your players to connect to. It is best to use the wan ip (whatismyip.com) if you don't use a router and. If you do then you are probably stuck with only one type of player (wan or lan) able to get in at any one time, using the wan ip only wan players can get in and using lan ip only lan players can get in. If the wan IP doesn't work for lan players then something like hamachi is your only choice.
 
 
permalink
 

 
RaGEZONER

Rank: Omicron


 
Join Date: Oct 2006
Posts: 86
09-14-2008, 05:32 PM
 
chumpywumpy, ok i undestand about posts

Yes, my server for lan. Then i am undestand right?
My machine ip 10.1.120.10
Mssql data: sa/12345
Install CentOS, bind ip 10.1.120.11
Install server
Install gen_config2.sh (example)
echo -ne "\nBind to IP [$ip] : 10.1.120.11
echo -n "Enter MSSQL server (Windows) IP : 10.1.120.10
echo -n "Enter MSSQL DB username [cabal] : sa
echo -n "Enter MSSQL DB password [cabal] : 12345

Open internal.txt
IP=10.1.120.11
PORT=38101
CHAT_IP=10.1.120.11
CHAT_PORT=38121

Your dbbackup have test account right? test, pass... I made my new acc. Open in mssql cabal_auth_table add here my acc data, right?

Run cabal server
Run client
cant connect... what i am doing wrong?

I can ping my VM machine from my net "cmd ping 10.1.120.11" but i cant connect to cabal server. What think, maybe i need change somthing in my server files like LoginSvr.cfg,LoginSvr_01.ini and etc ??? at the moment we have here ip 127.0.0.1, maybe i need change it to 10.1.120.11 ??

What about this aprt after i am install gen_config2.cfg i need add this data to all server *.ini ?

CentOS /etc/cabal

> CashDBAgent.ini > DBid=Your SQL ID DBpwd=Your SQL Pass
> ChatNode_24.ini > [DBAgent] addr = Cent OS IP [GlobalMgrSvr] addr = Cent OS IP
> DBAgent_24.ini > [DSN] DBid = Your SQL ID DBPwd = Your SQL Pass
> GlobalDBAgent.ini > [DSN] DBid = Your SQL ID DBPwd = Your SQL Pass
> GlobalMgrSvr.ini > [DBAgent] Addr = Cent OS IP
> LoginSvr.ini >[LoginSvr] #affliatedCorpIP = Cent OS IP
affliatedCorpIP = Cent OS IP
after IDC=1 type > 1262 for
22 for TFN & GP updated client
IgnoreClientVersion=1 for other client
[PSS] Addr = Cent OS IP
> LoginSvr_01.ini >[LoginSvr] #affliatedCorpIP = Cent OS IP
affliatedCorpIP = Cent OS IP
after IDC=1 type > 1262 for
22 for TFN & GP updated client
IgnoreClientVersion=1 for other client
[PSS] Addr = Cent OS IP
> worldSvr.ini > [WorldSvr] updateinterval = 300 [ChatNode] Addrforserver = Cent OS IP
Addrforclient = Cent OS IP
> worldSvr.ini_24_01.ini > [WorldSvr] updateinterval = 300
IPAddress = Cent OS IP
[ChatNode] Addrforserver = Cent OS IP
Addrforclient = Cent OS IP
[DBAgent] Addr = Cent OS IP
[GlobalMgrSvr] Addr = Cent OS IP
[CashDBAgent] Addr = Cent OS IP
[ChatNode] Addrforserver = Cent OS IP
Addrforclient = Cent OS IP

Thank you

Last edited by gpadmin; 09-14-2008 at 07:28 PM.
 
 
permalink
 

Closed Thread

Tags
databases, guides, server files

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +1. The time now is 12:29 AM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RaGEZONE © 2001 - 2008





 
Evade Blackbelt School