uDe Posted October 13, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted October 13, 2012 (edited) Error : How to 'convert' this eA script into rA script? *Script attached*mvp_summon.txt Edited January 21, 2013 by uDe Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 13, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 13, 2012 We don't have getmapmobs in rA, but we have countmob so change them into countmob and I don't understand why is it getting map monster from map "this". Is your map named "this"? *mobcount("<map name>","<event label>") Quote Link to comment Share on other sites More sharing options...
uDe Posted October 13, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Author Share Posted October 13, 2012 (edited) I also don't understand about that. Before, I'm using it at eA server. No problems at all.. Just debug for int__ // ....... if your server has { Overwriting user function [int__] } don't blame me ..........function script int__ { set .@num, atoi(getarg(0)); if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0); set .@l, getstrlen(.@num); for ( set .@i,0; .@i < .@l; set .@i, .@i + 1 ) { set .@num$, .@num % pow(10,.@i+1) / pow(10,.@i) + .@num$; if ( (.@i+1) % 3 == 0 && .@i+1 != .@l ) set .@num$, ","+ .@num$; } return .@num$; } and the default script is here : http://www.eathena.w...pe=post&id=5277 and no other problems besides that. Maybe it's an old eAthena script function? How about if there's 8 maps? How to adjust it? Edited October 13, 2012 by uDe Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 13, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 13, 2012 I no longer support that script lol rather than just increase to use 8 maps I always plan to rewrite this one to use instance .... theoretically infinite room ... curious, what kind of server message you get from installing that int__ function ? [info]: npc_parse_function: Overwriting user function [int__] (npc/aaa.txt:1548) seem like the same to me Quote Link to comment Share on other sites More sharing options...
uDe Posted October 13, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Author Share Posted October 13, 2012 I no longer support that script lol rather than just increase to use 8 maps I always plan to rewrite this one to use instance .... theoretically infinite room ... But I love that script... I've used that script for 2 server (eA).. Now is my first time using rAthena and I hope I can use that script also.. Is there any way to solve that map problems?? curious, what kind of server message you get from installing that int__ function ? [info]: npc_parse_function: Overwriting user function [int__] (npc/aaa.txt:1548) seem like the same to me About int__ function.. It's same like you. What I mean is, before this on eA server, I've no problems with this scripts at all.. Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 13, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 13, 2012 to add more maps you need to effectively change entire script because I did a cheap trick on the map name getmapusers("06guild_0"+ .@room) the 06guild_0x is hardcoded and need some tweaking change all those into a list of arrays ... like I said, I rather think its much better to just use instancing ... Quote Link to comment Share on other sites More sharing options...
uDe Posted October 13, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Author Share Posted October 13, 2012 to add more maps you need to effectively change entire script because I did a cheap trick on the map name getmapusers("06guild_0"+ .@room) the 06guild_0x is hardcoded and need some tweaking change all those into a list of arrays ... like I said, I rather think its much better to just use instancing ... I don't know how to tweak / adjust it to make into list of arrays.. xD So, for future you want to update this script? For rA users? Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 13, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 13, 2012 yeah ... currently except that getmapmaps issue the rest seems to work fine there's no urgent need to update this script so just tolerate with 8 maps max for now Quote Link to comment Share on other sites More sharing options...
uDe Posted October 14, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Author Share Posted October 14, 2012 So, for now I just need to wait? Because I really don't have idea how to fix the problems. Quote Link to comment Share on other sites More sharing options...
uDe Posted October 15, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Author Share Posted October 15, 2012 BUMP.. I really need this script.. Quote Link to comment Share on other sites More sharing options...
sinya Posted October 15, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 15 Reputation: 0 Joined: 04/24/12 Last Seen: August 9, 2014 Share Posted October 15, 2012 BUMP.. I really need this script.. try to replace all getmapmobs("this") with mobcount("this","all") Quote Link to comment Share on other sites More sharing options...
uDe Posted October 15, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Author Share Posted October 15, 2012 try to replace all getmapmobs("this") with mobcount("this","all") Thanks for the concern.. After do like you said, the NPC can be use and can summon MVP. But on the map-server, got these debug : Quote Link to comment Share on other sites More sharing options...
sinya Posted October 15, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 15 Reputation: 0 Joined: 04/24/12 Last Seen: August 9, 2014 Share Posted October 15, 2012 try to replace all getmapmobs("this") with mobcount("this","all") Thanks for the concern.. After do like you said, the NPC can be use and can summon MVP. But on the map-server, got these debug : inside function script int__ { find set .@num, atoi(getarg(0)); and replace with set .@num, atoi(""+getarg(0)); Quote Link to comment Share on other sites More sharing options...
uDe Posted October 15, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Author Share Posted October 15, 2012 This happen when I click at NPC to summon monsters. It's same like above right? Quote Link to comment Share on other sites More sharing options...
sinya Posted October 15, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 15 Reputation: 0 Joined: 04/24/12 Last Seen: August 9, 2014 Share Posted October 15, 2012 This happen when I click at NPC to summon monsters. It's same like above right? yeah~ the debug message give you a hint: Function: getstrlen so covert to string set .@l, getstrlen(""+.@num); Quote Link to comment Share on other sites More sharing options...
uDe Posted October 15, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Author Share Posted October 15, 2012 function script int__ { set .@num, atoi(""+getarg(0)); if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0); set .@l, getstrlen(""+.@num); for ( set .@i,0; .@i < .@l; set .@i, .@i + 1 ) { set .@num$, .@num % pow(10,.@i+1) / pow(10,.@i) + .@num$; if ( (.@i+1) % 3 == 0 && .@i+1 != .@l ) set .@num$, ","+ .@num$; } return .@num$; } Still got same error.. Quote Link to comment Share on other sites More sharing options...
sinya Posted October 16, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 15 Reputation: 0 Joined: 04/24/12 Last Seen: August 9, 2014 Share Posted October 16, 2012 function script int__ { set .@num, atoi(""+getarg(0)); if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0); set .@l, getstrlen(""+.@num); for ( set .@i,0; .@i < .@l; set .@i, .@i + 1 ) { set .@num$, .@num % pow(10,.@i+1) / pow(10,.@i) + .@num$; if ( (.@i+1) % 3 == 0 && .@i+1 != .@l ) set .@num$, ","+ .@num$; } return .@num$; } Still got same error.. dunno the reason why you still have that debug warning I don't have any warning on map console Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 16, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 16, 2012 he need spoon feed private mvp room 1.4a.txt here you go 1 Quote Link to comment Share on other sites More sharing options...
Cephaler Posted October 16, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 132 Reputation: 2 Joined: 02/02/12 Last Seen: May 25, 2019 Share Posted October 16, 2012 Will this work even with the current MVP tomb thing? Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 16, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 16, 2012 no prontera,155,177,0,0 boss_monster Maya 1147,1,7200000,600000,1 to have a MVP tomb, boss_monster is needed and my script uses *monster script command, its different and what's the point having MVP tomb in this script ? this script supposed to let players freely kill MVP as much as they want you'll mostly found this npc in medium/high rate server Quote Link to comment Share on other sites More sharing options...
Cephaler Posted October 16, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 132 Reputation: 2 Joined: 02/02/12 Last Seen: May 25, 2019 Share Posted October 16, 2012 no prontera,155,177,0,0 boss_monster Maya 1147,1,7200000,600000,1 to have a MVP tomb, boss_monster is needed and my script uses *monster script command, its different and what's the point having MVP tomb in this script ? this script supposed to let players freely kill MVP as much as they want you'll mostly found this npc in medium/high rate server I guess you answered my question however you misunderstood what I tried to say. I meant: I have the mvp tomb thing at the moment, if I install that will they conflict? But by your answer I think it means no, they won't conflict, right? Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 16, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 16, 2012 you didn't even show your script, how do I know will they conflict ? but as long as you are not having other script spawn monster inside 06guild_0x, yeah it wont conflict Quote Link to comment Share on other sites More sharing options...
uDe Posted October 16, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Author Share Posted October 16, 2012 (edited) he need spoon feed private mvp room 1.4a.txt here you go Thank you so much... Thanks to sinya also Problem solved. I think the problem still not solve.. After a while.. These debug and warning appear again : I'm using this script : http://rathena.org/board/topic/72376-mvp-summon-script/#entry146696 Edited October 18, 2012 by uDe Quote Link to comment Share on other sites More sharing options...
uDe Posted October 18, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Author Share Posted October 18, 2012 BUMP UP Quote Link to comment Share on other sites More sharing options...
uDe Posted October 20, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Author Share Posted October 20, 2012 BUMP Quote Link to comment Share on other sites More sharing options...
mrfizi Posted November 17, 2012 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 383 Reputation: 78 Joined: 10/30/12 Last Seen: May 15 Share Posted November 17, 2012 AnnieRuru After I'm using this script on my ragnarok server. When i @reloadscript / @reloadnpc , the option menu not display.. What is the problem there? Need to restart my server or what? Btw, thanks for the script. Quote Link to comment Share on other sites More sharing options...
Question
uDe
Error :
How to 'convert' this eA script into rA script?
*Script attached*mvp_summon.txt
Edited by uDeLink to comment
Share on other sites
Top Posters For This Question
14
9
7
4
Popular Days
Oct 13
8
Oct 15
7
Oct 16
7
Feb 18
6
Top Posters For This Question
uDe 14 posts
AnnieRuru 9 posts
RedRumPie 7 posts
sinya 4 posts
Popular Days
Oct 13 2012
8 posts
Oct 15 2012
7 posts
Oct 16 2012
7 posts
Feb 18 2014
6 posts
Popular Posts
tinko
hi, https://github.com/rathena/rathena/blob/master/npc/custom/etc/mvp_room.txt Try it its done for me.. Have to edit but its work.
Kido
finally lol this will be good as a reference o:!
AnnieRuru
he need spoon feed private mvp room 1.4a.txt here you go
Posted Images
52 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.