kainfx Posted August 2, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 19 Reputation: 0 Joined: 07/21/12 Last Seen: May 10, 2021 Share Posted August 2, 2012 (edited) Hy rAthena friends, you all know the npc warper script that shows the last location you warped to ? i need something like that für my mvp summon npc, so that i have not to scroll down all that way in my mvp summoner thx for reading guild_vs1,50,49,5 script MVP Spawner 403,{ switch(select("Amon Ra:Assassin Cross Eremes:Atroce:Bacsojin:Baphomet:Boitata:Champion Chen:Clown Alphoccio:Creator Flamel:Dark Lord:Detardeurus:Doppelganger:Dracula:Drake:Eddga:Evil Snake Lord:Fallen Bishop:Garm:Gloom Under Night:Gold Queen Scaraba:Golden Thief Bug:Gopinich:Gypsy Trentini:High Priest Margaretha:High Wizard Kathryne:Ifrit:Incantation Samurai:Kiel D-01:Stormy Knight:Kraken:Ktullanux:Lady Tanee:Leak:Lord Knight Seyren:Lord of Death:Lost Dragon:Maya:Mistress:Moonlight Flower:Nidhoggr's Shadow:Orc Hero:Orc Lord:Osiris:Paladin Randel:Pharaoh:Phreeoni:Professor Celia:Queen Scaraba:RSX 0806:Sniper Shecil:Stalker Gertie:Tao Gunka:Thanatos:Turtle General:Valkyrie Randgris:Vesper:Whitesmith Harword:Wounded Morroc:Ygnizem")) { case 1: atcommand ("@monster 1511"); close; case 2: atcommand ("@monster 1647"); close; case 3: atcommand ("@monster 1785"); close; case 4: atcommand ("@monster 1630"); close; case 5: atcommand ("@monster 1039"); close; case 6: atcommand ("@monster 2068"); close; case 7: atcommand ("@monster 2238"); close; case 8: atcommand ("@monster 2240"); close; case 9: atcommand ("@monster 2236"); close; case 10: atcommand ("@monster 1272"); close; case 11: atcommand ("@monster 1719"); close; case 12: atcommand ("@monster 1046"); close; case 13: atcommand ("@monster 1389"); close; case 14: atcommand ("@monster 1112"); close; case 15: atcommand ("@monster 1115"); close; case 16: atcommand ("@monster 1418"); close; case 17: atcommand ("@monster 1871"); close; case 18: atcommand ("@monster 1252"); close; case 19: atcommand ("@monster 1768"); close; case 20: atcommand ("@monster 2165"); close; case 21: atcommand ("@monster 1086"); close; case 22: atcommand ("@monster 1885"); close; case 23: atcommand ("@monster 2241"); close; case 24: atcommand ("@monster 1649"); close; case 25: atcommand ("@monster 1651"); close; case 26: atcommand ("@monster 1832"); close; case 27: atcommand ("@monster 1492"); close; case 28: atcommand ("@monster 1734"); close; case 29: atcommand ("@monster 1251"); close; case 30: atcommand ("@monster 2202"); close; case 31: atcommand ("@monster 1779"); close; case 32: atcommand ("@monster 1688"); close; case 33: atcommand ("@monster 2156"); close; case 34: atcommand ("@monster 1646"); close; case 35: atcommand ("@monster 1373"); close; case 36: atcommand ("@monster 2131"); close; case 37: atcommand ("@monster 1147"); close; case 38: atcommand ("@monster 1059"); close; case 39: atcommand ("@monster 1150"); close; case 40: atcommand ("@monster 2022"); close; case 41: atcommand ("@monster 1087"); close; case 42: atcommand ("@monster 1190"); close; case 43: atcommand ("@monster 1038"); close; case 44: atcommand ("@monster 2235"); close; case 45: atcommand ("@monster 1157"); close; case 46: atcommand ("@monster 1159"); close; case 47: atcommand ("@monster 2237"); close; case 48: atcommand ("@monster 2087"); close; case 49: atcommand ("@monster 1623"); close; case 50: atcommand ("@monster 1650"); close; case 51: atcommand ("@monster 2239"); close; case 52: atcommand ("@monster 1583"); close; case 53: atcommand ("@monster 1708"); close; case 54: atcommand ("@monster 1312"); close; case 55: atcommand ("@monster 1751"); close; case 56: atcommand ("@monster 1685"); close; case 57: atcommand ("@monster 1648"); close; case 58: atcommand ("@monster 1917"); close; case 59: atcommand ("@monster 1658"); close; } } guild_vs2,50,50,4 duplicate(MVP Spawner) MVP Spawner#1 403 guild_vs3,50,50,4 duplicate(MVP Spawner) MVP Spawner#2 403 guild_vs4,50,50,4 duplicate(MVP Spawner) MVP Spawner#3 403 Edited August 4, 2012 by Arcenciel Codeboxed Quote Link to comment Share on other sites More sharing options...
Volusion Posted August 2, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 08/02/12 Last Seen: December 14, 2012 Share Posted August 2, 2012 (edited) Sorry but can you explain more you want a Duplicate Of Mvp Warper in you're Warper Script? Like where you select dungeons/fields etc You want it to say Warp to Mvp Dungeon or whatnot? Oh Edit you mean like in the warper How it shows Warp to Last dungeon you warp to You want it to say Summon last MVP You summoned and it'll be helpful if you gave us the script of the mvp summoner you're useing Edited August 2, 2012 by Volusion Quote Link to comment Share on other sites More sharing options...
kainfx Posted August 2, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 19 Reputation: 0 Joined: 07/21/12 Last Seen: May 10, 2021 Author Share Posted August 2, 2012 Thx for awnsering, yeah thats what i want added my script in first post im a scripting noob and this is my first script Quote Link to comment Share on other sites More sharing options...
Volusion Posted August 2, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 08/02/12 Last Seen: December 14, 2012 Share Posted August 2, 2012 Sorry to say this But am also a Newbie at Scripting but i think its something like this i guess you can try to rename it etc just do rename all With Wordpress whatever add it to ur script set .lastwarp, 1; set .lastwarpfee, 1000; Something like this i know am probably wayoff But if you dont figure it out and you're in a rush please ask a Script/DB Developers Or Emistry etc Sorry i couldn't help Am mostl'y Client Side/Server side helper Quote Link to comment Share on other sites More sharing options...
Euphy Posted August 2, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted August 2, 2012 I probably made some typos, but here's your code in ~10 lines: guild_vs1,50,49,5 script MVP Spawner 403,{ set .@i, select(.menu$); if (.@i == 1) doevent "Warper::OnMenu"; else atcommand "@monster "+.mobs[.@i-2]; close; OnInit: setarray .mobs[0],1511,1647,1785,1630,1039,2068,2238,2240,2236,1272,1719,1046,1389,1112,1115,1418,1871,1252,1768,2165,1086,1885,2241,1649,1651,1832,1492,1734,1251,2202,1779,1688,2156,1646,1373,2131,1147,1059,1150,2022,1087,1190,1038,2235,1157,1159,2237,2087,1623,1650,2239,1583,1708,1312,1751,1685,1648,1917,1658; set .menu$,"Warp..."; for(set .@i,0; .@i<getarraysize(.mobs); set .@i,.@i+1) set .menu$, .menu$+strmobinfo(1,.mobs[.@i])+":"; end; } guild_vs2,50,50,4 duplicate(MVP Spawner) MVP Spawner#1 403 guild_vs3,50,50,4 duplicate(MVP Spawner) MVP Spawner#2 403 guild_vs4,50,50,4 duplicate(MVP Spawner) MVP Spawner#3 403 Then take any warper script, *cough* mine *cough*, and add this below the header: OnMenu: Edit: Ah, never mind. Quote Link to comment Share on other sites More sharing options...
kainfx Posted August 2, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 19 Reputation: 0 Joined: 07/21/12 Last Seen: May 10, 2021 Author Share Posted August 2, 2012 hmm maybe i do something wrong but all i see is a blank window on the npc, i didnt think it would be so hard to create a button thats spawns the last monster i spawned by the mvp spawner npc Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 2, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 9 hours ago Share Posted August 2, 2012 he is just looking for a NPC that can summon a monster from a list and the NPC will record which Monster he/she have summoned ( try to explain by using Warper's Example ) this is the script you want. prontera,155,181,5 script Sample 757,{ setarray .@MobList[1],1511,1647,1785,1630; if( @LastMobID ) set .@MobList[0],@LastMobID; for( set .@i,( (@LastMobID)?0:1 ); .@i < getarraysize( .@MobList ); set .@i,.@i + 1 ) set .@Menu$,.@Menu$ + ( (!.@i)?"^0000FF[ LAST MOB ] ":" ^FF0000~ " ) + getmonsterinfo(.@MobList[.@i],0)+"^000000:"; set @LastMobID,.@MobList[ ( select( .@Menu$ ) - ( (@LastMobID)?1:0 ) ) ]; mes "You selected "+getmonsterinfo(@LastMobID,0); monster strcharinfo(3),-1,-1,"--ja--",@LastMobID,1; close; } only edit this part setarray .@MobList[1],1511,1647,1785,1630; make sure only edit the number after the .@MobList[1] Quote Link to comment Share on other sites More sharing options...
kainfx Posted August 3, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 19 Reputation: 0 Joined: 07/21/12 Last Seen: May 10, 2021 Author Share Posted August 3, 2012 (edited) @Emistry: youre my hero, gotty try it right now Edit: IT WORKS so wonderfull, i owe you a big one. edit2: btw where did you learn to script ? can you give me some advice where i can learn scripting like you ? Edited August 3, 2012 by kainfx Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 3, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 9 hours ago Share Posted August 3, 2012 reference https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/ http://rathena.org/wiki/Main_Page view other's example http://rathena.org/board/forum/25-scripting/ Quote Link to comment Share on other sites More sharing options...
Famous Posted August 20, 2012 Group: Members Topic Count: 145 Topics Per Day: 0.03 Content Count: 455 Reputation: 3 Joined: 06/19/12 Last Seen: February 26, 2018 Share Posted August 20, 2012 can I request if you summon a boss mobs you'll need to pay example TCG 100 pcs Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 20, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 9 hours ago Share Posted August 20, 2012 http://pastebin.com/raw.php?i=wUyzvqe7 Quote Link to comment Share on other sites More sharing options...
Question
kainfx
Hy rAthena friends, you all know the npc warper script that shows the last location you warped to ?
i need something like that für my mvp summon npc, so that i have not to scroll down all that way in my mvp summoner
thx for reading
Edited by ArcencielCodeboxed
Link to comment
Share on other sites
10 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.