fiction Posted August 8, 2012 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
1 Emistry Posted August 8, 2012 Posted August 8, 2012 http://pastebin.com/raw.php?i=is5vU5eh tested, and work fine Quote
0 maken06 Posted February 19, 2018 Posted February 19, 2018 @Emistry How can I increase the duration of the event to 10 minutes? Quote
0 Cyro Posted February 19, 2018 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
0 maken06 Posted February 19, 2018 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
0 hendra814 Posted February 20, 2018 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
0 maken06 Posted March 6, 2018 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
0 CarlosTorres Posted October 17, 2020 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
0 Sallycantdance Posted April 8, 2021 Posted April 8, 2021 how about if you want to give a specific item Quote
Emistry Posted August 8, 2012 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
fiction Posted August 8, 2012 Author 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
Emistry Posted August 9, 2012 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
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 fiction11 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.