It was originally 718Quote:
Originally Posted by Sneerz [Only registered and activated users can see links. Click Here To Register...]
Printable View
It was originally 718Quote:
Originally Posted by Sneerz [Only registered and activated users can see links. Click Here To Register...]
Thanks for this amazing download! I'm starting my own project with this delicious almost-done base, just need some help about maps and other things like G.E packets cause i'm new to packets, if you can plz help me jordan, discord is @ferreirA#1058 , appreciate!
Also who converted clan chat packets?
here is Apollo/Scapeemulator versionQuote:
Originally Posted by Sagacity [Only registered and activated users can see links. Click Here To Register...]
here is Matrix versionCode:public class GrandExchangeOfferEncoder extends MessageEncoder<GrandExchangeOfferMessage> {
@Override
public GamePacket encode(GrandExchangeOfferMessage message) {
var offer = message.getOffer();
var builder = new GamePacketBuilder(47);
builder.put(DataType.BYTE, offer.getSlot());
builder.put(DataType.BYTE, offer.getStage());
if (offer.forceRemove())
builder.putBytes(Unpooled.buffer().skipBytes(18));
else {
builder.put(DataType.SHORT, offer.getId());
builder.put(DataType.INT, offer.getPrice());
builder.put(DataType.INT, offer.getAmount());
builder.put(DataType.INT, offer.getTotalAmmountSoFar());
builder.put(DataType.INT, offer.getTotalPriceSoFar());
}
return builder.toGamePacket();
}
}
since you're using this server you would use the second one. im not sure what "player.write(stream);" would be in this release but you can easily find it because the other packets use something similar.Code:public void sendGrandExchangeOffer(Offer offer) {
OutputStream stream = new OutputStream(21);
stream.writePacket(player, 47);
stream.writeByte(offer.getSlot());
stream.writeByte(offer.getStage());
if (offer.forceRemove())
stream.skip(18);
else {
stream.writeShort(offer.getId());
stream.writeInt(offer.getPrice());
stream.writeInt(offer.getAmount());
stream.writeInt(offer.getTotalAmmountSoFar());
stream.writeInt(offer.getTotalPriceSoFar());
}
player.write(stream);
}
Didn't answer my question but nonetheless thanks for your help!Quote:
Originally Posted by _zero_ [Only registered and activated users can see links. Click Here To Register...]
i guess i didn’t but what i gave you earlier is the GE packet you want.Quote:
Originally Posted by Sagacity [Only registered and activated users can see links. Click Here To Register...]
anybody found a fix for maps? some areas are bugged.
i dled displees released xteas and packed it and it just messed up all the maps in the whole game? i used the 592 xteas
Anybody know where the objectives tab is handled? Even searching the whole project I can't find the test sentence.
Two extra packets I had to find today incase anyone needs them
Code:public void sendIComponentSprite(int interfaceId, int componentId, int sprite) {
ByteBuffer stream = new ByteBuffer(9);
stream.writePacket(player, 5);
stream.writeShort(packetsCount++);
stream.writeIntV2(interfaceId << 16 | componentId);
stream.writeShort128(sprite);
player.write(stream);
}
/**
* idfk what jagex uses this for?
*/
public void sendIComponentSpriteColor(int interfaceId, int componentId, int colorValue) {
ByteBuffer stream = new ByteBuffer(9);
stream.writePacket(player, 62);
stream.writeInt(interfaceId << 16 | componentId);
stream.writeShort(colorValue);
stream.writeShortLE(packetsCount++);
player.write(stream);
}
Bumpo
Thanks for 30k+ :D:D
If anyone is having trouble with HD, I use IntelliJ and specify which JDK to build against.
JDK 8 forced safe mode (win 10 64 bit). JDK 13 allowed HD to run as expected. :)