Thread: glitched death lmfao.

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 glitched death lmfao. 
    Banned
    Join Date
    Sep 2012
    Posts
    1,027
    Thanks given
    193
    Thanks received
    123
    Rep Power
    0
    Fixed, please close/delete. feel stupid lawl <.<
    Reply With Quote  
     

  2. #2  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    Reset the animation in the givelife method

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Banned
    Join Date
    Sep 2012
    Posts
    1,027
    Thanks given
    193
    Thanks received
    123
    Rep Power
    0
    its already there lol.
    Reply With Quote  
     

  5. #4  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    The method probably isn't correct.

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  6. Thankful user:


  7. #5  
    Banned
    Join Date
    Sep 2012
    Posts
    1,027
    Thanks given
    193
    Thanks received
    123
    Rep Power
    0
    Code:
    public void giveLife() {
    		c.isDead = false;
    		c.faceUpdate(-1);
    		c.freezeTimer = 0;
    		if (c.duelStatus <= 4 && !c.getPA().inPitsWait()) { // if we are not in
    															// a duel we must be
    															// in wildy so
    															// remove items
    			if (!c.inPits && !c.inFightCaves()) {
    				c.getItems().resetKeepItems();
    				if (c.playerRights == 2 && Config.ADMIN_DROP_ITEMS
    						|| c.playerRights != 2) {
    					if (!c.isSkulled) { // what items to keep
    						c.getItems().keepItem(0, true);
    						c.getItems().keepItem(1, true);
    						c.getItems().keepItem(2, true);
    					}
    					if (c.prayerActive[10]
    							&& System.currentTimeMillis() - c.lastProtItem > 700) {
    						c.getItems().keepItem(3, true);
    					}
    					c.getItems().dropAllItems(); // drop all items
    					c.getItems().deleteAllItemsAndKeepTradeables(); // delete all items
    
    					if (!c.isSkulled) { // add the kept items once we finish
    										// deleting and dropping them
    						for (int i1 = 0; i1 < 3; i1++) {
    							if (c.itemKeptId[i1] > 0) {
    								c.getItems().addItem(c.itemKeptId[i1], 1);
    							}
    						}
    					}
    					if (c.prayerActive[10]) { // if we have protect items
    						if (c.itemKeptId[3] > 0) {
    							c.getItems().addItem(c.itemKeptId[3], 1);
    						}
    					}
    				}
    				c.getItems().resetKeepItems();
    			} else if (c.inPits) {
    				c.duelStatus = 0;
    				Server.fightPits.removePlayerFromPits(c.playerId);
    				c.pitsStatus = 1;
    			}
    		}
    		c.getCombat().resetPrayers();
    		for (int i = 0; i < 20; i++) {
    			c.playerLevel[i] = getLevelForXP(c.playerXP[i]);
    			c.getPA().refreshSkill(i);
    		}
    		if (c.pitsStatus == 1) {
    			c.pitsStatus = 0;
    			movePlayer(2399, 5173, 0);
    		} else if (c.duelStatus <= 4) { // if we are not in a duel repawn to
    										// wildy
    			movePlayer(Config.RESPAWN_X, Config.RESPAWN_Y, 0);
    			c.isSkulled = false;
    			c.skullTimer = 0;
    			c.attackedPlayers.clear();
    		} else if (c.inFightCaves()) {
    			c.getPA().resetTzhaar();
    		} else { // we are in a duel, respawn outside of arena
    			final Client o = (Client) PlayerHandler.players[c.duelingWith];
    			if (o != null) {
    				o.getPA().createPlayerHints(10, -1);
    				if (o.duelStatus == 6) {
    					o.getTradeAndDuel().duelVictory();
    				}
    			}
    			movePlayer(
    					Config.DUELING_RESPAWN_X
    							+ Misc.random(Config.RANDOM_DUELING_RESPAWN),
    					Config.DUELING_RESPAWN_Y
    							+ Misc.random(Config.RANDOM_DUELING_RESPAWN), 0);
    			if (c.duelStatus != 6) { // if we have won but have died, don't
    										// reset the duel status.
    				c.getTradeAndDuel().resetDuel();
    			}
    		}
    		// PlayerSaving.getSingleton().requestSave(c.playerId);
    		PlayerSave.saveGame(c);
    		PlayerSave.saveGame(o);
    		c.getCombat().resetPlayerAttack();
    		resetAnimation();
    		c.startAnimation(65535);
    		frame1();
    		resetTb();
    		c.isSkulled = false;
    		c.attackedPlayers.clear();
    		c.headIconPk = -1;
    		c.skullTimer = -1;
    		c.damageTaken = new int[Config.MAX_PLAYERS];
    		c.getPA().requestUpdates();
    	}
    Reply With Quote  
     

  8. #6  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    "resetAnimation();"


    What class is that method in?

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  9. Thankful user:


  10. #7  
    Banned
    Join Date
    Sep 2012
    Posts
    1,027
    Thanks given
    193
    Thanks received
    123
    Rep Power
    0
    playerassistant

    nvm scratch that trying to find it.
    Reply With Quote  
     

  11. #8  
    Banned
    Join Date
    Sep 2012
    Posts
    1,027
    Thanks given
    193
    Thanks received
    123
    Rep Power
    0
    can't seem to find it anywhere tbh
    Reply With Quote  
     

  12. #9  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    It should be in the same class as the givelife method because it doesn't call for it. Paste that since it isn't correct. (Most likely)

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  13. Thankful user:


  14. #10  
    Banned
    Join Date
    Sep 2012
    Posts
    1,027
    Thanks given
    193
    Thanks received
    123
    Rep Power
    0
    I did above. lol
    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. Cape Glitched
    By Serzel in forum Help
    Replies: 3
    Last Post: 03-14-2012, 11:04 PM
  2. GLITChED? (PI)
    By Boolean in forum Help
    Replies: 2
    Last Post: 01-27-2012, 10:01 PM
  3. MY godwars is glitched help?
    By FlawlessName in forum Help
    Replies: 3
    Last Post: 01-02-2011, 11:57 PM
  4. Glitched armor
    By jordan641 in forum Help
    Replies: 4
    Last Post: 04-20-2010, 04:07 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
  •