Re: [Development]Gunz GameServer
Quote:
Originally Posted by
ThreeSix
good job :]
found some little things you can do better
0xff + 1 always == 0x00
so you dont need the if statement there
using pointers you can get the stuck bytes directly from the memory it will make things faster :]
also you can get the types like int,short,float and etc with pointers too, will be faster then using BitConverter
like this
return *((short*)(raw + pos - 2));
will return short from packet pointer
also
public bool Read(ref long pLong)
the mSize should be increaced by 8 and not 4 like
mSize += 8;
cause long is 8 bytes :]
use short,int,uint and etc instand of Int16,Int32 UInt32 and etc classes
Short = alias of Int16, etc.
I've never used pointers in C# either x=
Re: [Development]Gunz GameServer
i know, i have readed somewhere thats better to use short insatnd of Int16, but i guess its nvm
well you should try use pointers it will make your code run faster :]
Re: [Development]Gunz GameServer
Quote:
Originally Posted by
ThreeSix
i know, i have readed somewhere thats better to use short insatnd of Int16, but i guess its nvm
well you should try use pointers it will make your code run faster :]
Then it also becomes unmanaged code :(
Re: [Development]Gunz GameServer
hmm... Mind posting the release in a rar? I just wasted my time downloading everything and it didn't work..
Re: [Development]Gunz GameServer
Quote:
Originally Posted by
XZeenon
hmm... Mind posting the release in a rar? I just wasted my time downloading everything and it didn't work..
Use one of the parts of your brain to make this work. Don't expect a 15-page readme for the every-day newb.
Re: [Development]Gunz GameServer
Quote:
Originally Posted by
CobraCom
Use one of the parts of your brain to make this work. Don't expect a 15-page readme for the every-day newb.
Huh? The Project files is what i'm talking about. It's missing a file. I don't need a "Readme". I didn't ask for a tutorial. Now you use a part of your brain. I asked for the upload in one single archive. Sheesh... TBH, people keep being (blank) and make you look like an (blank) when it actually makes them look like an (blank). Figure it out lol.
Re: [Development]Gunz GameServer
Quote:
Originally Posted by
XZeenon
Huh? The Project files is what i'm talking about. It's missing a file. I don't need a "Readme". I didn't ask for a tutorial. Now you use a part of your brain. I asked for the upload in one single archive. Sheesh... TBH, people keep being (blank) and make you look like an (blank) when it actually makes them look like an (blank). Figure it out lol.
Are the blanks all the same language. Or 3 different failure-languages?
Re: [Development]Gunz GameServer
XZeenon you should just setup the SVN to have lastest source.
Re: [Development]Gunz GameServer
ThePhailure772 watch over your SQLDataReaders you are not closing all of them
after Int16.MaxValue open connections it will throw exception
Re: [Development]Gunz GameServer
Good Job, Very well coded.
Re: [Development]Gunz GameServer
Quote:
Originally Posted by
XZeenon
hmm... Mind posting the release in a rar? I just wasted my time downloading everything and it didn't work..
He's not fucking supposed to do all the work for you, is he?
YOU Download C#.
YOU Download the SVN repository.
YOU Compile the Emulator.
Re: [Development]Gunz GameServer
Quote:
Originally Posted by
[S]pirit
He's not fucking supposed to do all the work for you, is he?
YOU Download C#.
YOU Download the SVN repository.
YOU Compile the Emulator.
LOL. Are you stupid? I asked for all the files in one archive. I'm not asking for him to do work for me. Just want the project files in ONE ARCHIVE. I have C#. If you had proper conprehension you'd understand a simple request. I'm just asking for a One-Link download, for the project.
Re: [Development]Gunz GameServer
And he gave you the best solution, because once it's setup (wich isn't hard in any way) the source keeps getting updated.
Re: [Development]Gunz GameServer
Quote:
Originally Posted by
XZeenon
LOL. Are you stupid? I asked for all the files in one archive. I'm not asking for him to do work for me. Just want the project files in ONE ARCHIVE. I have C#. If you had proper conprehension you'd understand a simple request. I'm just asking for a One-Link download, for the project.
I think PaulBub just answered properly. What's the difference between Archiving it in a RAR, or using Subversion? Jeez, the kids here.