Jump to content

MuffinEater

Members
  • Posts

    38
  • Joined

  • Last visited

Posts posted by MuffinEater

  1. On 5/7/2022 at 9:18 PM, Emistry said:
    sc_start (SC_STRFOOD + .@i - 1), 1200000, .@stats[.@stat - bStr];

    change to

    sc_start (SC_STRFOOD + .@i - 1 - bStr), 1200000, .@stats[.@stat - bStr];

     

     

    1st there is a timer for all stats ( How to make it permanent )

    2nd once you get stats and talk again she will take the required item and zeny but wont give you stats. 

    3rd there is no Luk on allstats

    4th how to do this like this if random 1 stats either  1 of this "str,agi,vit,int,dex,luk" the stats you will get is random 1 to 100  and the allstats is only 100 or 200

    thanks a lot

    Quote

    Untitled.thumb.jpg.49b86afc65dbc75c77f96698c48c0350.jpg

     

     

  2. On 5/1/2022 at 1:28 PM, Emistry said:

    something like this ?

    prontera,155,181,5	script	Sample	757,{
    	mes "You need 20 "+getitemname(501);
    	mes "You need "+F_InsertComma(10000000)+" Zeny";
    	if (select("Confirm", "Cancel") == 1) {
    		if (countitem(501) >= 20 && Zeny >= 10000000) {
    			delitem 501, 20;
    			Zeny -= 10000000;
    			// random assign 200 stats
    			for (.@i = 0; .@i <= 200; .@i++) {
    				.@stat = rand(bStr, bLuk);
    				.@stats[.@stat - bStr]++;
    			}
    			// 5% to get 100 stats each.
    			for (.@i = bStr; .@i <= bLuk; .@i++) {
    				if (rand(100) < 5)
    					.@stats[.@stat - bStr] = 100;
    			}
    			for (.@i = bStr; .@i <= bLuk; .@i++)
    				sc_start (SC_STRFOOD + .@i - 1), 1200000, .@stats[.@stat - bStr];
    		}
    	}
    	close;
    }

     

    the stats are not working and the stats icon is different

    Untitled.jpg

    Quote

    image.png.7dc58b906e0130a93f80eb2b10b966e5.png into this

     

     

  3. NPC Stats Randomizer that requirements red pots and 10mil zeny that can give Random value  upto 200 of at random combination of (str,agi,vit,int,dex,luk) and low chance 5% for all stats 100 upto 500 with corresponding icon buff of this  

    Quote

    image.png.8b5099c359013f996e5e78586384d625.png

     

    TIA.

  4. On 4/4/2022 at 9:56 AM, ChokituBR said:

    Explain a little better what you want.

     

    Do you want to make the spiritball requirement 0, when group id is higher than 1 and critical explosion is active?

    SOLVED! 

  5.  the spiritball requirement 0 of Asura Strike , when group id is higher than 1 and critical explosion is active

    Quote

     

     

            case MO_BODYRELOCATION:
                if( sc && sc->data[SC_EXPLOSIONSPIRITS] )
                    req.spiritball = 0;
                break;
     

    thanks in advance

  6. you can use dynamic shop npc https://rathena.org/board/topic/75400-dynamic-quest-npc/ just edit

       setarray .Shops$[1],"Headgears"; <----- this 
       // set .Shops$,"n/a";
    
    // Add(<shop number>,<reward ID>,<reward amount>,<Zeny cost>,<point cost>,
    //     <required item ID>,<required item amount>{,...});
    // Shop number corresponds with order above (default is 1).
    // Note: Do NOT use a reward item more than once!
    
    
       Add(1,30001,1,0,0,948,300,950,250,931,250,998,250,607,50); <--- and this 

     

  7. this one sir how i can solve this?

    <?php exit('Forbidden'); ?>
    [2017-02-06 11:51:28] (Flux_Error) Exception Flux_Error: ServerAddress must be specified in your application config.
    [2017-02-06 11:51:28] (Flux_Error) **TRACE** #0 /home/cookierov2/public_html/lib/Flux.php(300): Flux::raise('ServerAddress m...')
    [2017-02-06 11:51:28] (Flux_Error) **TRACE** #1 /home/cookierov2/public_html/lib/Flux.php(120): Flux::parseAppConfigFile('config/applicat...')
    [2017-02-06 11:51:28] (Flux_Error) **TRACE** #2 /home/cookierov2/public_html/index.php(69): Flux::initialize(Array)
    [2017-02-06 11:51:28] (Flux_Error) **TRACE** #3 {main}

     

  8.  So for example... uh...
    
    		case MO_CHAINCOMBO:
    			if(!sc)
    				return false;
    			if(sc->data[SC_BLADESTOP])
    				break;
    			if(sc->data[SC_COMBO] && (pc_get_group_id(sd) > 0 || sc->data[SC_COMBO]->val1 == MO_TRIPLEATTACK))
    				break;
    			return false;

    i change it into like this its working thanks a lot

    		case CH_CHAINCRUSH:
    			if(!sc)
    				return false;
    			if(sc->data[SC_BLADESTOP])
    				break;
    			if(sc->data[SC_COMBO] && (pc_get_group_id(sd) > 0 || sc->data[SC_COMBO]->val1 == MO_TRIPPLEATTACK))
    				break;

     

  9. how you use those skill with any condition or requirement when getgroupid "group.conf" is 1 or higher ?Tia

    	case MO_CHAINCOMBO:
    			if(!sc)
    				return false;
    			if(sc->data[SC_BLADESTOP])
    				break;
    			if(sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == MO_TRIPLEATTACK)
    				break;
    			return false;
    		case MO_COMBOFINISH:
    			if(!(sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == MO_CHAINCOMBO))
    				return false;
    			break;
    		case CH_TIGERFIST:
    			if(!(sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == MO_COMBOFINISH))
    				return false;
    			break;
    		case CH_CHAINCRUSH:
    			if(!(sc && sc->data[SC_COMBO]))
    				return false;
    			if(sc->data[SC_COMBO]->val1 != MO_COMBOFINISH && sc->data[SC_COMBO]->val1 != CH_TIGERFIST)
    				return false;
    break;

     

  10. 2 max deadly combo instead po sana na unequip sya magiging auto decard po pag sinout  hindi mo rin po kasi sya madedecard kasi hindi mo nga po ma equip salamat :D

    function script lhz {
    if( isequippedcnt( 4359,4361,4367,4399,4407 ) > 2 ){
      message strcharinfo(0),"Cant Wear More than 2 LHZ Card.";
      nude;
    }
    return;
    }
    
  11. item drop penalty po ito based on karma
    kapag + karma ka may chance mahulugan ka ng item
    ang problema gusto ko po kasi sana for player vs player lang sya hindi sana kasama pag monster vs player

    -	script	penalty_drop	-1,{
       
        OnPCDieEvent:
    
             if ( killedrid != getcharid(3) && KARMAPOINTS > -800 ) {
                
                if ( KARMAPOINTS <= 1000 ) {
                    .@drop_count = rand( 1,2 );
                    .@rate = 20;
                }
    			else if ( KARMAPOINTS >= 1001 && KARMAPOINTS <= 20000 ) {
                    .@drop_count = rand( 1,3 );
                    .@rate = 100;
                }
    			else if ( KARMAPOINTS >= 20001 && KARMAPOINTS <= 30000 ) {
                    .@drop_count = rand( 2,4 );
                    .@rate = 100;
                }
    			else if ( KARMAPOINTS >= 30001 && KARMAPOINTS <= 40000 ) {
                    .@drop_count = rand( 2,5 );
                    .@rate = 100;
                }
    			else if ( KARMAPOINTS >= 40001 && KARMAPOINTS <= 50000  ) {
                    .@drop_count = rand( 3,5 );
                    .@rate = 100;
                }
    			else if ( KARMAPOINTS >= 50001 && KARMAPOINTS <= 60000  ) {
                    .@drop_count = rand( 4,6 );
                    .@rate = 100;
                }
    			else if ( KARMAPOINTS >= 60001 && KARMAPOINTS <= 70000  ) {
                    .@drop_count = rand( 5,7 );
                    .@rate = 100;
                }
    			else if ( KARMAPOINTS >= 70001 ) {
                    .@drop_count = rand( 5,7 );
                    .@rate = 100;
                }
    			
               if ( .@rate > 0 && .@drop_count > 0 ) {
                    while( .@drop < .@drop_count ) {
                        getinventorylist;
                        if ( @inventorylist_count == 0 )
                        end;
                        .@index = rand( @inventorylist_count );
    					getmapxy( .@map$,.@x,.@y,0 );
    if ( countitem2(@inventorylist_id[.@index],@inventorylist_identify[.@index],@inventorylist_refine[.@index],@inventorylist_attribute[.@index],@inventorylist_card1[.@index],@inventorylist_card2[.@index],@inventorylist_card3[.@index],@inventorylist_card4[.@index]) ) {
    	delitem2 @inventorylist_id[.@index],@inventorylist_amount[.@index],@inventorylist_identify[.@index],@inventorylist_refine[.@index],@inventorylist_attribute[.@index],@inventorylist_card1[.@index],@inventorylist_card2[.@index],@inventorylist_card3[.@index],@inventorylist_card4[.@index];
    	makeitem2 @inventorylist_id[.@index],@inventorylist_amount[.@index],.@map$,.@x,.@y,@inventorylist_identify[.@index],@inventorylist_refine[.@index],@inventorylist_attribute[.@index],@inventorylist_card1[.@index],@inventorylist_card2[.@index],@inventorylist_card3[.@index],@inventorylist_card4[.@index];
    	.@drop++;
    }
    }
    }
    }
    	end;
    }
    
  12. item drop penalty po ito based on karma

    kapag + karma ka may chance mahulugan ka ng item

    ang problema ko po gusto ko po sana na mahuhulugan ka lang kapag player lang ang naka kill sayo at lalabas sana sa chat box kung anong item nahulog sayo

    maraming Salamat !

    -	script	penalty_drop	-1,{
       
        OnPCDieEvent:
    
             if ( killedrid != getcharid(3) && KARMAPOINTS > -800 ) {
                
                if ( KARMAPOINTS <= 1000 ) {
                    .@drop_count = rand( 1,2 );
                    .@rate = 20;
                }
    			else if ( KARMAPOINTS >= 1001 && KARMAPOINTS <= 20000 ) {
                    .@drop_count = rand( 1,3 );
                    .@rate = 100;
                }
    			else if ( KARMAPOINTS >= 20001 && KARMAPOINTS <= 30000 ) {
                    .@drop_count = rand( 2,4 );
                    .@rate = 100;
                }
    			else if ( KARMAPOINTS >= 30001 && KARMAPOINTS <= 40000 ) {
                    .@drop_count = rand( 2,5 );
                    .@rate = 100;
                }
    			else if ( KARMAPOINTS >= 40001 && KARMAPOINTS <= 50000  ) {
                    .@drop_count = rand( 3,5 );
                    .@rate = 100;
                }
    			else if ( KARMAPOINTS >= 50001 && KARMAPOINTS <= 60000  ) {
                    .@drop_count = rand( 4,6 );
                    .@rate = 100;
                }
    			else if ( KARMAPOINTS >= 60001 && KARMAPOINTS <= 70000  ) {
                    .@drop_count = rand( 5,7 );
                    .@rate = 100;
                }
    			else if ( KARMAPOINTS >= 70001 ) {
                    .@drop_count = rand( 5,7 );
                    .@rate = 100;
                }
    			
               if ( .@rate > 0 && .@drop_count > 0 ) {
                    while( .@drop < .@drop_count ) {
                        getinventorylist;
                        if ( @inventorylist_count == 0 )
                        end;
                        .@index = rand( @inventorylist_count );
    					getmapxy( .@map$,.@x,.@y,0 );
    if ( countitem2(@inventorylist_id[.@index],@inventorylist_identify[.@index],@inventorylist_refine[.@index],@inventorylist_attribute[.@index],@inventorylist_card1[.@index],@inventorylist_card2[.@index],@inventorylist_card3[.@index],@inventorylist_card4[.@index]) ) {
    	delitem2 @inventorylist_id[.@index],@inventorylist_amount[.@index],@inventorylist_identify[.@index],@inventorylist_refine[.@index],@inventorylist_attribute[.@index],@inventorylist_card1[.@index],@inventorylist_card2[.@index],@inventorylist_card3[.@index],@inventorylist_card4[.@index];
    	makeitem2 @inventorylist_id[.@index],@inventorylist_amount[.@index],.@map$,.@x,.@y,@inventorylist_identify[.@index],@inventorylist_refine[.@index],@inventorylist_attribute[.@index],@inventorylist_card1[.@index],@inventorylist_card2[.@index],@inventorylist_card3[.@index],@inventorylist_card4[.@index];
    	.@drop++;
    }
    }
    }
    }
    	end;
    }
    
    
×
×
  • Create New...