Instance [Kamaloka] or any other instance - custom reset

Hellion

Новичок
#1
Hello fellas,

How could we reset kamaloka instance with a specific item?
XML:
<list>
    <instance id="72" name="Kamaloka, Hall of the Abyss" maxChannels="10" collapseIfEmpty="5" timelimit="50" dispelBuffs="false">
        <collapse on-party-dismiss="true" timer="60"/>
        <level min="70" max="80"/>
        <party min="2" max="6"/>
        <return loc="43928 -49144 -792"/>
        <teleport loc="-76472 -174921 -11000"/>
        <geodata map="17_12"/>
        <remove itemId="0" count="0" necessary="false"/>
        <give itemId="0" count="0"/>
        <quest id="0"/>
        <reuse resetReuse="* * * * *" setUponEntry="true" sharedReuseGroup="1"/> <!-- Instance reuse at 6:30 every day -->
        <spawns>
            <spawn mobId="25657" type="point">
                <coords loc="180375 -88984 -7216"/>
            </spawn>
            <spawn mobId="25658" type="point">
                <coords loc="182168 -88968 -7216"/>
            </spawn>
            <spawn mobId="25659" type="point">
                <coords loc="183911 -88969 -7216 "/>
            </spawn>
        </spawns>
        <doors>
            <door id="25150001" opened="false"/>
            <door id="25150002" opened="false"/>
            <door id="25150003" opened="false"/>
            <door id="25150004" opened="false"/>
        </doors>
    </instance>
</list>
for example if we take the xml from above, how should I add a specific item in order to reset the cooldown for kamaloka entrance ?
More detailed example: If i enter to kamaloka and finish it I can join only the next day, but I would like it to be reseted with a specific items so I will be able to join again.
Any help/tips are welcome.
Thank you !

BR,
Hellion
 

Deazer

Разработчик
Staff member
#4
Hello fellas,

How could we reset kamaloka instance with a specific item?
XML:
<list>
    <instance id="72" name="Kamaloka, Hall of the Abyss" maxChannels="10" collapseIfEmpty="5" timelimit="50" dispelBuffs="false">
        <collapse on-party-dismiss="true" timer="60"/>
        <level min="70" max="80"/>
        <party min="2" max="6"/>
        <return loc="43928 -49144 -792"/>
        <teleport loc="-76472 -174921 -11000"/>
        <geodata map="17_12"/>
        <remove itemId="0" count="0" necessary="false"/>
        <give itemId="0" count="0"/>
        <quest id="0"/>
        <reuse resetReuse="* * * * *" setUponEntry="true" sharedReuseGroup="1"/> <!-- Instance reuse at 6:30 every day -->
        <spawns>
            <spawn mobId="25657" type="point">
                <coords loc="180375 -88984 -7216"/>
            </spawn>
            <spawn mobId="25658" type="point">
                <coords loc="182168 -88968 -7216"/>
            </spawn>
            <spawn mobId="25659" type="point">
                <coords loc="183911 -88969 -7216 "/>
            </spawn>
        </spawns>
        <doors>
            <door id="25150001" opened="false"/>
            <door id="25150002" opened="false"/>
            <door id="25150003" opened="false"/>
            <door id="25150004" opened="false"/>
        </doors>
    </instance>
</list>
for example if we take the xml from above, how should I add a specific item in order to reset the cooldown for kamaloka entrance ?
More detailed example: If i enter to kamaloka and finish it I can join only the next day, but I would like it to be reseted with a specific items so I will be able to join again.
Any help/tips are welcome.
Thank you !

BR,
Hellion
Here is full info
https://lucera2.ru/threads/the-complete-guide-of-instances-kamaloka-and-whatever.2145/
 

BerserkdGG

Пользователь
#5
Hello fellas,

How could we reset kamaloka instance with a specific item?
XML:
<list>
    <instance id="72" name="Kamaloka, Hall of the Abyss" maxChannels="10" collapseIfEmpty="5" timelimit="50" dispelBuffs="false">
        <collapse on-party-dismiss="true" timer="60"/>
        <level min="70" max="80"/>
        <party min="2" max="6"/>
        <return loc="43928 -49144 -792"/>
        <teleport loc="-76472 -174921 -11000"/>
        <geodata map="17_12"/>
        <remove itemId="0" count="0" necessary="false"/>
        <give itemId="0" count="0"/>
        <quest id="0"/>
        <reuse resetReuse="* * * * *" setUponEntry="true" sharedReuseGroup="1"/> <!-- Instance reuse at 6:30 every day -->
        <spawns>
            <spawn mobId="25657" type="point">
                <coords loc="180375 -88984 -7216"/>
            </spawn>
            <spawn mobId="25658" type="point">
                <coords loc="182168 -88968 -7216"/>
            </spawn>
            <spawn mobId="25659" type="point">
                <coords loc="183911 -88969 -7216 "/>
            </spawn>
        </spawns>
        <doors>
            <door id="25150001" opened="false"/>
            <door id="25150002" opened="false"/>
            <door id="25150003" opened="false"/>
            <door id="25150004" opened="false"/>
        </doors>
    </instance>
</list>
for example if we take the xml from above, how should I add a specific item in order to reset the cooldown for kamaloka entrance ?
More detailed example: If i enter to kamaloka and finish it I can join only the next day, but I would like it to be reseted with a specific items so I will be able to join again.
Any help/tips are welcome.
Thank you !

BR,
Hellion
You have to write an Item handled by yourself via code (Extension).
That item has to do something similar to the admin command //reset_reuse.
To add an extension you have to check first the "How to add an assembly / subsystem" post.
If you need further help, contact me via discord at BerserkdGG#3398.
 
Top