Thread: Throws a snowball instead of Attacking

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1 Throws a snowball instead of Attacking 
    Registered Member Delx's Avatar
    Join Date
    Jul 2011
    Age
    28
    Posts
    321
    Thanks given
    100
    Thanks received
    21
    Rep Power
    11
    problem: Throws snowball instead of attacking
    compile errors: None
    Part of code:
    Code:
    }
    		if(inWild() && !inFunPk()) {
    			int modY = absY > 6400 ?  absY - 6400 : absY;
    			wildLevel = (((modY - 3520) / 8) + 1);
    			getPA().walkableInterface(197);
    			if(Config.SINGLE_AND_MULTI_ZONES) {
    				if(inMulti()) {
    					getPA().sendFrame126("@yel@Level: "+wildLevel, 199);
    				} else {
    					getPA().sendFrame126("@yel@Level: "+wildLevel, 199);
    				}
    					getPA().showOption(3, 0, "Attack", 1);
    			} else {
    				getPA().multiWay(-1);
    				getPA().sendFrame126("@yel@Level: "+wildLevel, 199);
    			}
    			getPA().showOption(3, 0, "Attack", 1);
    					} else if(playerEquipment[playerWeapon] == 11951) {
    		getPA().showOption(3, 0, "Throw at", 1);
    getPA().walkableInterface(-1);
    		} else if (inDuelArena()) {
    			getPA().walkableInterface(201);
    			if(duelStatus == 5) {
    				getPA().showOption(3, 0, "Attack", 1);
    			} else {
    				getPA().showOption(3, 0, "Challenge", 1);
    			}
    		} else if(inBarrows()){
    			getPA().sendFrame99(2);
    			getPA().sendFrame126("Kill Count: "+barrowsKillCount, 4536);
    			getPA().walkableInterface(4535);
    		} else if(inFunPk()) {
    			getPA().walkableInterface(197);
    			getPA().sendFrame126("@yel@FunPk", 199);
    			getPA().showOption(3, 0, "Attack", 1);
    			wildLevel = 55;
    		} else if(inMulti()) {
    			getPA().walkableInterface(197);
    			getPA().sendFrame126("@yel@MultiPk", 199);
    			getPA().showOption(3, 0, "Attack", 1);
    			wildLevel = 21;
    		} else if (inCwGame || inPits) {
    			getPA().showOption(3, 0, "Attack", 1);	
    		} else if (getPA().inPitsWait()) {
    			getPA().showOption(3, 0, "Null", 1);
    		}else if (!inCwWait) {
    			getPA().sendFrame99(0);
    			getPA().walkableInterface(-1);
    			getPA().showOption(3, 0, "Null", 1);
    		}
    I created a new spot for multi pk and the problem is when i press attack my acc throws a snow ball to the other test acc.

    There's no sense getting Pissed off,
    every time a bunch of idiots give you a hard time.
    In the end, "The universe tends to unfold as it should".

    Reply With Quote  
     

  2. #2  
    Registered Member
    iHybrid's Avatar
    Join Date
    Sep 2010
    Posts
    2,095
    Thanks given
    636
    Thanks received
    352
    Rep Power
    81
    What base are you using lmfao.

    Btw just search the snowballs ID then find the code that might be associated with your issue.
    Reply With Quote  
     

  3. #3  
    Super Donator

    Batukka's Avatar
    Join Date
    Oct 2011
    Posts
    2,433
    Thanks given
    86
    Thanks received
    342
    Rep Power
    496
    Code:
    } else if(playerEquipment[playerWeapon] == 11951 ) {
    if(!inWild() && !inFunPk()){
    		getPA().showOption(3, 0, "Throw at", 1);
    }
    Reply With Quote  
     

  4. #4 :s 
    Registered Member Delx's Avatar
    Join Date
    Jul 2011
    Age
    28
    Posts
    321
    Thanks given
    100
    Thanks received
    21
    Rep Power
    11
    Quote Originally Posted by Water Boy View Post
    Code:
    } else if(playerEquipment[playerWeapon] == 11951 ) {
    if(!inWild(){
    		getPA().showOption(3, 0, "Throw at", 1);
    }
    I did delete that but still the same

    There's no sense getting Pissed off,
    every time a bunch of idiots give you a hard time.
    In the end, "The universe tends to unfold as it should".

    Reply With Quote  
     

  5. #5  
    Super Donator

    Batukka's Avatar
    Join Date
    Oct 2011
    Posts
    2,433
    Thanks given
    86
    Thanks received
    342
    Rep Power
    496
    Quote Originally Posted by n33b View Post
    I did delete that but still the same
    try the new code because i forgot add "!inFunPk"
    Reply With Quote  
     

  6. #6 :s 
    Registered Member Delx's Avatar
    Join Date
    Jul 2011
    Age
    28
    Posts
    321
    Thanks given
    100
    Thanks received
    21
    Rep Power
    11
    Quote Originally Posted by Water Boy View Post
    try the new code because i forgot add "!inFunPk"
    No changes.

    This is how it looks like now:

    Code:
    if(inWild() && !inFunPk()) {
    			int modY = absY > 6400 ?  absY - 6400 : absY;
    			wildLevel = (((modY - 3520) / 8) + 1);
    			getPA().walkableInterface(197);
    			if(Config.SINGLE_AND_MULTI_ZONES) {
    				if(inMulti()) {
    					getPA().sendFrame126("@yel@Level: "+wildLevel, 199);
    				} else {
    					getPA().sendFrame126("@yel@Level: "+wildLevel, 199);
    				}
    					getPA().showOption(3, 0, "Attack", 1);
    			} else {
    				getPA().multiWay(-1);
    				getPA().sendFrame126("@yel@Level: "+wildLevel, 199);
    			}
    			} else if(playerEquipment[playerWeapon] == 11951 ) {
    				if(!inWild() && !inMulti()){
    		getPA().showOption(3, 0, "Throw at", 1);
    		getPA().walkableInterface(-1);
    }
    		} else if (inDuelArena()) {
    			getPA().walkableInterface(201);
    			if(duelStatus == 5) {
    				getPA().showOption(3, 0, "Attack", 1);
    			} else {
    				getPA().showOption(3, 0, "Challenge", 1);
    			}
    		} else if(inBarrows()){
    			getPA().sendFrame99(2);
    			getPA().sendFrame126("Kill Count: "+barrowsKillCount, 4536);
    			getPA().walkableInterface(4535);
    		} else if(inFunPk()) {
    			getPA().walkableInterface(197);
    			getPA().sendFrame126("@yel@FunPk", 199);
    			getPA().showOption(3, 0, "Attack", 1);
    			wildLevel = 55;
    		} else if(inMulti()) {
    			getPA().walkableInterface(197);
    			getPA().sendFrame126("@yel@MultiPk", 199);
    			getPA().showOption(3, 0, "Attack", 1);
    			wildLevel = 21;
    Can't i just get rid of the throwing thing and make it use weapons/fist?

    There's no sense getting Pissed off,
    every time a bunch of idiots give you a hard time.
    In the end, "The universe tends to unfold as it should".

    Reply With Quote  
     

  7. #7  
    Super Donator

    Batukka's Avatar
    Join Date
    Oct 2011
    Posts
    2,433
    Thanks given
    86
    Thanks received
    342
    Rep Power
    496
    show you attack method.
    Reply With Quote  
     

  8. #8  
    Registered Member Delx's Avatar
    Join Date
    Jul 2011
    Age
    28
    Posts
    321
    Thanks given
    100
    Thanks received
    21
    Rep Power
    11
    where is it located sir? combatassistant?

    There's no sense getting Pissed off,
    every time a bunch of idiots give you a hard time.
    In the end, "The universe tends to unfold as it should".

    Reply With Quote  
     

  9. #9  
    Super Donator

    Batukka's Avatar
    Join Date
    Oct 2011
    Posts
    2,433
    Thanks given
    86
    Thanks received
    342
    Rep Power
    496
    Quote Originally Posted by n33b View Post
    where is it located sir? combatassistant?
    on that part where you putted the throwing part.
    Reply With Quote  
     

  10. #10  
    Registered Member Delx's Avatar
    Join Date
    Jul 2011
    Age
    28
    Posts
    321
    Thanks given
    100
    Thanks received
    21
    Rep Power
    11
    Is it in here?

    Code:
    } else if (inDuelArena()) {
    			getPA().walkableInterface(201);
    			if(duelStatus == 5) {
    				getPA().showOption(3, 0, "Attack", 1);
    			} else {
    				getPA().showOption(3, 0, "Challenge", 1);
    			}
    		} else if(inBarrows()){
    			getPA().sendFrame99(2);
    			getPA().sendFrame126("Kill Count: "+barrowsKillCount, 4536);
    			getPA().walkableInterface(4535);
    		} else if(inFunPk()) {
    			getPA().walkableInterface(197);
    			getPA().sendFrame126("@yel@FunPk", 199);
    			getPA().showOption(3, 0, "Attack", 1);
    			wildLevel = 55;
    		} else if(inMulti()) {
    			getPA().walkableInterface(197);
    			getPA().sendFrame126("@yel@MultiPk", 199);
    			getPA().showOption(3, 0, "Attack", 1);
    			wildLevel = 21;
    		} else if (inCwGame || inPits) {
    			getPA().showOption(3, 0, "Attack", 1);	
    		} else if (getPA().inPitsWait()) {
    			getPA().showOption(3, 0, "Null", 1);
    		}else if (!inCwWait) {
    			getPA().sendFrame99(0);
    			getPA().walkableInterface(-1);
    			getPA().showOption(3, 0, "Null", 1);
    		}
    		
    		if(!hasMultiSign && inMulti()) {
    			hasMultiSign = true;
    			getPA().multiWay(1);
    		}
    		
    		if(hasMultiSign && !inMulti()) {
    			hasMultiSign = false;
    			getPA().multiWay(-1);
    		}
    
    		if(skullTimer > 0) {
    			skullTimer--;
    			if(skullTimer == 1) {
    				isSkulled = false;
    				attackedPlayers.clear();
    				headIconPk = -1;
    				skullTimer = -1;
    				getPA().requestUpdates();
    			}	
    		}
    		
    		if(isDead && respawnTimer == -6) {
    			getPA().applyDead();
    		}
    		
    		if(specRestore > 0) {
                            specRestore --;
    		}
    		
    		if(respawnTimer == 7) {
    			respawnTimer = -6;
    			getPA().giveLife();
    		} else if(respawnTimer == 12) {
    			respawnTimer--;
    			startAnimation(0x900);
    			poisonDamage = -1;
    		}	
    		
    		if(respawnTimer > -6) {
    			respawnTimer--;
    		}
    		if(freezeTimer > -6) {
    			freezeTimer--;
    			if (frozenBy > 0) {
    				if (Server.playerHandler.players[frozenBy] == null) {
    					freezeTimer = -1;
    					frozenBy = -1;
    				} else if (!goodDistance(absX, absY, Server.playerHandler.players[frozenBy].absX, Server.playerHandler.players[frozenBy].absY, 20)) {
    					freezeTimer = -1;
    					frozenBy = -1;
    				}
    			}
    		}
    Or could you help me on teamvieuwer will rep

    There's no sense getting Pissed off,
    every time a bunch of idiots give you a hard time.
    In the end, "The universe tends to unfold as it should".

    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Snowball Arena
    By Sterfy in forum Show-off
    Replies: 11
    Last Post: 06-03-2012, 12:49 PM
  2. PI snowball problem
    By Mr Sandman in forum Help
    Replies: 6
    Last Post: 12-25-2011, 06:33 AM
  3. Snowball
    By Gluon in forum Requests
    Replies: 0
    Last Post: 12-18-2011, 06:23 PM
  4. RSBuddy throws in the towel
    By Eminem™ in forum RuneScape Underground
    Replies: 28
    Last Post: 12-17-2011, 03:11 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •