![]() |
![]() ![]() |
![]() |
CheesyPeteza |
![]()
Post
#1
|
Member ![]() ![]() Group: Members Posts: 10 Joined: 29-December 03 Member No.: 155 ![]() |
I'm trying to write a plugin that uses SetOrder and I really need one of the bots to go comm. Even better if they can give me a waypoint.
But they refuse to get in the command console. ![]() I have set commanding to 1 in bot_config.ini. Can anyone help me with this? This in Natural-Selection 3 beta 2 with rcbot 1.3. |
Cheeseh |
![]()
Post
#2
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
They dont even attempt to use it because they cant do anything anyway, what would be the point.
the setorder is buggy as well, the orders stay even after you've done them, there must be a better way of doing them. |
Depot |
![]()
Post
#3
|
![]() Member ![]() ![]() Group: Members Posts: 49 Joined: 15-October 03 Member No.: 91 ![]() |
If you'll search through these forums a bit, you'll see where the bot's ability to comm was disabled a couple of versions ago, as teh dev has been unable to get the necessary info from Flayra and krew to do it.
![]() |
CheesyPeteza |
![]()
Post
#4
|
Member ![]() ![]() Group: Members Posts: 10 Joined: 29-December 03 Member No.: 155 ![]() |
OK thanks for your help.
I've noticed that to remove an order you resend the same SetOrder message made to make the waypoint, but change the last byte to 1. Well thats my untested theory anyway just from looking at the messages ns sends out. |
Cheeseh |
![]()
Post
#5
|
||
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
heres old code from old rcbot when they used comm when sending orders, this might help.
|
||
CheesyPeteza |
![]()
Post
#6
|
Member ![]() ![]() Group: Members Posts: 10 Joined: 29-December 03 Member No.: 155 ![]() |
That seems to be pretty much the way I figured it out too, although I hadn't considered that you could leave out the origin or target type.
I have my plugin working now anyway. ![]() BTW there is a group of us trying to detail every NS message. If you have any additions they would be welcome. The list is here. Any additions you have can be posted here. |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 22nd July 2025 - 05:05 PM |