-
Apprentice
Some problem with channel
Good Evening.
I have some Problems with Adding Channels
I did that Guide :
Quote Originally Posted by jozefpawelec View Post
its my own personal guide:
To add chanel:
- go to /usr/bin
- copy WorldSvr_01_01 file
- paste to some other location, rename file to WorldSvr_01_02
- do same to create files WorldSvr_01_03/04/05/06/07
- paste this files to /usr/bin
- copy from Cabal8ServerFiles\etc\cabal , WorldSvr_01_02 - WorldSvr_01_07.ini files, copy to /etc/cabal, and change in every file, 3 times IPAddress to ur centOS IP ( u can use replace buttom, shortcut CTRL + H ), and save each file
- in putty (or terminal) write chmod 0777 /usr/bin/WorldSvr_01_02 , and do same with 03/04/05/06/07 files
- in putty (or terminal) write WorldSvr_01_02 start, and do same with 03/04/05/06/07 files
ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_04
ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_04
ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_0
ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_05
ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_06
ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_06
ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_087
ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_07
ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_08
ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_08
-----------------------------------------------------------------------------------
I added in
/uscr/bin
WorldSvr_01_01
WorldSvr_01_02
WorldSvr_01_03
WorldSvr_01_04
WorldSvr_01_05
WorldSvr_01_06
WorldSvr_01_07
WorldSvr_01_08
The Content of the Files arent changed. They are all copies of WorldSvr_01_01 only renamed.
Then i copied the same files to /etc/cabal
WorldSvr_01_01
WorldSvr_01_02
WorldSvr_01_03
WorldSvr_01_04
WorldSvr_01_05
WorldSvr_01_06
WorldSvr_01_07
WorldSvr_01_08
I started with WorldSvr_01_01
Changed Port to 38111
GroupIdx=1
Added my Centos IP in following Lines:
[WorldSvr]
ServerIdx=1
GroupIdx=1
GlobalTimer=4:10000,5:5000,7:3600000,15:30000,22:60000,11:60000,24:60000
WorldTimer=1:100,2:150,3:3000,6:60000,8:2000,9:10000,13:150,14:2000,15:30000,16:200,20:200,21:200
CommonIniPath=Common.ini
IPAddress=192.168.2.106
UpdateInterval=300000
[AgentShop]
UseAgentShop=1
UseGuildExpansion=1
Port=38151
AddrForClient=192.168.2.106
AddrForServer=127.0.0.1
[ChatNode]
AddrForServer=127.0.0.1
AddrForClient=192.168.2.106
Port=38121
With WorldSvr_01_01/02/03/04/05/06/7 i did the same .
Of course with other Ports and GroupIdx
After that I added WorldSvr_01_02 -07 to ServerList
AuthDBAgent
DBAgent_01
RockAndRollITS
GlobalMgrSvr
GlobalDBAgent
CashDBAgent
PCBangDBAgent
EventDBAgent
PartySvr_01
ChatNode_01
EventMgrSvr
AgentShop_01
LoginSvr_01
WorldSvr_01_01
WorldSvr_01_02
WorldSvr_01_03
WorldSvr_01_04
WorldSvr_01_05
WorldSvr_01_06
WorldSvr_01_07
Saved all. Did the symbolic Link
and restarted with Service Cabal Restart
Here the Picture:

If i shutdown the Server it tells me some fail messages in ChatNode_01,Agent Shop_01 and WorldSvr_01_01 but if it started it says its all OK?
Is that the reason why are my Channels not show up?
I only changed the WorldSvr_01_01 -02/03/04/05/06/07 and WorldSvr.ini files
With the other Files i didnt changed anything. Sorry for this Thread but i didnt found a solution in the other Topics.
Its not a Client Problem because i can connect but only to Channel Choose.
Please Help me guys. This EP8 is my dream.
Thank You
-
-
Account Upgraded | Title Enabled!
Re: Some problem with channel
*GroupIdx/Ports must be edited too, same from ChannelId
*Must be added into GlobalMsgSvr too
ie:
WorldSvr_01_01 (GroupIdx=1) (Port=38111)
WorldSvr_01_02 (GroupIdx=2) (Port=38112)
WorldSvr_01_03 (GroupIdx=3) (Port=38113)
stop your iptables or add rule to work
Last edited by magraopb; 21-10-13 at 07:23 PM.
-
Apprentice
Re: Some problem with channel
Thanks for your answer.
I changed the GroupIdx and Ports in every WorldSvr_01_01 -07 file in /etc/cabal
i added now the Lines in GlobalMsgSvr
It looks so now:
[NetLib]
Port=38170
SendMaxBufSize=65536
SendMaxBufSizeUserHandler=2097152
SendMaxBufSizeLinkHandler=1048576
ProcessDataLimit=50000
MaxUserNum=1500
WatchsNoPackLimit=100000
SystemLogTTimeOut=100
ReactorTimeOut=-1
ConnectRetryTime=5000
ConnectRetryNum=20
LogLevel=3
MemPoolUnitSizeClass=2
[GlobalMgrSvr]
Timer=1:10000,2:300000
WorldMaxUserNum=250
NoNotifyTimeLimit=60000
DefaultServerOpen=1
LoadServerAndChannelType=1
SubPasswordCheckIntervalMinute=60
SubPasswordCheckMaxCount=20
[DefaultServerCfg]
# Trade
ChannelType01=1024
# Limit Rank war
#EntryLimitRank07=1:9
#EntryLimitLevel07=140:29
#ChannelType07=67113040
EntryLimitRank08=1:9
EntryLimitLevel08=170:20
ChannelType08=83890256
#EntryLimitRank03=1:6
#EntryLimitRank04=1:9
#EntryLimitRank05=1:9
#EntryLimitLevel03=52:27
#EntryLimitLevel04=80:29
#EntryLimitLevel05=110:29
#ChannelType03=16781392
#ChannelType04=33558608
#ChannelType05=50335824
ChannelType02=1
ChannelType03=0
ChannelType04=1
ChannelType05=5
ChannelType06=8
ChannelType07=1
#ChannelType14=1
#ChannelType15=1
#ServerOpen03=1
#ServerOpen04=1
#ServerOpen05=1
#ServerOpen06=1
#ServerOpen07=1
#ServerOpen08=1
#ServerOpen09=1
MaxUserNum01=350
MaxUserNum02=250
MaxUserNum03=250
MaxUserNum04=250
MaxUserNum05=250
MaxUserNum06=250
MaxUserNum07=250
#MaxUserNum07=250
#MaxUserNum08=250
#MaxUserNum09=250
#MaxUserNum10=250
#MaxUserNum11=250
#MaxUserNum12=250
Launagues=38653
[Server128]
ChannelType01=32
ServerType=16
[DBAgent]
Addr=127.0.0.1
Port=38180
[RockAndRoll]
Interval=3600000
RARAddress=127.0.0.1
RARPortNum=32001
Type=0
WorldSvr_01_01
WorldSvr_01_02
WorldSvr_01_03
WorldSvr_01_04
WorldSvr_01_05
WorldSvr_01_06
WorldSvr_01_07
then i typed service cabal restart and started the fails manually.
Now all WorldSvr.ini stopped damn :(
-
Account Upgraded | Title Enabled!
Re: Some problem with channel
you do it wrong in GlobalMgrSvr, follow the exist Channel models in GlobalMgrSvr and change the Idx
-
Apprentice
Re: Some problem with channel
I didnt changed anything in GlobalMgrSvr but i restarted every WorldSvr.ini and now it worked.
But Thank You very much ! :)