Thread: Apollo Emulator - Build #83

Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1 Apollo Emulator - Build #83 
    Registered Member
    Join Date
    Jul 2015
    Age
    24
    Posts
    12
    Thanks given
    2
    Thanks received
    12
    Rep Power
    12
    R-S Mod Response  Apollo Build #83


    NOW FUCKING STOP USING 317 CLIENT & PI



    Client, Server, Cache, Xteas: [Only registered and activated users can see links. ]

    I will do any services for this revision and source, it will cost you money unless more then one person starts contributing
    This was based of my OSRS Build 1 and 31 but I removed all my ruby scripts so do them urself

    This is just something for you to start with I might post another few updated versions, as of right now I have everything up to Player Update

    Infomation
    Server+Cache+Xteas
    Richards Client
    Ondemand Loading
    Login Complete(Change the RSA KEYS)
    After you change the keys its ready for packets

    I would start with windowpane, map region

    Example from build #31

    Spoiler for Aka windowpane:

    Code:
    package org.apollo.net.release.release31;
    
    import org.apollo.game.event.impl.OpenRootInterfaceEvent;
    import org.apollo.net.codec.game.DataTransformation;
    import org.apollo.net.codec.game.DataType;
    import org.apollo.net.codec.game.GamePacket;
    import org.apollo.net.codec.game.GamePacketBuilder;
    import org.apollo.net.release.EventEncoder;
    
    public final class OpenRootInterfaceEventEncoder extends EventEncoder<OpenRootInterfaceEvent> {
    
    	@Override
    	public GamePacket encode(OpenRootInterfaceEvent event) {
    		GamePacketBuilder bldr = new GamePacketBuilder(69);
    		bldr.put(DataType.SHORT, DataTransformation.ADD, event.rootInterfaceId());
    		return bldr.toGamePacket();
    	}
    
    }


    Spoiler for Aka mapregion:

    Code:
    package org.apollo.net.release.release31;
    
    import org.apollo.game.event.impl.RegionChangeEvent;
    import org.apollo.game.model.Position;
    import org.apollo.game.model.World;
    import org.apollo.net.codec.game.DataOrder;
    import org.apollo.net.codec.game.DataTransformation;
    import org.apollo.net.codec.game.DataType;
    import org.apollo.net.codec.game.GamePacket;
    import org.apollo.net.codec.game.GamePacketBuilder;
    import org.apollo.net.meta.PacketType;
    import org.apollo.net.release.EventEncoder;
    
    public final class RegionChangeEventEncoder extends EventEncoder<RegionChangeEvent> {
    
    	@Override
    	public GamePacket encode(RegionChangeEvent event) {
    		GamePacketBuilder builder = new GamePacketBuilder(87, PacketType.VARIABLE_SHORT);
    
    		Position pos = event.getPosition();
    		int regionX = pos.getCentralSectorX();
    		int regionY = pos.getCentralSectorY();
    		builder.put(DataType.BYTE, DataTransformation.SUBTRACT, pos.getHeight());
    		builder.put(DataType.SHORT, DataOrder.LITTLE, regionY);
    		boolean forceSend = true;
    		if ((((regionX / 8) == 48) || ((regionX / 8) == 49)) && ((regionY / 8) == 48)) {
    			forceSend = false;
    		}
    		if (((regionX / 8) == 48) && ((regionY / 8) == 148)) {
    			forceSend = false;
    		}
    		for (int xCalc = (regionX - 6) / 8; xCalc <= ((regionX + 6) / 8); xCalc++) {
    			for (int yCalc = (regionY - 6) / 8; yCalc <= ((regionY + 6) / 8); yCalc++) {
    				int region = (xCalc << 8) + yCalc;
    				int[] xtea = World.getWorld().getXtea().get(region);
    				if (forceSend || ((yCalc != 49) && (yCalc != 149) && (yCalc != 147) && (xCalc != 50) && ((xCalc != 49) || (yCalc != 47)))) {
    					if (xtea != null) {
    						builder.put(DataType.INT, DataOrder.INVERSED_MIDDLE, xtea[0]);
    						builder.put(DataType.INT, DataOrder.INVERSED_MIDDLE, xtea[1]);
    						builder.put(DataType.INT, DataOrder.INVERSED_MIDDLE, xtea[2]);
    						builder.put(DataType.INT, DataOrder.INVERSED_MIDDLE, xtea[3]);
    					} else {
    						builder.put(DataType.INT, DataOrder.INVERSED_MIDDLE, 0);
    						builder.put(DataType.INT, DataOrder.INVERSED_MIDDLE, 0);
    						builder.put(DataType.INT, DataOrder.INVERSED_MIDDLE, 0);
    						builder.put(DataType.INT, DataOrder.INVERSED_MIDDLE, 0);
    					}
    				}
    			}
    		}
    		builder.put(DataType.SHORT, DataOrder.LITTLE, pos.getLocalX());
    		builder.put(DataType.SHORT, pos.getLocalY());
    		builder.put(DataType.SHORT, DataTransformation.ADD, regionX);
    		return builder.toGamePacket();
    	}
    }


    Credits

    Graham - Apollo
    Major - Bug Fixes
    Richard1992 - Client
    Jess3 Cache, Xtea keys
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Registered Member
    thim slug's Avatar
    Join Date
    Nov 2010
    Age
    25
    Posts
    4,142
    Thanks given
    1,079
    Thanks received
    1,137
    Discord
    View profile
    Rep Power
    5000
    I think it would be worth mentioning Major in the credits.
    Reply With Quote  
     

  4. #3  
    Registered Member
    Join Date
    Jul 2015
    Age
    24
    Posts
    12
    Thanks given
    2
    Thanks received
    12
    Rep Power
    12
    Quote Originally Posted by Poohman View Post
    I think it would be worth mentioning Major in the credits.
    Considering the fact I downloaded it before major took over, no it wouldn't be however I will because I am gonna use his for bug fixes
    Reply With Quote  
     

  5. #4  
    anInt69

    Max _'s Avatar
    Join Date
    Feb 2012
    Age
    23
    Posts
    1,814
    Thanks given
    428
    Thanks received
    727
    Rep Power
    599
    Nice contribution, will play around with it. Thanks.
    Reply With Quote  
     

  6. #5  
    Registered Member
    Join Date
    Jul 2015
    Age
    24
    Posts
    12
    Thanks given
    2
    Thanks received
    12
    Rep Power
    12
    Quote Originally Posted by Max _ View Post
    Nice contribution, will play around with it. Thanks.
    Thanks I will be posting packets, and other fixes for this later in the snippets section or ill make a github
    Reply With Quote  
     

  7. Thankful user:


  8. #6  
    anInt69

    Max _'s Avatar
    Join Date
    Feb 2012
    Age
    23
    Posts
    1,814
    Thanks given
    428
    Thanks received
    727
    Rep Power
    599
    Quote Originally Posted by Stream View Post
    Thanks I will be posting packets, and other fixes for this later in the snippets section or ill make a github
    This will definitely get more users using Apollo.
    Reply With Quote  
     

  9. #7  
    Registered Member
    Join Date
    Jul 2015
    Age
    24
    Posts
    12
    Thanks given
    2
    Thanks received
    12
    Rep Power
    12
    Quote Originally Posted by Max _ View Post
    This will definitely get more users using Apollo.
    People should be using it in the first place.. Major has put a lot of work in to the official version for 317 and the people that want to learn use it, the people who don't, barley understand how to run it lmao.
    Reply With Quote  
     

  10. #8  
    Est. RS2005/PS2007

    Pertinax's Avatar
    Join Date
    Jan 2015
    Age
    25
    Posts
    143
    Thanks given
    231
    Thanks received
    75
    Rep Power
    986
    Quote Originally Posted by Stream View Post
    NOW FUCKING STOP USING 317 CLIENT & PI
    I don't think the average PI user & PI coder will drop their PI base just because of this release.
    Spoiler for ScapeRune's definition of success:
    Quote Originally Posted by Kool aid boy View Post
    I went on to give it a try but i saw it was dead af so i left. Is there ever peak time?

    Says like 7.5k accs registered on forums but only 2 people on?


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  11. Thankful users:


  12. #9  
    Registered Member
    Join Date
    Jul 2015
    Age
    24
    Posts
    12
    Thanks given
    2
    Thanks received
    12
    Rep Power
    12
    Quote Originally Posted by Jedi View Post
    I don't think the average PI user & PI coder will drop their PI base just because of this release.
    Never said they would I said they should
    Reply With Quote  
     

  13. #10  
    Est. RS2005/PS2007

    Pertinax's Avatar
    Join Date
    Jan 2015
    Age
    25
    Posts
    143
    Thanks given
    231
    Thanks received
    75
    Rep Power
    986
    Quote Originally Posted by Stream View Post
    Never said they would I said they should
    You're preaching to a crowd that isn't capable of doing anything with Apollo, let alone able to spawn an npc in npcs.cfg.
    Spoiler for ScapeRune's definition of success:
    Quote Originally Posted by Kool aid boy View Post
    I went on to give it a try but i saw it was dead af so i left. Is there ever peak time?

    Says like 7.5k accs registered on forums but only 2 people on?


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  14. Thankful users:


Page 1 of 3 123 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. [OSRS] Build #83 BASIC Deob
    By Richard1992 in forum Downloads
    Replies: 53
    Last Post: 07-30-2015, 04:16 PM
  2. pokemon emulator
    By Markus in forum PC
    Replies: 1
    Last Post: 12-17-2007, 02:17 AM
  3. Replies: 5
    Last Post: 10-02-2007, 09:06 PM
  4. RuneXserver - build 2
    By Gander in forum RS2 Server
    Replies: 16
    Last Post: 09-10-2007, 01:49 AM
  5. Santa Claus Buildings Brings - Fallidor Club!
    By Shobaky in forum Tutorials
    Replies: 11
    Last Post: 05-29-2007, 02:30 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •