Jump to content
  • 0

MVP Ladder Instance Edition No Drop Rewards..


rakuzas

Question


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  459
  • Reputation:   7
  • Joined:  06/29/12
  • Last Seen:  

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

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...