Jump to content

PandaLovesHamster

Members
  • Posts

    452
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by PandaLovesHamster

  1. //initializes list of scavenger items for( set .@i,0; .@i < 10 ; set .@i,.@i+1 ) to //initializes list of scavenger items freeloop(1); for( set .@i,0; .@i < 10 ; set .@i,.@i+1 ) Don't forget to close it the freeloop. Here: } freeloop(0); return;
  2. Removed IP address related checks and queries.
  3. You'll need the recolored sprites if you want that kind of thing to work.
  4. It's probably worth checking around the while loop area. That's the only reason why there's an infinite loop warning.
  5. It looks good, fits the current modern-ish style of websites now I guess. I'm no art expert but I kinda like how it looks.
  6. 3. Player A and Player B can get the same quest but when Player A give the items first the Quest requirements will be resetted to Player B and so on. So every time a player finishes a quest, the quest items required will reset? Meaning new items need to be hunted? So the items Player B hunted are now invalid? Would suggest starting with this one then: https://rathena.org/board/topic/63436-hey-guys-can-you-help-me-fix-this-script/ There's some errors with the script I suppose since the post is asking for help, but i'm not sure if it's fixed or not, guess it's not. Note: I used this before and I get infinite loop problems.
  7. M_EndEvent: mes "[Minion]"; mes "Ok master, I will stop the event for you right away!"; close2; awake "Zombie Minion"; set .Status,0; disablenpc "Zombie Master"; disablenpc "Shihiro"; killmonsterall "quiz_01"; areawarp "quiz_01",10,10,450,450,"prontera",156,191; stopnpctimer; announce "END TESTING",0; end; https://rathena.org/wiki/Awake
  8. getitem @bought_nameid[.@i], @bought_quantity[.@i]; dispbottom "Purchased "+@bought_quantity[.@i]+"x "+getitemname(@bought_nameid[.@i])+"."; announce strcharinfo(0)+" has purchased "+@bought_quantity[.@i]+"x "+getitemname(@bought_nameid[.@i])+".",0; set .@i, .@i+1; } Show error message or post your entire code if it still errors.
  9. M_EndEvent: mes "[Minion]"; mes "Ok master, I will stop the event for you right away!"; next; set .Status,0; disablenpc "Zombie Master"; disablenpc "Present#RFYL"; killmonsterall "quiz_01"; areawarp "quiz_01",10,10,450,450,"prontera",156,191; stopnpctimer; disablenpc "Zombie Minion"; warp "prontera",156,191; sleep 60000; enablenpc "Zombie Minion"; The problem with that is it follows through to this part of the script because it lacks end; // ========================= StartEvent: //Announcement to notify all players // ========================= Try adding end; after enablenpc "Zombie Minion";
  10. "+getitemname(@bought_nameid[.@i]+".",0; It lacks ), just before +
  11. From what I know, this is a paid instance made by @Emistry. https://rathena.org/board/topic/86544-emistrys-reliable-script-services-let-me-show-you-the-codes/?p=293325
  12. No problem. Glad it worked. Thank you as well.
  13. prontera,123,123,4 script Quest1 123,{ if(next_npc == 3) end; mes "..."; menu "Accept Quest",-; set next_npc,1; next; mes "..."; mes "accepted.."; close; } prontera,125,125,4 script Quest2 123,{ if(next_npc == 2){ mes "requirements..."; mes "...."; mes "...."; if(countitem(501) < 1 || countitem(502) < 1){ //add more depending on your requirements mes "not enough"; } delitem 501,1; delitem 502,1; getitem 503,1; set next_npc,0; close; end; } if(next_npc != 1) end; mes "..."; menu "Accept Quest",-; set next_npc,2; next; mes "..."; mes "accepted.."; getitem 501,1; close; end; } prontera,127,127,4 script Quest3 123,{ if(next_npc != 2) end; mes "..."; mes "Congratulations..."; delitem 501,1; set next_npc,22; close; }
  14. Insert this code. if(strcharinfo(3) != "job_sword1" || strcharinfo(3) != "arena_room"){ end; }
  15. "+getitemname(@bought_nameid[.@i]+".",0; Something wrong with this line. Try to figure out what is missing
  16. Oh crap my bad - pointshop custom_seller2 -1,#ONLINEPOINTS,509:0,5766:100,5207:100 Forgot the -1.
  17. I didn't make the script as complete as it should be, I'll try making a more complete one when I have time. I'll probably make one when I get up later. I'm going to bed at this time.
  18. Try changing 0 to 1. Also you need Zeny to buy, but it won't consume zeny when buying. It's a bug with the client, nothing we can do about that.
  19. - pointshop custom_seller1 #ONLINEPOINTS,509:0,5406:100,5407:100 - pointshop custom_seller2 #ONLINEPOINTS,509:0,5766:100,5207:100 prontera,155,155,3 script Name_Shop_Here 437,{ mes "[NPC_NAME_HERE]"; mes "Which one do you want to open?"; @shop = select("Headgears:Supplies"); mes "[NPC_NAME_HERE"; mes "Happy shopping."; close2; callshop "custom_seller"+@shop,1; end; }
  20. After this line: dispbottom "Purchased "+@bought_quantity[.@i]+"x "+getitemname(@bought_nameid[.@i])+"."; Add announce strcharinfo(0)+" has purchased "+@bought_quantity[.@i]+"x "+getitemname(@bought_nameid[.@i]+".",0; Please have a test.
  21. setcell "koe",18,24,24,18,cell_walkable,0; //not walkable setcell "koe",18,24,24,18,cell_walkable,1; //becomes walkable Set cell_walkable to 1 only when the boss dies. OnInit: setcell "koe",18,24,24,18,cell_walkable,0; end; OnMVPDead: setcell "koe",18,24,24,18,cell_walkable,1; end; Just spawn monster monster "this",0,0,"Poring",1002,1,strnpcinfo(0)+"::OnMVPDead"; So when they kill that monster, it will trigger the OnMVPDead event and it will make the cell walkable.
×
×
  • Create New...