How to get out the Target ID from this packet

10/13/2009 23:30 samehvan#1
hello there ,
this is for [Coemu]
actually i have 2 things need help with

1-Getting the target id from a packet Solved

2-The string type id for nobility screen or how to r8 names to it

i had the Nobi Donation screens 1,2 but with no names now i wanna send the names to it , how is that will be done ?


[Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...]
10/14/2009 06:08 samehvan#2
Errr, nothing yet :rolleyes:

anyway i could figure out the Target ID , l8er i'll try to send the packet to target, now , anybody knows about the second question ? how to r8 names and values to the nobility screens?
10/14/2009 09:10 ImmortalYashi#3
samehvan read my pm.
10/14/2009 19:18 .Guru#4
i believe immortalyashi is a quite intelligent individual indeed.
10/14/2009 21:15 ImmortalYashi#5
Right.. samehvan i can't help you if you won't answer my pm.
I can even do it through teamviewer if you want too.

Cya,
yashi.
10/15/2009 07:46 samehvan#6
Quote:
Originally Posted by ImmortalYashi View Post
samehvan read my pm.
Quote:
Originally Posted by ImmortalYashi View Post
Right.. samehvan i can't help you if you won't answer my pm.
I can even do it through teamviewer if you want too.
Cya,
yashi.
sorry to be late , was a little busy with somethings out home , any way i'll read it now
10/15/2009 09:09 ImmortalYashi#7
Hey i'm on it and ehh..
I think the names did go away when u added the data id right?

Looking forward for a feedback,
Yashi.
10/15/2009 10:25 samehvan#8
there was no data , just this screen and i ddn't send any thing but the first screen then the client replied with 2 packets same type 2046 the first with subtype 2 and the second with subtype 4 ,i think the first is the one we should should receive when the client clicks on the icon that should be there (not sure about that) the second is the normal packet that asking for the Knights names ,rank and donation
here the 2 packets in both decimal and hexadecimal

Quote:
System]unknown packet 2064 ---> 32 0 16 8 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 [7:58]

[System]Packet in hexadecimal ---> 20 0 10 8 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 [7:58]

[System]unknown packet 2064 Subtype ---> 32 0 16 8 4 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 [7:58]

[System]Packet in hexadecimal ---> 20 0 10 8 4 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 [7:58]
i also figured out those info (might save u some time)

*-Data[4] is the type (1=Donate / 2=i think asking for the screens (when somebody clicks the icon (not sure) / 3=never saw it (might be the names show type ,the one we search for :p) / 4=asks to Show names)

*-When type=1 (Data[16]-->0=Silvers/1=CPS)

*-When type=4(Data[8]--->1=Knights Rank/3=Barons/5=Earls/7=Dukes/9=Princes and 12=Kings/Queens)
10/15/2009 14:04 ImmortalYashi#9
Hey samehvan,
You will need 1 or more packet(s).
- Nobility info packet
Then the structure (data type's of nobility)

This would be needed incase you wanted to show the name , donation etc.. i also created the handler's for you. Taking the amount of cp's/silvers while donating.
Saving the donation, name into the database and Loading the ranks based on the donation.

Cya'
Yashi.
10/16/2009 03:19 samehvan#10
Quote:
Originally Posted by ImmortalYashi View Post
Hey samehvan,
You will need 1 or more packet(s).
- Nobility info packet
Then the structure (data type's of nobility)

This would be needed incase you wanted to show the name , donation etc.. i also created the handler's for you. Taking the amount of cp's/silvers while donating.
Saving the donation, name into the database and Loading the ranks based on the donation.

Cya'
Yashi.
all that issues (donating/saving and loading )we will think about later , the main issue now is to show the names any test name ,that is what i am looking for for now
10/16/2009 08:56 ImmortalYashi#11
Like i said you would need another packet and the nobility icon is a byte just like the other icons.
10/16/2009 09:26 samehvan#12
Quote:
Originally Posted by ImmortalYashi View Post
Like i said you would need another packet and the nobility icon is a byte just like the other icons.
so ???, wait to ask about them,ohh i already dd when i started this thread
i need them like u said so any ideas ????
10/16/2009 14:59 ImmortalYashi#13
Wait please correct what you just wrote above i can't understand what is written..
10/16/2009 20:48 samehvan#14
I need to know how to write names to that screen and if u have the icon packet also