-
Adding/modifying channels in Chumpy's repack v2.5
People keep asking about how to add channels and whilst it is far easier in my repack it isn't that obvious to anyone who hasn't examined the files as much as they should have. I suppose most people aren't going to figure it out without an example of how to do it, so here is an example.
Quote:
Originally Posted by
jdla1990
Hello!
I need help to add channels to Mercury as follows
Channel Types
1 = normal
2 = PK
3 = Premium
4 = War
5 = TG
Why help? explain or pass files?
see ya!
Edit /etc/cabal/templates/Mercury
Replace everything with:
Code:
GlobalDBAgent
GlobalMgrSvr
CashDBAgent
DBAgent_01
ChatNode_01
WorldSvr_01_01
WorldSvr_01_02
WorldSvr_01_03
WorldSvr_01_04
WorldSvr_01_10
LoginSvr_01
Edit /etc/cabal/templates/GlobalMgrSvr.cfg
Find:
Code:
# Mercury - 1 channel setup
# Channel 1 (Novice) - Normal
[Server01]
ChannelType01=0
MaxUserNum01=100
Replace:
Code:
# Mercury - 5 channel setup
# Channel 1 - Normal
# Channel 2 - PK
# Channel 3 - Premium
# Channel 4 - War
# Channel 10 - TG
[Server01]
ChannelType01=0
MaxUserNum01=100
ChannelType02=1
MaxUserNum02=100
ChannelType03=4
MaxUserNum03=100
ChannelType04=8
MaxUserNum04=100
ChannelType10=16908368
MaxUserNum10=100
Edit /home/cabal/cabal_config.sh
Find:
Code:
echo -e "\nConfigurations available :"
echo " 1 - Mercury (1 chan. Normal)"
Replace:
Code:
echo -e "\nConfigurations available :"
echo " 1 - Mercury (5 chan. Normal/PK/Prem/War/TG)"
Find:
Code:
if [ $configtype == "1" ]; then
cfgfile=Mercury
channels=1
Replace:
Code:
if [ $configtype == "1" ]; then
cfgfile=Mercury
channels=5
tg_chan=1
DO NOT change MaxUserNum as the config script will set those for you and if you change the =100 it can't find the lines and the max numbers will stay at 100.
Once all that is done your Mercury config template will be as you want it. Run cabal_config again and pick the Merc template and the script will create all of the config inis needed with the right ports for each, it will create a server_list that is correct and it will create all of the symbolic links for you too.
As you have a TG channel the config script will set the durations of the lobby wait and TG but the TG channel will not start by itself. You MUST configure some start times using cabal_TG or your TG channel will sit there and do nothing even if you restart the server.
Start TG at 11:00am, 2:30pm and 6:00pm (centos time).
Code:
cabal_TG add 11 00
cabal_TG add 14 30
cabal_TG add 18 00
If you want to force TG to start manually then call "service WorldSvr_01_10 start" or /home/cabal/daemons/TG_daemon.sh
-
Re: Adding/modifying channels in Chumpy's repack v2.5
=O Ohh man, After doing what makes your guide and restart the server does this happen to me..
frist
http://img220.imageshack.us/img220/5...2004000oq5.jpg
at the time of leaving it alone
http://img219.imageshack.us/img219/9...2010000cv6.jpg
The machine has 1 GB of RAM...
-
Re: Adding/modifying channels in Chumpy's repack v2.5
Post clean logs as described in the sticky for connection problems in the main section. I always need the logs :P
-
2 Attachment(s)
Re: Adding/modifying channels in Chumpy's repack v2.5
I got the same problem Chumpy. It was working before and I can't seem to figure out why it can't go into the channel. Youyou's authsvr has been applied. I attached a fresh batch of log in this post...please take a look.
-
Re: Adding/modifying channels in Chumpy's repack v2.5
Quote:
Originally Posted by
jdla1990
=O Ohh man, After doing what makes your guide and restart the server does this happen to me..
frist
The machine has 1 GB of RAM...
<<<<------wonder if that has anything to do with it....
-
Re: Adding/modifying channels in Chumpy's repack v2.5
I highly doubt that Advocate cuz my machine has 4G and I still get the same problem :).
-
1 Attachment(s)
Re: Adding/modifying channels in Chumpy's repack v2.5
Quote:
Originally Posted by
chumpywumpy
Post clean logs as described in the sticky for connection problems in the main section. I always need the logs :P
Sorry, here you leave the logs.
1GB of what I said so "informative" not expressive.
luck and greetings..
-
Re: Adding/modifying channels in Chumpy's repack v2.5
WorldSvr_01_10 added. But when I start service, the WorldSvr_01_10 doesn't start.
when stop service it shows shutting down WorldSvr_01_10(Tierra Gloriosa) [failed].
Seems WorldSvr_01_10 is add to /etc/cabal/ but not in start service. T-T help me please.
and one thing.
I have no WorldSvr_01_10 log file.
-
Re: Adding/modifying channels in Chumpy's repack v2.5
Quote:
Originally Posted by
Dinh
I got the same problem Chumpy. It was working before and I can't seem to figure out why it can't go into the channel. Youyou's authsvr has been applied. I attached a fresh batch of log in this post...please take a look.
Everything looks fine in those logs. Everything is starting up ok and the ChatNode seel the 3 worldsvrs. 1 and 4 both start ok, the channel types change as expected and it is also successfully reading the nation war results set. 10 is starting up ok and the lobby countdown timer is starting ok. Remember it will take 3 channels longer to start up than 1 channel.
Code:
[Fri Dec 5 2008 15:32:35.301733 3012508560]: OnIPCConnect2Svr(): new WorldSvr linked(161, 7, 10)
[Fri Dec 5 2008 15:32:42.898377 3075447696]: OnIPCConnect2Svr(): new WorldSvr linked(161, 7, 1)
[Fri Dec 5 2008 15:32:43.466164 3064957840]: OnIPCConnect2Svr(): new WorldSvr linked(161, 7, 4)
Quote:
Originally Posted by
jdla1990
Sorry, here you leave the logs.
1GB of what I said so "informative" not expressive.
luck and greetings..
Yours is starting up ok too, but it is taking a very long time to do so which is assume is down to centos totally running out of ram and jhaving to do everyt. 1Gb of free ram is not enough for 5 channels and if the centos machine itself is using part of that 1Gb then that will hurt it more. With 1Gb of ram anything above 3 channels is going to leave you with no free ram.
Quote:
Originally Posted by
normalblue
WorldSvr_01_10 added. But when I start service, the WorldSvr_01_10 doesn't start.
when stop service it shows shutting down WorldSvr_01_10(Tierra Gloriosa) [failed].
Seems WorldSvr_01_10 is add to /etc/cabal/ but not in start service. T-T help me please.
and one thing.
I have no WorldSvr_01_10 log file.
the TG channel will not start when you call "service cabal start" or "service cabal restart" as it is not supposed to and it will say failed when you call a stop unless it is running. It won't create a log until it runs. The whole idea of the TG channel is that it only starts at scheduled times and not when the server starts or restarts. After running cabal_config make sure you run cabal_TG to schedule some start times as i said at the bottom of my post.
-
Re: Adding/modifying channels in Chumpy's repack v2.5
hellow sir chumpy! i followed your guide but everytime i start the server, both WorldSvr_01_01 &
WorldSvr_01_02 always fail. I don't know why??? by the way, can somebody show me where to get the logs ? Thanks
-
Re: Adding/modifying channels in Chumpy's repack v2.5
Have a look at the sticky about connection problems in the main section as it tells you where the logs are and how to get nice clean ones with just the info i need to see.
-
Re: Adding/modifying channels in Chumpy's repack v2.5
@chumpywunpy
I found a way, just replace all WorldSvr_01_10 into WorldSvr_01_05 then run cabal_config again.
Add schedule after this, it works fine.
But i donn't get something, if TG service starts only on schedule time. Will it be shown when login out of schedule?
-
Re: Adding/modifying channels in Chumpy's repack v2.5
If the server isn't running when the scheduled time passes then the TG channel won't start and will show "failed" on a start, restart or stop. It also won't show in the channel list in-game.
-
Re: Adding/modifying channels in Chumpy's repack v2.5
Point is when I start all server, there's no WorldSvr_01_10 on start list, no World Svr_01_10 [Failed] appears. But when stop, it's failed to stop.
So, I don't need worry about no TG start, just ensure time is added into schedule. Then it automatically start on schedule. During the time, if I stop server. It won't be failed, isn't it?
-
Sir...
Can you give me how to edit to give 7 channels for mercury.....
1. Channel 1 (Trade)
2. Channel 2 (Novice)
3. Channel 3 (Premium)
4. Channel 4
5. Channel 5 (War)
6. Channel 6
7. Channel 7
hope you can help me to add channel....
Thanks...
so....i edit this..right
# Mercury - 7 channel setup
# Channel 1 - Normal
# Channel 2 - PK
# Channel 3 - Premium
# Channel 4 -
# Channel 5 - War
# Channel 6 - War
# Channel 7-
[Server01]
ChannelType01=1
MaxUserNum01=100
ChannelType02=0
MaxUserNum02=100
ChannelType03=4
MaxUserNum03=100
ChannelType04=5
MaxUserNum04=100
ChannelType05=9
MaxUserNum05=100
ChannelType06=6
MaxUserNum06=100
ChannelType07=7
MaxUserNum07=100
ChannelType10=16908368
MaxUserNum10=100
-
Re: Adding/modifying channels in Chumpy's repack v2.5
You have your channel types mixed up there...
Quote:
# Channel Types
# 0 = normal
# 1 = PK
# 4 = Premium
# 5 = Premium PK
# 8 = War
# 16908368 = Nation Tierra Gloriosa
Yours should be...
Quote:
# Mercury - 7 channel setup
# Channel 1 - Normal
# Channel 2 - PK
# Channel 3 - Premium
# Channel 4 -
# Channel 5 - War
# Channel 6 - War
# Channel 7-
[Server01]
ChannelType01=0
MaxUserNum01=100
ChannelType02=1
MaxUserNum02=100
ChannelType03=4
MaxUserNum03=100
ChannelType04=0
MaxUserNum04=100
ChannelType05=8
MaxUserNum05=100
ChannelType06=8
MaxUserNum06=100
ChannelType07=7
MaxUserNum07=100
You didn't specify a TG channel in the top part so i removed that. You use 9 as a channel type which would make it a PK war channel which would be a bit odd :ott1:
Make sure you do the other edits too though as just editing GlobalMgrSvr isn't enough on it's own.
-
Re: Adding/modifying channels in Chumpy's repack v2.5
-
Re: Adding/modifying channels in Chumpy's repack v2.5
how to create 2 serverindex ex. mercury and neptune in one server
mercury wanip
neptune net local ip
sorry my english ^^
-
Re: Adding/modifying channels in Chumpy's repack v2.5
Create the server as normal. The WorldSvr ini files for Neptune should have the lan ip in the IPAddress= and AddrForClient= entries and Mercury should have the external in the two entries.
Doing it all on 1 machine is going to be very difficult though as each process must use it's own listen port (the one at the top of it's ini) and connect to the right processes for it's serveridx (the ones at the bottom). You cannot duplicate any of the ports or you will get "port in use" errors. You will need a monster amount of ram to have both on one server too.
-
Re: Adding/modifying channels in Chumpy's repack v2.5
How do I do that? if the file is in "gz" "cabal-ep2.tar.gz"
-
Re: Adding/modifying channels in Chumpy's repack v2.5
sir is this possible to create an seperate channel where monsters are more hard to kill and will give a lot of exp for high level players..
-
Re: Adding/modifying channels in Chumpy's repack v2.5
Quote:
Originally Posted by
domador
How do I do that? if the file is in "gz" "cabal-ep2.tar.gz"
The files in there are just the installer. The ones you want are in /etc/cabal/
Quote:
Originally Posted by
Cath22
sir is this possible to create an seperate channel where monsters are more hard to kill and will give a lot of exp for high level players..
It is i woudl think. You can edit the mmap files in the data_world folder on the server to change the exp and you can change the HP of the mobs in mobs.scp. The problem is all channels use the same files so you would have to tell that 1 worldsvr to use a different common.ini (where it gets these paths from):
In worldsvr.ini:
Code:
CommonIniPath=Common.ini
You would need to change that to say common2.ini and create a copy of common.ini to modify.
In common2.ini:
Code:
[Global]
Warp=Data/Warp.scp
Mobs=Data/Mobs2.scp
Change that to your edited mobs.scp. Also, further down common2.ini you will need to change the mmap for each map and make a copy of the existing mmap to modify.
Code:
; Bloody Ice
[World-01]
ThreadMap=Data/Data_World/world1-tmap.bin
MobsMap=Data/Data_World/world1-mmap2.scp
Npc=Data/Data_World/world1-npc.scp
Terrain=Data/Data_World/world1-terrain.scp
Not the easiest of mods but certainly possible :wink:
-
[img]2e12342650.jpg[/img]
the beginning and this leaves
how?
-
Re: Adding/modifying channels in Chumpy's repack v2.5
this will be one hell of a modding but sir can you create me a Pluto with 4 channels, The added channel will be my hardcore channel.
-
Re: Adding/modifying channels in Chumpy's repack v2.5
I make this configuration
Channels
1 Normal
2 Normal
3 Normal
4 War
5 TG
-------------
/etc/cabal/templates/Mercury
GlobalDBAgent
GlobalMgrSvr
CashDBAgent
DBAgent_01
ChatNode_01
WorldSvr_01_01
WorldSvr_01_02
WorldSvr_01_03
WorldSvr_01_04
WorldSvr_01_10
LoginSvr_01
---------------------
Edit /etc/cabal/templates/GlobalMgrSvr.cfg
# Mercury - 5 Configuracao Canais
# Channel 1 - Normal
# Channel 2 - Normal
# Channel 3 - Normal
# Channel 4 - War
# Channel 10 - TG
[Server01]
ChannelType01=0
MaxUserNum01=100
ChannelType02=0
MaxUserNum02=100
ChannelType03=0
MaxUserNum03=100
ChannelType04=8
MaxUserNum04=100
ChannelType10=16908368
MaxUserNum10=100
---------------------------------------
/home/cabal/cabal_config.sh
echo -e "\nConfigurations available :"
echo " 1 - Mercury (1 chan. Normal)"
Change
echo -e "\nConfigurations available :"
echo " 1 - Mercury (5 channels. Normal/Normal/Normal/War/TG)"
-----------------------
Search
if [ $configtype == "1" ]; then
cfgfile=Mercury
channels=1
Repl.
if [ $configtype == "1" ]; then
cfgfile=Mercury
channels=5
tg_chan=1
failed, it looks like it was:*:
http://img142.imageshack.us/img142/5...1000hi2.th.jpg