each channel their own rule.

Results 1 to 7 of 7
  1. #1
    Account Upgraded | Title Enabled! illxmike is offline
    MemberRank
    May 2008 Join Date
    NetherlandsLocation
    508Posts

    each channel their own rule.

    Hello,
    I want to have some more information about the channelrule.xml & channel.xml and if its possible to edit each channel with its own rule.

    This is the channel.xml I got:
    Code:
    <?xml version="1.0" encoding="UTF-8" ?>
    <XML id="channel">
    	<DEFAULTCHANNELNAME name="STR:CHANNEL_DEFAULT_NAME"/>
    	<DEFAULTRULENAME name="novice"/>
    
    	<CHANNEL name="Free Channel 1" maxplayers="200" rule="novice"/>
    	<CHANNEL name="Free Channel 2" maxplayers="200" rule="novice"/>
    
    
    	<CHANNEL name="Rookie Channel 1 (Level 1-50)" maxplayers="200" rule="novice" levelmin='1' levelmax='50'/>
    
    	<CHANNEL name="Elite Channel 1 (Level 51-99)" maxplayers="200" rule="novice" levelmin='51' levelmax='99'/>
    
    	<CHANNEL name="Quest Channel" maxplayers="200" rule="rookie" levelmin='1' levelmax='99'/>
    
    	<CHANNEL name="Event Channel" maxplayers="200" rule="novice" levelmin='1' levelmax='99'/>
    
    </XML>
    As you can see they are using: <DEFAULTRULENAME name="novice"/>

    but I want to change the rule ONLY for quest channel.
    ( for example: <DEFAULTRULENAME name="ROOKIE"/> )

    Is this possible?

    ---------- Post added at 02:17 PM ---------- Previous post was at 12:46 PM ----------

    Does anyone have an idea yet?


  2. #2
    Account Upgraded | Title Enabled! illxmike is offline
    MemberRank
    May 2008 Join Date
    NetherlandsLocation
    508Posts

    Re: each channel their own rule.

    Anyone ?

  3. #3
    What year is this? pluke001 is offline
    MemberRank
    Nov 2008 Join Date
    LithuaniaLocation
    941Posts

    Re: each channel their own rule.

    I guess you need to make 1 of your rules make with only quest type as default if you want to have only quest chanel. And I dont think that you can make new rules. you can only modify original ones (If I got right what ur asking o.o)

  4. #4
    Account Upgraded | Title Enabled! illxmike is offline
    MemberRank
    May 2008 Join Date
    NetherlandsLocation
    508Posts

    Re: each channel their own rule.

    <CHANNEL name="Quest Channel" maxplayers="200" rule="rookie" rule="rookie" levelmin='1' levelmax='99'/>


    Will this work?

  5. #5
    Valued Member Lifeles5 is offline
    MemberRank
    Mar 2008 Join Date
    147Posts

    Re: each channel their own rule.

    No.
    There are other types of rules like rookie, elite etc... just edit one in channelrule.xml, then make a room called Quest Channel or w/e and make its rule to the same as you edited to quest :)

  6. #6
    Account Upgraded | Title Enabled! illxmike is offline
    MemberRank
    May 2008 Join Date
    NetherlandsLocation
    508Posts

    Re: each channel their own rule.

    Quote Originally Posted by Lifeles5 View Post
    No.
    There are other types of rules like rookie, elite etc... just edit one in channelrule.xml, then make a room called Quest Channel or w/e and make its rule to the same as you edited to quest :)
    I don't really get you,

    <CHANNEL name="Quest Channel" maxplayers="200" rule="rookie" rule="rookie" levelmin='1' levelmax='99'/>

    Should I use this in the channel.xml and edit the channelrule of rookie so you can only quest?

  7. #7
    Valued Member Lifeles5 is offline
    MemberRank
    Mar 2008 Join Date
    147Posts

    Re: each channel their own rule.

    So, if you want a channel only for quest then heres an example:

    Put this into your channelrule.xml:

    <CHANNELRULE id="4" name="elite">
    <GAMETYPE id="7" /> <!-- GAMETYPE_QUEST -->

    <MAP name="Mansion" />
    <MAP name="Prison" />
    <MAP name="Prison II" />
    <MAP name="Island" />
    <MAP name="Garden" />
    <MAP name="Station" />
    <MAP name="Battle Arena" />
    <MAP name="Factory" />
    <MAP name="Town" />
    <MAP name="Ruin" />
    <MAP name="Port" />
    <MAP name="Castle" />
    <MAP name="Dungeon" />
    <MAP name="Lost Shrine" />
    <MAP name="Stairway" />
    <MAP name="Snow_Town" />

    <MAP name="Hall" /> <!-- Only DUEL -->
    <MAP name="Catacomb" /> <!-- Only DUEL -->
    <MAP name="Jail" /> <!-- Only DUEL -->
    <MAP name="Shower Room" /> <!-- Only DUEL -->
    </CHANNELRULE>

    Put this into channel.xml:

    <CHANNEL name="Quest Channel" maxplayers="500" rule="elite" levelmin='1'/>

    And there you are...
    Don't forget that you cant have two types with the same name so delete the original "elite" type part from your channelrule.xml
    Last edited by Lifeles5; 04-02-10 at 02:28 PM.



Advertisement