Jump to content

Stolao

Developer
  • Posts

    1443
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by Stolao

  1. Does your server have multiple npcs named "prize" I'd so its probably renaming it then, I'd recommend changing the box name to "Prize#nvz" and change enable/disable npc accordingly. (The #nvz won't show client side)
  2. https://rathena.org/board/index.php?app=core&module=search&do=search&fromMainBar=1
  3. ok after testing it in my rev and changing the map to prontera,5,5,5 and the view to 111 i no longer get the error messages what emulator and rev/git are you 2 using?
  4. You could change the party share level via script for the duration of the event then change it back.
  5. no I'm still at Comic-con, ill be back to my home computer on Monday (3 more days) where can test things, this laptop is not setup for RO I'll be waiting then How's the Comic-con going ? no I'm still at Comic-con, ill be back to my home computer on Monday (3 more days) where can test things, this laptop is not setup for RO I'll be waiting then How's the Comic-con going ? its going great, 1 more day to go tomorrow i should be able to play with my script on my test server, atm i just have my laptop which has like nothing installed for RO, other then the /doc folder and my scripts for reference while writing my new scripts
  6. Try using onpccalcevent combined with a class check and the item bonus for exp (on phone can't write)
  7. getelementofarray( getarg(0),<index> ) should work getd(getarg(0)+"["+.@r+"]"); is what i ended up going with for the 2nd part, thanks guys
  8. try this one, i forget original writer credit goes to them, i just edited - script LuckyRun -1,{ OnHour12://time want event to run if(gettime(5)%3) end;// 3 day check while(1){ query_sql "select account_id from `char` where online = 1 order by rand() limit 1", .@aid; attachrid .@aid; if(CheckVending()) { DetachRID(); continue; } announce "Congrats to, "+strcharinfo(0)+" a winner in the Lucky event!",bc_blue|bc_all; set zeny,zeny + 100000000; break; } end; }
  9. no I'm still at Comic-con, ill be back to my home computer on Monday (3 more days) where can test things, this laptop is not setup for RO
  10. let me add more detail then setarray .M1,1,2,3; setarray .M2,4,5,6; setarray .M3,7,8,9; for(.@e = 0; .@e<4; .@e++){ set .@r,rand(1,.L[3]); set .@s[.@e],getd(".M" +.@r)[.@rr]; } im trying to set .@s randomly from one of those 3 .M arrays, from a random point in one of those arrays basically i want getd() to be from an array so how do i set the array index
  11. for(.@e = 0; .@e<4; .@e++){ set .@r,rand(1,.L[3]); set .@s[.@e],getd(".M" +.@r)[.@r]; } ok my question is in the "set .@s[.@e]" part of the script, where should the "[.@r]" fall in this code should it fall within the getd() or after? second question getarg(0)[.@s] if getarg(0) is a menu name eg .H$, how would i pull out of the .H$ array via getarg
  12. Onpcdieevent: it should be if kill > 0 not < 10 btw, logic error op
  13. try this - script RoyalWeapon -1,{ OnPCKillEvent: set .@e,getequipid(EQI_HAND_R); if(.@e >= 25621 && .@e <= 25633 && @kill < 10){ set @kill,@kill + 1; message strcharinfo(0),"You got "+@kill+" Kills"; unequip EQI_HAND_R; equip .@e; } end; OnPCDieEvent: set .@e,getequipid(EQI_HAND_R); if(.@e >= 25621 && .@e <= 25633 && @kill < 10){ set @kill, @kill/2; message strcharinfo(0),"You got "+@kill+" Kills"; unequip EQI_HAND_R; equip .@e; } end; } and a suggestion should sinx be able to duel wild any of these gear, i recommend adding a check to the item bonus so if its on the left hand it wont function eg: 1201,Knife,Knife,5,50,,400,17,,1,3,0xFE9F7EEF,7,2,2,1,1,1,1,{ if(getequipid(EQI_HAND_R) >= 25621 && getequipid(EQI_HAND_R) <= 25633 && getequipid(EQI_HAND_L) >= 25621 && getequipid(EQI_HAND_L) <= 25633){ message strcharinfo(0),"Duel Wielding Royal Weapons Disables all Effects"; } else { bonus bStr,1; } },{},{} if you made sinx only able to use a katar this isn't necessary
  14. it could help, when in doubt, make a backup then try something so should you mess it up you can just open backup
  15. open your /doc/atcommands.txt @alootid <+/- item name/ID> @alootid reset Starts or stops autolooting a specified item. Typing "reset" will clear the autoloot item list. By default, 10 items can be autolooted at one time. the emulator already supports that in the latest rev/git
  16. What do you mean by increase the skill level to level 2? How do I do it? I dont get it my friend. use this item script 30701,Evolved_Pile_Bunker,Evolved Pile Bunker,4,10000,,3000,450,,1,3,0x00000400,8,2,2,3,99,1,8,{if( getskilllv(2251) ){ skill 2257,2; }},{},{}
  17. ok im going to try and get one working, ill use these as my referances http://www.playragnarok.com/news/updatedetail.aspx?id=255 http://irowiki.org/wiki/Temporal_Boots_Enchants#Temporal_Boots_.26_Enchants though i did find this script if your interested http://upaste.me/5f7f1683b4ae2229
  18. ok looked at it, problem is in the skill 2257,0,0,50,0,0,0,99,0,0,mado,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1549:30701 1549:30701 part the " : " indicates different levels so for your item 30701,Evolved_Pile_Bunker,Evolved Pile Bunker,4,10000,,3000,450,,1,3,0x00000400,8,2,2,3,99,1,8,{},{},{} try to have it increase the skill level to level 2 like so 30701,Evolved_Pile_Bunker,Evolved Pile Bunker,4,10000,,3000,450,,1,3,0x00000400,8,2,2,3,99,1,8,{if( getskilllv(2251) ){ skill 2257,2; }},{},{} and that should work, let me know
  19. Stolao

    autopots

    Post under his thread instead of here....
  20. Post the original item and your custom one in here I'll take a look.
  21. It means if you remove the // after casting asura the player will have a 5 min (defined in skill_cast_db.txt) delay before being able to cast asura again. Prevent asura spaming ( I think death/ logging resets the timer ) It's best to just try things yourself and see the results just note what you did so if you don't like the result you can revert back
  22. I'll take a look at this when home this weekend (before comic-con) see what I can do for y'all I'll take a look at this when home this weekend (before comic-con) see what I can do for y'all
  23. If I understood what was being asked I'd make, broken English is to hard, anyone mind telling me what he means? edit: He's referring to this right Https://rathena.org/board/topic/102213-temporal-boots-enchant-npc/?p=287048#entry287048
  24. move disablenpc "Prize"; to under OnClock2230
×
×
  • Create New...