Thread: Sigex - fight pits viewing orbs

Page 1 of 5 123 ... LastLast
Results 1 to 10 of 48
  1. #1 Sigex - fight pits viewing orbs 
    F*ck the rest join the best, WoR

    sigex's Avatar
    Join Date
    Mar 2008
    Age
    34
    Posts
    2,086
    Thanks given
    123
    Thanks received
    147
    Rep Power
    690
    Description: This will add the viewing orbs so you can look at other people while there playing fight pits (if you have it) you will have to set your own system up so they can't attack out or you can't attack in

    Difficulty: 1

    Assumed Knowledge: what packet 132 is how to declare some methods

    Tested Server: Sigex - SoulScape v6.2

    Classes Modified: client.java

    Procedure

    Step 1: declare all these methods

    Code:
    	public void fightPitsOrb(String setting,int frame){
    			sendFrame126("@yel@Centre",15239);
    			sendFrame126("@yel@North-West",15240);
    			sendFrame126("@yel@North-East",15241);
    			sendFrame126("@yel@South-East",15242);
    			sendFrame126("@yel@South-West",15243);
    			sendFrame126("@whi@"+setting,frame);
    	}
    	public void hidePlayer(){
    		if(isInViewingOrb()){
    			if(heightLevel != 0){
    				heightLevel = 0;
    			} else if(heightLevel == 0){
    				sendFrame99(2);
    				npcId = 3642;
    				isNpc = true;
    				isViewingOrd = true;
    				updateRequired = true;
    			appearanceUpdateRequired = true;
    			}
    		}
    	}
    	public boolean isInViewingOrb(){
    		if(absX == 2398 && absY == 5150) return true;//center
    		if(absX == 2384 && absY == 5157) return true;//north - west
    		if(absX == 2409 && absY == 5158) return true;//north - east
    		if(absX == 2411 && absY == 5137) return true;//south - east
    		if(absX == 2388 && absY == 5138) return true;//south - west
    	return false;
    	}
    	public boolean isInFightPits(){
    		if(isInArea(2374,5168, 2420, 5126)) return true;
    	return false;
    	}
    		public boolean isViewingOrd = false;
    	public void antiNullPnpcInOrd(){
    		if(!isInFightPits() && npcId == 3642 && isViewingOrd){
    			teleportToX = 2399;
    			teleportToY = 5171;
    			heightLevel = 0;
    			isNpc = false;
    			isViewingOrd = false;
    			sendFrame106(3);
    			sendFrame71(10, 2449);
    		}
    	}
    Step 2: declare this in your packet 132

    Code:
    	switch(objectID){
    		case 9391:
    			sendFrame71(10,3209);
    			sendFrame106(10);
    			sendFrame99(2);
    			fightPitsOrb("Centre",15239);
    			teleportToX = 2398;
    			teleportToY = 5150;
    			heightLevel = 0;
    			npcId = 3642;
    			isNpc = true;
    			isViewingOrd = true;
    			updateRequired = true;
    			appearanceUpdateRequired = true;
    		break;
    	}
    Step 3: declare these to your packet 185

    Code:
    case 59135://center
    fightPitsOrb("Centre",15239);
    teleportToX = 2398;
    teleportToY = 5150;
    heightLevel = 0;
    hidePlayer();
    break;
    
    case 59136://north-west
    fightPitsOrb("North-West",15240);
    teleportToX = 2384;
    teleportToY = 5157;
    heightLevel = 0;
    hidePlayer();
    break;
    
    case 59137://north-east
    fightPitsOrb("North-East",15241);
    teleportToX = 2409;
    teleportToY = 5158;
    heightLevel = 0;
    hidePlayer();
    break;
    
    case 59138://south-east
    fightPitsOrb("South-East",15242);
    teleportToX = 2411;
    teleportToY = 5137;
    heightLevel = 0;
    hidePlayer();
    break;
    
    case 59139://south-west
    fightPitsOrb("South-West",15243);
    teleportToX = 2388;
    teleportToY = 5138;
    heightLevel = 0;
    hidePlayer();
    break;
    	
    case 17111:// exit fight pits viewing orb
    fightPitsOrb("Centre",15239);
    sendFrame99(0);
    teleportToX = 2399;
    teleportToY = 5171;
    heightLevel = 0;
    isNpc = false;
    updateRequired = true;
    appearanceUpdateRequired = true;
    break;
    Step 5: make sure you have or declare these

    Code:
        public void sendFrame71(int a, int b){
            outStream.createFrame(71);
            outStream.writeWord(a);
            outStream.writeByteA(b);
        }
    	public void sendFrame106(int a){
    		outStream.createFrame(106);
    		outStream.writeByteC(a);
    	}
    	public void sendFrame99(int a){
    		outStream.createFrame(99);
    		outStream.writeByte(a);
    	}
    This has a poor but effective method of making your character invisible, and the orbs on the interface (side bar) do not move

    Credits: Sigex - Development team
    Last edited by sigex; 05-18-2008 at 01:44 PM. Reason: Deleted and reposted wouldn't let me fix the spelling error in the name -.-


    The wor has begun.

    Reply With Quote  
     

  2. #2  
    Registered Member
    wh1p's Avatar
    Join Date
    Oct 2007
    Age
    31
    Posts
    1,983
    Thanks given
    26
    Thanks received
    285
    Rep Power
    320
    Wow this is great thanks man rep++
    Reply With Quote  
     

  3. #3  
    F*ck the rest join the best, WoR

    sigex's Avatar
    Join Date
    Mar 2008
    Age
    34
    Posts
    2,086
    Thanks given
    123
    Thanks received
    147
    Rep Power
    690
    Its simple though i'm sure you could have made this on your own whip

    Code:
    This forum requires that you wait 120 seconds between posts. Please try again in 51 seconds.
    ffs i'm on crack need to post!! jk i'm not on crack.. :woot:


    The wor has begun.

    Reply With Quote  
     

  4. #4  
    Registered Member
    wh1p's Avatar
    Join Date
    Oct 2007
    Age
    31
    Posts
    1,983
    Thanks given
    26
    Thanks received
    285
    Rep Power
    320
    I tried this once but I failed lol the player wouldn't get invisible, at least yours work
    Reply With Quote  
     

  5. #5  
    Tnt Pk
    Guest
    Looks Great I Ganna Try
    Reply With Quote  
     

  6. #6  
    F*ck the rest join the best, WoR

    sigex's Avatar
    Join Date
    Mar 2008
    Age
    34
    Posts
    2,086
    Thanks given
    123
    Thanks received
    147
    Rep Power
    690
    it all works but as you can see this is not fight pits arena its just the viewing orbs so if your going to make this make sure you fix the attacking one each other


    The wor has begun.

    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Jan 2008
    Posts
    1,338
    Thanks given
    243
    Thanks received
    85
    Rep Power
    250
    picz ))) gr8 job mate
    Reply With Quote  
     

  8. #8  
    Registered Member
    novalye's Avatar
    Join Date
    Sep 2007
    Posts
    784
    Thanks given
    1
    Thanks received
    0
    Rep Power
    393
    Thanks for this, you are making Private Servers more Realistic I see!
    Reply With Quote  
     

  9. #9  
    sυввч

    Sub's Avatar
    Join Date
    Aug 2007
    Age
    24
    Posts
    4,352
    Thanks given
    1,205
    Thanks received
    359
    Rep Power
    2845
    heh relsed
    i had this ages thank you very much rayner
    Reply With Quote  
     

  10. #10  
    Tnt Pk
    Guest
    This Tut Is Fail Dont Work..
    Reply With Quote  
     

Page 1 of 5 123 ... LastLast

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
  •