I need some ideas about an event replaces gw till i find the bug and fix it.
Anything guys =].
Anything guys =].
Ikr, I'm searching for anything for replacement till i give it more time.Quote:
Actually there is nothing can replace the GW cuz its most Adored Event but i would say make Capture The Flag event its Too Fun too but CTF would cause the same bug cuz it needs updating the Flags or even making poles ..i thought about Making Qualififer Bet Guild leaders and choosing will be randomly Till becomes at last 2 GLS Qualfied then the winner get the Halo and CPs or w.e u want
well my idea was bad i guess as there wont be any use or help from the Guild members So ....what i mean try to improvise Good events But as i said there is nothing that can replace the GW eventQuote:
Ikr, I'm searching for anything for replacement till i give it more time.
That event you're thinking of needs a server like trinity, needs huge guilds.
int len = 32 + 8;
if (Name != "NONE")
len += Name.Length;
var buffer = new byte[len];
fixed (byte* ptr = buffer)
{
PacketBuilder.AppendHeader(ptr, buffer.Length, 1109);
*((uint*)(ptr + 4)) = 6700;
*((uint*)(ptr + 12)) = MaxHealth;
*((uint*)(ptr + 16)) = Health;
*((ushort*)(ptr + 20)) = X;
*((ushort*)(ptr + 22)) = Y;
*((ushort*)(ptr + 24)) = Mesh;
*((ushort*)(ptr + 26)) = Flag;
*((ushort*)(ptr + 28)) = Type; //17
if (Name != "NONE")
{
*((byte*)(ptr + 30)) = 1;
Packets.WriteString(Name, 32, buffer);
*((byte*)(ptr + 31)) = (byte)Name.Length;
}
}
Dude I want to kiss you, thanks i didn't config gw with the database. ty <3 now It's workingQuote:
y dont u check Guild war system in the public sources i learned alot and dont forget to check how it goes in database too
Solved, thanks anyway :]Quote:
guild pole name ???
it's sob npc, u can sob spawn packet @ final round end.
i got it from albetros source.Code:int len = 32 + 8; if (Name != "NONE") len += Name.Length; var buffer = new byte[len]; fixed (byte* ptr = buffer) { PacketBuilder.AppendHeader(ptr, buffer.Length, 1109); *((uint*)(ptr + 4)) = 6700; *((uint*)(ptr + 12)) = MaxHealth; *((uint*)(ptr + 16)) = Health; *((ushort*)(ptr + 20)) = X; *((ushort*)(ptr + 22)) = Y; *((ushort*)(ptr + 24)) = Mesh; *((ushort*)(ptr + 26)) = Flag; *((ushort*)(ptr + 28)) = Type; //17 if (Name != "NONE") { *((byte*)(ptr + 30)) = 1; Packets.WriteString(Name, 32, buffer); *((byte*)(ptr + 31)) = (byte)Name.Length; } }
Fixing bugs is on my hands, i just didn't notice about pole in the database.. a little mistake anyone may fall into.Quote:
For future reference though...
If you can't fix a bug in an existing event then there's little>no chance that you can code an entirely custom event without creating your own slew of new bugs to fix.
Learn to fix bugs before attempting to code entire systems yourself.