Replacement

03/31/2012 10:56 ×Holo#1
I need some ideas about an event replaces gw till i find the bug and fix it.

Anything guys =].
03/31/2012 10:59 Spirited#2
Why not just fix it and be done with it? :awesome:
What's the bug?
03/31/2012 11:05 ×Holo#3
Pole don't get updated, since i checked on everything that may cause that error; i don't know wth.
03/31/2012 11:09 shadowman123#4
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
03/31/2012 11:11 ×Holo#5
Quote:
Originally Posted by shadowman123 View Post
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
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.
03/31/2012 11:14 shadowman123#6
Quote:
Originally Posted by ×Holo View Post
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.
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 event
03/31/2012 12:10 ×Holo#7
Okay.. What I need to do to make the pole working perfectly?

gimme steps maybe i missed one.
03/31/2012 12:27 shadowman123#8
Quote:
Originally Posted by ×Holo View Post
Okay.. What I need to do to make the pole working perfectly?

gimme steps maybe i missed one.
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
03/31/2012 13:40 dego4ever#9
guild pole name ???
it's sob npc, u can sob spawn packet @ final round end.

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;
                }
            }
i got it from albetros source.
03/31/2012 14:28 ×Holo#10
Quote:
Originally Posted by shadowman123 View Post
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
Dude I want to kiss you, thanks i didn't config gw with the database. ty <3 now It's working

Quote:
Originally Posted by dego4ever View Post
guild pole name ???
it's sob npc, u can sob spawn packet @ final round end.

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;
                }
            }
i got it from albetros source.
Solved, thanks anyway :]
03/31/2012 14:40 shadowman123#11
You Welcome XHolo :D
03/31/2012 19:00 pro4never#12
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.
04/01/2012 09:24 ×Holo#13
Quote:
Originally Posted by pro4never View Post
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.
Fixing bugs is on my hands, i just didn't notice about pole in the database.. a little mistake anyone may fall into.

The real problem that you noticed a bug and left without fixing it ;]