Jump to content

JoseRicart

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by JoseRicart

  1. Hi, 

    First of all, it doesn't work quite right, when I fixed all the errors that I could see, I did a test and entered payon dungeon floor 1, I got the message that floor 1 was unlocked, then I kept going and It didn't unlock the other floors , I tried to see in cli mode but it does not give me any error, I add the script in case someone have time to help me.

    warpereovlution.txt

  2. Hi,

    First of all I am very sorry if the place where I should post this type of support is not correct but I feel that it is a client problem or at least my inexperience tells me that, the issue is that I am having a problem with hairstyle, I have added correctly and following the instructions of some packages here, but when I go from hairstyle 37 in female characters, and men I get a completely black head. Some images so that you understand me much better.

     

     

    hairstyle.png

  3. 2 hours ago, Royr said:

    I made this on a phone...Please give a try (based on your script and optimized it).

    I added some multiple items  reward with chances added some flavor to your server. ?

    //Created Date: 04/07/2022
    -	script	AEOUS_MVP_DROP	FAKE_NPC,{
    	end;
    OnNPCKillEvent:
    	.@rnd = rand(1,100);
    	if( getmonsterinfo( killedrid,MOB_MVPEXP ) ) {
    	for( .@i = 0; .@i < getarraysize(.item_arrays); .@i += 3 ) {
    		if( .@rnd < .item_arrays[.@i+2] ) {
    			getitem .item_arrays[.@i], .item_arrays[.@i+1];
    			announce "Congratulations! Player "+ strcharinfo(0) +" has obtained "+ getitemname( .item_arrays[.@i] ) +" ["+ .item_arrays[.@i+1] +"] from "+ getmonsterinfo(killedrid, 0) +" (chance: "+.item_arrays[.@i+2]+"%) MVP Drop(s).",bc_all,0x00FF00;
    		}
    	}
    	end;
    }
    
    OnInit:
    //	(<structure,<item_id>,<chances>)
    	setarray .item_arrays[0],
    		675,	1,	10,
    		677,	1,	30,
    		7539,	1,	100;
    	end;
    }

     

    wow man you give me a fucking idea and sorry for the word ffs, your a fking legend.

    Basically i can add custom items wiht % of drop whenever you kill an MvP omfg asjhkdhjksfjhdsfjhkdashfnbjkh im so excited

  4. 36 minutes ago, Mahiro said:

     this?

      Hide contents

    OnNPCKillEvent:
        .@it = 607;
        if(getmonsterinfo(killedrid,MOB_MVPEXP)){
            announce strcharinfo(0)+" killed "+getmonsterinfo(killedrid,MOB_NAME)+" get "+getitemname(.@it),bc_all,0x00FF00;
            getitem .@it,1;
        }
        end;

     

     

    oh wow your amazin, was missing a curly but now all work, tysm

     

     

    in case someone wants the script working, here the script

    NOTE: IGNORE THE COMMENT ON THE CODE

     

    curly.png

    mvpdropcoin.txt

  5. good morning, my name is Jose and it is a pleasure to return to these whereabouts of the world of rathena after a long break for personal reasons, as usual I come to disturb a bit here.

    About 4-5 years ago I had a script which when you killed an MvP gave you a coin automatically, it turns out that when I added it to the server's custom scripts it is, let's say, "half-working" since it is true that the script when you kill an MvP, it drops the coin, but also when you kill a poring, a skeleton, a zombie, a plant, a spore, in short, when you kill everything.

    Could someone help me or give me some support?

    I upload the script with an imagen for example

     

    drop.png

    mvpdropcoin.txt

  6. On 11/17/2017 at 11:13 AM, Deleted User said:

    If you want that every MvP get killed and obtain 5 x Poring Coin.

    Here's the simple script:
     

    -	script	F_TriggerMVVP	-1,{
    
    OnNPCKillEvent:
    	if( getmonsterinfo(killedrid,22) )
    		announce "Congratulations! Player, "+ strcharinfo(0) +" has killed MVP "+ getmonsterinfo( killedrid, MOB_NAME ) +" and obtained 'Poring Coin' at "+ strcharinfo(3),0,0x00FF00;
    		getitem 7539,5;
    	end;
    }

     

    I tried this script but let's say it barely works for me, I would like it to drop the poring coin only when I kill an MvP, but it turns out that when I kill an MvP, when I kill a skeleton, a poring, whatever it is, it drops the coin

     

    here an imagen

    drop.png

×
×
  • Create New...