But that script somehow not giving item to player each kill.. So I tried edit it and its works for rathena updated at November 2016.. But recently, I update into latest git.. And somehow.. My edited line/script not properly working.. Sometimes it working.. And mostly not working.. I already spend just 4-6 hours today.. Trial and error.. Sometimes I manage to fix it.. But when reloading script.. And test again.. Its broken again..
So, I put debugmes to make me easy to trace which line are read and which are not.. Mostly, each time it not reading this line
++'round;
// item reward for completing each round
set .round_item_id, 501;
set .round_item_amount, 10;
for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { //<< This line usually not read or ignored?
if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) {
attachrid $@partymemberaid[.@i];
if ( strcharinfo(3) == instance_mapname("guild_vs2-2") )
getitem .round_item_id, .round_item_amount;
}
}
So, Im pretty confuse right now.. Why sometimes it working.. And sometimes its not?
I already tried mvp_ladder from rathena directory.. Its working perfectly.. But it cannot enter when other party already in..
Question
rakuzas
Hi,
Im using this script :
https://rathena.org/board/files/file/3471-mvp-ladder-instanced-edition/
But that script somehow not giving item to player each kill.. So I tried edit it and its works for rathena updated at November 2016.. But recently, I update into latest git.. And somehow.. My edited line/script not properly working.. Sometimes it working.. And mostly not working.. I already spend just 4-6 hours today.. Trial and error.. Sometimes I manage to fix it.. But when reloading script.. And test again.. Its broken again..
So, I put debugmes to make me easy to trace which line are read and which are not.. Mostly, each time it not reading this line
for ( .@i = 0; .@i < $@partymembercount; .@i++ ) {
Script use :
++'round; // item reward for completing each round set .round_item_id, 501; set .round_item_amount, 10; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { //<< This line usually not read or ignored? if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == instance_mapname("guild_vs2-2") ) getitem .round_item_id, .round_item_amount; } }
So, Im pretty confuse right now.. Why sometimes it working.. And sometimes its not?
I already tried mvp_ladder from rathena directory.. Its working perfectly.. But it cannot enter when other party already in..
Link to comment
Share on other sites
0 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.