|
You last visited: Today at 09:05
Advertisement
How to get out the Target ID from this packet
Discussion on How to get out the Target ID from this packet within the CO2 Private Server forum part of the Conquer Online 2 category.
10/13/2009, 23:30
|
#1
|
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
|
How to get out the Target ID from this packet
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 ?
|
|
|
10/14/2009, 06:08
|
#2
|
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
|
Errr, nothing yet
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
|
#3
|
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
|
samehvan read my pm.
|
|
|
10/14/2009, 19:18
|
#4
|
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
|
i believe immortalyashi is a quite intelligent individual indeed.
|
|
|
10/14/2009, 21:15
|
#5
|
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
|
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
|
#6
|
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
|
Quote:
Originally Posted by ImmortalYashi
samehvan read my pm.
|
Quote:
Originally Posted by ImmortalYashi
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
|
#7
|
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
|
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
|
#8
|
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
|
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 ) / 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
|
#9
|
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
|
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
|
#10
|
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
|
Quote:
Originally Posted by ImmortalYashi
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
|
#11
|
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
|
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
|
#12
|
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
|
Quote:
Originally Posted by ImmortalYashi
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
|
#13
|
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
|
Wait please correct what you just wrote above i can't understand what is written..
|
|
|
10/16/2009, 20:48
|
#14
|
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
|
I need to know how to write names to that screen and if u have the icon packet also
|
|
|
Similar Threads
|
[Help] Invalid Target/Cannot find Target(ZSZC)
05/29/2010 - SRO Private Server - 4 Replies
Some write they have Problems with ZSZC SRO-DB,
by mobs for example "Ishade/Penon/Ujigi(lvl50-56)",
in the Textbox right side down a message:
"Invalid Target" or " Cannot Find Target",
All have this Problem, a good message, i have the solution!
You need Use SRO-DB Bot V0.8 and NOT V0.9a!
+++Use this and you will have Fun by Botting+++
|
[Frage]Packet 0x3E, Target und Attacker
07/11/2009 - Kal Online - 7 Replies
Hi, will einen simplen bot machen, bin nun auch langsam am "verstehen".. nun meine frage: ich will erstmal nur die mobs angeifen, die mich attacken..
das Packet 0x3E sagt ja irgendwas greift irgendwen an..
nun wie bekomme ich das raus, dass ich angegriffen werde?!
DWORD attacker=0;
DWORD target=0;
WORD dmg;
WORD dmg2;
memcpy((void*)&attacker,(void*)((DWORD)buf2+3 +1) ,4);
memcpy((void*)&target,(void*)((DWORD)buf2+3+1 +4) ,4);
|
All times are GMT +2. The time now is 09:05.
|
|