Jump to content

LearningRO

Members
  • Posts

    722
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by LearningRO

  1. On 4/21/2022 at 7:22 PM, powkda said:

    the problem is that it's a consumable item, not a piece of equipment

    how the item work?
    if as consumable still can do with the trick
    and dont forget triger too on ONPCLOGINEVENT:

    OnPCLoginEvent:
    if (noview == 1){

    changelook LOOK_HEAD_TOP, 0; changelook LOOK_HEAD_MID, 0; changelook LOOK_HEAD_BOTTOM, 0;

    }

  2. On 4/7/2022 at 1:54 AM, Dolphin86 said:

    really need help on this problem

    You have patched "Previews Costume  on cashsop?" on your exe?

    and have you enable it in Server side too?

    and what client date do you use
    for client 2018 will get that issue btw.
     

  3. maybe you can do some trick
    make function 
    and then triger with 

    onpclogin:

     if ( noview == 1){
    do script
    {

     

     

    in your equipment script just give script set noview 1 when use and noview 0 when put it off

  4. On 5/24/2021 at 12:01 AM, Emistry said:
    OnInit:
    OnHour00:
    	.rand_time_1 = rand(0, 11);
    	.rand_time_2 = rand(12, 23);
    	
    OnMinute00:
    	if (gettime(DT_HOUR) == .rand_time_1 || gettime(DT_HOUR) == .rand_time_2) {
    		// scripts.
    	}
    	end;

     

    Hi, emistry how to get the right time if I want to make random time for start the floating rates but only for 1 hour?
    after 1 hour will back to normal rate

  5. -	script	dropallmonster	-1,{
    OnInit:
    .listmonster$ = "1096|1388|1307|1283";
    end;
    
    OnNPCKillEvent:
    	if( compare( "|"+.listmonster$+"|","|"+killedrid+"|" ) ){
    		if(rand(100)>75){
    			getitem 501,1; 
    			end;
    		}
    		end;
    	}
    	
    }

     

  6. On 12/9/2021 at 1:46 AM, Herbertsidy said:

    How I can set value to group level = 1, 5, or 99(adm example)? or mean the vip status is already some representative value?

    Do the script db must be like below?

      - Id: 607
        AegisName: Yggdrasilberry
        Name: Yggdrasil Berry
        Type: Healing
        Buy: 5000
        Weight: 300
        Flags:
          BuyingStore: true
        Delay:
          Duration: 5000
          Status: Reuse_Limit_F
        Script: |
        if(status_vip(VIP_STATUS_ACTIVE)(getitem 607,1;);
          percentheal 100,100;

     

    Edit:

    I got error:

    map.jpeg

    if(vip_status(VIP_STATUS_ACTIVE) ){getitem 607,1;}

×
×
  • Create New...

Important Information

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