Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 17:24

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Possible flower packet conversion for 5165 NCS

Discussion on Possible flower packet conversion for 5165 NCS within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
.Ocularis's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 309
Received Thanks: 208
Possible flower packet conversion for 5165 NCS

Hey all,

I believe ImmuneOne released this packet(?)
So give him thanks if he posts here!

I believe I pressed enough buttons to make everything stop underlining in red....
Thing is I don't know how to test if I actually did the packet conversion correctly.

These are the original packets

This is the code that I kept pressing buttons until the red lines went away.
(My perfected noob method)


And the "GetGet" method

Did I do this right?
If so can we move on to actually adding the functions to this packet?
The packet ID is 1150 cause I made a new packet handler that would make an npc talk to me if the packet id was used...
And the npc wouldn't shut up after I used a flower
So I'm sure that is it.
.Ocularis is offline  
Thanks
2 Users
Old 02/04/2010, 18:04   #2
 
ImmuneOne's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
Quote:
On sending (1150)
On logon(used for sending the flower data(1151))
Seeya,
ImmuneOne.
ImmuneOne is offline  
Thanks
2 Users
Old 02/04/2010, 18:08   #3
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
The correct 'translation':

PHP Code:
public static COPacket FlowerPacket(string flowers)
        {
            
byte[] packet = new byte[21 flowers.Length 8];
            
COPacket p = new COPacket(packet);
            
p.WriteInt16((ushort)(21 flowers.Length));
            
p.WriteInt16(1150);
            
p.WriteInt32(1);
            
p.Move(8);
            
p.WriteByte(1);
            
p.WriteString(flowers);
            return 
p;
        }
        public static 
COPacket RankFlowerPacket(string flowersuint Rank)
        {
            
byte[] packet = new byte[21 flowers.Length 8];
            
COPacket p = new COPacket(packet);
            
p.WriteInt16((ushort)(21 flowers.Length));
            
p.WriteInt16(1150);
            
p.WriteInt32(2);
            
p.WriteInt32(Rank);
            
p.Move(4);
            
p.WriteByte(1);
            
p.WriteString(flowers);
            return 
p;
        }
        public static 
COPacket ReceiveFlower(int IDuint Typeuint Rankuint FlowerType)
        {
            
string flowers ID.ToString();
            
byte[] packet = new byte[21 flowers.Length 8];
            
COPacket p = new COPacket(packet);
            
p.WriteInt16((ushort)(21 flowers.Length));
            
p.WriteInt16(1151);
            
p.WriteInt32(Type);
            
p.WriteInt32(Rank);
            
p.WriteInt32(FlowerType);
            
p.WriteByte(1);
            
p.WriteString(flowers);
            return 
p;
        }
        public static 
COPacket ShowFlowerEffect(uint UID)
        {
            return 
GeneralData(UID0x4e0000x74);
        } 
-impulse- is offline  
Thanks
7 Users
Old 02/04/2010, 23:32   #4
 
elite*gold: 0
Join Date: Dec 2009
Posts: 36
Received Thanks: 1
I do not work TT

Some viewers on the code?
Why not go? jeje
|_Beetle_| is offline  
Old 02/04/2010, 23:46   #5
 
walmartboi's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 378
Received Thanks: 163
Code:
public static COPacket ShowFlowerEffect(uint UID)
        {
            return GeneralData(UID, 0x4e0, 0, 0, 0x74);
        }
Apparently that doesn't work, any help?
walmartboi is offline  
Old 02/04/2010, 23:58   #6
 
hunterman01's Avatar
 
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
Why does everyone want flowers.... i mean seriously
hunterman01 is offline  
Old 02/05/2010, 00:50   #7
 
elite*gold: 0
Join Date: Dec 2009
Posts: 36
Received Thanks: 1
Hmmm, good question, in my case because it gives you a touch more original server

please help :P xddd
|_Beetle_| is offline  
Thanks
1 User
Old 02/05/2010, 00:52   #8
 
.Ocularis's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 309
Received Thanks: 208
I'm doing it for the ladies I guess bro. I really could care less about flowers.
But the girls in darkside wanted to throw flowers at each other, heh.

Why not?

Btw, Immune, impulse.... <3. From the girls of darkside.
Ahem, not from me I was asked to pass it on.
.Ocularis is offline  
Thanks
1 User
Old 02/05/2010, 01:21   #9
 
elite*gold: 0
Join Date: Dec 2009
Posts: 36
Received Thanks: 1
Mentalis, you've got to put it? if so please say something: S

Thanks
|_Beetle_| is offline  
Old 02/05/2010, 08:38   #10
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Apparently

in:
PHP Code:
public static COPacket ShowFlowerEffect(uint UID)
        {
            return 
GeneralData(UID0x4e0000x74);
        } 
0x74(116) is the type and it stays at its place. I'm not sure about 0x4eo(1248). I'd say you should try these :
return GeneralData(UID, 0, 0x4e0, 0, 0x74);
OR
return GeneralData(UID, 0, 0, 0x4e0, 0x74);

Someone check if they are working and post the results here please.
-impulse- is offline  
Old 02/05/2010, 12:41   #11
 
elite*gold: 0
Join Date: Dec 2009
Posts: 36
Received Thanks: 1
Neither option works, it leaves me no roses, nor in boys or girls

:l
|_Beetle_| is offline  
Old 02/06/2010, 05:02   #12
 
elite*gold: 0
Join Date: Jan 2010
Posts: 54
Received Thanks: 6
Hello,

Please I must add or coding for flowers?
jitus2 is offline  
Old 02/06/2010, 20:00   #13
 
elite*gold: 0
Join Date: Jan 2010
Posts: 54
Received Thanks: 6
Up here
(Sorry for my double post)
I'm still not where I should go and paste the code for flowers is in packet.cs it seems to me, but I'm not on, help me if you like it, thank you.
jitus2 is offline  
Old 02/09/2010, 02:55   #14
 
salem rey's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 275
Received Thanks: 43
yah, I'm a newbie i try to copy it and paste it ang got a huge error in my C#. but i'll just wait this releases to complete.
salem rey is offline  
Old 02/09/2010, 22:45   #15
 
hunterman01's Avatar
 
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
Keep waiting cause its not gonna be released
hunterman01 is offline  
Reply


Similar Threads Similar Threads
[Release] Flower System (5165)
09/25/2010 - CO2 PServer Guides & Releases - 71 Replies
Heya! Mostly complete... just figure a way to save it on your server.... ScreenShots: http://img98.imageshack.us/img98/1949/164947279.j pg http://img714.imageshack.us/img714/5372/64922998. jpg http://img59.imageshack.us/img59/1025/64930238.jp g
some1 have 5165 source with flower system please post download link here
01/31/2010 - CO2 Private Server - 7 Replies
some1 have 5165 source with flower system please post download link here:(
[REQ] Nobility icon byte and flower packet
10/18/2009 - CO2 Private Server - 13 Replies
#DELETED Got it myself by logging!
[Help] Flower Packet
10/10/2009 - CO2 Private Server - 21 Replies
Ok so most of you in this community wont no what im doing But some will and i am asking those people who do for a little bit of help using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CoEmu_v2_GameServer.Packets



All times are GMT +2. The time now is 17:24.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.