Ooh, just ran into neededing this I think... I'll get on it anyway try it out =)
|
|
requesting the 647 accessmask.
here is the accessmask method from the client (note: im not sure if this is the correct accessmask method):
Code:if (Class223_Sub3_Sub5.aClass354_6342 == Class26.currentIncommingPacket) { int i_283_ = Class274.serverOutBuffer.readUnsignedShortA(); if (i_283_ == 65535) i_283_ = -1; int i_284_ = Class274.serverOutBuffer.readInt_V2(); int i_285_ = Class274.serverOutBuffer.readInt_V2(); int i_286_ = Class274.serverOutBuffer.readUnsignedLEShortA(2); Class82.method588(true); if (i_286_ == 65535) i_286_ = -1; for (int i_287_ = i_283_; i_287_ <= i_286_; i_287_++) { long l = ((long) i_285_ << 32) + (long) i_287_; Class186_Sub2 class186_sub2 = (Class186_Sub2) Class6.aClass288_3534.method3348(l); Class186_Sub2 class186_sub2_288_; if (class186_sub2 == null) { if (i_287_ != -1) class186_sub2_288_ = new Class186_Sub2(i_284_, -1); else class186_sub2_288_ = new Class186_Sub2(i_284_, (Class149.method1258(i_285_).aClass186_Sub2_2779.anInt4423)); } else { class186_sub2_288_ = new Class186_Sub2(i_284_, class186_sub2.anInt4423); class186_sub2.method1687(); } Class6.aClass288_3534.method3351(class186_sub2_288_, l, -1); } Class26.currentIncommingPacket = null; return true; }

Ooh, just ran into neededing this I think... I'll get on it anyway try it out =)

Ehh should be something like this:
client:
Server:Code:if (Class223_Sub3_Sub5.aClass354_6342 == Class26.currentIncommingPacket) { int range2 = Class274.serverOutBuffer.readUnsignedShortA(); if (range2 == 65535) range2 = -1; int interfaceSet1 = Class274.serverOutBuffer.readInt_V2(); int interfaceSet2 = Class274.serverOutBuffer.readInt_V2(); int range1 = Class274.serverOutBuffer.readUnsignedLEShortA(2); Class82.method588(true); if (range1 == 65535) range1 = -1; for (int i_287_ = range2; i_287_ <= range1; i_287_++) { long l = ((long) interfaceSet2 << 32) + (long) i_287_; Class186_Sub2 class186_sub2 = (Class186_Sub2) Class6.aClass288_3534.method3348(l); Class186_Sub2 class186_sub2_288_; if (class186_sub2 == null) { if (i_287_ != -1) class186_sub2_288_ = new Class186_Sub2(interfaceSet1, -1); else class186_sub2_288_ = new Class186_Sub2(interfaceSet1, (Class149.method1258(interfaceSet2).aClass186_Sub2_2779.anInt4423)); } else { class186_sub2_288_ = new Class186_Sub2(interfaceSet1, class186_sub2.anInt4423); class186_sub2.method1687(); } Class6.aClass288_3534.method3351(class186_sub2_288_, l, -1); } Class26.currentIncommingPacket = null; return true; }
Might have mixed up some stuff, but that is very close to it. Gl.Code:public static void sendAccessMask(Player player, int range1, int range2, int interfaceId1, int childId1, int interfaceId2, int childId2) { PacketBuilder pb = new PacketBuilder(57); pb.writeShortA(range2) .writeInt2(interfaceId1 << 16 | childId1) .writeInt2(interfaceId2 << 16 | childId2) .writeLEShortA(range1) .write(player.getChannel()); }
| « looking for some help for project | best 508 or 525 server » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |