Перейти к содержанию

Oxxy

Проверенные
  • Постов

    111
  • Зарегистрирован

  • Посещение

  • Победитель дней

    8

Сообщения, опубликованные Oxxy

  1. Переменных там очень много. Сбор статистики производится в разных участках исходного кода сервера.

    Это большая модификация :)

    struct s_killrank {

    unsigned short

    kill_count,

    death_count;

    int score;

    };

    struct s_battleground_stats {

    unsigned int

    top_damage,

    damage_done,

    damage_received,

    boss_damage;

    unsigned short

    // Triple Inferno

    skulls,

    ti_wins, ti_lost, ti_tie,

    // Tierra EoS

    eos_flags,

    eos_bases,

    eos_wins, eos_lost, eos_tie,

    // Tierra Bossnia

    boss_killed,

    boss_flags,

    boss_wins, boss_lost, boss_tie,

    // Tierra Domination

    dom_bases,

    dom_off_kills,

    dom_def_kills,

    dom_wins, dom_lost, dom_tie,

    // Flavius TD

    td_kills,

    td_deaths,

    td_wins, td_lost, td_tie,

    // Flavius SC

    sc_stole,

    sc_captured,

    sc_droped,

    sc_wins, sc_lost, sc_tie,

    // Flavius CTF

    ctf_taken,

    ctf_captured,

    ctf_droped,

    ctf_wins, ctf_lost, ctf_tie,

    // Conquest

    emperium_kill,

    barricade_kill,

    gstone_kill,

    cq_wins, cq_lost,

    // Rush

    ru_captures,

    ru_wins, ru_lost;

    unsigned int // Ammo

    sp_heal_potions,

    hp_heal_potions,

    yellow_gemstones,

    red_gemstones,

    blue_gemstones,

    poison_bottles,

    acid_demostration,

    acid_demostration_fail,

    support_skills_used,

    healing_done,

    wrong_support_skills_used,

    wrong_healing_done,

    sp_used,

    zeny_used,

    spiritb_used,

    ammo_used;

    unsigned short

    kill_count,

    death_count,

    win, lost, tie,

    leader_win, leader_lost, leader_tie,

    deserter, rank_games;

    int score, points, rank_points;

    };

    struct s_woestats {

    int score;

    unsigned short

    kill_count,

    death_count;

    unsigned int

    top_damage,

    damage_done,

    damage_received;

    unsigned int

    emperium_damage,

    guardian_damage,

    barricade_damage,

    gstone_damage;

    unsigned short

    emperium_kill,

    guardian_kill,

    barricade_kill,

    gstone_kill;

    unsigned int // Ammo

    sp_heal_potions,

    hp_heal_potions,

    yellow_gemstones,

    red_gemstones,

    blue_gemstones,

    poison_bottles,

    acid_demostration,

    acid_demostration_fail,

    support_skills_used,

    healing_done,

    wrong_support_skills_used,

    wrong_healing_done,

    sp_used,

    zeny_used,

    spiritb_used,

    ammo_used;

    };

    struct s_skillcount {

    unsigned short id,count;

    };

    Да и дело тут не в сложности реализации. А в том, что нету паблик аналога. ;)

    А теперь перечитываем что я написал и увидим, что было написано про ДВЕ СТРОЧКИ, а не две переменные. Считать переменную = 1 строка, изменить её значение = вторая строка, и не важно, как много их, это не будет сложно сделать, кек.

  2. С тех пор, как еАмод был ею.

    Ну тогда, дабы не быть голословным - будь добр ссылочку на паблик скрипт сбора статистики, как в еАмоде (ГВ, БГ, урон скиллы и прочее). Очень любопытно посмотреть

    Добавить 2 строчки на увеличение переменных и считывание её в сорсах - это теперь стало сложным? ссорьки :(

    • Downvote 1
  3. Жди.

    p.s: в геркулесе уже давно реализована queue система.

    ---------------------------------------//=====================================11 - Queue-Related Commands//=====================================---------------------------------------*queue();Creates a new queue instance and returns the created queue id.---------------------------------------*queuesize(<queue_id>);Returns the amount of entries in the queue instance of <queue_id>.---------------------------------------*queueadd(<queue_id>,<var_id>);Adds <var_id> to queue of <queue_id>, returning 1 if <var_id> is alreadypresent in the queue, otherwise returning 0.---------------------------------------*queueremove(<queue_id>,<var_id>);Removes <var_id> from queue of <queue_id>, returning 1 if <var_id> is notpresent in the queue, otherwise returning 0.---------------------------------------*queueopt(<queue_id>,<optionType>,{Optional <option val>});Modifies <queue_id>'s <optionType>. When <option val> is not present<optionType> is removed from <queue_id>. When present it modifies<queue_id>'s <optionType> with the new <option val> value.Currently 3 options are available:HQO_OnDeath (1), HQO_OnLogout (2), HQO_OnMapChange (3)Note: The constant names are not final.Example: queueopt(.@queue_id,0,"MyNPC::MyOnQueueMemberDeathEventName"); ---------------------------------------*queuedel(<queue_id>);Deletes <queue_id> and returns 1 when <queue_id> is not found, otherwise0 is returned.---------------------------------------*queueiterator(<queue_id>);Creates a new queue iterator instance.A queue iterator is not a reference to a queue's actual members, it copiesthe queues members when initialized, this way you can loop through themeven if you remove them from the queue.---------------------------------------*qicheck(<queue_iterator_id>);checks whether there is a next member in the iterator's queue, 1 whenit does, 0 otherwise.---------------------------------------*qiget(<queue_iterator_id>);obtains the next member in the iterator's queue, returns the next member'sid or 0 when it doesnt exist.Example: for (.@elem = qiget(.@queue_iterator_id); qicheck(.@queue_iterator_id); .@elem = qiget(.@queue_iterator_id)) { //Do something }---------------------------------------*qiclear(<queue_iterator_id>);Deletes a queue iterator from memory and returns 1 when it fails,otherwise 0 is returned.---------------------------------------//=====================================11 - End of Queue-Related Commands//=====================================---------------------------------------

    Знаю) дома я геракл запустил на хосте несмог )))) как только не пробовал)))) и геркулес намного багнутее рАмода)

    Ответишь за то, что он багнутее?)

    ну лично Я заметил только то что несмог запустить его и ненашёл ответа на вопрос почему не на этом форуме не на геракл.вс ))) Остальное даже не пытался пробовать потому-что незнаю как запускать этот емуль на хосте ))) И мод что ты показал платный))) а я уже заплотил за рАмод ) и не мало )

    В любом случае спасибо)) Хоть не буду питать надежды что смогу поправить фигню с кеш шопом )

    Этот мод не платный, он в разработке и будет выпущен бесплатно для всех пользователей Hercules плагином. Платить за rAmod, который по сути - сборка паблик скриптов - бред полный ;-)

    Здрасьте-приехали. рАмод - сборка паблик скриптов? С каких пор?

    С тех пор, как еАмод был ею.

  4. Жди.

    p.s: в геркулесе уже давно реализована queue система.

    ---------------------------------------//=====================================11 - Queue-Related Commands//=====================================---------------------------------------*queue();Creates a new queue instance and returns the created queue id.---------------------------------------*queuesize(<queue_id>);Returns the amount of entries in the queue instance of <queue_id>.---------------------------------------*queueadd(<queue_id>,<var_id>);Adds <var_id> to queue of <queue_id>, returning 1 if <var_id> is alreadypresent in the queue, otherwise returning 0.---------------------------------------*queueremove(<queue_id>,<var_id>);Removes <var_id> from queue of <queue_id>, returning 1 if <var_id> is notpresent in the queue, otherwise returning 0.---------------------------------------*queueopt(<queue_id>,<optionType>,{Optional <option val>});Modifies <queue_id>'s <optionType>. When <option val> is not present<optionType> is removed from <queue_id>. When present it modifies<queue_id>'s <optionType> with the new <option val> value.Currently 3 options are available:HQO_OnDeath (1), HQO_OnLogout (2), HQO_OnMapChange (3)Note: The constant names are not final.Example: queueopt(.@queue_id,0,"MyNPC::MyOnQueueMemberDeathEventName"); ---------------------------------------*queuedel(<queue_id>);Deletes <queue_id> and returns 1 when <queue_id> is not found, otherwise0 is returned.---------------------------------------*queueiterator(<queue_id>);Creates a new queue iterator instance.A queue iterator is not a reference to a queue's actual members, it copiesthe queues members when initialized, this way you can loop through themeven if you remove them from the queue.---------------------------------------*qicheck(<queue_iterator_id>);checks whether there is a next member in the iterator's queue, 1 whenit does, 0 otherwise.---------------------------------------*qiget(<queue_iterator_id>);obtains the next member in the iterator's queue, returns the next member'sid or 0 when it doesnt exist.Example: for (.@elem = qiget(.@queue_iterator_id); qicheck(.@queue_iterator_id); .@elem = qiget(.@queue_iterator_id)) { //Do something }---------------------------------------*qiclear(<queue_iterator_id>);Deletes a queue iterator from memory and returns 1 when it fails,otherwise 0 is returned.---------------------------------------//=====================================11 - End of Queue-Related Commands//=====================================---------------------------------------

    Знаю) дома я геракл запустил на хосте несмог )))) как только не пробовал)))) и геркулес намного багнутее рАмода)

    Ответишь за то, что он багнутее?)

    ну лично Я заметил только то что несмог запустить его и ненашёл ответа на вопрос почему не на этом форуме не на геракл.вс ))) Остальное даже не пытался пробовать потому-что незнаю как запускать этот емуль на хосте ))) И мод что ты показал платный))) а я уже заплотил за рАмод ) и не мало )

    В любом случае спасибо)) Хоть не буду питать надежды что смогу поправить фигню с кеш шопом )

    Этот мод не платный, он в разработке и будет выпущен бесплатно для всех пользователей Hercules плагином. Платить за rAmod, который по сути - сборка паблик скриптов - бред полный ;-)

  5. Жди.

    p.s: в геркулесе уже давно реализована queue система.

    ---------------------------------------//=====================================11 - Queue-Related Commands//=====================================---------------------------------------*queue();Creates a new queue instance and returns the created queue id.---------------------------------------*queuesize(<queue_id>);Returns the amount of entries in the queue instance of <queue_id>.---------------------------------------*queueadd(<queue_id>,<var_id>);Adds <var_id> to queue of <queue_id>, returning 1 if <var_id> is alreadypresent in the queue, otherwise returning 0.---------------------------------------*queueremove(<queue_id>,<var_id>);Removes <var_id> from queue of <queue_id>, returning 1 if <var_id> is notpresent in the queue, otherwise returning 0.---------------------------------------*queueopt(<queue_id>,<optionType>,{Optional <option val>});Modifies <queue_id>'s <optionType>. When <option val> is not present<optionType> is removed from <queue_id>. When present it modifies<queue_id>'s <optionType> with the new <option val> value.Currently 3 options are available:HQO_OnDeath (1), HQO_OnLogout (2), HQO_OnMapChange (3)Note: The constant names are not final.Example: queueopt(.@queue_id,0,"MyNPC::MyOnQueueMemberDeathEventName"); ---------------------------------------*queuedel(<queue_id>);Deletes <queue_id> and returns 1 when <queue_id> is not found, otherwise0 is returned.---------------------------------------*queueiterator(<queue_id>);Creates a new queue iterator instance.A queue iterator is not a reference to a queue's actual members, it copiesthe queues members when initialized, this way you can loop through themeven if you remove them from the queue.---------------------------------------*qicheck(<queue_iterator_id>);checks whether there is a next member in the iterator's queue, 1 whenit does, 0 otherwise.---------------------------------------*qiget(<queue_iterator_id>);obtains the next member in the iterator's queue, returns the next member'sid or 0 when it doesnt exist.Example: for (.@elem = qiget(.@queue_iterator_id); qicheck(.@queue_iterator_id); .@elem = qiget(.@queue_iterator_id)) { //Do something }---------------------------------------*qiclear(<queue_iterator_id>);Deletes a queue iterator from memory and returns 1 when it fails,otherwise 0 is returned.---------------------------------------//=====================================11 - End of Queue-Related Commands//=====================================---------------------------------------

    Знаю) дома я геракл запустил на хосте несмог )))) как только не пробовал)))) и геркулес намного багнутее рАмода)

    Ответишь за то, что он багнутее?)

    Настраивается он ровно так же, как rAthena, rAmod, eAmod, eAthena. Ничего нового там нет, то, что ты не смог поднять его - не значит, что он багнутее, кек.

  6. Жди.

    p.s: в геркулесе уже давно реализована queue система.

    ---------------------------------------
    //=====================================
    11 - Queue-Related Commands
    //=====================================
    ---------------------------------------

    *queue();

    Creates a new queue instance and returns the created queue id.

    ---------------------------------------

    *queuesize(<queue_id>);

    Returns the amount of entries in the queue instance of <queue_id>.

    ---------------------------------------

    *queueadd(<queue_id>,<var_id>);

    Adds <var_id> to queue of <queue_id>, returning 1 if <var_id> is already
    present in the queue, otherwise returning 0.

    ---------------------------------------

    *queueremove(<queue_id>,<var_id>);

    Removes <var_id> from queue of <queue_id>, returning 1 if <var_id> is not
    present in the queue, otherwise returning 0.

    ---------------------------------------

    *queueopt(<queue_id>,<optionType>,{Optional <option val>});

    Modifies <queue_id>'s <optionType>. When <option val> is not present
    <optionType> is removed from <queue_id>. When present it modifies
    <queue_id>'s <optionType> with the new <option val> value.

    Currently 3 options are available:
    HQO_OnDeath (1), HQO_OnLogout (2), HQO_OnMapChange (3)

    Note: The constant names are not final.

    Example:
    queueopt(.@queue_id,0,"MyNPC::MyOnQueueMemberDeathEventName");

    ---------------------------------------

    *queuedel(<queue_id>);

    Deletes <queue_id> and returns 1 when <queue_id> is not found, otherwise
    0 is returned.

    ---------------------------------------

    *queueiterator(<queue_id>);

    Creates a new queue iterator instance.
    A queue iterator is not a reference to a queue's actual members, it copies
    the queues members when initialized, this way you can loop through them
    even if you remove them from the queue.

    ---------------------------------------

    *qicheck(<queue_iterator_id>);
    checks whether there is a next member in the iterator's queue, 1 when
    it does, 0 otherwise.

    ---------------------------------------

    *qiget(<queue_iterator_id>);

    obtains the next member in the iterator's queue, returns the next member's
    id or 0 when it doesnt exist.

    Example:
    for (.@elem = qiget(.@queue_iterator_id); qicheck(.@queue_iterator_id); .@elem = qiget(.@queue_iterator_id)) {
    //Do something
    }

    ---------------------------------------

    *qiclear(<queue_iterator_id>);

    Deletes a queue iterator from memory and returns 1 when it fails,
    otherwise 0 is returned.

    ---------------------------------------
    //=====================================
    11 - End of Queue-Related Commands
    //=====================================
    ---------------------------------------

  7. Проблема не в эмуляторе, а в ехе. Эмулятор уже стабильно поддерживает все ехе 2013 года.

    Так дело в том что на обычной ратене специально пробовал И работает Кеш а вот Мод не хочет ) как бы если не хватает он пишет ) а если хватает то нечего не происходит, Я подумал может пути повреждены или в сорце какая проблема

    rAmod, всмысле?

    Ну тот же еАмод только версии рАтены) Теже ачивки теже бг 2.0 и т.д) просто на РАтена емуляторе)

    rAmod и eAmod не поддерживаются уже давно самим разработчиком, насколько я знаю. А значит, они не имеют поддержки кеш шопа и других новых функций.

    Другими словами Картинка есть неудачи покажет но итемки не выдаст да? Но тем неменее там есть сорцы кеш шопа и есть в пре ре отделе ıtem_cash.db

    Возможно там неполная поддержка всех ехе. Я не знаю, рАмод и еАмод - две параши. ;-)

  8. Используй

    , это первое, второе, когда должна играть музыка?
    [/quote]
    Сразу как появится первая волна и до самого конца пока не выйдут из ивента)
    [/quote]

    Полагаю, после
    [code]
    announce "Devil Square has STARTED!", bc_all;
    [/code]

    • Upvote 1
  9. Проблема не в эмуляторе, а в ехе. Эмулятор уже стабильно поддерживает все ехе 2013 года.

    Так дело в том что на обычной ратене специально пробовал И работает Кеш а вот Мод не хочет ) как бы если не хватает он пишет ) а если хватает то нечего не происходит, Я подумал может пути повреждены или в сорце какая проблема

    rAmod, всмысле?

    Ну тот же еАмод только версии рАтены) Теже ачивки теже бг 2.0 и т.д) просто на РАтена емуляторе)

    rAmod и eAmod не поддерживаются уже давно самим разработчиком, насколько я знаю. А значит, они не имеют поддержки кеш шопа и других новых функций.

  10. Проблема не в эмуляторе, а в ехе. Эмулятор уже стабильно поддерживает все ехе 2013 года.

    Так дело в том что на обычной ратене специально пробовал И работает Кеш а вот Мод не хочет ) как бы если не хватает он пишет ) а если хватает то нечего не происходит, Я подумал может пути повреждены или в сорце какая проблема

    rAmod, всмысле?

  11. *soundeffect "<effect filename>",<type>;
    *soundeffectall "<effect filename>",<type>{,"<map name>"}{,<x0>,<y0>,<x1>,<y1>};

    These two commands will play a sound effect to either the invoking
    character only ('soundeffect') or multiple characters ('soundeffectall').
    If the running code does not have an object ID (a 'floating' NPC) or is
    not running from an NPC object at all (an item script) the sound will be
    centered on the character who's RID got attached to the script, if any.
    If it does, it will be centered on that object. (an NPC sprite)

    Effect filename is the filename in a GRF. It must have the .wav extension.

    It's not quite certain what the 'type' actually does, it is sent to the
    client directly. It probably determines which directory to play the effect
    from. It's certain that giving 0 for the number will play sound files from
    '\data\wav\', but where the other numbers will read from is unclear.

    The sound files themselves must be in the PCM format, and file names
    should also have a maximum length of 23 characters including the .wav
    extension:

    soundeffect "1234567890123456789.wav", 0; // will play the soundeffect
    soundeffect "12345678901234567890.wav", 0; // throws gravity error

    You can add your own effects this way, naturally.

    • Upvote 1
  12. в том то и дело. что размеры не устраивают. логин окно я хател сделать больше! но не получается. стандартный размер меньше и картинка не влазиет целиком!

    нельзя их сделать больше, у них есть определённый размер установленный Gravity.

  13. где надыбать 16й эпизод? чет не как не могу найти его....

    што?

    он ещё в корее вроде не вышел полностью, а на рА 15 не реализован, а ты бы уже себе хотел поставить? хД

    ну да) я кстате сегодня обновил китайским апдейтером клиент. у меня он крашится начал. именно в пронте. что такое е не понял.скачал с raggame data.grf все заработало нормально.

    насколько помню, нужен ехе более новой версии, пронтера использует модели, которые не читаются старыми ехе.

×
×
  • Создать...
Яндекс.Метрика