Баг с кол-вом хп персонажа на определенных левелах

That's why I went to cruma marshal to level up by killing mobs, I did it with both setparam and kill mobs. unless you mean go from 1-35 killing mobs?
Я написал для себя простое АИ для отладки персонажей чтобы долго не качать.


Код:
set_compiler_opt base_event_type(@NTYPE_NPC_EVENT)

class debug_npc_helper : citizen {
parameter:
    string fnHi = "debugtest.htm";
 
handler:
    EventHandler MENU_SELECTED(talker, ask, reply) {
        if (ask == -1000 ) {
            if (reply == 1) {
                IncrementParam(talker, @PARAM_EXP, 460000);
                IncrementParam(talker, @PARAM_SP, 47000);
            }
            if (reply == 2) {
                //IncrementParam(talker, @PARAM_EXP, 460000);
                //IncrementParam(talker, @PARAM_SP, 47000);
            }
        }
    }

Код:
<html><title>GM DEBUG</title>
<body>
<center>
<img src="L2UI_CH3.herotower_deco" width=256 height=32 align=left>
</center>
<br>
<center>
<button value="Level +" action="bypass -h menu_select?ask=-1000&reply=1" width=120 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<br>
<button value="Level + ?" action="bypass -h menu_select?ask=-1000&reply=2" width=120 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<br>

<img src="L2UI_CH3.herotower_deco" width=256 height=32 align=left>
<br>
</center>
</body>
</html>

Не забудьте указать в npcdata какой диалог открывать где fnHi для debugtest.htm
Заодно создайте кастомное ID для нпц.
Или можно просто поднять рейты без рейтовки.
 
Nice idea thanks for sharing

lemmesee
I tried it more than 10 times and nothing happened, so see if something is wrong with your files, try if it crashes and the custom interface, try a clean.
 
Nice idea thanks for sharing

lemmesee
I tried it more than 10 times and nothing happened, so see if something is wrong with your files, try if it crashes and the custom interface, try a clean.
Well i just decompile all AI and found alot good funny stuff.
Only can't found solution for global shout and trade chat, also item-mall not working there.
 
Well i just decompile all AI and found a lot of good funny stuff.
Only can't found solution for global shout and trade chat, also item-mall not working there.
yes, I also tried to put the packets from the other extender, but on the other extender it didn't work to in global chat and trading, it was just for beauty in the config
 
Не подскажите куда копать? В переписке с PaNtHeR узнал, что он ничего не фиксил сам, однако бага у него не наблюдается. Он даже переслал мне 2 файла его экстендера, я заменил ими свои, однако на моей машине баг никуда не ушел
 
Нужно поправить скиллы, процедурные запросы.
 
Нашел причину. Спасибо огромнейшее PaNtHer за его время и терпение в дискорде. Причина оказалась в этом айтеме 21618 (g_box_rune_of_rp_50_c). Эта руна позволяет носить грейд на 5 уровней раньше, чем необходимо. И моя проблема случалась как раз на 35, 47, 56 и 71 уровнях. Как только удалил эту злосчастную руну, проблема сразу же исчезла. Никогда бы не подумал на нее.

Небольшое дополнение. Баг воспроизводится только с одетой руной 20352 + 22254 браслетом (friend summoning bracelet). Если иметь эти вещи по отдельности - проблемы нет. Только если их две вместе. В общем я рад, что проблема решилась, может кому-нибудь пригодится. Какая то мистика, если честно
 
Это не мистика, это скорее всего бекдорчик