Jump to content

crazyarashi

Developer
  • Posts

    763
  • Joined

  • Last visited

  • Days Won

    20

Posts posted by crazyarashi

  1. Hi good day rathena I'm currently stuck on the stuff i'm trying to make I basically want to take the average level of the online party members. I tried to use readparam(BaseLevel,.$@partmemberaid[.@i]) but it didnt work somehow. Thank you in advance
     

    .@party_id = getcharid(1);
    	if(.@party_id){
    		getpartymember( .@party_id,2 );
    		getpartymember( .@party_id,1 );
    		for( .@i = 0; .@i < $@partymembercount; .@i++ )
         	if(isloggedin($@partymemberaid[.@i],$@partymembercid[.@i])) .@online += 1;
    			if(attachrid($@partymemberaid[.@i])) {
                	//= Currently stuck what to put here.
    			                               
                                                   
                                                   


     

  2. 54 minutes ago, zeek said:

    Does anyone know who owns OVH? They don't respond to our tickets. I wanna ask how can we access sql via browser? or other remote sql's. We can only log it in putty.

    if you want to access your SQL you will need to install a phpmyadmin or if you want to access it remotely you need to allow remote access.
    PS.
    don't go bumping other topics especially when your question is out of the topic.

  3. -	script	paytowinbuffs	-1,{
    end;
    
    OnBuffs:
    	.@size = getarraysize(.buffs$);
    	for( .@i = 0; .@i < .@size; .@i++){
    		.@menu$ = .@menu$ + ""+.buffs$[.@i]+"" + ":";
    		}
    		.@i = select(.@menu$) -1;
    		sc_start .elements[.@i],180000,5;
    		end;
    
    OnInit:
    	setarray .buffs$, "Fire", "Water", "Earth", "Wind", "Holy", "Shadow", "Poison";
    	setarray .elements, 96, 97, "99", "98", "37", "144", "26";
    	bindatcmd "buffs2","paytowinbuffs::OnBuffs",5,99;
    	end;
    }

    Added some changes to it. it should add a command for VIP which is group 5 just edit it if you have custom group for VIP's

    • Love 1
  4. -	script	paytowinbuffs	-1,{
    end;
    
    OnBuffs:
    	.@size = getarraysize(.buffs$);
    	for( .@i = 0; .@i < .@size; .@i++){
    		.@menu$ = .@menu$ + ""+.buffs$[.@i]+"" + ":";
    		}
    		.@i = select(.@menu$) -1;
    		sc_start .elements$[.@i],180000,5;
    		end;
    
    OnInit:
    	setarray .buffs$, "Fire", "Water", "Earth", "Fire", "Wind", "Holy", "Shadow", "Poison";
    	setarray .elements$, "SC_FIREWEAPON", "SC_WATERWEAPON", "SC_EARTHWEAPON", "SC_WINDWEAPON", "SC_ASPERSIO", "SC_SHADOWWEAPON", "SC_ENCPOISON";
    	bindatcmd "buffs2","paytowinbuffs::OnBuffs",5,5;
    	end;
    }

     

    • Like 1
×
×
  • Create New...