Jump to content

PapaZola

Members
  • Posts

    925
  • Joined

  • Last visited

Posts posted by PapaZola

  1. got update for @mapmoblist?

    im trying now got error


     

    Quote

    atcommand.cpp:9417:11: error: 'mob_searched' was not declared in this scope
        memset(mob_searched, 0, MAX_MOB_DB);
               ^~~~~~~~~~~~
    atcommand.cpp:9417:11: note: suggested alternative: 'hom_search'
        memset(mob_searched, 0, MAX_MOB_DB);
               ^~~~~~~~~~~~
               hom_search
    atcommand.cpp:9418:11: error: 'mob_mvp' was not declared in this scope
        memset(mob_mvp, 0, MAX_MOB_DB);
               ^~~~~~~
    atcommand.cpp:9418:11: note: suggested alternative: 'mob_db'
        memset(mob_mvp, 0, MAX_MOB_DB);
               ^~~~~~~
               mob_db
    atcommand.cpp:9459:59: error: 'TBL_MOB {aka struct mob_data}' has no member name d 'class_'
            count = map_foreachinmap(count_mob, m, BL_MOB, md->class_);

     

  2. 6 hours ago, Haruka Mayumi said:
    
    prontera,150,182,4	script	Healer	10173,5,5,{
    OnTouch:
    while( .@i < .sc_size ){
    	sc_end .sc_status[.@i];
    	set .@i,.@i + 1;
    }
    
    sc_start SC_BLESSING,.buff_duration,10;
    sc_start SC_INCREASEAGI,.buff_duration,10;
    
    
    percentheal 100,100;
    
    while( getbrokenid(1) )
    	// repair getbrokenid(1);
    	repairall;
    	 // atcommand "@repairall";
    end;
    
    
    OnInit:
    set .buff_duration,600000;
    
    setarray .sc_status,
    	SC_STONE,SC_FREEZE,SC_STUN,SC_SLEEP,SC_POISON,SC_CURSE,SC_SILENCE,SC_CONFUSION,SC_BLIND,SC_BLEEDING,
    	SC_QUAGMIRE,SC_AETERNA,SC_HALLUCINATION,SC_SLOWDOWN,SC_BERSERK,SC_CHANGEUNDEAD,
    	SC_STRIPWEAPON,SC_STRIPSHIELD,SC_STRIPARMOR,SC_STRIPHELM;	
    set .sc_size,getarraysize( .sc_status );
    waitingroom "Free Heal",0;
    end;
    }

     

    thanks its working

  3. i already edit the percent to 100%

            

    Quote

    case 1:
                setarray .@Items[0],2371,2307,2309,2314,2316,2321,2325,2327,2328,2330,2332,2334,2335,2341,2344,2346,2348,2350,2337,2386;
                set .@j,100;
                break;
            case 2:
                setarray .@Items[0],2311,2318,2319,2320,2308,2310,2315,2317,2322,2324,2326,2331,2333,2336,2342,2345,2347,2349,2351;
                set .@j,100;
                set .@k,1;
                break;
            case 3:
                setarray .@Items[0],2357,2364,2365,2391,2374,2375,2387,2388,2389,2390;
                set .@j,100;
                break;

    but when trying always failed and broke the armor

    here my script

    https://pastebin.com/J9NP53z8

  4. On 4/28/2020 at 10:10 PM, Psyche said:

    Hello,

    Is there any possibilities for using @autoattack like @autotrade? Players will be logged out but character still on game and doing autoattack.

    I've tried to put state.autotrade = 1; but the result was the character didn't walking for monsters. So, is there a code/variable to make the client only logged out but character still on the game?

    same im looking this 1 also

    after using @autoattack and then @afk also not working

    the character stop attacking and walking anyone can help? to make char keep attacking and walking

  5. i found this script from rAthena

    but its stuck when player with full zeny click this npc.

    anyone can help fix?

    turbo_room,94,105,4	script	Zenny Giver#BG8	804,{
    mes "^0055AA[ Banker ]^000000";
    	mes "Who wants to be a Millionaire?";
    	mes "For sure you are!"; 
    
    	next;
    
    Zeny += 5000000;
    	mes "Here you go!";
    	mes "5 million zeny for you, darling";
    
    close;
    OnInit:
    waitingroom "Zenny Giver",0;
    end;
    }
  6. hello its there posibble to make quest npc give a random reward

    here my list for reward 7073,7074,7075,7076,7077,7078,7079,7080,7081,7082,

     

    item requirements

    7020 -10

    1054-50

    7035-15

    1009-50

    7442-50

     

    after create the item npc will annouce player make the quest

  7. 1 hour ago, Ronald said:
    
    case 1: // Castle Drops
      set .@gamble1,rand(1,500);
      if ((.@gamble1 > 200) && (.@gamble1 < 205)) {
    set .@gamble2,rand(1,10);
    if	  ((.@gamble2 > 0) && (.@gamble2 <  3)) set .@item,7086; // esg
    else if ((.@gamble2 > 2) && (.@gamble2 <  5)) set .@item,7090; // ripple
    else if ((.@gamble2 > 4) && (.@gamble2 <  7)) set .@item,7091; // billow
    else if ((.@gamble2 > 6) && (.@gamble2 <  9)) set .@item,7077; // silver
    else if ((.@gamble2 > 8) && (.@gamble2 < 11)) set .@item,7078; // wov
      }
      else if ((.@gamble1 >   0) && (.@gamble1 < 201)) set .@item,7086; // esg
      else if ((.@gamble1 > 204) && (.@gamble1 < 301)) set .@item,7090; // ripple
      else if ((.@gamble1 > 300) && (.@gamble1 < 401)) set .@item,7091; // billow
      else if ((.@gamble1 > 401) && (.@gamble1 < 481)) set .@item,7077; // silver
      else if ((.@gamble1 > 480) && (.@gamble1 < 501)) set .@item,7078; // wov
    break;
    }

    Basically you just need to add more condition with the items you wanted to add.

    can give me an example i try add but when trying make it only get same item only 5 

    Quote

     

    case 1: // Castle Drops
      set .@gamble1,rand(1,500);
      if ((.@gamble1 > 200) && (.@gamble1 < 205)) {
    set .@gamble2,rand(1,10);
    if      ((.@gamble2 > 0) && (.@gamble2 <  3)) set .@item,7073; // esg
    else if ((.@gamble2 > 2) && (.@gamble2 <  5)) set .@item,7073; // ripple
    else if ((.@gamble2 > 4) && (.@gamble2 <  7)) set .@item,7074; // billow
    else if ((.@gamble2 > 6) && (.@gamble2 <  9)) set .@item,7075; // silver
    else if ((.@gamble2 > ? && (.@gamble2 < 11)) set .@item,7076; // wov
    else if ((.@gamble2 > 2) && (.@gamble2 <  5)) set .@item,7077; // ripple
    else if ((.@gamble2 > 4) && (.@gamble2 <  7)) set .@item,7078; // billow
    else if ((.@gamble2 > 6) && (.@gamble2 <  9)) set .@item,7079; // silver
    else if ((.@gamble2 > ? && (.@gamble2 < 11)) set .@item,7080; // wov
    else if ((.@gamble2 > 2) && (.@gamble2 <  5)) set .@item,7081; // ripple
    else if ((.@gamble2 > 4) && (.@gamble2 <  7)) set .@item,7082; // billow
    else if ((.@gamble2 > 6) && (.@gamble2 <  9)) set .@item,7083; // silver
    else if ((.@gamble2 > ? && (.@gamble2 < 11)) set .@item,7084; // wov
    else if ((.@gamble2 > 2) && (.@gamble2 <  5)) set .@item,7085; // ripple
    else if ((.@gamble2 > 4) && (.@gamble2 <  7)) set .@item,7086; // billow
    else if ((.@gamble2 > 6) && (.@gamble2 <  9)) set .@item,7087; // silver
    else if ((.@gamble2 > ? && (.@gamble2 < 11)) set .@item,7088; // wov
    else if ((.@gamble2 > 2) && (.@gamble2 <  5)) set .@item,7089; // ripple
    else if ((.@gamble2 > 4) && (.@gamble2 <  7)) set .@item,7090; // billow
    else if ((.@gamble2 > 6) && (.@gamble2 <  9)) set .@item,7091; // silver
    else if ((.@gamble2 > ? && (.@gamble2 < 11)) set .@item,7092; // wov

      }
      else if ((.@gamble1 >   0) && (.@gamble1 < 201)) set .@item,7073; // esg
      else if ((.@gamble1 > 204) && (.@gamble1 < 301)) set .@item,7074; // ripple
      else if ((.@gamble1 > 300) && (.@gamble1 < 401)) set .@item,7075; // billow
      else if ((.@gamble1 > 401) && (.@gamble1 < 481)) set .@item,7076; // silver
      else if ((.@gamble1 > 480) && (.@gamble1 < 501)) set .@item,7077; // wov
      else if ((.@gamble1 >   0) && (.@gamble1 < 201)) set .@item,7078; // esg
      else if ((.@gamble1 > 204) && (.@gamble1 < 301)) set .@item,7079; // ripple
      else if ((.@gamble1 > 300) && (.@gamble1 < 401)) set .@item,7080; // billow
      else if ((.@gamble1 > 401) && (.@gamble1 < 481)) set .@item,7081; // silver
      else if ((.@gamble1 > 480) && (.@gamble1 < 501)) set .@item,7082; // wov
      else if ((.@gamble1 >   0) && (.@gamble1 < 201)) set .@item,7083; // esg
      else if ((.@gamble1 > 204) && (.@gamble1 < 301)) set .@item,7084; // ripple
      else if ((.@gamble1 > 300) && (.@gamble1 < 401)) set .@item,7085; // billow
      else if ((.@gamble1 > 401) && (.@gamble1 < 481)) set .@item,7086; // silver
      else if ((.@gamble1 > 480) && (.@gamble1 < 501)) set .@item,7087; // wov
      else if ((.@gamble1 >   0) && (.@gamble1 < 201)) set .@item,7088; // esg
      else if ((.@gamble1 > 204) && (.@gamble1 < 301)) set .@item,7089; // ripple
      else if ((.@gamble1 > 300) && (.@gamble1 < 401)) set .@item,7090; // billow
      else if ((.@gamble1 > 401) && (.@gamble1 < 481)) set .@item,7091; // silver
      else if ((.@gamble1 > 480) && (.@gamble1 < 501)) set .@item,7092; // wov

    break;
    }

     

     

  8. 10 hours ago, Emistry said:
    
    announce "Wow! The Seal has been annihilated by "+strcharinfo(0)+" He has just broken the seal and will start the quest of Valkyrie!","0x33FF66";

    change to

    
    announce "Wow! The Seal has been annihilated by "+strcharinfo(0)+" He has just broken the seal and will start the quest of Valkyrie!", bc_all, 0x33FF66;

     

    Thanks emistry how about to add more item to gamble 

  9. hello its posibble to add more etc

     

    i want all this item on the script

    7073,7074,7075,7076,7077,7078,7079,7080,7081,7082,7083,7084,7085,7086,7087,7088,7089,7090,7091,7092

    here my original script
    https://pastebin.com/yLXU34GJ

    and have some debug problem

     

    Quote

    [Warning]: Unexpected type for argument 2. Expected number.
    [Debug]: Data: string value="0x33FF66"
    [Debug]: Function: announce
    [Debug]: Source (NPC): Break The Seal at prontera (142,187)


     

  10. 1 hour ago, Start_ said:

    Change

    for(.@i=0;.@i<getarraysize(.Rewards);.@i++)

    to

    for(.@i=0;.@i<getarraysize(.RewardsID);.@i++)

    53jvag.png

     

    and 

    old account trying claim still said u already received the reward

    53nDk2.png

     

  11. On 4/20/2020 at 3:39 PM, Haruka Mayumi said:

    Script Request. i haven't tried it since i'm not on PC. but i think its working without bugs.

    
    prontera,155,181,3	script	Yumi	94,{
    
    	mes .name$;
    	if(#PlayTimeReward){
    		mes "You already received your play time reward.";
    		end;
    	}
    	if(#PlayTime<.PlayTime){
    		mes "Your current Playtime is ^0055FF"+#PlayTime+"^000000 minutes.\n";
    		mes "You still need "+(.PlayTime-#PlayTime)+" minutes to receive your play time reward.";
    		end;
    	}
    	if(!checkweight2(.RewardsID,.RewardsAmt)){
    		mes "Insufficient inventory space or weight.";
    		end;
    	}
    	for(.@i=0;.@i<getarraysize(.Rewards);.@i++)
    		getitem .RewardsID[.@i],.RewardsAmt[.@i];
    	#PlayTimeReward = 1;
    	mes "You received your rewards!";
    end;
    
    OnPCLoginEvent:
    	if( #PlayTime < .PlayTime || !#PlayTimeReward )
    		addtimer 60000,strnpcinfo(0)+"::OnPlayTime";
    end;
    
    OnPlayTime:
    	if( #PlayTime >= .PlayTime )
    		end;
    	#PlayTime += 1;
    	addtimer 60000,strnpcinfo(0)+"::OnPlayTime";
    end;
    
    OnInit:
    	.name$ = "[ ^FF5500Playtime Reward^000000 ]";
    	.Playtime = 4320; //In Minutes
    	
    	setarray .RewardsID[0],5013,2629;
    	setarray .RewardsAmt[0],1,2;
    	
    end;
    }

     

    thanks sir gonna try it

     

    not working sir

    in only got this when trying claim reward.help please

    53nDk2.png

    bump anyone can help??please urgent

  12. hello rA

    its posibble to make if player have already play on game or online already 72 hours in game can claim a reward from npc example reward

    5013 lord kaho horn

    2629 megingjard

    if player still not enough game time the npc will show how many hours more he need to wait and online

    please help

     

  13. anyone have like this problem?

    Video

    https://www.youtube.com/watch?v=kdjHOEiYjoM&feature=youtu.be&fbclid=IwAR0WhtumYObn4vao90Fpt5AlDnu1uLK_JGHDkClvn824HiJKEkZBtQ6SR0k
    

    after im killing another champ im have been nuked

    whats the problem please help hurmm

     

    66703200_803870090009045_3898032637616324608_n.jpg

×
×
  • Create New...