|
You last visited: Today at 15:48
Advertisement
PURIFICATION HELP ME
Discussion on PURIFICATION HELP ME within the CO2 Private Server forum part of the Conquer Online 2 category.
11/10/2014, 09:58
|
#1
|
elite*gold: 0
Join Date: Oct 2007
Posts: 50
Received Thanks: 0
|
PURIFICATION HELP ME
sorry for many threads but i got new problem i trying to reperair it but dont work.. my purification dont work look my purification.cs
Quote:
using System;
namespace Conquer_Online_Server.Network.GamePackets {
public class Purification : Writer, Interfaces.IPacket {
public const byte
Purify1 = 1,
Purify = 0,
Stabilaze = 2;
byte[] Buffer;
public Purification(bool Create) {
if (Create) {
Buffer = null;
}
}
public byte Mode {
get { return Buffer[4]; }
set { Buffer[4] = value; }
}
public uint ItemUID {
get { return BitConverter.ToUInt32(Buffer, 8); }
set { WriteUInt32(value, 8, Buffer); }
}
public uint AddUID {
get { return BitConverter.ToUInt32(Buffer, 12); }
set { WriteUInt32(value, 12, Buffer); }
}
public void Send(Client.GameState client) {
client.Send(Buffer);
}
public byte[] ToArray() {
return Buffer;
}
public void Deserialize(byte[] buffer) {
Buffer = buffer;
}
}
}
|
Packethandler.cs
Quote:
#region PurifyItem (2076)
case 2076:
{
Purification ps = new Purification(false);
ps.Deserialize(packet);
switch (ps.Mode)
{
case Purification.Purify:
PurifyItem(ps, client); break;
case Purification.Purify1:
new Game.Features.Refinery.Handle(packet, client);
break;
}
break;
}
#endregion PurifyItem (2076)
|
PurificationItem.cs
Quote:
using System;
namespace Conquer_Online_Server.Network.GamePackets {
public class PurificationItem : Writer {
byte[] buffer;
public byte[] ToArry() { return buffer; }
public PurificationItem() {
buffer = new byte[44];
WriteUInt16(36, 0, buffer);
WriteUInt16(2077, 2, buffer);
}
public byte tip {
get { return buffer[12]; }
set { buffer[12] = value; }
}
public uint Position {
get { return BitConverter.ToUInt32(buffer, 4); }
set { WriteUInt32(value, 4, buffer); }
}
public uint UID {
get { return BitConverter.ToUInt32(buffer, 8); }
set { WriteUInt32(value, 8, buffer); }
}
public uint ID_Purification_Item {
get { return BitConverter.ToUInt32(buffer, 16); }
set { WriteUInt32(value, 16, buffer); }
}
public uint Level {
get { return BitConverter.ToUInt32(buffer, 20); }
set { WriteUInt32(value, 20, buffer); }
}
public uint Time {
get { return BitConverter.ToUInt32(buffer, 28); }
set { WriteUInt32(value, 28, buffer); }
}
}
}
|
whats wrong with it ? i think all good
Fixed It Close please
|
|
|
11/10/2014, 21:44
|
#2
|
elite*gold: 0
Join Date: Jul 2009
Posts: 908
Received Thanks: 390
|
Do you actually have something that works on your server?
Looks like you created hundred threads
|
|
|
|
Similar Threads
|
vSRO Fix Purification Pill Bug
12/18/2015 - SRO PServer Guides & Releases - 6 Replies
Today i'll Release query to fix purification pill bug lets start.
|
Purification Pill
07/10/2013 - SRO Private Server - 5 Replies
hello
Purification Pill 20 sec. > 15 sec. change how can ?
|
Bug # 668 - Purification Pill bug -
02/13/2012 - Silkroad Online - 4 Replies
YouTube - Bugroad Bug N 668
Note :
is no a random number , all info u can find in Bug database
the bugs fixed continue in database , the number is the order when find the bug
The video bugs are approved by Joymax , approved ? how? Joymax acept investigate it with the video and instructions sended on Contact Support/Bug report
Joymax dont investigate the bug when think no exist problem
|
Purification coding for refinery
03/18/2011 - CO2 Private Server - 8 Replies
i have proplem in appling purification i have coded but didnt work
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Hellmouth
{
public partial class Handler
{
|
Coding Purification
03/10/2011 - CO2 Private Server - 3 Replies
Well, I'm in a doubt how to code the artifacts.
First of all, I Don't know If It's coded in p4n's source or anyone else's and I'm not going to take example from there since I've no idea how purification works and I wanna do it by myself, by my way
The Questions are, How is the system going? What it does to the item , what new function the items have, what type of packet purification uses?
Thanks in advance,
Stefan
|
All times are GMT +2. The time now is 15:48.
|
|