Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×

Ukiram

Members
  • Posts

    291
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by Ukiram

  1. On 4/9/2017 at 6:03 AM, Zafer said:

    Wow i scripted that 13 years ago .. when i was 12. Nice to see that it is still in use. I released a lot of scripts during eAthena times. Does anybody know if there is any way to find them? this is the only one i can find via google =(

    Hi, I'm inspired! I'm 11 years old start developing a server now i'm 15 years old! ❤️

  2. 14 minutes ago, Gerzzie said:

    I'm currently using this. hope this would help.

    src/map/atcommand.cpp


    Find : 
    #include "../custom/atcommand.inc"

    Add [ Above ] :
     

      Hide contents

    /*==========================================
    * @afk
    *------------------------------------------*/
    ACMD_FUNC(afk) {
     
            nullpo_retr(-1, sd);
                            sd->state.autotrade = 1;
                            sd->state.monster_ignore = 1;
                            if( battle_config.afk_timeout )
                            {
                                    int timeout = atoi(message);
                                    status_change_start(NULL, &sd->bl, SC_AUTOTRADE, 10000,0,0,0,0, ((timeout > 0) ? min(timeout,battle_config.afk_timeout) : battle_config.afk_timeout)*60000,0);
                            }
                            clif_authfail_fd(fd, 15);
            return 0;
    }

    Find : 
         };
    AtCommandInfo* atcommand;
     

    Add [ Above ]
     

      Reveal hidden contents

              ACMD_DEF(afk)


    src/map/battle.cpp

    Find : 

    { "at_timeout",                         &battle_config.at_timeout,                      0,      0,      INT_MAX,        },
     

    Add [ Below ] :
     

      Reveal hidden contents

    { "afk_timeout",                        &battle_config.afk_timeout,                     0,      0,      INT_MAX,        },


    src/map/battle.hpp

    Find : 

    int at_timeout;

    Add [ Below ] :
     

      Reveal hidden contents

    int afk_timeout;

     

    conf/battle/misc.conf

    Find :
    mail_show_status: 0

    Add [ Below ] :

     

      Reveal hidden contents

    // Set this to the amount of minutes afk chars will be kicked from the server.
    afk_timeout: 0


     

     

    Hi, is ths working?

  3. 5 hours ago, insandedid01 said:

    if(quest_done == 1){set #Mission_Shop,#Mission_Shop + .easy_pointsY; dispbottom " Done Mission ";

    .easy_pointsY = .normal_points[rand(getarraysize(.normal_points))];
    setarray .easy_points = 3,4,5,6,7,8,9,10;

    Where will i put this?

  4. 15 hours ago, Lelouch vi Britannia said:

    Well if you already knew it was a custom headgear that you worn and you said the item reads the drop sprite, item and collection bmp maybe check your luafiles514/lua files/datainfo/accname.lub if you added the sprite name or you added its name correctly.

    I already fixed it. My accid only reads 2000 below. ^_^ Thanks for the answer. By the way, My custom headgears are working. Thank you so much.

  5. I'm so sorry if i put ths to wrong section. Can you guys move to the right section? I'm newbie here thankyou. I just want to ask some questions because im having a error.

    CAN ANYBODY HELP ME? ABOUT THIS ERROR? I DON'T KNOW WHATS THE ERROR. I PUT CUSTOM HEADGEAR (Custom Cap) but the item and collection read but the spr. and .act i doont know if my server read it.

    Quote

    err1.PNG.62eb5c80f24533bb12c9c68a281d3e3d.PNG

     

    Quote

    err2.PNG.84b9506f918f349c8087c49c16979572.PNG

     

     

    Quote

    err3.PNG.c1ff9ea36bca715aaa05b4e4e6b24def.PNG

     

  6. 8 hours ago, anacondaq said:

    open skill.cpp

    Find

    
    	case MO_BODYRELOCATION:
    		if (unit_movepos(src, x, y, 2, 1)) {
    #if PACKETVER >= 20111005
    			clif_snap(src, src->x, src->y);
    #else
    			clif_skill_poseffect(src,skill_id,skill_lv,src->x,src->y,tick);
    #endif
    			if (sd)
    				skill_blockpc_start(sd, MO_EXTREMITYFIST, 2000);
    		}
    		break;

    Replace to:

    
    	case MO_BODYRELOCATION:
    
    		// Block skill usage while you have SC_SPIDERWEB status
    		if(sc&& sc->data[SC_SPIDERWEB])
    			break;
    
    		if (unit_movepos(src, x, y, 2, 1)) {
    #if PACKETVER >= 20111005
    			clif_snap(src, src->x, src->y);
    #else
    			clif_skill_poseffect(src,skill_id,skill_lv,src->x,src->y,tick);
    #endif
    			if (sd)
    				skill_blockpc_start(sd, MO_EXTREMITYFIST, 2000);
    		}
    		break;

     

    THANK YOU FOR THIS. I WILL TRY THIS. THIS WILL BE SUPER APPRECIATED.

  7. 1 hour ago, Emistry said:

    both #Mission_Points and Mission_Total are referring to different info.


    #Mission_Points = mission reward
    Mission_Total = total mission completed (rank)

    How can i add mission points in the bottom of Mission Shop?

  8. //  ___________________________________________________________________
    // /                                                                   \
    // |            _           _   _   _                                  |
    // |           | |__  _ __ / \ | |_| |__   ___ _ __   __ _             |
    // |           | '_ \| '__/ _ \| __| '_ \ / _ \ '_ \ / _` |            |
    // |           | |_) | | / ___ \ |_| | | |  __/ | | | (_| |            |
    // |           |_.__/|_|/_/   \_\__|_| |_|\___|_| |_|\__,_|            |
    // |                                                                   |
    // |                        brAthena  Script                           |
    // |                        www.brathena.org                           |
    // |-------------------------------------------------------------------|
    // |                                                                   |
    // | Copyright (c) brAthena Dev Team                                   |
    // |                                                                   |
    // |-------------------------------------------------------------------|
    // | Licensed under the GNU GPL license                                |
    // | For more information read the LICENSE                             |
    // | file at the root of the emulator                                  |
    // |-------------------------------------------------------------------|
    // | Author:                                                           |
    // |        - Orce                                                     |
    // | Review:                                                           |
    // |        - Aly                                                      |
    // |        - Vör                                                      |
    // |        - Popcorn                                                  |
    // |                                                                   |
    // | Description: NPC that manages the account protection system.      | 
    // |                                                                   |
    // \___________________________________________________________________/
    //
    -    script    ProtectionAcc    -1,{
        
        OnInit:
            ///////////////////////////////////////////////////////////////////////////////
            // Configure below the name of the command to block negotiations
            // Change the word ' security ' to the command you want
            ///////////////////////////////////////////////////////////////////////////////
            setd ".comando$", "security";
            
            ///////////////////////////////////////////////////////////////////////////////
            // Set down the GM level that will have access to the account passwords.
            ///////////////////////////////////////////////////////////////////////////////
            set .gmacess,99;
            
            ///////////////////////////////////////////////////////////////////////////////
            // Don't move from here unless you know what you're doing
            ///////////////////////////////////////////////////////////////////////////////
            bindatcmd .comando$, "ProtectionAcc::OnProtecAcc";
            end;    
            
        OnPCLoginEvent:    
            ///////////////////////////////////////////////////////////////////////////////
            // Informs whether the Account protection system is active
            ///////////////////////////////////////////////////////////////////////////////
            dispbottom "[Account Protection]";
            if(#BLOCKPASS){
                dispbottom "Security System Enable: Use @"+.comando$+" For more information.";
            } else {
                dispbottom "Security System Disable: Use @"+.comando$+" For more information.";
            }
            end;
            
    OnProtecAcc:    
        mes "^FF6600.:: Account Protection ::.^000000";
        mes " ";
        if(#BLOCKPASS){
            mes "» Proteção: ^2E8B57Enable^000000";
            if(blockcheck()){
                mes "» Negotiations: ^2E8B57Blocked^000000";
            } else {
                mes "» Negotiations: ^FF0000Released^000000";
            }
                set .@menu$,select( (blockcheck() ? "» ^FF0000Release^000000 Negotiations":"» ^2E8B57Blocked^000000 Negotiations")+":» Change Password::» ^FF0000Remove Password^000000:» Information:» Exit:"+(getgroupid()>=.gmacess ? "» ^FF0000[ADM]^000000 Recover Password":""));
        } else {
            mes "^FF0000Unprotected Account^000000";
            mes " ";
            mes "Would like to ^2E8B57Activate^000000 and set a password for ^2E8B57protect^000000 your account?";            
            set .@menu$,select("» Yes::» No::"+(getgroupid()>=.gmacess ? "» ^FF0000[ADM]^000000 Recover Password":""))+2;
        }
            switch (.@menu$)
            {
                next;
                case 1:
                        if(blockcheck())
                        {
                            mes "^FF6600.:: Account Protection ::.^000000";
                            mes " ";
                            mes "Enter the password to ^FF0000Release^000000 Trading items.";
                            
                            input .@senha;
                            if( #BLOCKPASS != .@senha ){ 
                                mes " "; 
                                mes "^FF0000Ø Incorrect password!! Ø^000000"; 
                                close; 
                            }
                            
                            mes " ";
                            mes "Item Negotiations: ^FF0000Released^000000.";
                            message strcharinfo(0), "Item Negotiations: Released.";
                            
                            block 0;
                            
                        } else {
                            mes "^FF6600.:: Account Protection ::.^000000";
                            mes " ";
                            mes "Item Negotiations: ^2E8B57Blocked^000000.";
                            message strcharinfo(0), "Item Negotiations: Blocked.";
                            block 1;
                        }
                        close;
                        
                case 2:
                        mes "^FF6600.:: Account Protection ::..^000000";
                        mes "Please enter your current protection password:";
                        mes " ";
                        mes "Report only numbers.";
                        input .@senha;                            
                        if( #BLOCKPASS != .@senha ) { mes "Ø Incorrect password!! Ø"; close; }
                        next;
                        
                case 3:
                        mes "^FF6600.:: Account Protection ::..^000000";
                        mes "Please inform your protection password:";
                        mes "^333399-> Report only numbers^000000";
                        mes "Note: The password may contain a maximum of 5 digits and at least 1.";
                        input .@senha;                            
                        if( .@senha < 1 || .@senha > 99999 ) { mes "      Ø Invalid password! Ø"; close; }
                        next;
                        
                        mes "^FF6600.:: Account Protection ::..^000000";
                        mes "Please confirm your protection password:";
                        mes " ";
                        mes "^333399-> Report only numbers^000000";
                        input .@Rsenha;
                        next;
        
                        mes "^FF6600.:: Account Protection ::..^000000";
                        if( .@senha != .@Rsenha )
                        {
                            mes "The confirmation password and password are different.";
                            mes " ";
                            mes "Ø Please repeat the procedure";
                            close;
                        }
        
                        mes "ƒ Your password for the Account Protection System has been saved! ƒ";
                        mes " ";
                        mes "ƒ Use @"+.comando$+" To set up the system! ƒ";
                        set #BLOCKPASS, .@senha;
                        close;
                
                case 4:
                        mes "^FF6600.:: Account Protection ::..^000000";
                        mes "^FF0000[Attention]^000000";
                        mes "By removing the password you will be disabling the account protection system.";
                        mes "Do you draw continue?";
                        if(select("» ^2E8B57No^000000:» Yes (^FF0000Remove/Disable Protection^000000)")==1)close;
                        next;
                        
                        mes "^FF6600.:: Account Protection ::..^000000";
                        mes "Please enter your current protection password:";
                        mes " ";
                        mes "Report only numbers.";
                        input .@senha;
                        if( #BLOCKPASS != .@senha ) { mes "Incorrect password!!."; close; }
                        next;
                        
                        mes "^FF6600.:: Account Protection ::..^000000";
                        mes "Account protection system disabled and password removed successfully.";
                        mes "Use @"+.comando$+" If you want to activate the system again.";
                        set #BLOCKPASS, 0;
                        block 0;
                        close;
                        
                case 5:
                        mes "^FF6600.:: Account Protection ::.^000000";
                        mes "This system will prevent your items from being thrown on the ground, sold or negotiated without your permission.";
                        next;
                        
                        mes "^FF6600.:: Account Protection ::.^000000";
                        mes "Once activated, as soon as you exit the account (log out) and log in, the negotiations will be blocked and released only after you enter the security password.";
                        next;
                        
                        mes "^FF6600.:: Account Protection ::.^000000";
                        mes "!!! ^993300[Attention]^000000 !!!";
                        mes "For your safety it is highly recommended that the account protection system be activated.";
                        close;            
                case 6:
                        mes "^FF6600.:: Account Protection ::..^000000";
                        mes "Use @"+.comando$+" If you want to set up the account protection system.";
                        close;
                
                case 7:
                        function getpass;
    
                        mes "^FF6600.:: Account Protection ::..^000000";
                        mes " ";
                        mes "Please enter the account ID you want to retrieve the password for:";
                        mes " ";
                        input .@acc;                
                        set .@ResultPass, getpass("SelectPass",.@acc);
                        if(!.@ResultPass){
                            next;
                            mes "^FF6600.:: Account Protection ::..^000000";
                            mes " ";
                            mes "This account does not exist or the protection system is not activated in this account.";
                        } else { mes "Account password: "+.@ResultPass; }
                        close;
            }
            
        function    getpass    {
    
            if( getarg(0) == "SelectPass" )
            {
                query_sql "SElECT `value` FROM `acc_reg_num_db` WHERE `key`='#BLOCKPASS' AND `account_id`='"+ getarg(1) +"'", .@pass;
                return (.@pass);
            }
            else return 0;
        }
    
    }
    

    error.PNG

  9. Good Day, Can i Request Item Effect Script??

    Here's my lua file description

     

    Quote

        [2357] = {
            unidentifiedDisplayName = "Armor",
            unidentifiedResourceName = "¾Æ¸Ó",
            unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },
            identifiedDisplayName = "Valkyrie Armor",
            identifiedResourceName = "¹ß۸®Àǰ©¿Ê",
            identifiedDescriptionName = {
                "A set of shining white armor worn by Valkyries, the battle maidens that serve the god Odin.",
                "All Stats + 3",
                "Indestructible (^009900except in upgrade attempts^000000).",
                "[^009900Combo with Valkyrie Manteau,Valkyrie Shoes^000000]",
                "Max HP&SP +10%",
                "Atk&Matk +3%",
                "2*per Refine Level increases hp by 1%",
                "Class:^6666CC Armor ^000000",
                "Defense:^0000FF 6 ^000000",
                "Weight:^009900 280 ^000000",
                "Jobs:^6666CC All Transcendent classes except Novice ^000000",
            },
            slotCount = 1,
            ClassNum = 0
        },
        [2524] = {
            unidentifiedDisplayName = "Garment",
            unidentifiedResourceName = "Èĵå",
            unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },
            identifiedDisplayName = "Valkyrie Manteau",
            identifiedResourceName = "¹ß۸®ÀǸÁÅä",
            identifiedDescriptionName = {
                "A manteau that is worn by the Valkyries, Odin's battle maidens.",
                "Indestructible (^009900except in upgrade attempts^000000).",
                "[^009900Mage,Acolyte,Archer,Gunslinger^000000]",
                "Perfect Dodge + 3",
                "Increases Perfect Dodge by (^009900upgrade level*2^000000).",
                "[^009900Swordsman,Thief,Merchant,Taekwon,Nina^000000]",
                "Reflect 3% melee damage back to enemies.",
                "Increases percentage reflect damage by (^009900upgrade level*2^000000).",
                "Class:^6666CC Garment ^000000",
                "Defense:^0000FF 3 ^000000",
                "Weight:^009900 50 ^000000",
                "Jobs:^6666CC All Transcendent classes except Novice ^000000",
            },
            slotCount = 1,
            ClassNum = 0
        },
        [2421] = {
            unidentifiedDisplayName = "Shoes",
            unidentifiedResourceName = "½´Áî",
            unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },
            identifiedDisplayName = "Valkyrie Shoes",
            identifiedResourceName = "¹ß۸®Àǽ´Áî",
            identifiedDescriptionName = {
                "A pair of shoes worn by the Valkyries, Odin's battle maidens.",
                "These shoes grow more powerful as the wearer improves his own abilities.",
                "Gain immunity to ^009900Sleep^000000 status.",
                "MDEF +5",
                "HP&SP +15%",
                "[^009900Refine Rate 6-10^000000]",
                "Additional 2% HP&SP per refine level.",
                "Enables faster walking speed (^009900Moonlight Card Effect^000000)",
                "Indestructible (^009900except in upgrade attempts^000000).",
                "Class:^6666CC Footgear ^000000",
                "Defense:^0000FF 4 ^000000",
                "Weight:^009900 50 ^000000",
                "Jobs:^6666CC All Transcendent classes except Novice ^000000",
            },
            slotCount = 1,
            ClassNum = 0
        },
    },
        [2115] = {
            unidentifiedDisplayName = "Shield",
            unidentifiedResourceName = "°¡µå",
            unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },
            identifiedDisplayName = "Valkyrie Shield",
            identifiedResourceName = "¹ß۸®¾Æ½¯µå",
            identifiedDescriptionName = {
                "A shield used by Gna, the messenger of Freyja, when she served as a Valkyrie.",
                "Add a 10% resistance against Water, Fire, Shadow and Undead Property.",
                "MDEF +5",
                "Adds a 5% Resistance against Neutral Property",
                "Class:^6666CC Shield ^000000",
                "Defense:^0000FF 3 ^000000",
                "Weight:^009900 50 ^000000",
                "Level Requirement:^009900 65 ^000000",
                "Jobs:^6666CC All Transcendent classes except Novice ^000000",
            },
            slotCount = 1,
            ClassNum = 4
        },

    Thankyou

×
×
  • Create New...