Jump to content

yodaGG

Members
  • Posts

    46
  • Joined

  • Last visited

Posts posted by yodaGG

  1. On 6/9/2023 at 5:01 PM, Finale said:

    Hi Guys,

     

    We have a problem on color palette if the character is using a mount PecoPeco / Halter. The color seems to be incorrect. Is there a way to fix this? Thanks!

     

    H4gonv1.jpg

    is it solved bro ?
    i have same issue. the palettes not working ://
    palleteserror.png.a8077111acce97de4d21894279a01728.png

  2. hi guys, have a nice day.
    can anyone help me for made 4th Job suit, i try with my code
    but nothing happen.

    thankyou .

    my itemdb

    Quote

      - Id: 600014
        AegisName: 4th_job_suit
        Name:4th_job_suit
        Type: Shadowgear
        Locations:
          Shadow_Armor: true
        Script: |
          bonus2 bAllStats,1;
        EquipScript: |
          changebase roclass(eaclass()|EAJL_FOURTH;
        UnEquipScript: |
          changebase Class;

    my sprite
    image.thumb.png.55c4ddaf99082fa8b36b1d56a03f2f62.png

     

  3. On 4/27/2020 at 8:15 AM, Lullaby said:

    Hi, guys!
    I've been looking for source edit to able transclass costumes...
    I want to open up the possibility for the player can choose his bodystyle to 3rd (original) and new 3rd (alternative) 

    image.thumb.png.a540013637e54c75b137aefdb2aabd9b.png

    image.png.c39ee1b584835c2f3a1b34941acdca03.png

    I've added the sprites at costume_1 and costume_2, rename to 2nd class, and made a grf... DATA.INI is reading grf costume before data.grf.
    When I use @bodystyle at my server, the command reports that have no costume to 2nd class.

    I think the problem is atcommand source, but I don't know how to edit and able 2nd class costume.

    Can anyone help me with this edit? Sorry for bad English.
    Thank you!

    Hi guys this is nice idea. is it solved aldy ?
    i have same problem with u, have any solution ?

  4. hi bro.sory im not answr ur question
    i just want to ask
    how to put [selectedActionIndex] in ur script ?

    i wantt use ur script only in selected action

    Quote
    foreach (var action in act) {
        foreach (var frame in action) {
            foreach (var layer in frame) {
                layer.SpriteIndex = 116;
                layer.OffsetX = 1;
                layer.OffsetY = -120;
    
            }
        }
    }

    can someone help me please ?
    thankyou

  5. On 7/6/2023 at 4:27 PM, imat1 said:

    Did you add sprite and act files for each job/class?

    yess.
    i put all class alrdy

    spriterobename.lub

    Quote

    RobeNameTable = {
        [SPRITE_ROBE_IDs.ROBE_WINGS] = "천사날개",
        [SPRITE_ROBE_IDs.ROBE_blackpirate_manteu] = "blackpirate_manteu"
    }
    RobeNameTable_Eng = {
        [SPRITE_ROBE_IDs.ROBE_WINGS] = "ANGEL_WINGS",
        [SPRITE_ROBE_IDs.ROBE_blackpirate_manteu] = "_blackpirate_manteu"
    }

     

    spriterobeid.lub
     

    Quote

    ROBE_blackpirate_manteu = 201,


    iteminfo.lua
     

    Quote

    ,            
        [51062] = {        
            unidentifiedDisplayName = "blackpirate_manteu",    
            unidentifiedResourceName = "_blackpirate_manteu",    
            unidentifiedDescriptionName = {    
                "Unidentified item, can be identified with [Magnifier].",
            },    
            identifiedDisplayName = "blackpirate_manteu",    
            identifiedResourceName = "_blackpirate_manteu",    
            identifiedDescriptionName = {   
                "Position: ^777777Lower^000000",
            },    
            slotCount = 0,    
            ClassNum = 201    
        },   

    transparentitem.lub
     

    Quote

        { 201, 255, 255, 25500 },

    itemdb
     

    Quote

    51062,blackpirate_manteu,blackpirate_manteu,4,0,,0,,0,,1,0xFFFFFFFF,63,2,8192,,1,0,201,{},{},{}

    sprite/·Îºê/blackpirate_manteu/ ³² and ¿© (All Job)

    sprite/¾ÆÀÌÅÛ/_blackpirate_manteu.spr
    sprite/¾ÆÀÌÅÛ/_blackpirate_manteu.act

    ¾Ç¼¼»ç¸®/ ³² and  ¿©  / ¿©_blackpirate_manteu.act
    ¾Ç¼¼»ç¸®/ ³² and  ¿©  / ¿©_blackpirate_manteu.spr

  6. Quote
    new_1-4,12,187,6    script  Donaion Instant Armor   794,{
        mes "[Donation Instant Armor By Friday]";
        if (countitem(7615) > 0) {
            mes "Select Your Armor";
            next;
            switch(select("Non Slotted Armor.:Slotted Armor.:High Grade Armor.:Maybe next time.")){
            case 1:
                setarray .@Items[0],2307,2309,2314,2316,2321,2325,2327,2328,2330,2332,2334,2335,2341,2344,2346,2348,2350,2337,2386,2394,2395,2396;;
                break;
            case 2:
                setarray .@Items[0],2311,2318,2319,2320,2308,2310,2315,2317,2322,2324,2326,2331,2333,2336,2342,2345,2347,2349,2351;
                break;
            case 3:
                setarray .@Items[0],2364,2365,2391,2374,2375,2357,2376,2377,2378,2379,2380,2381,2382,2387,2388,2389,2390,2367;
                break;
            case 4:
                mes "[Donation Instant Armor]";
                mes "Please come back when you have any interest.";
                close;
            }
            mes "Select Your ORB";
            next;
            switch(select("Select Orb.:Maybe next time.")) {
            case 1:
                setarray .@orb[0],4702,4732,4742,4712,4722,4752;
                break;
            case 2:
                mes "[Donation Instant Armor]";
                mes "Please come back when you have any interest.";
                close;
            }
            mes "U Need to Refine?. +1,+2,+3,+4,+5,+6,+7,+8,+9,+10 ?";
            mes "If you don't want any, please enter the number, '0.'";
            next;
            while(1) {
            input .@darmorrefine;
            if (.@darmorrefine == 0) {
                mes "The deal has";
                mes "been cancelled.";
                close;
            }
            else if (.@darmorrefine < 0 || .@darmorrefine > 10) {
                mes "Maximum Refine +10";
                mes "got it? Good.";
                next;
            }
            else {
                break;
            }}
            progressbar "ffff00",1;
            delitem 7615,1;
            specialeffect 154;
            getitem2 .@item, 1, 1, .@darmorrefine, 0, 0, 0, 0, .@orb;
     
        else {
            mes "Hmm? There's nothing to be enchanted!";
            mes "Please come back with just ONE equipment to be enchanted.";
            close;
            }
     
        }}

    i put aldy but still error :
     

    Quote


    [Error]:  Loading NPC file: npc/custom/donation/donationarmor.txt
    script error on npc/custom/donation/donationarmor.txt line 55

     

     

  7. hi guys. i just learn how to scripting for npc.
    i try to make Instant buy ORB + Refine +10 NPC, but the npc cant click
    someone help me please ?
    thankoyouu <3.

     

    Quote

    new_1-4,12,187,6    script    Donaion Instant Armor    794,{
        mes "[Donation Instant Armor By Friday]";
        if (countitem(7615) > 0) {
            mes "Select Your Armor";
            next;
            switch(select("Non Slotted Armor.:Slotted Armor.:High Grade Armor.:Maybe next time.")){
            case 1:
                setarray .@Items[0],2307,2309,2314,2316,2321,2325,2327,2328,2330,2332,2334,2335,2341,2344,2346,2348,2350,2337,2386,2394,2395,2396;;
                break;
            case 2:
                setarray .@Items[0],2311,2318,2319,2320,2308,2310,2315,2317,2322,2324,2326,2331,2333,2336,2342,2345,2347,2349,2351;
                break;
            case 3:
                setarray .@Items[0],2364,2365,2391,2374,2375,2357,2376,2377,2378,2379,2380,2381,2382,2387,2388,2389,2390,2367;
                break;
            case 4:
                mes "[Donation Instant Armor]";
                mes "Please come back when you have any interest.";
                close;
            }
            mes "Select Your ORB";
            next;
            switch(select("Select Orb.:Maybe next time.")) {
            case 1:
                setarray .@orb[0],4702,4732,4742,4712,4722,4752;
                break;
            case 2:
                mes "[Donation Instant Armor]";
                mes "Please come back when you have any interest.";
                close;
            }
            mes "U Need to Refine?. +1,+2,+3,+4,+5,+6,+7,+8,+9,+10 ?";
            mes "If you don't want any, please enter the number, '0.'";
            next;
            while(1) {
            input .@darmorrefine;
            if (.@darmorrefine == 0) {
                mes "The deal has";
                mes "been cancelled.";
                close;
            }
            else if (.@darmorrefine < 0 || .@darmorrefine > 10) {
                mes "Maximum Refine +10";
                mes "got it? Good.";
                next;
            }
            else {
                break;
            }
            progressbar "ffff00",1;
            delitem 7615,1;
            specialeffect 154;
            getitem2 .@item, 1, 1, .@darmorrefine, 0, 0, 0, 0, .@orb;

        else {
            mes "Hmm? There's nothing to be enchanted!";
            mes "Please come back with just ONE equipment to be enchanted.";
            close;
        }

        }

     

  8. On 11/29/2022 at 4:47 AM, Skorm said:

    @yodaGG

    If the guild master is offline, it's a bit annoying to get that information because there are many places where the item could be.

    .@gm_aid = getcharid(3,getguildmaster(getcharid(2)));
    .@gm_cid = getguildmasterid(getcharid(2));
    
    if(isloggedin(.@gm_aid, .@gm_cid)) {
    	if(countitem(.Premium_Ticket,.@gm_aid)) {
    		// Do buffs
    	}
    } else { // If they Guild Master is not online we search the SQL database.
    	.@inventory = max(query_sql("SELECT `nameid` FROM `inventory` WHERE `char_id` = "+.@gm_cid+";",.@id), 0);
    	.@storage = max(query_sql("SELECT `nameid` FROM `storage` WHERE `char_id` = "+.@gm_cid+";",.@id), 0);
    	if(.@inventory||.@storage) {
    		// Do buffs
    	}
    }

    I'm not sure what the SQL tables and column names are strictly off the top of my head, so the above example probably won't work, but you could fill in the correct details.

    i just use  this
     

    Quote
    .@gm_aid = getcharid(3,getguildmaster(getcharid(2)));
    .@gm_cid = getguildmasterid(getcharid(2));
    
    if(isloggedin(.@gm_aid, .@gm_cid)) {
    	if(countitem(.Premium_Ticket,.@gm_aid)) {
    		// Do buffs
    	}

    but when player have no guild alwys got error :
     

    Quote

    [Error]: buildin_getcharid: Player with nick 'null' is not found.

     

    i dont know how write condition when player have no guild.
    im trying use :

    Quote

    else{
        getcharid(2)==0;{
        specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,600000,10;
        specialeffect2 EF_ASSUMPTIO; sc_start SC_ASSUMPTIO,600000,5;
        specialeffect2 EF_BLESSING; sc_start SC_BLESSING,600000,10;
            }

    but still error.
    can u help me sir

     

  9. hi guys, can someone help me?
    i just try make 3rd job suit, but need to off shadow shoes when click the item for equiped,  but they can use back shadow shoes after the suit equiped
     

    Quote


    [Debug]: Source (NPC): FAKE_NPC (invisible/not on a map)

    [Error]: buildin_unequip: No item equipped at pos 18 (CID=150103/AID=2000035).

     


    my db

    Quote

    31025,3rd_Job_Suit,3rd Job Suit,12,1000,,300,,3,,1,0xFFFFFFFF,7,2,65536,,0,1,0,{},{ bonus bAllStats,1; unequip EQI_SHADOW_SHOES; changebase roclass(eaclass()|EAJL_THIRD); },{ unequip EQI_SHADOW_SHOES; changebase Class; }

    Thankyouu guys

×
×
  • Create New...