Welcome to RaGEZONE - MMORPG Development Forums (sponsored by tfn.gr) Mark forums read | View Forum Leaders
RaGEZONE - MMORPG Development Forums (sponsored by tfn.gr)

Conquer Releases Discuss, CO Weather at Conquer Online forum; This is not mine I got it from elite pvpers , just thought it may be usefull for some people ...




Reply
Thread Tools
Release CO Weather
 
 
RaGEZONER

Rank: Omicron


Reply With Quote
 
Join Date: Dec 2007
Posts: 79
09-28-2008, 03:28 PM
 
This is not mine I got it from elite pvpers , just thought it may be usefull for some people here :




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])));
}




Thats it then to go back to normal : /rbg 0
 
 
permalink
 

RaGEZONE is proudly sponsored by
 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Aug 2008
Posts: 35
10-04-2008, 07:42 PM
 
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;
}

Last edited by /dev/Null; 10-09-2008 at 08:36 PM.
 
 
permalink
 

 
RaGEZONER

Rank: Omicron


Reply With Quote
 
Join Date: Aug 2008
Posts: 87
10-24-2008, 06:37 PM
 
sucks.
 
 
permalink
 


 
Banned

Status: Banned


Reply With Quote
 
Join Date: Oct 2008
Posts: 9
11-01-2008, 12:22 AM
 
Quote: Originally Posted by Basjee View Post
sucks.
Je kale kanker moeder ook.
 
 
permalink
 

Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +1. The time now is 11:56 PM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RaGEZONE © 2001 - 2008





 
Evade Blackbelt School