Jump to content

TekkForCeAD2

Banned
  • Posts

    25
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by TekkForCeAD2

  1. Hello,

    I wanted to ask how you set up your my.cnf for a good perfomance.

    Here is my.cnf:

    #INNODB
    innodb_buffer_pool_size = 378M
    innodb_log_file_size = 64M
    innodb_file_per_table=1
    innodb_flush_method = O_DIRECT
    #MyISAM
    key_buffer_size = 64M
    #OTHER
    tmp_table_size = 32M
    max_heap_table_size = 32M
    query_cache_type = 0
    query_cache_size = 00
    max_connections = 500
    max_connect_errors = 500
    thread_cache_size = 50
    table_open_cache = 800
    open_files_limit = 65535
    innodb_force_recovery = 0


  2. V6Jgg.png
    BzDFf.png
    09f4h.png
    2Djxf.png
    ICCnb.png
    Bxqob.png
    NDRsd.png
    KlbMc.png
    L3fbf.png
    J90gf.png
    Mco0h.png
    mnVFe.png
    pt1Kg.png
    GHUse.png
    sBKLb.png
    bp7kc.png
    THUEe.png
    6Wagg.png
    CJTkd.png
    CYCyc.png
    u96uf.png
    JR8Oe.png
    zGklc.png
    aN6Rc.png
    e7jjh.png
    OOtYc.png
    1uVNf.png
    yL1Tg.png
    L4WBg.png
    PGX8e.png
    PJvCg.png
    k8IXg.png


    Youtube Promotion:

    *Wir sind für jede Art von Promotion offen, wer Lust hat bitte melden natürlich gibt es von uns eine Gegenleistung.

    Giveaway:
    Wer als erstes das Maximale Level 99 erreicht bekommt ein 50€ Amazon Gutschein.
    Wer als zweites das Maximale Level 99 erreicht bekommt ein 30€ Amazon Gutschein.
    Wer als drittes das Maximale Level 99 erreicht bekommt ein 20€ Amazon Gutschein.


    http://adrium2.com/

     

  3. 3 hours ago, M.Sorin said:

    Wait , i edit you code.

     

     

        if (pkKiller->GetLevel() >= 15 && abs(pkKiller->GetLevel() - pkChr->GetLevel()) <= 5)
        {
            int pct = quest::CQuestManager::instance().GetEventFlag("mondi_drop");

            if (pct > 0)
            {
                if (number(1,100) <= pct)
                {
                        const static DWORD moon_treasure = 50011;
                        pkKiller->AutoGiveItem(moon_treasure, 1);
                }
            }
        }

     

     

    Thanks ! work fine.

  4. Hello,

    if (pkKiller->GetLevel() >= 15 && abs(pkKiller->GetLevel() - pkChr->GetLevel()) <= 10)
            {
                int pct = quest::CQuestManager::instance().GetEventFlag("mondi_drop");

                if (pct > 0)
                {
                    const DWORD ITEM_VNUM = 50011;

                    if (number(1,400) <= pct)
                    {
                        if ((item = CreateItem(ITEM_VNUM, 1, 0, true)))
                            vec_item.push_back(item);
                    }
                }
            }


    What i must change that the drop came in the inventory and not on the floor.

  5. Hello Same problem =

    interfacemodule.py:

    Spoiler

     

    ##!! 20061026.levites.퀘스트_이미지_교체
            import item
            if "item"==iconType:
                item.SelectItem(int(iconName))
                buttonImageFileName=item.GetIconImageFileName()
            else:
                buttonImageFileName=iconName

            if localeInfo.IsEUROPE():
                if name[0] == '*':
                    btn.SetUpVisual("locale/de/ui/questicon/scroll_close_blue.tga")
                    btn.SetOverVisual("locale/de/ui/questicon/scroll_open_blue.tga")
                    btn.SetDownVisual("locale/de/ui/questicon/scroll_open_blue.tga")
                    name = name[1:]
                elif name[0] == '~':
                    btn.SetUpVisual("locale/de/ui/questicon/scroll_close_golden.tga")
                    btn.SetOverVisual("locale/de/ui/questicon/scroll_open_golden.tga")
                    btn.SetDownVisual("locale/de/ui/questicon/scroll_open_golden.tga")
                    name = name[1:]
                elif name[0] == '&':
                    btn.SetUpVisual("locale/de/ui/questicon/scroll_close_green.tga")
                    btn.SetOverVisual("locale/de/ui/questicon/scroll_open_green.tga")
                    btn.SetDownVisual("locale/de/ui/questicon/scroll_open_green.tga")
                    name = name[1:]
                elif name[0] == '+':
                    btn.SetUpVisual("locale/de/ui/questicon/scroll_close_purple.tga")
                    btn.SetOverVisual("locale/de/ui/questicon/scroll_open_purple.tga")
                    btn.SetDownVisual("locale/de/ui/questicon/scroll_open_purple.tga")
                    name = name[1:]
                else:
                    btn.SetUpVisual(localeInfo.GetLetterCloseImageName())
                    btn.SetOverVisual(localeInfo.GetLetterOpenImageName())
                    btn.SetDownVisual(localeInfo.GetLetterOpenImageName())
            else:
                btn.SetUpVisual(buttonImageFileName)
                btn.SetOverVisual(buttonImageFileName)
                btn.SetDownVisual(buttonImageFileName)
                btn.Flash()
            # END_OF_QUEST_LETTER_IMAGE

     

    uicharacter.py
     

    Spoiler

     

    for i in questRange[:questCount]:
                (questName, questIcon, questCounterName, questCounterValue) = quest.GetQuestData(self.questShowingStartIndex+i)
                # start colored scrolls
                if questName[0] == '*':
                    questName = questName[1:]
                elif questName[0] == '&':
                    questName = questName[1:]
                elif questName[0] == '~':
                    questName = questName[1:]
                elif questName[0] == '+':
                    questName = questName[1:]
                # end colored scrolls
                self.questNameList.SetText(questName)
                self.questNameList.Show()
                self.questLastCountList.Show()
                self.questLastTimeList.Show()

                if len(questCounterName) > 0:
                    self.questLastCountList.SetText("%s : %d" % (questCounterName, questCounterValue))
                else:
                    self.questLastCountList.SetText("")

     



    512a8c20ac677e1d95081f527f1d5fa8.png

     

    Spoiler

     

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.