Mentor System

10/31/2013 21:12 Aceking#1
So starting to work on the mentor system for patch 5065....
Running into some issues, and maybe I just dont completely understand how it works so I am hoping someone can break it down for me.

Currently, I have packet 2066 (Mentor Information) and packet 2067 (Mentor Prize).
Whenever I the client requests these packets either by opening the mentor page in the friends list or by opening the rewards page, I send the packets along with the information however absolutely nothing is displayed.
I set the offset of 24? to 999999 on packet 2066 as well.

Am I missing something perhaps?
Does a packet need to be sent at login saying the client has a mentor?
Is there a packet that initializes the mentor in the client and allows these packets to be accepted.

As far as I can tell, all the offsets are set to to the right values.

So any direction here would be greatly appreciated.
11/02/2013 00:04 Aceking#2
Alright, well I got packet 2067 (Mentor Prize) to work for the most part.
It is now displaying rewards etc, so that is a step in the right direction.

But packet 2066 is still frustrating me...nothing is being displayed at all.
I am not asking for a complete packet structure, and I am not asking for the system to be handed to me.

I just need to understand how the packet works, and what requirements are there for the packet for it to be accepted and displayed apart from value 999999 in offset 24.
The icon doesn't show, when i go to the mentor section in the friends list nothing shows either.
I believe I have the right packet structure, I know mentor type 1 is for the mentor, and 2 is for the apprentice.
Can anyone shed some light on this for me?
11/02/2013 23:25 Aceking#3
Quote:
Originally Posted by Y u k i View Post
The SpawnEntity or GeneralData Packet has the Icon most likely. Just find the offset haha :D
Wouldnt it be like nobility where the icon itself is from the nobility packet?

And it's not just the icon, its the mentor page in the friends list that isn't showing anything either.
11/03/2013 03:44 Aceking#4
Quote:
Originally Posted by Y u k i View Post
Possibly!

But keep in mind that the Blessing Icon has no own Packet and without setting a specified flag on the spawnpacket you cant open the offline tq dialoge.

Experiment around :) Maybe there is a MapStatus for it aswell, unlikely but who knows.
Perhaps, nothing I have read anywhere and no source I have seen has contained an offset for the mentor in the spawn packet though. So unless that was specific to 5065 it seems unlikely.

So everything is pretty much leading to the packet. Which means I either do not have the correct structure, or the correct values.
Or there is another requirement somewhere that hasn't been activated that I am completely overlooking, but that kind of goes to my first statement.

Another problem is I dont have a packet logger that works that works on a binary.

Just getting really frustrated by this....
11/10/2013 09:40 { Angelius }#5
I structured those packets some 130 years ago when i used my first lotf source :rolleyes:

Help yourself... Oh and good luck figuring out what is what lol


Edit:

I think its a bad idea to put that garbage out here... sent you a private message.