HomeHome  ­FAQFAQ  ­SearchSearch  ­MemberlistMemberlist  ­UsergroupsUsergroups  ­RegisterRegister  ­Log inLog in  
Share | 
 

 Disable 2x EXP Cards

View previous topic View next topic Go down 
AuthorMessage
Flav



Posts: 24
Join date: 2008-08-16

PostSubject: Disable 2x EXP Cards   Sat Aug 16, 2008 7:46 pm

Somebody asked me on MSN how to disable 2x EXP Cards. Either you make every 2x EXP Card not buy able in the Cash Shop or you can easily do this :

Open MapleCharacter.java and change
Code:
      for ( int i=5210999; i<5211048; i++ ) {
         if (haveItem(i, 1, false, true)) {
            return 2;
         }
      }

to
Code:
      //for ( int i=5210999; i<5211048; i++ ) {
         //if (haveItem(i, 1, false, true)) {
            //return 2;
         //}
      //}

In other words, comment the lines.
Back to top Go down
View user profile
f1r3



Posts: 17
Join date: 2008-08-18

PostSubject: Re: Disable 2x EXP Cards   Mon Aug 18, 2008 10:55 am

can you make the cards disabled from cash shop but still working so that i can give out on donations?
Back to top Go down
View user profile
Flav



Posts: 24
Join date: 2008-08-16

PostSubject: Re: Disable 2x EXP Cards   Mon Aug 18, 2008 11:01 am

Sure, if you only want to make them not buy able from the Cash Shop use
http://odindeveloping.forumotion.net/guides-f3/make-cash-items-not-buy-able-t4.htm
and change
Code:
      } else if (item.getId() == 1812006) {

to
Code:
      } else if (item.getId() == 1812006 || item.getId() >= 5210999 && item.getId() <= 5211048) {
Back to top Go down
View user profile
f1r3



Posts: 17
Join date: 2008-08-18

PostSubject: Re: Disable 2x EXP Cards   Mon Aug 18, 2008 11:03 am

thanks Flav you are awesome!! What a Face
Back to top Go down
View user profile
 

Disable 2x EXP Cards

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You cannot reply to topics in this forum
 :: OdinMS :: Guides-