Ask yourself this before you start trying to make a server.

10/21/2008 19:59 randomnoob#16
hybrids sexai.
~discusion ended.
10/22/2008 15:14 Korvacs#17
XxArcherMasterxX: Youve never written your own source....enough said
10/22/2008 21:36 Ultimatum#18
Nice thread =O, Hybrids a good teacher when it comes to coding xD. Also hes one of the four. Q, Hybrid/Inf, Stu and Korvacs. Think thats the top four, someone can clarify it xD.
10/22/2008 22:21 © Haydz#19
Quote:
Originally Posted by Ultimatum View Post
Nice thread =O, Hybrids a good teacher when it comes to coding xD. Also hes one of the four. Q, Hybrid/Inf, Stu and Korvacs. Think thats the top four, someone can clarify it xD.
i would agree to that, jack's 1337 :p
10/24/2008 01:30 XxArcherMasterxX#20
Quote:
Originally Posted by Korvacs View Post
XxArcherMasterxX: Youve never written your own source....enough said
thats true but why are you talling that?
10/24/2008 01:31 tao4229#21
Quote:
Originally Posted by XxArcherMasterxX View Post
thats true but why are you talling that?
You only know how pr0 Hybrid really is, 1) when you're good enough to write your own source; 2) When you've seen his serious stuff.
10/24/2008 01:35 XxArcherMasterxX#22
Quote:
Originally Posted by tao4229 View Post
You only know how pr0 Hybrid really is, 1) when you're good enough to write your own source; 2) When you've seen his serious stuff.
sorry never saw his codes or that stuff but i know hes good

lol he was the owner of hybridco of course hes good:p!
10/24/2008 01:37 InfamousNoone#23
Quote:
Originally Posted by tao4229 View Post
You only know how pr0 Hybrid really is, 1) when you're good enough to write your own source; 2) When you've seen his serious stuff.
Me actually finding a good use of C#'s stack-alloc

Code:
        public static void WithdrawWarehouseItem(GameClient Client, byte* Ptr)
        {
            if (Client.Inventory.Count < 40)
            {
                uint UID = *((uint*)(Ptr + 12));
                byte itemsLength = Warehouse.ItemCount(Client.ActiveNpc, Client.Username);
                WarehouseItem* items = stackalloc WarehouseItem[itemsLength];
                Warehouse.Items(Client.ActiveNpc, Client.Username, items, itemsLength);

                for (byte i = 0; i < itemsLength; i++)
                {
                    if (items[i].UID == UID)
                    {
                        ConquerItem real;
                        items[i].ToItem(out real);
                        Client.Inventory.Add(&real);

                        WarehouseItem* NewBuffer = stackalloc WarehouseItem[itemsLength - 1];
                        Native.memcpy(NewBuffer, items, (i * sizeof(WarehouseItem)));
                        Native.memcpy(NewBuffer + i, items + i + 1, ((itemsLength - i - 1) * sizeof(WarehouseItem)));
                        Warehouse.UpdateItems(Client.ActiveNpc, Client.Username, NewBuffer, (uint)(itemsLength - 1));

                        GetWarehouseItems(Client);

                        break;
                    }
                }
            }
            else
            {
                Client.Send(new MessagePacket("Your inventory is full.", 0x00FF0000, ChatType.TopLeft));
            }
        }
11/05/2008 20:39 KraHen#24
What is stack-alloc anyways? (It`s 4 am if that saves me from flaming xD)
11/05/2008 20:44 InfamousNoone#25
Allocates a block of memory on the stack rather than the heap, great for making temporary buffers.
11/05/2008 20:53 KraHen#26
Thanks for that :D Although I had to google those expressions, that proves that I can learn something new even at this time lol
11/14/2008 06:33 kinshi88#27
I've noticed many are not following this guide, maybe they can't understand it?
Here, its translated so those not understanding it can understand:

Quote:
Can I speak English radeh webuhll 'n fluently, duh...uh...?
- Most programmigg is done in English 'n most IDE's use English words such as "pribate", "public", "static", "boid", "int(egeh)", "strigg" 'n do not support ucode charackehs.

Am I good at mad, duh...uh...?
- Cratigg a sehbeh rekires you t' come up wid sebehal madematical, f' instass doigg attack calculashuns, duuhhhh, m-attack calculashuns, duuhhhh, doje, uh uh uh, accuracy, 'n so on.

More specific kesshuns f' codigg a sehbeh in C#

Do I know what de basic types f' C# are, uh uh uh, 'n when/errrr, why t' use dem, duh...uh...? Do I undehstand de basic essenshuls of C#
[Only registered and activated users can see links. Click Here To Register...]

Do I know duh, how t' use de (Syssem.Net.Sockets.)Socket class, duh...uh...?
- Dis is bital in makigg a sehbeh-socket f' odeh TCP basid clients t' conneck to.
[Only registered and activated users can see links. Click Here To Register...]

Do I know what a dread is 'n how t' crate/abort one, duh...uh...? Do I know when t' use dem, 'n what t' use dem f', duh...uh...?
- Multi-dreadigg your sehbeh is behy crucial, or else de main dread will be extreme laggid up.
[Only registered and activated users can see links. Click Here To Register...]

Do I undehstand dread-safe programmigg, duh...uh...?
- Alot of peoble don't undehstand dis, duuhhhh, dis is often de reason errrr, why client's close, uh uh uh, cuz the, ERRRR, sehbeh or applicashun is not dread-safe 'n a packet becomes corrupted.
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

Be honest t' yourself, uh uh uh uh uh, 'n if you answebuhrid no t' any of dese; you real shudd go find out what dey are. Knowigg dese diggs are bital in makigg an efficient sehbeh, dgust dgumpigg in doesn't kite cut it, uh, you usual dgust end up askigg f' help 'n usual annoyigg peoble. Duh.A crucial rule I'be allays libid by is nebeh ask f' help, unless you honestly neid it. I usual try at de progglem f' a few days bef'e I gibe up..
http://rinkworks.com/dialect/
11/14/2008 13:51 KraHen#28
Lol, I guess a new language is coming
11/14/2008 13:53 taguro#29
Quote:
Originally Posted by ElDeRnEcRo View Post
Lol, I guess a new language is coming
Yup, its called nubese, the language of the nubians.
11/14/2008 22:12 tao4229#30
Quote:
Originally Posted by taguro View Post
Yup, its called nubese, the language of the nubians.
lmao Nubian civilization(in ancient Egypt, seriously :D).