Page MenuHomeSchine - Phabricator

Starmade | StarNet not working
Closed, RejectedPublic

Description

When I try to send a command via StarNet (without GUI), he return an error in all case:

RETURN: [SERVER, END; ERROR: command not regognize (use /chat to broadcast), 0]

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
none/unspecified
Reproducible
Yes
Category
none/unspecified
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
User/Reporter/Contact
Username on Registry
Nalem
Username/Profile on Steam
Nalems
Steps to reproduce

I have test all that cases:

On WINDOWS

bucth@Thommy MINGW64 /c/wamp64/www/asguard/resources (master)
$ java -jar StarNet.jar "play.asguard-serv.com:27050" "myPassword" "server_message_broadcast plain test"
RETURN: [SERVER, END; ERROR: command not regognize (use /chat to broadcast), 0]
bucth@Thommy MINGW64 /c/wamp64/www/asguard/resources (master)
$ java -jar StarNet.jar
usage: <host:port> <password> <commandParam> <commandParam> ...
bucth@Thommy MINGW64 /c/wamp64/www/asguard/resources (master)
$ java -jar StarNet.jar "play.asguard-serv.com:27050" "myPassword" "server_message_broadcast" "plain" "test"
RETURN: [SERVER, END; ERROR: command not regognize (use /chat to broadcast), 0]
bucth@Thommy MINGW64 /c/wamp64/www/asguard/resources (master)
$ java -jar StarNet.jar "play.asguard-serv.com:27050" "myPassword" "/server_message_broadcast plain test"
RETURN: [SERVER, END; ERROR: command not regognize (use /chat to broadcast), 0]
bucth@Thommy MINGW64 /c/wamp64/www/asguard/resources (master)
$ java -jar StarNet.jar "play.asguard-serv.com:27050" "myPassword" "/server_message_broadcast" "plain" "test"
RETURN: [SERVER, END; ERROR: command not regognize (use /chat to broadcast), 0] (edited)

On LINUX

orion@locky:/var/www/html/asguard/www/resources$ java -jar StarNet.jar play.asguard-serv.com:27050 myPassword /server_message_broadcast plain test test test
RETURN: [SERVER, Admin command failed: Error packing parameters, 0]
RETURN: [SERVER, END; Admin command execution ended, 0]
orion@locky:/var/www/html/asguard/www/resources$ java -jar StarNet.jar "play.asguard-serv.com:27050" "myPassword" "/server_message_broadcast plain test test test"
RETURN: [SERVER, Admin command failed: Error packing parameters, 0]
RETURN: [SERVER, END; Admin command execution ended, 0]
orion@locky:/var/www/html/asguard/www/resources$ java -jar StarNet.jar "play.asguard-serv.com:27050" "myPassword" "/server_message_broadcast plain test"
RETURN: [SERVER, END; Admin command execution ended, 0]

On linux, it's okay with only one paramCmd.

With and without " "

Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>
Java Version (32bit)

On WINDOWS:

bucth@Thommy MINGW64 /c/wamp64/www/asguard/resources (master)
$ java -d32 -version
Error: This Java instance does not support a 32-bit JVM.
Please install the desired version.

On LINUX

orion@locky:/var/www/html/asguard/www/resources$ java -d32 -version
Error: This Java instance does not support a 32-bit JVM.
Please install the desired version.

Java Version (64bit)

On WINDOW

bucth@Thommy MINGW64 /c/wamp64/www/asguard/resources (master)
$ java -d64 -version
java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)

On LINUX

orion@locky:/var/www/html/asguard/www/resources$ java -d64 -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-2~bpo8+1-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)

Event Timeline

nalem created this task.Dec 23 2016, 11:39 AM
AndyP shifted this object from the S1 Public space to the S3 Starmade space.May 5 2017, 11:38 AM
AndyP changed the visibility from "Custom Policy" to "Public (No Login Required)".
AndyP changed the edit policy from "Task Author" to "Starmade (Project)".
AndyP claimed this task.
AndyP triaged this task as Normal priority.
AndyP changed the task status from Open to Feedback.May 5 2017, 11:40 AM

Checked the behaviour and could not see a problem, possibly a slight oversight?

executed:

java -jar StarNet.jar play.star-made.org:4242 mypassword "/server_message_broadcast plain \"test 123sldkfjldskj\""

and it worked properly.
Looks like you may have missed the / before server_message_broadcast to work.
Its also sometimes a bit tricky to get the right 'escape sequence' to compress the text in one argument.

So, I assume this is fixed already, right?

Restricted Application added a project: Waiting on Author. · View Herald TranscriptMay 5 2017, 11:40 AM
nalem added a comment.May 5 2017, 11:52 AM

Yes, with double quote (" ") only for the "command" param, and the escape sequence :)
Thanks and Sorry for forgetting to report it.

Restricted Application edited projects, added Customer responded; removed Waiting on Author. · View Herald TranscriptMay 5 2017, 11:52 AM
Restricted Application changed the task status from Feedback to Open. · View Herald Transcript
lancake closed this task as Rejected.

Great, if it's fixed already then this can be closed

AndyP moved this task from Unclassed to Archived on the Starmade board.Jul 20 2017, 10:46 PM