Jump to content

Ronald

Members
  • Posts

    241
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Ronald

  1. I don't think this is formula. This seems to be somewhat like in regard with gutter line system.

    You can check conf/battle/skill.conf

    // Area of Bowling Bash chain reaction
    // 0: Use official gutter line system
    // 1: Gutter line system without demi gutter bug
    // 2-20: Area around caster (2 = 5x5, 3 = 7x7, 4 = 9x9, ..., 20 = 41x41)
    // Note: If you knock the target out of the area it will only be hit once and won't do splash damage
    bowling_bash_area: 0

  2. 3 hours ago, Boneash said:

    gumawa ako ng custom npc ko kaso nung niload ko walang lumalabas

    pa fix nmn to mga paps 

     

    eto

    gusto ko mangyari ganito sana

    Hello name, my name is crazyman.

    msg
    The purpose of this NPC is to
    provide you the quest of the latest
    headgears here in TestRO!
    Would you like to brows on the new
    headgears?
    NEXT
    Here are the quest items you can
    aquire in this NPC.
    NEXT
    item
    item
    item
    so you want item
    headgear huh.
    Here are the things you need for
    it!
    NEXT
    quest items
    NEXT
    you meet requirement?
    NEXT
    yes!
    nope. 
    I am sorry but you simply are short
    of the requirements!
    please come again.

    
    //Test Alex HAT MAKER
    // Scripted by Alex
    //
    // Test Tutorial by Alex
    // ==============================================
    prontera,140,209,3	script	Hat Maker#h1-1::Hat Maker	930,{
        npctalk "Hello "+strcharinfo(0)+"my name CrazyMan";
        next;
        mes"The purpose of this NPC is to";
        mes"provide you the quest of the latest";
        mes"headgears here in TESTRO!";
        mes"Would you  like to brows on the new headgears?
        goto H_top;  
    
     H_top:
     menu "0-2",H_01,"Cancel",H_cancel;
    
    //__________Hat List__________//
    
     H_01:
     menu
    
     "Alice Doll",I_alice,
     "Hockey Mask",I_hockey,
     "Return to Menu",H_top;
    
    //_____________Item requirements_______________//
    
    
    //________model___________//
    //I_:
    //      next;
    //      mes "";
    //      menu "Make",M_,"Return to Menu",H_top;
    
     I_alice:
         next;
         mes "5x Marionett Dolls";
         mes "100x Alice's Apron";
         mes "5x Soft Apron";
         menu "Make",M_alice,"Return to Menu",H_top;
    
     I_hockey:
         next;
         mes "200x Suspicious Hat";
         mes "2x Blank Eyes";
         mes "10x Gold";
         mes "10x TCG Card";
         menu "Make",M_hockey,"Return to Menu",H_top;
    
    
    //____________model______________//
    //M_:
    //      if(countitem()< || countitem()< || Zeny < )
    //      goto M_insufficient;
    //      delitem ,;
    //      delitem ,;
    //      set zeny,zeny-;
    //      getitem ,;
    //      close;
    
     M_alice:
         if(countitem(5141)<5 || countitem(7047)<100 || countitem(661)<5)
         goto M_insufficient;
         delitem 5141,5;
         delitem 7047,100;
         delitem 661,5;
         getitem 5137,1;
         close;
    
     M_hockey:
         if(countitem(7567)<200 || countitem(5102)<2 || countitem(969)<10 || countitem(7227)<10)
         goto M_insufficient;
         delitem 7567,200;
         delitem 5102,2;
         delitem 969,10;
         delitem 7227,10;
         getitem 5314,1;
         close;
    
    //________not enough or not the correct items________
    
     M_insufficient:
         next;
         mes "CrazyMan I am sorry";
         mes "You don't have the required materials.";
         mes "Please come back when you do...";
         close;
    
     H_cancel:
    
     close;
    
     OnInit:
    
     waitingroom "Limited QUEST EVENT",0;
    
     end;
    }

     

    We have a lot of quest NPC available in here like Emitry's and Euphy's dynamic quest shop. Which is easier to configure. Also please refrain from posting twice with the same concern. Thank you.

  3. On 6/27/2020 at 7:48 PM, LearningRO said:

    mabuhay just miss 1 "

    try this
     

    
    -	script	VIP_Checker	-1,{
    OnCheck:
    	if(!(.@nb = query_sql("SELECT `account_id` FROM `login` WHERE `group_id` = '5'", .@aid))) {
    		dispbottom "No data found.";
    		end;
    	}
    	dispbottom "VIP Account ID list :";
    	for ( .@i = 0; .@i < .@nb; .@i++ )
    		dispbottom (.@i+1) +". Account ID : "+ .@aid[.@i];
    	dispbottom "Total of "+.@nb +" Active VIP account(s).";
    	end;
    OnInit:
    	bindatcmd "checkvip", strnpcinfo(0)+"::OnCheck", 60, 60; // @checkvip to list active vip accounts
    }

     

    Thank you for confirming. ?

  4. 4 hours ago, Mabuhay said:

    VP accounts are by default group_id 5 (if I am not mistaken) found in login table.

     

     

    Not tested.

    
    -	script	VIP_Checker	-1,{
    OnCheck:
    	if(!(.@nb = query_sql(SELECT `account_id` FROM `login` WHERE `group_id` = '5'", .@aid))) {
    		dispbottom "No data found.";
    		end;
    	}
    	dispbottom "VIP Account ID list :";
    	for ( .@i = 0; .@i < .@nb; .@i++ )
    		dispbottom (.@i+1) +". Account ID : "+ .@aid[.@i];
    	dispbottom "Total of "+.@nb +" Active VIP account(s).";
    	end;
    OnInit:
    	bindatcmd "checkvip", strnpcinfo(0)+"::OnCheck", 60, 60; // @checkvip to list active vip accounts
    }

     

    Not working. ?  But still,thankyouuu.

  5. Hi Everyone,

    By any chance do we already have a command wherein we can check a player's VIP status on Admin account? Because I cannot find the SQL for VIP status. I would appreciate your help in here ?

     

    Thank you.

  6. Hi Team,

    I would just like to seek your assistance I've already tried to debug my fluxcp PvP Ranking and WoE ranking but it still gives me error. I will appreciate if you can give your cents.

    Warning: mysqli_query() expects at least 2 parameters, 1 given in /* DIR */monthly.php on line 21

    Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /* DIR */monthly.php on line 22

    Warning: mysqli_query() expects at least 2 parameters, 1 given in  /* DIR */monthly.php on line 25

    Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /* DIR */monthly.php on line 26

     

    Line 21 $sql = mysqli_query("SELECT * FROM pvpladder ORDER BY kills DESC LIMIT 1");

    Line 22 $row = mysqli_fetch_array($sql);

    Line 25 $sql1 = mysqli_query("SELECT * FROM ownladder ORDER BY currentown desc limit 1");

    Line 26 $row1 = mysqli_fetch_array($sql1);

     

    Thank you so much!

  7. Hi rA Team,

     

    May I ask how to change the permission of FluxCP access such as last IP used, show username, etc.. Because I want to edit the minimum group id of those who can see the accounts on my flux.

     

    Thank you.

  8. On 2/28/2018 at 3:14 AM, Poring King said:

    in char athena it name like this

    server_name: rAthena

    // Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)
    wisp_server_name: Server

     

    but in client side it name server1 im really confuse how did you do . @Cyro

    Check on your clientinfo/sclientinfo.

     

     

×
×
  • Create New...