Finale Posted August 23, 2023 Group: Members Topic Count: 17 Topics Per Day: 0.02 Content Count: 37 Reputation: 0 Joined: 06/09/23 Last Seen: November 18, 2023 Share Posted August 23, 2023 Hi Team, I am using @AnnieRuru's KOE script for my server. Just want to ask if how can I make loosing guilds receive consolation prize after KOE? Here is the script: https://pastebin.com/M9QED5Gg Thanks! Quote Link to comment Share on other sites More sharing options...
0 Winterfox Posted August 23, 2023 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 245 Reputation: 93 Joined: 06/30/18 Last Seen: November 27, 2024 Share Posted August 23, 2023 (edited) You could modify it like this: At the OnInit on line 18 change: OnInit: disablenpc "The King#KoE"; disablenpc "Exit#KoE"; bindatcmd "koe", strnpcinfo(0)+"::OnCommand", 99,100; end; to OnInit: disablenpc "The King#KoE"; disablenpc "Exit#KoE"; bindatcmd "koe", strnpcinfo(0)+"::OnCommand", 99,100; setarray($@winner_items, 22783, 25, 22780, 25); // <<Item ID>, <Amount>>,... setarray($@loser_items, 22783, 10, 22780, 10); // <<Item ID>, <Amount>>,... end; and on line 87 change: guild_vs1,49,56,5 script Exit#KoE 1_M_BARD,{ mes "[Exit]"; mes "Here's the rewards."; mes "See ya!"; close2; warp "Save",0,0; if ( getcharid(2) == $koegid ) getitem 22783, 25; // Finale Token getitem 22780, 25; // Guild Weapon Box end; } to guild_vs1,49,56,5 script Exit#KoE 1_M_BARD,{ mes "[Exit]"; mes "Here's the rewards."; mes "See ya!"; close2; warp "Save",0,0; if(getcharid(2) == $koegid) copyarray(.@prizes[0], $@winner_items[0], getarraysize($@winner_items)); else copyarray(.@prizes[0], $@loser_item[0], getarraysize($@loser_items)); for(.@i = 0; .@i < getarraysize(.@prizes); .@i += 2) getitem(.@prizes[.@i], .@prizes[.@i + 1]); end; } Edited August 23, 2023 by Winterfox Quote Link to comment Share on other sites More sharing options...
0 Finale Posted August 26, 2023 Group: Members Topic Count: 17 Topics Per Day: 0.02 Content Count: 37 Reputation: 0 Joined: 06/09/23 Last Seen: November 18, 2023 Author Share Posted August 26, 2023 On 8/23/2023 at 6:20 PM, Winterfox said: You could modify it like this: At the OnInit on line 18 change: OnInit: disablenpc "The King#KoE"; disablenpc "Exit#KoE"; bindatcmd "koe", strnpcinfo(0)+"::OnCommand", 99,100; end; to OnInit: disablenpc "The King#KoE"; disablenpc "Exit#KoE"; bindatcmd "koe", strnpcinfo(0)+"::OnCommand", 99,100; setarray($@winner_items, 22783, 25, 22780, 25); // <<Item ID>, <Amount>>,... setarray($@loser_items, 22783, 10, 22780, 10); // <<Item ID>, <Amount>>,... end; and on line 87 change: guild_vs1,49,56,5 script Exit#KoE 1_M_BARD,{ mes "[Exit]"; mes "Here's the rewards."; mes "See ya!"; close2; warp "Save",0,0; if ( getcharid(2) == $koegid ) getitem 22783, 25; // Finale Token getitem 22780, 25; // Guild Weapon Box end; } to guild_vs1,49,56,5 script Exit#KoE 1_M_BARD,{ mes "[Exit]"; mes "Here's the rewards."; mes "See ya!"; close2; warp "Save",0,0; if(getcharid(2) == $koegid) copyarray(.@prizes[0], $@winner_items[0], getarraysize($@winner_items)); else copyarray(.@prizes[0], $@loser_item[0], getarraysize($@loser_items)); for(.@i = 0; .@i < getarraysize(.@prizes); .@i += 2) getitem(.@prizes[.@i], .@prizes[.@i + 1]); end; } Hi, I tried this one but they still can't receive any consolation prizes. Quote Link to comment Share on other sites More sharing options...
0 Winterfox Posted August 27, 2023 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 245 Reputation: 93 Joined: 06/30/18 Last Seen: November 27, 2024 Share Posted August 27, 2023 15 hours ago, Finale said: Hi, I tried this one but they still can't receive any consolation prizes. Any error messages? Quote Link to comment Share on other sites More sharing options...
0 AceofSpades Posted August 27, 2023 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 114 Reputation: 6 Joined: 03/02/18 Last Seen: Yesterday at 09:18 AM Share Posted August 27, 2023 its working just change the item id that you have in your server Quote Link to comment Share on other sites More sharing options...
0 Finale Posted September 2, 2023 Group: Members Topic Count: 17 Topics Per Day: 0.02 Content Count: 37 Reputation: 0 Joined: 06/09/23 Last Seen: November 18, 2023 Author Share Posted September 2, 2023 On 8/27/2023 at 10:11 PM, Winterfox said: Any error messages? No errors, but I still cannot receive the consolation prize from my end. Quote Link to comment Share on other sites More sharing options...
Question
Finale
Hi Team,
I am using @AnnieRuru's KOE script for my server. Just want to ask if how can I make loosing guilds receive consolation prize after KOE?
Here is the script: https://pastebin.com/M9QED5Gg
Thanks!
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.