• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Nowy kanal

Technic

Dżustin Bajadera
Joined
Aug 8, 2008
Messages
1,180
Reaction score
28
Location
United States
Witam,
Chcialem zrobic prywatny kanal, chodzi mi oto zeby otwieral sie w trakcie logowalnia. Czy moge to jakos zrobicz przez lua, lub czy wogole moge?
Szukalem, ale wszystko co sostalem to "Jak przepisac kanal npc z 0.3 do 0.2"

Dziekuje za pomoc.

edit:
znalazlem to w fukcjach isPrivateChannel(channelId) wiec chyba jakas mozliwosc edycji musi byc.
 
data/xml/channels?

np.
<channel id="9" name="jestes noobem" logged="yes"/>
 
A co do automatycznego otwierania itd, niestety nie ma takich funkcji bo wszystko jest po stronie klienta
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<channels>
        <!-- README:
                0 - dynamic, reserved for guilds
                1 - always acts as Party channel, only "name" tag available
                3 - always acts as Rule Violations channel
                9 - acts as Help channel- clientsided message
                65535 - DO NOT CHANGE THE ID- only "name", "enabled", "active" and "logged" tags available
         -->
        <channel id="1" name="Party"/>
        <channel id="2" name="Staff" access="3"/>
        <channel id="3" name="Rule Violations" logged="yes"/>
        <channel id="4" name="Counselor" access="1"/>
        <channel id="5" name="Game-Chat" level="2"/>
        <channel id="6" name="Trade" level="8" muted="120" conditionId="2" conditionMessage="You may only place one offer in two minutes.">
                <vocation id="1-8"/>
        </channel>
        <channel id="7" name="Trade-Rookgaard" level="2" muted="120" conditionId="3" conditionMessage="You may only place one offer in two minutes.">
                <vocation id="0"/>
        </channel>
        <channel id="8" name="RL-Chat" level="2"/>
        <channel id="9" name="Help" logged="yes"/>
        <!-- <channel id="10" name="My Custom Channel"/> -->
        <channel id="65535" name="Private Chat Channel"/>
</channels>
 
A co do automatycznego otwierania itd, niestety nie ma takich funkcji bo wszystko jest po stronie klienta

hmm, widziałem server na którym po dojściu do party automatycznie otwiera się party channel więc chyba jest taka możliwość :p
 
hmm, widziałem server na którym po dojściu do party automatycznie otwiera się party channel więc chyba jest taka możliwość :p

Party się otwiera domyślnie chyba na każdym serwerze.

Ale faktycznie masz racje, coś tu widzę że chyba można to kontrolować. Zaraz będę się z tym bawić.
 
Back
Top