Private Server Info and Support Thread

10/19/2017 17:45 oleg-19952008#2986
Quote:
Originally Posted by Marina0000 View Post
Did any know how to add fullscreen mode in c# Emulator?
this add in client or web, in C# add logic not fullscreen
Короче, в эмуляторе не добавишь полноэкранное разрешение, это делается в веб части сервера, либо обновляешь клиент на 7.5.3 и там уже будет оно.
10/19/2017 21:17 Marina0000#2987
How that works? some codes?

Did any know how to fix cheatengine in private server? c#
10/22/2017 19:45 MuffinMario#2988
Quote:
Originally Posted by Marina0000 View Post
How that works? some codes?

Did any know how to fix cheatengine in private server? c#
What do you mean "fix cheatengine"?
Fix speedhacking? Do the ship flight calculations in the server instead of using the move packet information of the user?
11/05/2017 10:25 walker!#2989
Is there any good PVE server?
11/05/2017 14:08 Yaso55#2990
hi,

i have a problem can someone please help me
this : Error: Exception when sending command: Socket closed
(9.0 client)

Code:
    public synchronized void sendCommand(final ServerCommand pServerCommand) {

        if (pServerCommand == null) {
            return;
        }

        try {
            //byte array to write server command
            ByteArrayOutputStream baosData = new ByteArrayOutputStream();
            DataOutputStream osData = new DataOutputStream(baosData);
            //byte array that will be used to write on socket
            //this will contain length of ByteArrayData and then ByteArrayData
            ByteArrayOutputStream baosOut = new ByteArrayOutputStream();
            DataOutputStream osOut = new DataOutputStream(baosOut);

            //write command into osData byte array
            pServerCommand.write(osData);
            //write length of command into main byte array
            osOut.writeShort(baosData.size());
            //write command into main byte array
            baosData.writeTo(baosOut);

            OutputStream out = this.getSocket()
                                   .getOutputStream();
            //write main byte array on socket
            byte[] data = baosOut.toByteArray();
            out.write(data, 0, data.length);
            out.flush();
        } catch (IOException e) {
            Log.pt("Exception when sending command", e.getMessage());
            // Socket is possibly closed
        }

    }
11/05/2017 18:21 manulaiko3.0#2991
Quote:
Originally Posted by Yaso55 View Post
hi,

i have a problem can someone please help me
this : Error: Exception when sending command: Socket closed
(9.0 client)

Code:
    public synchronized void sendCommand(final ServerCommand pServerCommand) {

        if (pServerCommand == null) {
            return;
        }

        try {
            //byte array to write server command
            ByteArrayOutputStream baosData = new ByteArrayOutputStream();
            DataOutputStream osData = new DataOutputStream(baosData);
            //byte array that will be used to write on socket
            //this will contain length of ByteArrayData and then ByteArrayData
            ByteArrayOutputStream baosOut = new ByteArrayOutputStream();
            DataOutputStream osOut = new DataOutputStream(baosOut);

            //write command into osData byte array
            pServerCommand.write(osData);
            //write length of command into main byte array
            osOut.writeShort(baosData.size());
            //write command into main byte array
            baosData.writeTo(baosOut);

            OutputStream out = this.getSocket()
                                   .getOutputStream();
            //write main byte array on socket
            byte[] data = baosOut.toByteArray();
            out.write(data, 0, data.length);
            out.flush();
        } catch (IOException e) {
            Log.pt("Exception when sending command", e.getMessage());
            // Socket is possibly closed
        }

    }
That's not a bug, it's a feature.
11/05/2017 18:42 Yaso55#2992
Quote:
Originally Posted by manulaiko3.0 View Post
That's not a bug, it's a feature.
i dont want use sendcommand when socket is closed because this is create a some lag in-game, can you help me for that?
11/05/2017 21:52 olitis1#2993
Quote:
Originally Posted by Yaso55 View Post
i dont want use sendcommand when socket is closed because this is create a some lag in-game, can you help me for that?
This method isn't the problem of lag in-game since adding some primitive types into a byte array isn't something that takes enough time to produce lag.
11/05/2017 22:03 manulaiko3.0#2994
Quote:
Originally Posted by olitis1 View Post
This method isn't the problem of lag in-game since adding some primitive types into a byte array isn't something that takes enough time to produce lag.
It is. Maybe not the array add, but the TCP communication.
11/06/2017 11:37 Yaso55#2995
Quote:
Originally Posted by manulaiko3.0 View Post
It is. Maybe not the array add, but the TCP communication.

what do you suggest me do to avoid this problem?
11/06/2017 16:34 Marina0000#2996
I don't know why the minimap don't works, I have added this on map
Code:
<minimap typeID="91"/>
But it's not working, what do I wrong?
11/07/2017 16:12 Fastext#2997
hi guys i have an question for all of you first, i can connect my server but the other guys cant can you tell me where the problem is or anyone has an idea share with me pls ty
11/07/2017 18:31 Freshek#2998
Quote:
Originally Posted by Fastext View Post
hi guys i have an question for all of you first, i can connect my server but the other guys cant can you tell me where the problem is or anyone has an idea share with me pls ty
Get a public IP.
11/07/2017 18:38 Fastext#2999
Quote:
Originally Posted by Freshek View Post
Get a public IP.
i already have , even i have an domain too i was told you i have vps
11/07/2017 20:34 Moonsteroid#3000
^did you opened the ports in your firewall?