Jump to content

ucell_uz

Members
  • Content Count

    44
  • Joined

  • Last visited

Posts posted by ucell_uz


  1. An old topic but same issue.

     

    Using the latest version of Hercules with this Client:

     

      http://herc.ws/board/topic/13827-2015-10-29aragexere-client-re-release/

     

    mmo.h set to:

     

       #define PACKETVER 20151029

       #define ENABLE_PACKETVER_RE

     

    I get the error:

     

       CHARACTER_INFO size error!! character num : 9 CHARACTER_INFO size : 144

     

    Any ideas?

    whats error in console ? img please in studio!

    if you used exe 2013 or higher  download this version

     

    http://www.mediafire.com/file/t7t57pzr3g7766r/2013-08-14aRagexe.exe+Client+Update+by+Themon.rar


  2. Just add more Apple in the Drops{} section of the Poring. You can have a maximum of 10 drops per monster, so you will have to remove some existing drops if you want 8 apples.

     

    please Give an example?

    Not strong in scripting

    thx!

     

     

     

    {

        Id: 512
        AegisName: "Apple"
        Name: "Apple"
        Type: 0
        Buy: 15
        Weight: 20
        BuyingStore: true
        Script: <" itemheal rand(16,22),0; ">
    }, 

     
    oy! sorry my)
    i find
     

    {
        Id: 1002
        SpriteName: "PORING"
        Name: "Poring"
        Lv: 1
        Hp: 60
        Sp: 1
        Exp: 36
        JExp: 20
        AttackRange: 1
        Attack: [8, 1]
        Def: 2
        Mdef: 5
        Stats: {
            Str: 6
            Agi: 1
            Vit: 1
            Int: 0
            Dex: 6
            Luk: 5
        }
        ViewRange: 10
        ChaseRange: 12
        Size: 1
        Race: 3
        Element: (1, 1)
        Mode: {
            CanMove: true
            Looter: true
            CanAttack: true
        }
        MoveSpeed: 400
        AttackDelay: 1872
        AttackMotion: 672
        DamageMotion: 480
        MvpExp: 0
        Drops: {
            Jellopy: 7000
            Knife_: 100
            Sticky_Mucus: 400
            Apple: 1000
            Empty_Bottle: 1500
            Apple: 150
            Unripe_Apple: 20
            Poring_Card: 1
        }
    },
     


  3. hi all! need your help, help me with dropouts.

    It is necessary to make, that at murder of a mob of a poring 3 apples fell out

    And when killing the mobs Drops, to drop 8 apples

     

    How to implement it correctly?

     

    i used hercules version 2015 libc 1.4.9

     

    my db 

     

     

     

     

    h 
    //================= Hercules Database =====================================
    //=       _   _                     _
    //=      | | | |                   | |
    //=      | |_| | ___ _ __ ___ _   _| | ___  ___
    //=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
    //=      | | | |  __/ | | (__| |_| | |  __/\__ \
    //=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
    //================= License ===============================================
    //= This file is part of Hercules.
    //= http://herc.ws - http://github.com/HerculesWS/Hercules
    //=
    //= Copyright © 2014-2015  Hercules Dev Team
    //=
    //= Hercules is free software: you can redistribute it and/or modify
    //= it under the terms of the GNU General Public License as published by
    //= the Free Software Foundation, either version 3 of the License, or
    //= (at your option) any later version.
    //=
    //= This program is distributed in the hope that it will be useful,
    //= but WITHOUT ANY WARRANTY; without even the implied warranty of
    //= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    //= GNU General Public License for more details.
    //=
    //= You should have received a copy of the GNU General Public License
    //= along with this program.  If not, see <http://www.gnu.org/licenses/>.
    //=========================================================================
    //= Items Database
    //=========================================================================
     
    item_db: (
    /**************************************************************************
     ************* Entry structure ********************************************
     **************************************************************************
    {
        // ================ Mandatory fields ==============================
        Id: ID                        (int)
        AegisName: "Aegis_Name"       (string)
        Name: "Item Name"             (string)
        // ================ Optional fields ===============================
        Type: Item Type               (int, defaults to 3 = etc item)
        Buy: Buy Price                (int, defaults to Sell * 2)
        Sell: Sell Price              (int, defaults to Buy / 2)
        Weight: Item Weight           (int, defaults to 0)
        Atk: Attack                   (int, defaults to 0)
        Matk: Magical Attack          (int, defaults to 0, ignored in pre-re)
        Def: Defense                  (int, defaults to 0)
        Range: Attack Range           (int, defaults to 0)
        Slots: Slots                  (int, defaults to 0)
        Job: Job mask                 (int, defaults to all jobs = 0xFFFFFFFF)
        Upper: Upper mask             (int, defaults to any = 0x3f)
        Gender: Gender                (int, defaults to both = 2)
        Loc: Equip location           (int, required value for equipment)
        WeaponLv: Weapon Level        (int, defaults to 0)
        EquipLv: Equip required level (int, defaults to 0)
        EquipLv: [min, max]           (alternative syntax with min / max level)
        Refine: Refineable            (boolean, defaults to true)
        View: View ID                 (int, defaults to 0)
        BindOnEquip: true/false       (boolean, defaults to false)
        ForceSerial: true/false       (boolean, defaults to false)
        BuyingStore: true/false       (boolean, defaults to false)
        Delay: Delay to use item      (int, defaults to 0)
        KeepAfterUse: true/false      (boolean, defaults to false)
        Trade: {                      (defaults to no restrictions)
            override: GroupID             (int, defaults to 100)
            nodrop: true/false            (boolean, defaults to false)
            notrade: true/false           (boolean, defaults to false)
            nostorage: true/false         (boolean, defaults to false)
            nocart: true/false            (boolean, defaults to false)
            noselltonpc: true/false       (boolean, defaults to false)
            nomail: true/false            (boolean, defaults to false)
            noauction: true/false         (boolean, defaults to false)        
            nogstorage: true/false        (boolean, defaults to false)
            partneroverride: true/false   (boolean, defaults to false)
        }
        Nouse: {                      (defaults to no restrictions)
            override: GroupID             (int, defaults to 100)
            sitting: true/false           (boolean, defaults to false)
        }
        Stack: [amount, type]         (int, defaults to 0)
        Sprite: SpriteID              (int, defaults to 0)
        Script: <"
            Script
            (it can be multi-line)
        ">
        OnEquipScript: <" OnEquip Script (can also be multi-line) ">
        OnUnequipScript: <" OnUnequip Script (can also be multi-line) ">
    },
    **************************************************************************/ 
    

     

     

     

    please help out!

     

    killing mob Poring - add 3 apple

    killing mob Drops -  add 8 apple


  4. Hi guys, need help, help out.

    The essence of the matter is this:

     

    I want to make changes to the standard board

    For example: board 91-99

    It is necessary that the quest be taken only once and 1 char

    It is necessary that if I took a monster devirochi, so that in parallel could not take another monster for example kaho .. and need a check with the message that if I have not completed the quest, and I'll choose for example kaho, so that the message that until I I will pass the old quest, I can not take the monster kaho.

     

    I need a check with the message, if I blown the whole board 91-99, then the message came out that I went through the whole board and that in this 91-99 there are no more missions!

     

    Help out!

     

    this default 91-99 board



    moc_para01,48,177,3    script    91-99 Mission Board    4_BOARD3,{

        if (countitem(Para_Team_Mark) < 1) {

            mes "Wait a minute!";

            mes "-You need to have an-";

            mes "-^4d4dff'Eden Group Mark'^000000-";

            mes "-to receive these missions.-";

            next;

            switch(select("Just walk away.:^0000FFEden Group^000000 missions?:How can I be a member of the ^0000FFEden Group^000000?")) {

            case 1:

                close;

            case 2:

                mes "::The Eden Group Missions";

                mes "::are basically missions";

                mes "::requested by";

                mes "::people from all around the kingdom.";

                mes "::We just categorize them.";

                next;

                mes "::In the Eden Group,";

                mes "::we sorted out the missions";

                mes "::according to the level of difficulty.";

                mes "::According to this level,";

                mes "::you can find";

                mes "::missions that";

                mes "::suit you.";

                next;

                mes "::When you are done,";

                mes "::you can come back";

                mes "::to the mission board.";

                next;

                mes "::Then you will be";

                mes "::rewarded!!";

                mes "::Simple, isn't it!!";

                mes "::No commission required!!";

                close;

            case 3:

                mes "::You can become a member";

                mes "::of the Eden Group";

                mes "::to ^0000FFLaime Evenor^000000,";

                mes "::who is waiting on the 1st floor.";

                next;

                mes "::If you become a member,";

                mes "::you will get an";

                mes "::\"^006400Eden Group Mark^000000\".";

                mes "::Then you will be able";

                mes "::to see the mission board.";

                close;

            }

        }

        if (BaseLevel < 91 || BaseLevel > 99) {

            // Quest IDs: 4181-4196

            // Quest cooldown IDs: 4212-4227

            setarray .@names$[0],

                "Solider","Freezer","Heater",

                "Injustice","Rybio","Dark Priest",

                "Stapo","Roween","Siroma",

                "Shinobi","Evil Nymph",

                "Deviruchi","Mineral","Kaho","Neraid","Disguise";

            setarray .@exp[0],

                90000,94000,114000,

                96000,96000,146000,

                96000,102000,110000,

                102000,108000,

                110000,138000,118000,96000,134000;

            mes "You must be within level 91-99 to accept these missions.";

            for(.@quest = 4181; .@quest<=4196; ++.@quest) {

                .@hunting = questprogress(.@quest,HUNTING);

                if (.@hunting == 1) {

                    next;

                    mes ":: You cannot proceed in";

                    mes ":: ^0000FF"+.@names$[.@quest-4181]+" Hunting^000000.";

                    mes ":: The registration to the mission";

                    mes ":: is cancelled.";

                    erasequest .@quest;

                    close;

                } else if (.@hunting == 2) {

                    next;

                    mes ":: You added information";

                    mes ":: about the mission";

                    mes ":: ^0000FF"+.@names$[.@quest-4181]+" Hunting^000000";

                    mes ":: on the mission board.";

                    mes ":: You've got a";

                    mes ":: salutary experience.";

                    erasequest .@quest;

                    getexp .@exp[.@quest-4181],0;

                    close;

                }

            }

            close;

        }

        mes "[91-99 Mission Board]";

        mes "There are several requests on this board.";

        next;

        switch(select("^8B4513Turtle Island^000000:^8B4513Glast Heim^000000:^8B4513Rachel / Veins^000000:^8B4513Expansion Cities^000000:^8B4513Other regions^000000")) {

        case 1:

            mes "^8B4513Turtle Island^000000.";

            mes "Which monster will you hunt or have you finished hunting?";

            next;

            switch(select("^0000FFSolider^000000:^0000FFFreezer^000000:^0000FFHeater^000000")) {

                case 1: callsub L_Quest,4181,"Solider",90000,"јЦё®ґхД«µе","There is a monster that only can be found on ^8B4513Turtle Island^000000.";

                case 2: callsub L_Quest,4182,"Freezer",94000,"ЗБё®АъД«µе","There is a monster that only can be found on ^8B4513Turtle Island^000000.";

                case 3: callsub L_Quest,4183,"Heater",114000,"ИчЕНД«µе","There is a monster that only can be found on ^8B4513Turtle Island^000000.";

            }

        case 2:

            mes "^8B4513Glast Heim^000000.";

            mes "Which monster will you hunt or have you finished hunting?";

            next;

            switch(select("^0000FFInjustice^000000:^0000FFRybio^000000:^0000FFDark Priest^000000")) {

                case 1: callsub L_Quest,4184,"Injustice",96000,"АОАъЅєЖјЅєД«µе","There is a monster only found in ^8B4513Glast Heim prison^000000.";

                case 2: callsub L_Quest,4185,"Rybio",96000,"ё®єсїАД«µе","There is a monster only found in ^8B4513Glast Heim prison^000000.";

                case 3: callsub L_Quest,4186,"Dark Priest",146000,"ґЩЕ©ЗБё®ЅєЖ®Д«µе","There is a monster only found in ^8B4513Glast Heim prison^000000.";

            }

        case 3:

            mes "^8B4513Rachel / Veins^000000.";

            mes "Which monster will you hunt or have you finished hunting?";

            next;

            switch(select("^0000FFStapo^000000:^0000FFRoween^000000:^0000FFSiroma^000000")) {

                case 1: callsub L_Quest,4187,"Stapo",96000,"ЅєЕВЖчД«µе","There is a monster only found in ^8B4513Veins^000000.";

                case 2: callsub L_Quest,4188,"Roween",102000,"·ОїмА©Д«µе","There is a monster only found in ^8B4513Rachel^000000.";

                case 3: callsub L_Quest,4189,"Siroma",110000,"ЅГ·Оё¶Д«µе","There is a monster only found in ^8B4513Ice Dungeon^000000.";

            }

        case 4:

            mes "^8B4513Expansion Cities^000000.";

            mes "Which monster will you hunt or have you finished hunting?";

            next;

            switch(select("^0000FFShinobi^000000:^0000FFEvil Nymph^000000")) {

                case 1: callsub L_Quest,4190,"Shinobi",102000,"ЅГілєсД«µе","There is a monster only found in ^8B4513Amatsu Dungeon^000000.";

                case 2: callsub L_Quest,4191,"Evil Nymph",108000,"їдј±іаД«µе","There is a monster only found in ^8B4513Kunlun Dungeon^000000.";

            }

        case 5:

            mes "Other Regions.";

            mes "Which monster will you hunt or have you finished hunting?";

            next;

            switch(select("^0000FFDeviruchi^000000:^0000FFMineral^000000:^0000FFKaho^000000:^0000FFNeraid^000000:^0000FFDisguise^000000")) {

                case 1: callsub L_Quest,4192,"Deviruchi",110000,"µҐєс·зДЎД«µе","There is a monster only found in ^8B4513Geffen Dungeon^000000.";

                case 2: callsub L_Quest,4193,"Mineral",138000,"№МіЧ¶ц","There is a monster only found in ^8B4513Einbech Dungeon^000000.";

                case 3: callsub L_Quest,4194,"Kaho",118000,"Д«ИЈД«µе","There is a monster found in ^8B4513Nogg Road Magma 1^000000.";

                case 4: callsub L_Quest,4195,"Neraid",96000,"іЧ·№АМµеД«µе","There is a monster only found in ^8B4513Comodo Dungeon^000000.";

                case 5: callsub L_Quest,4196,"Disguise",134000,"µрЅє°ЎАМБоД«µе","There is a monster only found in ^8B4513Nifflheim^000000.";

            }

        }

        end;

     

    //callsub L_Quest,<quest ID>,"<monster name>",<reward EXP>,"<cutin image>","<description>"{,"s"};

    L_Quest:

        .@quest1 = getarg(0);

        .@quest2 = .@quest1+31;

        .@playtime = questprogress(.@quest2,PLAYTIME);

        if (.@playtime == 1) {

            mes "[91-99 Mission Board]";

            mes "You need to wait 3 hours before you can take this mission again.";

            close;

        }

        .@hunting = questprogress(.@quest1,HUNTING);

        if (.@hunting == 1) {

            mes "[91-99 Mission Board]";

            mes "Have you finished hunting all 30 "+getarg(1)+getarg(5,"")+" yet?";

            close;

        } else if (.@hunting == 2) {

            mes "[91-99 Mission Board]";

            mes "You have completed the hunting.";

            mes "Please accept this reward as a compensation.";

            erasequest .@quest1;

            if (.@playtime) erasequest .@quest2;

            setquest .@quest2;

     

            // Job Experience calculation.

            if (JobLevel < 56) .@jexp = 67000;

            else if (JobLevel > 55 && JobLevel < 61) .@jexp = 94000;

            else if (JobLevel > 60 && JobLevel < 66) .@jexp = 141000;

            else if (JobLevel > 65 && JobLevel < 69) .@jexp = 212000;

            else if (JobLevel >= 69) .@jexp = 311000;

     

            getexp getarg(2),.@jexp;

            close;

        }/* else if (.@hunting == 3) {

    //        recall_completequest .@quest1

            erasequest .@quest1;

            mes "[91-99 Mission Board]";

            mes "You have re-accepted the "+getarg(1)+" Hunting mission.";

            close;

        }*/ else {

            mes "[91-99 Mission Board]";

            mes getarg(4);

            next;

            if (getarg(3) != "") cutin getarg(3),3;

            mes "[91-99 Mission Board]";

            mes "Hunt 30 "+getarg(1)+" monsters there and post your success on this board.";

            next;

            if (getarg(3) != "") cutin getarg(3),255;

            if(select("I'll hunt them.:No thanks.") == 1) {

                mes "[91-99 Mission Board]";

                mes "When you have completed the mission, post it on this board and collect your reward.";

                if (.@playtime) erasequest .@quest2;

                setquest .@quest1;

            }

            close;

        }

    }




  5. not working your plugin's

     

    working this src script

     

     

     

    ACMD(dance){
        if (!message || !*message)
    {
        clif->message(fd, "usage: @dance 1-9");
        return -1;
    }
        if ( atoi(message) == 1 )
    {
        clif->specialeffect(&sd->bl, 413, ALL_CLIENT);
        }
        else if ( atoi(message) == 2 )
        {
        clif->specialeffect(&sd->bl, 414, ALL_CLIENT);
        }
        else if ( atoi(message) == 3 )
        {
        clif->specialeffect(&sd->bl, 415, ALL_CLIENT);
        }
        else if ( atoi(message) == 4 )
        {
        clif->specialeffect(&sd->bl, 426, ALL_CLIENT);
        }
        else if ( atoi(message) == 5 )
        {
        clif->specialeffect(&sd->bl, 458, ALL_CLIENT);
        }
        else if ( atoi(message) == 6 )
        {
        clif->specialeffect(&sd->bl, 466, ALL_CLIENT);
        }
        else if ( atoi(message) == 7 )
        {
        clif->specialeffect(&sd->bl, 501, ALL_CLIENT);
        } else if ( atoi(message) == 8 )
        {
        clif->specialeffect(&sd->bl, 540, ALL_CLIENT);
        }
        else if ( atoi(message) == 9 )
        {
        clif->specialeffect(&sd->bl, 550, ALL_CLIENT);
        }
        else    {
        clif->message(fd, "usage: @dance 1-9");
        }
        return true;
    } /* Server Startup */


  6. Please use it with the intention of the operation test.

     

     

    // 2014-06-12 - 2014-06-13 Ragexe

    #if PACKETVER >= 20140612

     packet(0x0891,7,clif->pActionRequest,2,6);

     packet(0x08A1,10,clif->pUseSkillToId,2,4,6);

     packet(0x0893,5,clif->pWalkToXY,2);

     packet(0x0867,6,clif->pTickSend,2);

     packet(0x0951,5,clif->pChangeDir,2,4);

     packet(0x0878,6,clif->pTakeItem,2);

     packet(0x0963,6,clif->pDropItem,2,4);

     packet(0x07E4,8,clif->pMoveToKafra,2,4);

     packet(0x0952,8,clif->pMoveFromKafra,2,4);

     packet(0x088C,10,clif->pUseSkillToPos,2,4,6,8);

     packet(0x0838,90,clif->pUseSkillToPosMoreInfo,2,4,6,8,10);

     packet(0x0924,6,clif->pGetCharNameRequest,2);

     packet(0x094F,6,clif->pSolveCharName,2);

     packet(0x0936,12,clif->pSearchStoreInfoListItemClick,2,6,10);

     packet(0x0969,2,clif->pSearchStoreInfoNextPage,0);

     packet(0x0438,-1,clif->pSearchStoreInfo,2,4,5,9,13,14,15);

     packet(0x0864,-1,clif->pReqTradeBuyingStore,2,4,8,12);

     packet(0x0957,6,clif->pReqClickBuyingStore,2);

     packet(0x0364,2,clif->pReqCloseBuyingStore,0);

     packet(0x0894,-1,clif->pReqOpenBuyingStore,2,4,8,9,89);

     packet(0x0950,18,clif->pPartyBookingRegisterReq,2,4);

     // packet(0x08A2,8); // CZ_JOIN_BATTLE_FIELD

     packet(0x094A,-1,clif->pItemListWindowSelected,2,4,8);

     packet(0x0958,19,clif->pWantToConnection,2,6,10,14,18);

     packet(0x0874,26,clif->pPartyInvite2,2);

     // packet(0x086C,4); // CZ_GANGSI_RANK

     packet(0x089B,26,clif->pFriendsListAdd,2);

     packet(0x0965,5,clif->pHomMenu,2,4);

     packet(0x0941,36,clif->pStoragePassword,0);

     packet(0x09DF,7);

    #endif

     

     

     

    #if PACKETVER >= 20140612

     packetKeys(0x4FC83479,0x3AB04D1F,0x477B4010);

    #endif

     

     

    all! Works, thank you so much!


  7. MYPLUGINS = plugins

    ^ above is the problem, it should only list custom plugin file names, if you don't have any custom plugin, simply

    MYPLUGINS =

    ^ would work fine.

    I understand everything, that's how it was by default, but there were errors during compilation

     

    by default line makefile.in

    PLUGINS = sample db2sql HPMHooking_char HPMHooking_login HPMHooking_map $(MYPLUGINS)

     

    but still are errors

    sample.so error 2

     

    stood value

     

    I shot a video for you, look at what is the problem and how to solve it?

     

    VIDEO PLUGIN INSTALL ERROR


  8. Can you show us your "src/plugins/Makefile.in" contents.

    Also, could you tell us how you compile the server/plugins (by which command)

    I still tormented by the question, why in Makefile.in
    all: $(PLUGINS) Makefile
    
    $(ALLPLUGINS): %: ../../plugins/%@DLLEXT@
    	@echo "	PLUGIN	$@
    
    used line $(ALLPLUGINS): %: ../../plugins/%@DLLEXT@

    i'm not used windows system, i need *.so binnary file


  9. looks like you forgot to run command

    make clean

     

    ...

    I'm not an idiot, then the command make clean absolutely nothing to do with.

     

    After commands make distclean, make clean here is powerless -)

     

    and now that you know, after the change of something, or add a plug-in, do not necessarily use the command make clean

     

    if you do not know the answer to this question, it is better not say anything!


  10. my makefile.in

     

    compiling command

     

    make plugins is default

     

    # This file is part of Hercules.
    # http://herc.ws - http://github.com/HerculesWS/Hercules
    #
    # Copyright © 2013-2015  Hercules Dev Team
    #
    # Hercules is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    # @configure_input@
    
    ################  PLUGIN CONFIGURATION  ##############################
    #                                                                    #
    # When you add a plugin, add its name here:                          #
    # Example: if you have a plugin named my_cool_plugin.c and another   #
    # one named my_second_plugin.c, add them to the list like this:      #
    #                                                                    #
    # MYPLUGINS = my_cool_plugin my_second_plugin                        #
    #                                                                    #
    # This is only needed if you want to build your plugin through       #
    #   'make plugins' or 'make all'. If you don't add it to this list,  #
    #   you will still be able to build your plugin through              #
    #   'make plugin.my_plugin'                                          #
    #                                                                    #
    # Note: DO NOT include the .c extension!!!                           #
    
    MYPLUGINS = plugins
    
    #                                                                    #
    #########  DO NOT EDIT ANYTHING BELOW THIS LINE!!!  ##################
    
    # All plugins in the src/plugins directory
    HPMHOOKING = $(addprefix HPMHooking_, login char map)
    ALLPLUGINS = $(filter-out HPMHooking, $(basename $(wildcard *.c))) $(HPMHOOKING)
    
    # Plugins that will be built through 'make plugins' or 'make all'
    PLUGINS = manner $(MYPLUGINS)
    
    COMMON_D = ../common
    COMMON_H = $(wildcard $(COMMON_D)/*.h)
    COMMON_INCLUDE = -I..
    
    THIRDPARTY_INCLUDE = -I../../3rdparty
    
    CONFIG_D = ../config
    CONFIG_H = $(wildcard $(CONFIG_D)/*.h) $(wildcard $(CONFIG_D)/*/*.h)
    
    MAP_H = $(wildcard ../map/*.h)
    CHAR_H = $(wildcard ../char/*.h)
    LOGIN_H = $(wildcard ../login/*.h)
    ALL_H = $(COMMON_H) $(CONFIG_H) $(MAP_H) $(CHAR_H) $(LOGIN_H)
    
    @SET_MAKE@
    
    CC = @CC@
    export CC
    
    #####################################################################
    .PHONY: all $(ALLPLUGINS) HPMHooking clean buildclean help
    
    all: $(PLUGINS) Makefile
    
    $(ALLPLUGINS): %: ../../plugins/%@DLLEXT@
    	@echo "	PLUGIN	$@"
    
    HPMHooking: $(HPMHOOKING)
    
    buildclean:
    	@echo "	CLEAN	plugins (build temp files)"
    	@rm -rf *.o
    
    clean: buildclean
    	@echo "	CLEAN	plugins"
    	@rm -rf ../../plugins/*@DLLEXT@
    
    help:
    	@echo "possible targets are $(PLUGINS:%='%') 'all' 'clean' 'help'"
    	@echo ""
    	@echo "$(PLUGINS:%='%')"
    	@echo "              - builds a specific plugin"
    	@echo "'all'         - builds all above targets"
    	@echo "'clean'       - cleans builds and objects"
    	@echo "'buildclean'  - cleans build temporary (object) files, without deleting the"
    	@echo "                compiled plugins"
    	@echo "'help'        - outputs this message"
    
    #####################################################################
    
    Makefile: Makefile.in
    	@$(MAKE) -C ../.. src/plugins/Makefile
    
    .SECONDEXPANSION:
    
    ../../plugins/%@DLLEXT@: %.c $(ALL_H) $$(shell ls %/* 2>/dev/null)
    	@echo "	CC	$<"
    	@$(CC) $(COMMON_INCLUDE) $(THIRDPARTY_INCLUDE) @PLUGINSTATIC@ @DEFS@ @CFLAGS@ @PCRE_CFLAGS@ @CPPFLAGS@ @LDFLAGS@ @SOFLAGS@ -o $@ $<
    
    ../../plugins/HPMHooking_login@DLLEXT@: HPMHOOKINGTYPE = LOGIN
    ../../plugins/HPMHooking_char@DLLEXT@: HPMHOOKINGTYPE = CHAR
    ../../plugins/HPMHooking_map@DLLEXT@: HPMHOOKINGTYPE = MAP
    
    ../../plugins/HPMHooking_%@DLLEXT@: HPMHooking.c $(ALL_H) $$(shell ls HPMHooking/*_%* HPMHooking/*_common* 2>/dev/null)
    	@echo "	CC	$< ($(HPMHOOKINGTYPE))"
    	@$(CC) -DHPMHOOKING_$(HPMHOOKINGTYPE) $(COMMON_INCLUDE) $(THIRDPARTY_INCLUDE) @PLUGINSTATIC@ @DEFS@ @CFLAGS@ @PCRE_CFLAGS@ @CPPFLAGS@ @LDFLAGS@ @SOFLAGS@ -o $@ $<
    
    

     

     

    I edited the config /conf/plugins.conf added to the plug-in example manner

     

    manner.c threw a folder /src/plugins/

     

    I am writing make plugins and then tumbled errors


  11. guys, those who faced with the installation of plug-ins for Hercules, need your HELP

     

    I was worn out, well, I did not get to fill in at least one plug-in did everything through guide as indicated HERE

     

    and nothing comes nothing, tumbled erorrs ... can anyone advise what?

     

     

     

     

     

     
    config.status: creating Makefile
    config.status: creating src/common/Makefile
    config.status: creating 3rdparty/mt19937ar/Makefile
    config.status: creating 3rdparty/libconfig/Makefile
    config.status: creating src/char/Makefile
    config.status: creating src/login/Makefile
    config.status: creating src/map/Makefile
    config.status: creating src/plugins/Makefile
    config.status: creating src/tool/Makefile
    config.status: creating src/test/Makefile
    config.status: creating tools/HPMHookGen/Makefile
            MAKE    plugins
    make[1]: Entering directory `/mnt/500GB/ragnarok-server/src/plugins'
    make[1]: *** Нет правила для сборки цели `../../plugins/db2sql.so', требуемой для `db2sql'.  Stop.
    make[1]: Leaving directory `/mnt/500GB/ragnarok-server/src/plugins'
    make: *** [plugins] Error 2
     
    
    h-215.jpg

     

     

     

     

     

     

    if you please please describe the process for more small details for the Nubs ...)

     

    what where and in what folder, I tried different options and it does not work - (

     

    I used the penultimate version of the Hercules for kernel 2.6


  12. Mind Explaining what's the problem?

    (Screenshot's would be more helpful)

     

    my problem is such

     

     

     

     

    [Warning]: clif_parse: Received unsupported packet (packet 0x4b8f (0x49f0), 13 bytes received), disconnecting session #7.

    [info]: Closed connection from '192.168.1.2'.

    [status]: Request for connection of admin (ip: 192.168.1.2).

    [Notice]: Authentication accepted (account: admin, id: 2000000, ip: 192.168.1.2)

    [Notice]: User 'admin' is already online - Rejected.

    [info]: Closed connection from '192.168.1.2'.


  13. hi all

    need your help... i'm used exe 2014-01-29cRagexe.exe

     

    add version in  src\common\mmo.h

     

    #ifndef PACKETVER

        #define PACKETVER 20140129
    #endif // PACKETVER

     

    add packets in  src\map\packets.h

     

    #if PACKETVER >= 20140129

        packetKeys(0x63DC7BDC,0x7BDC7BDC,0x7BDC7BDC); /* Themon */
    #endif

    join in game tested is ok! but

     

     

     

    #if PACKETVER >= 20140129
        packet(0x0369,7,clif->pActionRequest,2,6);
        packet(0x083C,10,clif->pUseSkillToId,2,4,6);
        packet(0x0437,5,clif->pWalkToXY,2);
        packet(0x035F,6,clif->pTickSend,2);
        packet(0x0202,5,clif->pChangeDir,2,4);
        packet(0x07E4,6,clif->pTakeItem,2);
        packet(0x0362,6,clif->pDropItem,2,4);
        packet(0x07EC,8,clif->pMoveToKafra,2,4);
        packet(0x0364,8,clif->pMoveFromKafra,2,4);
        packet(0x0438,10,clif->pUseSkillToPos,2,4,6,8);
        packet(0x0366,90,clif->pUseSkillToPosMoreInfo,2,4,6,8,10);
        packet(0x096A,6,clif->pGetCharNameRequest,2);
        packet(0x0368,6,clif->pSolveCharName,2);
        packet(0x0838,12,clif->pSearchStoreInfoListItemClick,2,6,10);
        packet(0x0835,2,clif->pSearchStoreInfoNextPage,0);
        packet(0x0819,-1,clif->pSearchStoreInfo,2,4,5,9,13,14,15);
        packet(0x0811,-1,clif->pReqTradeBuyingStore,2,4,8,12);
        packet(0x0360,6,clif->pReqClickBuyingStore,2);
        packet(0x0817,2,clif->pReqCloseBuyingStore,0);
        packet(0x0815,-1,clif->pReqOpenBuyingStore,2,4,8,9,89);
        packet(0x0365,18,clif->pPartyBookingRegisterReq,2,4);
        // packet(0x0363,8); // CZ_JOIN_BATTLE_FIELD
        packet(0x0281,-1,clif->pItemListWindowSelected,2,4,8);
        packet(0x022D,19,clif->pWantToConnection,2,6,10,14,18);
        packet(0x0802,26,clif->pPartyInvite2,2);
        // packet(0x0436,4); // CZ_GANGSI_RANK
        packet(0x023B,26,clif->pFriendsListAdd,2);
        packet(0x0361,5,clif->pHomMenu,2,4);
        packet(0x0938,36,clif->pStoragePassword,0);
        packet(0x09DF,7);
    #endif

    not normaly..  need your help!

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.