Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. try this http://pastebin.com/raw.php?i=vMaS8DaA
  2. On OnNPCKillEvent: if( getgroupid() == 1 ) set Zeny,Zeny + 100000; else if( getgroupid() == 2 ) set Zeny,Zeny + 50000; end;
  3. another method....save the data of players who joined the event...and check the data from time to time...during the event.. when the warper warped the users to the event map..add this.. set .Participant$[ getarraysize( .Participant$ ) ],strcharinfo(0); then add this... OnPCDieEvent: if( getarraysize( .Participant$ ) > 1 ){ for( set .@i,0; .@i < getarraysize( .Participant$ ); set .@i,.@i + 1 ) if( strcharinfo(0) == .Participant$[.@i] ) deletearray .Participant$[.@i],1; }else{ if( attachrid( getcharid( 3,.Participant$[.@i] ) ) ){ getitem 607,1; getitem 608,2; getitem 512,3; announce "LMS Winner : "+.Participant$[.@i],0; mapwarp "guild_vs5","prontera",155,181; } } end;
  4. trunk/doc/item_bonus.txt bonus2 bHPDrainRate,n,x; n/10 % probability to drain x% HP when attacking
  5. @Nexus change it to whst @Ryokem mentioned in post#4
  6. inside LUA / LUB .... the very last data you add....shouldnt have a comma in the behind... change both ACCESSORY_lightblue_fly = 906, [ACCESSORY_IDs.ACCESSORY_snow_fly] = "_snow_fly", into ACCESSORY_lightblue_fly = 906 [ACCESSORY_IDs.ACCESSORY_snow_fly] = "_snow_fly"
  7. Emistry

    Login

    what website login system ?? elaborate....
  8. yup....you are right...xD perhap you just forgotten about this....haha the only problem for player is....they might not noticed that the card effect has been nullified... if using the method Annie provided... they will notice it..because their equipments will be take off..
  9. haha..nope...my chain quest is just a simple quest that keep repeating the same quest again and again after you done all...
  10. Owh...my idea was doing it like this... let take Lord Knight Card as example... Original Script.... 4357,B_Seyren_Card,Lord Knight Card,6,20,,10,,,,,,,,769,,,,,{ skill "LK_BERSERK",1; bonus bMaxHPrate,-50; },{},{} When users try to restrict Lord Knight Card .. cant use combo with... MasterSmith Card .... Original Script.... 4361,B_Harword_Card,MasterSmith Card,6,20,,10,,,,,,,,2,,,,,{ bonus bBreakWeaponRate,1000; bonus bBreakArmorRate,700; },{},{} so, Lord Knight Card script will be changed..and edit to this.. Edited Script : 4357,B_Seyren_Card,Lord Knight Card,6,20,,10,,,,,,,,769,,,,,{ if( isequippedcnt(4357,4361) < 2 ){ skill "LK_BERSERK",1; bonus bMaxHPrate,-50; } },{},{} so the Lord Knight Card will have effect as long as its not equipped with MasterSmith Card together..... it's just like this... if( isequippedcnt(4001) <= 2 ){ Original Script Effect }
  11. currently it doesnt support for random item reward.. you mean only give reward after the second time they do the same quest ?
  12. why there is 2 part of this in the script ? while(1){ query_sql "select account_id from `char` where online = 1 order by rand() limit 1", .@aid; attachrid .@aid; getitem 607,10; announce strcharinfo(0) +"Recebeu 10 frutos de Ygg no sorteio por estar 1 hora online", 0; dispbottom "Você recebeu 10 frutos de ygg por jogar 1 hora."; set @consecutive_hour, @consecutive_hour + 1; break; } btw... if you want it to give every hour...and using this http://rathena.org/board/topic/53877-lucky-pick-event/ you can just simple change OnClock2030: to OnMinute00: the script will run every hour at 0th Minutes.
  13. Emistry

    20120410

    what do you mean by Auto Hotkey ?? using a third party tool to auto click on the hotkey ? or ?
  14. @Freefty refer this Deletearray in your script it will remove the .array[1] value .. if you want to know whether the array is deleted or value is removed...you can simple perform a check on the array.. for( set .@i,0; .@i < getarraysize( .array ); set .@i,.@i + 1 ) dispbottom ".array["+.@i+"] = "+.array[.@i];
  15. @Mootie are you trying to make a multi refine NPC ? my script have a setting that enable the NPC to refine multiple time or just 1 times.. // 7. RefineMode -> +1 / Max Refine. [ 0 = +1 Refine / 1 = Max Refine ] the Max Refine will still refer to the Max Refine Value you set in the functions... so there is no need to add multiple function so that it refine multiple time.. beside, the script will terminate after it load the function for 1 times... there is no way to continue the function or following scripts..at least not for now..
  16. you mean dynamic shop ? try check for these script in script release section, both Euphy and I have a Dynamic Script... huh ? something like this ? if( countitem( <itemID> ) < X ){ mes "You need X Items"; }else{ delitem <itemID>,X; geitem <itemID>,Y; mes "DONE"; } close;
  17. erm..the method i use... will disable the effect of all equipped card ( specified in the list ) when they have equipped more than 2 of these card.... player will have to unequipment some of other cards so that the card effect will back activated. the effect will be able to activate when they equipped 2 or less of the specific card... if equipped more than 2....all card effect will gone....
  18. @Mootie.. the question is...why you need to call the function for 5 times ? you want it refine multiple time ? then just edit in the function...there is no need to call multiple time for this functions....
  19. refer post#2 i am just giving you a solution to fix your problem
  20. hideonnpc "bsw"; hideoffnpc "bsw";
  21. OnNPCKillEvent: if( getgroupdid() == 1 ) set Zeny,Zeny + 1; end;
  22. trunk/conf/battle/player.conf // Maximum atk speed. (Default 190, Highest allowed 199) max_aspd: 190 // Same as max_aspd, but for 3rd classes. (Default 193, Highest allowed 199) max_third_aspd: 193 change both value to 196
  23. change the variable for this.. BerzQuest rename it....
  24. try this.. http://pastebin.com/raw.php?i=rd1s8qid Edit : Some Mistake... change mes ""+.Name[.@i]+" - Fame : "+.Fame; into mes ""+.Name[.@i]+" - Fame : "+.Fame[.@i];
×
×
  • Create New...