Jump to content

Yami

Members
  • Posts

    111
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    USA
  • Server
    Valkyr RO

Recent Profile Visitors

3266 profile views

Yami's Achievements

Poring

Poring (1/15)

  • Conversation Starter
  • Dedicated
  • First Post
  • Collaborator
  • One Year In

Recent Badges

2

Reputation

1

Community Answers

  1. How did you resolve this? I'm having same issue with level 4 GOH.
  2. Hi @Emistry, is it possible to revert this change (Party Buff) back to Self Buff only by doing this method even if I'm running renewal?
  3. Hi there, I've been trying to modify my lotti script into not have a default prize (If you lose you get this item). I just want a Lotti / Gacha script that will take the payment, then randomly select a reward (items that I set) with their respective chances. As my current lotti script goes (the one from rathena) when you roll and if you don't get any of the set rewards you will be rewarded with a DEFAULT prize. I don't want to get default prize, I just want to get the items that are set by how high the chance to get them. Just roll me all the items, highest chance to lowest chance. Thank you for the help This is the script // http://rathena.org/board/topic/83017-pro-lotti-girl-refine-master/ turbo_room,135,97,3 script Lotti Girl 720,{ mes "[Lotti Girl]"; mes "I'm Lotti! I'll exchange"; mes "Random Prizes for every"; mes "^ff000050,000 zeny^000000."; next; mes "[Lotti Girl]"; mes "Our Grand prize is:"; mes "^ff0000 +4 Refine Ticket^000000"; mes "Consolations are:"; mes "^ff0000 x1 Silver Coin^000000"; mes "^ff0000 x1 Bronze Coin^000000"; mes "^ff0000 x?? War Badges^000000"; mes "And many more!!"; if (Zeny < 50000) close; next; if(select("Let's Do This!!:No thanks...")==2) close; mes "[Lotti Girl]"; mes "Here we go..."; set Zeny, Zeny - 50000; set .@Total,5; //<%>,<ItemID>,<Amount> setarray .@P1[0],2,6456,1; setarray .@P2[0],3,675,1; setarray .@P3[0],4,673,1; setarray .@P4[0],5,7773,rand(1,2); setarray .@Default[0],11502,rand(1,3); set .@i, rand(1,.@Total); if (rand(1,100) > getd(".@P"+.@i+"[0]")) { for(set .@j,0; .@j<getarraysize(.@Default); set .@j,.@j+2) { getitem .@Default[.@j], .@Default[.@j+1]; if(!.@k[0]) setarray .@k[0], .@Default[.@j], .@Default[.@j+1]; } } else{ for(set .@j,1; .@j<getarraysize(getd(".@P"+.@i)); set .@j,.@j+2) { getitem getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]"); if (!.@k[0]) { set .@gz,.@i; setarray .@k[0], getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]"); break; } } } if(1<=.@gz&&.@gz<=2) announce "Hey! "+strcharinfo(0)+" just received "+getitemname(.@k[0])+" x "+.@k[1]+" from Lotti Girl!",0; specialeffect2 248; close; }
  4. Bumping this request Okay I found this piece of script in herc forums which is basically almost identical to what I need. But the script is incomplete, and I can't make it to work properly. So far I've managed it to check for Knight Classes in a guild, when inside WOE castle. But the script is kicking out every one of them even before hitting the target limit. Can someone help me fix this script? Please - script ckeckguildjob -1,{ { OnPCLoadMapEvent: getguildmember(getcharid(0),2); set .@guildids[0],$@guildmembercid[0],$@guildmembercount; set .@count, $@guildmembercount; for (set .@a, 0; .@a < .@count; set .@a, .@a + 1) attachrid .@partyids[.@a]; set .@jobs[.@a], 4008;// Check Job from other current jobs for (set .@b, 0; .@b < getarraysize(.@jobs); set .@b, .@b + 1) if (Class == .@jobs[.@b]) { set .@matches, .@matches + 1; if (.@matches > 1) // Too many knights made it limit of 1 for testing purposes but will be 8 dispbottom "There can only be 8 Knight per guild members inside a castle during woe."; warp "SavePoint",0,0; set .@matches, 0; } } OnInit: setarray .castles$[0], "prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05", "payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05", "gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05", "aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05", "arug_cas01","arug_cas02","arug_cas03","arug_cas04","arug_cas05", "schg_cas01","schg_cas02","schg_cas03","schg_cas04","schg_cas05"; for ( .@i = 0; .@i < 30; .@i++ ) setmapflag .castles$[.@i], mf_loadevent; end; }
  5. Hey there everyone! I can't seem to find any script regarding this request, but I know it exists for I've seen it in a couple servers that I've played recently. I'm looking for a script that Limits a job class' specific count per guild inside WOE castles. In example, Only 5 Knight class are allowed inside the castle per guild, If a guild has 6 online knights inside the castle from ECALL, OR a 6th knight enters the castle the whole guild will be warped out to their savepoint. As long as they go pass the 5 limit for whatever job that has it, the whole guild should be warped out of the castle. Thank you! Any information will be helpful. Edit: Okay I found this piece of script in herc forums which is basically almost identical to what I need. But the script is incomplete, and I can't make it to work properly. So far I've managed it to check for Knight Classes in a guild, when inside WOE castle. But the script is kicking out every one of them even before hitting the target limit. Can someone help me fix this script? Please. - script ckeckguildjob -1,{ { OnPCLoadMapEvent: getguildmember(getcharid(0),2); set .@guildids[0],$@guildmembercid[0],$@guildmembercount; set .@count, $@guildmembercount; for (set .@a, 0; .@a < .@count; set .@a, .@a + 1) attachrid .@partyids[.@a]; set .@jobs[.@a], 4008;// Check Job from other current jobs for (set .@b, 0; .@b < getarraysize(.@jobs); set .@b, .@b + 1) if (Class == .@jobs[.@b]) { set .@matches, .@matches + 1; if (.@matches > 1) // Too many knights made it limit of 1 for testing purposes but will be 8 dispbottom "There can only be 8 Knight per guild members inside a castle during woe."; warp "SavePoint",0,0; set .@matches, 0; } } OnInit: setarray .castles$[0], "prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05", "payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05", "gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05", "aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05", "arug_cas01","arug_cas02","arug_cas03","arug_cas04","arug_cas05", "schg_cas01","schg_cas02","schg_cas03","schg_cas04","schg_cas05"; for ( .@i = 0; .@i < 30; .@i++ ) setmapflag .castles$[.@i], mf_loadevent; end; }
  6. Yami

    PVP Party Warp

    Haha! All good! I did not understand that myself until recently. Thanks for your help it's working as intended now.
  7. Yami

    PVP Party Warp

    Oh! I will try this right now! Thank you @Skorm. I'll update this thread @Skormscript is now working as intended!! Thanks a lot! I had to modify the range 500,500 to 1,1 so they all stick together and +500 coordinate made it spawn to a random spot because of invalid coordinates. Thanks again!
  8. Yami

    PVP Party Warp

    Thanks @Skorm I will try this script in a little bit! @Skorm the script not working as intended, sorry I should've explained it better. My npc script argument goes like this 1. Check if player is party leader (Only party leader can warp his team into pvp room, hence party leader check in the beginning) 2. If player is a party leader, warp his party (Like Emergency Call they all warp together) inside pvp room BUT if his party member is not in a town (maybe already inside pvp room, dungeons or somewhere else) they will not be warped with the team going inside pvp room. So restrict warping of members to only who are in a town. ****This is kinda tricky tho, because I have to warp the party leader inside the pvp room first, then warpparty the rest of the members into his position (which is random). Otherwise they will be all in random places inside the pvp room. So I modified the script you provided a little bit to do this just like my first script. And here's the updated script but it's not warping any party member anymore, I'm kinda confused. case 3: if (is_party_leader() == true) { //Check if leader setarray .@town_maps$, "prontera", "izlude", "geffen", "morroc"; if(getpartyleader(getcharid(1),2) == getcharid(0)) { getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { if(inarray(.@town_maps$, strcharinfo(3,$@partymembercid[.@i])) > -1) .@party_id = getcharid(1); warp "pvp_y_1-2",0,0; //Warp the leader first warpparty "Leader",0,0,.@party_id,"pvp_y_1-2",500,500; //Warp the rest to the leader position } } } }// If leader end //If not leader mes "You are Not a Party Leader"; close; The script is warping the leader, but not the rest of the party anymore. Which works fine from my original script (Warp leader, then warp members to him)
  9. Hi there, I have this heavily modified PVP warper script which I added a Party vs Party feature. But I need help to only warp party members if they are on town map. Here's the party warp script: if (is_party_leader() == true) { if(getpartyleader(getcharid(1),2) == getcharid(0)) { getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; .@party_id = getcharid(1); warp "pvp_y_1-2",0,0; warpparty "Leader",0,0,.@party_id; } } } }// If leader close Can someone help me add a restriction to only warp members that are in town map.
  10. Thanks I will discuss this with my partner. Still hoping someone could help with my original idea. Any bump to this request? :<
  11. Hey thanks for the suggestion, but this would imply that player won't be able to body relocation anymore once trapped right? I still want them to be able to reloc but only to an extent.
  12. I'm sorry but I have next to no clue how to do this, src is not really my strong point :<
  13. Is it possible for ankle snare to remove Monk/Champ Critical Explosion Status when player steps on trap (Ankle Snare)? This is to prevent spamming body relocation on top of traps during WOE. In a sense that, they would have to re-cast critical explosion to be able to use body relocation with no sphere usage after stepping into a trap. If so, can someone please help me to edit my trap effect. Server is pre-renewal.
  14. Hi there, I'm having this issue when I manually use Volcanic Ash and Lava Slide on the ground, I get an error saying "There is no target in attack range vicinity. Please use 'ALT + RIGHT CLICK' to command homunculus to attacks a target." I remember you should be able to cast this on the ground even without a target. How to Fix this? Settings on skill_db is set to target ground, so I do not understand why I won't work. 8041,7,6,2,3,0x2,0,5,1,no,0,0,1,weapon,0,0x0, MH_LAVA_SLIDE,Lava Slide 8043,7,6,2,0,0x1,0,5,1,no,0,0,3,none,0,0x0, MH_VOLCANIC_ASH,Volcanic Ash
  15. Script worked as intended! Thank you very much!
×
×
  • Create New...