Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 06:09

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

Advertisement



[Guide] Weather (Client Effects On LOTF)

Discussion on [Guide] Weather (Client Effects On LOTF) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 09/08/2008, 16:57   #16
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
It's a 16 bit integer at the start of the packet.
unknownone is offline  
Thanks
1 User
Old 09/09/2008, 06:53   #17
 
Tw3ak's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,489
Received Thanks: 301
Quote:
Originally Posted by © Haydz View Post
if you'd read before flaming you'd realise that has already been mentioned
LOL i didn't flame at all you been hanging around those noobs at ******** that think they know code with zero developers that know there ***** from there elbows other then maybe bone-you apparently to know what flaming actually is around here.

I didn't insult you or trash talk you in anyway in my post just stated that posting it as weather was wrong when it would have been just as easy to edit post and call it what it really is instead of sayin "ohh i know it aint weather but i couldn't think of what to really call it as my friend coded it for me." lol

Don't get so emo ffs...If i was flaming you trust me you would know it.
Tw3ak is offline  
Old 09/09/2008, 22:50   #18
 
elite*gold: 0
Join Date: Jan 2008
Posts: 53
Received Thanks: 16
Quote:
Originally Posted by unknownone View Post
It's a 16 bit integer at the start of the packet.
Thanks much
isp is offline  
Old 09/10/2008, 20:04   #19
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Quote:
Originally Posted by Tw3ak View Post
LOL i didn't flame at all you been hanging around those noobs at ******** that think they know code with zero developers that know there ***** from there elbows other then maybe bone-you apparently to know what flaming actually is around here.
Edit(2012): I can be a complete idiot at times, sorry.
© Haydz is offline  
Old 09/10/2008, 22:14   #20
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Ehhhhh.. Tw3ak i think you went insulting the wrong person there, Haydz is a pretty **** good coder(much better than me =D) compared to most of these dumbasses like... OH I ADDED 1 THING IM GUNNA RELEASE IT TO GET THANKZ AND SO PEOPLE THINK IM START.
tao4229 is offline  
Old 09/28/2008, 00:08   #21
 
nTL3fTy's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
Quote:
Originally Posted by © Haydz View Post
No i don't use lotf... but a friend asked me too do this for him in lotf so i though i'd give it to you guys also...

So for client effects on lotf to change daytime into nighttime etc... :

Add this to your Packets.cs

Code:
        public byte[] RGBPacket(Character Char, uint Color)
        {
            byte[] Packet = new byte[24];
            fixed (byte* p = Packet)
            {
                *((ushort*)p) = (ushort)Packet.Length;
                *((ushort*)(p + 2)) = 1010;
                *(uint*)(p + 8) = Char.UID;
                *(uint*)(p + 12) = Color;
                *(uint*)(p + 22) = 104;
            }
            return Packet;
        }
Then for your command :
Code:
if (Splitter[0] == "/rgb")
{
//Usage /rgb <number> e.g. /rgbr 500 = Blue screen
SendPacket(General.MyPackets.RGBPacket(MyChar,uint.Parse(Splitter[1])));
}
If you need any help ask me.. i may check this from time to time
Ofcourse you could do this when the client logs in... change their weather... i dont know how lotf works so i couldnt give u a file and line number etc...

Thanks For Moving Oh Mighty Moderator
I was playing around a bit and redid the packet..

Code:
        public byte[] RGBPacket(Character Char, byte Red, byte Green, byte Blue)
        {
            byte[] Packet = new byte[24];
            fixed (byte* p = Packet)
            {
                *((ushort*)p) = (ushort)Packet.Length;
                *((ushort*)(p + 2)) = 1010;
                *(uint*)(p + 8) = Char.UID;
                *(byte*)(p + 12) = Blue;
                *(byte*)(p + 13) = Green;
                *(byte*)(p + 14) = Red;
                *(uint*)(p + 22) = 104;
            }
            return Packet;
        }
nTL3fTy is offline  
Old 07/13/2009, 23:10   #22
 
elite*gold: 0
Join Date: Jun 2009
Posts: 361
Received Thanks: 98
It's not that hard to do..lol and it doesn't work. Was there something I'm missing besides those codes?..
Jay1029 is offline  
Old 07/13/2009, 23:16   #23
 
danielachraf's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
Quote:
Originally Posted by Jay1029 View Post
It's not that hard to do..lol and it doesn't work. Was there something I'm missing besides those codes?..
IF it isn't hard don't bump the thread
danielachraf is offline  
Reply


Similar Threads Similar Threads
[GUIDE]Making Quest LOTF. Hey Look is Me, Yea. Good Guide,Basic, SO PRO!
12/23/2009 - CO2 PServer Guides & Releases - 13 Replies
Hello again Elite Pvpers. This is for LOTF. I want to show you how to creat your own basic quest. Lets look on the steps we are going through: 1. Making the steps for the quests 2. Making it save to database everytime go to next step 3. Making the npc's for the quest PLEASE READ EVERYTHING I HAVE WRITTEN CAUSE IS IMPORTANT IF YOU DONT WANT ERROR Well there is those 3 steps.
how to put effects on Lotf server plz help me plz plz
05/04/2009 - Conquer Online 2 - 1 Replies
how to put effects on Lotfi server plz help me plz plz effects of gems and cool I can not ask please help me



All times are GMT +2. The time now is 06:09.


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.