Thread: [Delta] Donator Zone

Results 1 to 5 of 5
  1. #1 [Delta] Donator Zone 
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    Hello,

    I want it like if ur in donator zone u get double skill xp for mining craft ect.

    does anyone know how this work?
    please post here or [email protected]
    Reply With Quote  
     

  2. #2  
    Registered Member
    Darna's Avatar
    Join Date
    Jan 2008
    Age
    31
    Posts
    488
    Thanks given
    11
    Thanks received
    4
    Rep Power
    163
    For example u have method for burning maple's
    Code:
    if ((itemUsed == 590) && (useWith == 1517)) {
    				if (playerLevel[11] >= 45 && isondonor == true) {
    					deleteItem(1517, getItemSlot(1517), 1);
    					makeGlobalObject(absX,absY, 2732, 0, 10);
    					addSkillXP(10000, 11);
    					sM("You attempt to light the logs.");
    					setAnimation(733);
    					sM("The fire catches and the logs begin to burn.");
    					resetWC();
    				} if (playerLevel[11] >= 45 && isondonor == false)  {
    						deleteItem(1517, getItemSlot(1517), 1);
    					makeGlobalObject(absX,absY, 2732, 0, 10);
    					addSkillXP(5000, 11);
    					sM("You attempt to light the logs.");
    					setAnimation(733);
    					sM("The fire catches and the logs begin to burn.");
    					resetWC();
    				}
     if (playerLevel[11] >= 45){
    sM("You need 45 lvl");
    }
    			}
    And add this somewhere
    Code:
    if((absX >=  && absX <=  && absY >=  && absY <=)){
    isondonor == true;
    }
    else {
    return false;
    }
    It's ugly ass hell but should work

    That method is slow and ugly looking but works

    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Dec 2009
    Posts
    1,142
    Thanks given
    275
    Thanks received
    169
    Rep Power
    164
    ^
    Code:
    if ((itemUsed == 590) && (useWith == 1517)) {
    	if (playerLevel[11] >= 45) {
    		deleteItem(1517, getItemSlot(1517), 1);
    		makeGlobalObject(absX,absY, 2732, 0, 10);
    		if (isOnDonor == true) {
    			addSkillXP(10000, 11);
    		} else {
    			addSkillXP(5000, 11);
    		}
    			sM("You attempt to light the logs.");
    			setAnimation(733);
    			sM("The fire catches and the logs begin to burn.");
    			resetWC();
    		}
    } else if (playerLevel[11] >= 45) {
    	sM("You need a Firemaking level of 45 to burn maples.");
    }
    Reply With Quote  
     

  4. #4  
    Registered Member
    Darna's Avatar
    Join Date
    Jan 2008
    Age
    31
    Posts
    488
    Thanks given
    11
    Thanks received
    4
    Rep Power
    163
    Heh Im not good at pretty coding. Mess in code don't trouble me

    Reply With Quote  
     

  5. #5  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    nvm already had this i just made a new boolean and made a code to put in the xp method and it worked fine thnx anyway i wanted every skill to be dubble
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •