Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. change to set .Mode,rand(2); switch( .Mode ){ Case 0: set .Answer$, getmonsterinfo( .MonsterID,0 ); break; // Name Case 1: set .Answer$, .Element$[ getmonsterinfo( .MonsterID,20 ) ]; break; // Element }
  2. yes ... just add the specific label to summon another monster when killed..
  3. what does the -1, -1 mean? current coordinate .....
  4. OnNPCKillEvent: if( killedrid == 1002 ){ monster "this",-1,-1,"Another mob",1002,1,""; } end;
  5. you can just simply add this part at every cases... // if no ring... if ( !countitem(26130) ){ mes "[Training Trader]"; mes "I'm so sorry but you need to finish the course and show me the ring from your mastered training,"; mes "in order for you to open this shop."; close2; emotion e_sry; end; }
  6. remove OnTouch and change to bif_fild01,72,61,4 script Meta Spirit 2114,{
  7. conf/battle/player.conf#L104 // Max weight carts can hold. max_cart_weight: 8000
  8. what you mean ?? all guild cant use E-call for the first 5 minute when WOE started ??
  9. if not mistaken .... monster will never trigger the OnTouch label,...only players does... to warp a particular monster..you required their GID .... the only way you can get the GID ... Get_monster_gid
  10. use the original script...then ....replace the menu part with this... // Menu Selection select("Jump Training Shop","Other Training Shop"); // if no ring... if ( !countitem(26130) ){ mes "[Training Trader]"; mes "I'm so sorry but you need to finish the course and show me the ring from your mastered training,"; mes "in order for you to open this shop."; close2; emotion e_sry; end; } * /me dont like using goto... and since you mentioned you get error...you should show the error message that you get...
  11. remove this mes "[Dice]"; mes "Please tell me your name"; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[Dice]"; mes "Are you sure thats your character name?"; close; }
  12. @alootid +909 @alootid +1044 @alootid +4372
  13. src/map/pc.h#L23 #define MAX_PC_BONUS 10
  14. - script Sample -1,{ OnInit: bindatcmd “cashpoint",strnpcinfo(3)+"::OnAtCommand"; end; OnAtCommand: dispbottom "You have "+#CASHPOINTS+" cashpoints."; end; }
  15. if( .@npc1$ == 500 || .@npc1$ == 100 ){ // blablbala } just compare the value inside the array and the value u want... if you can briefly explain or tell us what you wanna do with that sql statement..perhap we can figure out another way for you.... like checking the value through SQL...
  16. it will work even for compounded items... same trick using in my https://rathena.org/board/index.php?/files/file/2505-%7B?%7D/ the wiki even show you the example ...
  17. query_sql "SELECT `npc1`, `npc2`, `npc3`, `npc4`, `npc5` FROM `quest_db` WHERE `char_id` = " + getcharid(0) + " ", .@npc1$,.@npc2$,.@npc3$,.@npc4$,.@npc5$; i dun understand the array part you mentioned..
  18. you mean change getgmlevel to getgroupid ?
  19. make sure u set the GM LEVEL below 100 ...not GROUP ID..
  20. OnMinute00: if( isday() ){ // startevent.. at day time. } end;
  21. did you removed the original mapflags applied on that map ?? like..gvg...castle...etc ?? you can use @mapinfo to check the mapflags..
  22. you can simply use isequipped
  23. something like this ? http://hercules.ws/board/topic/976-script-cmdautonext/
  24. use ur gm char...talk with the npc and select create table ..
  25. you mean this ? http://rathena.org/board/files/file/2753-prontera-apocalipse/
×
×
  • Create New...