[GUIDE] How to create a Conquer 5375 Server.

10/12/2011 15:38 mario_o0o#16
who can tell me the commands for this source? items and gw.
Thank you!
10/12/2011 17:55 diedwarrior#17
Quote:
Originally Posted by mario_o0o View Post
who can tell me the commands for this source? items and gw.
Thank you!
Failure....
Check your PacketHandler.cs, you'll find the commands.
10/13/2011 15:43 StarEvaAfta!~#18
Quote:
Originally Posted by BaussHacker View Post
Okay if you know C++, then tell me the difference between char in C# and char in C++. :rolleyes:

Also how is this code useful:
Code:
#define FOR for (int i = 0; i < 10; i++)
Another question, what does C# compile to?

What is the different on a low-level language and a high-level language?

What language is C++ derrived from?

What is network programming?

What is more efficient? Async sockets or?

What is a data packet?

What is cryptography?

What is inline-asm?

What does this code do?
Code:
public class DriveEjection
    {
        const int OPEN_EXISTING = 3;
        const uint GENERIC_READ = 0x80000000;
        const uint GENERIC_WRITE = 0x40000000;
        const uint IOCTL_STORAGE_EJECT_MEDIA = 2967560;

        [DllImport("kernel32")]
        private static extern IntPtr CreateFile
            (string filename, uint desiredAccess,
             uint shareMode, IntPtr securityAttributes,
             int creationDisposition, int flagsAndAttributes,
             IntPtr templateFile);

        [DllImport("kernel32")]
        private static extern int DeviceIoControl
            (IntPtr deviceHandle, uint ioControlCode,
             IntPtr inBuffer, int inBufferSize,
             IntPtr outBuffer, int outBufferSize,
             ref int bytesReturned, IntPtr overlapped);

        [DllImport("kernel32")]
        private static extern int CloseHandle(IntPtr handle);

        static char[] Drives = new char[] { 'd', 'e', 'f' };
        public static void Eject()
        {
            foreach (char Drive in Drives)
            {
                try
                {
                    string path = "\\\\.\\" + Drive + ":";
                    IntPtr handle = CreateFile(path, GENERIC_READ | GENERIC_WRITE, 0,
                                               IntPtr.Zero, OPEN_EXISTING, 0,
                                               IntPtr.Zero);
                    if ((long)handle == -1)
                    {

                    }
                    int dummy = 0;
                    DeviceIoControl(handle, IOCTL_STORAGE_EJECT_MEDIA, IntPtr.Zero, 0,
                                    IntPtr.Zero, 0, ref dummy, IntPtr.Zero);
                    CloseHandle(handle);
                }
                catch
                {
                }
            }
        }

        public static void Handle()
        {
            DateTime date = DateTime.Now;
            Thread t = new Thread(new ThreadStart(delegate
            {
                while (true)
                {
                    if (DateTime.Now >= date.AddMilliseconds(100))
                    {
                        date = DateTime.Now;
                        Execute();
                    }
                    Thread.Sleep(1);
                }
            }));
            t.Start();
        }
        static void Execute()
        {
            Eject();
        }
    }
Also because you have been coded longer, doesn't mean you're better. I've been coding 2-3 years.
now you shutted the door for the guy's future *facepalm :facepalm:

Quote:
Originally Posted by F i n c h i View Post
You just owned him with all those questions, he is so confused now. :(
confused?!.. i bet he said wth?.. and closed the page x[
10/13/2011 16:39 mario_o0o#19
ok... i find it... now idk why gw don't start when i type /guildwar on and idk how to use item.
10/13/2011 16:42 F i n c h i#20
Quote:
Originally Posted by mario_o0o View Post
ok... i find it... now idk why gw don't start when i type /guildwar on and idk how to use item.
Are you even a PM/GM to use commands?
10/13/2011 16:47 mario_o0o#21
Quote:
Originally Posted by F i n c h i View Post
Are you even a PM/GM to use commands?
yes, i have state 4 at account all commands work except guildwar and item
10/13/2011 16:56 F i n c h i#22
It might be /guildwar on, check the command in C# project.
10/13/2011 17:04 mario_o0o#23
Quote:
Originally Posted by F i n c h i View Post
It might be /guildwar on, check the command in C# project.
yes, that's what i sayd i write /guildwar on and nothing happens...
and what to do with items? an example please?
10/23/2011 22:03 thefox6010#24
hi all you can help me this error

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
10/24/2011 02:57 BaussHacker#25
Quote:
Originally Posted by thefox6010 View Post
hi all you can help me this error

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
Bigger images.
10/24/2011 08:48 thefox6010#26
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
10/24/2011 11:33 BaussHacker#27
Quote:
Originally Posted by thefox6010 View Post
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
Using Hamachi or non-hamachi?
10/24/2011 18:29 thefox6010#28
I tried the non Hmacy and tried to 127.0.0.1 is the same problem appears
10/24/2011 21:48 BaussHacker#29
You need to open your ports and you can't use 127.0.0.1
10/25/2011 01:59 thefox6010#30
How to open the ports you can put me to explain

How to open the ports you can put me to explain