fiction Posted August 8, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 44 Reputation: 1 Joined: 01/03/12 Last Seen: December 15, 2012 Share Posted August 8, 2012 (edited) hello, anyone can make a invasion with cash system. With the follow: Random cash per kill monster 1 ~ 5 Announce all monster reaming. Random Map Invasion Configurable hours when kill all the monster, only one MvP appears, that MvP grants 25 cash point to the winner Announce who kill the MvP Who creates this script help me so much about scripting structure. Thanks in advance and Greetings! edited all Edited August 8, 2012 by fiction Quote Link to comment Share on other sites More sharing options...
1 Emistry Posted August 8, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 12:09 PM Share Posted August 8, 2012 http://pastebin.com/raw.php?i=is5vU5eh tested, and work fine Quote Link to comment Share on other sites More sharing options...
0 maken06 Posted February 19, 2018 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 234 Reputation: 115 Joined: 02/24/15 Last Seen: March 20, 2024 Share Posted February 19, 2018 @Emistry How can I increase the duration of the event to 10 minutes? Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted February 19, 2018 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted February 19, 2018 15 minutes ago, maken06 said: @Emistry How can I increase the duration of the event to 10 minutes? set .Duration,1; change the duration Quote Link to comment Share on other sites More sharing options...
0 maken06 Posted February 19, 2018 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 234 Reputation: 115 Joined: 02/24/15 Last Seen: March 20, 2024 Share Posted February 19, 2018 40 minutes ago, Cyro said: set .Duration,1; change the duration // Invasion Duration ( Minutes ) set .Duration,10; sleep ( .Duration * 100000 ); Like this? @Cyro Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted February 20, 2018 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1278 Reputation: 170 Joined: 06/12/12 Last Seen: 7 hours ago Share Posted February 20, 2018 11 hours ago, maken06 said: // Invasion Duration ( Minutes ) set .Duration,10; sleep ( .Duration * 100000 ); Like this? @Cyro for this line not need to change sleep ( .Duration * 100000 ); just change at this line // Invasion Duration ( Minutes ) set .Duration,10; 1 Quote Link to comment Share on other sites More sharing options...
0 maken06 Posted March 6, 2018 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 234 Reputation: 115 Joined: 02/24/15 Last Seen: March 20, 2024 Share Posted March 6, 2018 On 8/8/2012 at 12:24 AM, Emistry said: http://pastebin.com/raw.php?i=is5vU5eh tested, and work fine How can add in this part announce "Monster Remain : "+mobcount( .RandomMap$,strnpcinfo(0)+"::OnKilled" ),0; something to show the name of the map where they are killing monsters? Quote Link to comment Share on other sites More sharing options...
0 CarlosTorres Posted October 17, 2020 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 3 Reputation: 0 Joined: 07/16/20 Last Seen: February 24 Share Posted October 17, 2020 Hi, how can add more mvps and delete normal mobs, i tried a lot of times and just... i'm a fool :c hahaha :c Quote Link to comment Share on other sites More sharing options...
0 Sallycantdance Posted April 8, 2021 Group: Members Topic Count: 224 Topics Per Day: 0.14 Content Count: 796 Reputation: 12 Joined: 12/04/20 Last Seen: 6 hours ago Share Posted April 8, 2021 how about if you want to give a specific item Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 8, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 12:09 PM Share Posted August 8, 2012 try this... http://pastebin.com/raw.php?i=ecVS1Yi5 just a prototype script....not yet run to test... set the configuration that you want... for random cash... set #CASHPOINTS,#CASHPOINTS + rand(1,.Cash[0]); Quote Link to comment Share on other sites More sharing options...
fiction Posted August 8, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 44 Reputation: 1 Joined: 01/03/12 Last Seen: December 15, 2012 Author Share Posted August 8, 2012 (edited) thx Emistry. now, when the event start announce this " INVASION has started at . " don't announce reamings monsters in whole server. Example: 100...99.88..55.44.22.11..mob reaming. How can i add more mobs, not only porings?. thx for reply ! @edit [Error]: script_rid2sd: fatal error ! player not attached! [Debug]: Source (NPC): Sample (invisible/not on a map) [Warning]: script:get_val: cannot access player variable '#CASHPOINTS', defaulti ng to 0 On 8/8/2012 at 1:24 PM, Emistry said: http://pastebin.com/raw.php?i=is5vU5eh tested, and work fine Thank You, i forget to mention something Need to put more Boss Ids, but only summon One boss random. Sorry for my insistence Edited August 8, 2012 by fiction Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 9, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 12:09 PM Share Posted August 9, 2012 edit this line then.... for( set .@i,0; .@i < getarraysize( .BossCount ) - 1; set .@i,.@i + 1 ) monster .RandomMap$,0,0,"INVASION BOSS",.BossCount[.@i],.BossCount[.@i+1],strnpcinfo(0)+"::OnBossKilled"; Quote Link to comment Share on other sites More sharing options...
Question
fiction
hello,
anyone can make a invasion with cash system.
With the follow:
Who creates this script help me so much about scripting structure.
Thanks in advance and Greetings!
edited all
Edited by fictionLink to comment
Share on other sites
11 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.