Author |
Message |
WarFan Seasoned Helper

Age:53 Gender: Joined: Aug 08 2003 Posts: 141 Location: Clinton, Iowa Offline
|
Posted: Wed Feb 04, 2004 5:17 pm Post subject: Ufo |
 |
|
|
|
Im wanting the bot to UFO when it comes out of spec and perform its operations.
Tried: tell(makeSelfUFO());
without any luck. Can someone post the correct code _________________ SSI Super Fortress |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Wed Feb 04, 2004 8:54 pm Post subject: |
 |
|
|
|
Have the bot send *ufo as a command. The server will then send out the "Person X is a UFO" packet to everyone, including you. Your bot core should then record that you are a ufo, so you don't un-ufo again with another command.
Just remember to enable cloaking as you move around. Stealth is already set via the server for you, but cloaking isn't. |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Wed Feb 04, 2004 9:10 pm Post subject: |
 |
|
|
|
...I thought when you're *ufo'ed you can't be seen regardless of whether or not stealth/cloak are on
...? |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Thu Feb 05, 2004 2:28 am Post subject: |
 |
|
|
|
me->ufo=true; //i believe this works
i believe you can turn on stealth/cloak this way too if they arent already turned on. |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Thu Feb 05, 2004 3:11 am Post subject: |
 |
|
|
|
A UFO can uncloak, but cannot unstealth. Also, the server does (or did) block the ufo toggle bit until you do *ufo.
In the good old days, back in the VIE zones, UFO was designed to not be seen, unless chosen to be. It had permanent stealth, which X could not detect. The username of the pilot was never shown, cloaked or uncloaked. You were unable to spec on his name, even if he was uncloaked (an old method for how to figure out which name was Jeff at the time, hehe). While he is cloaked, X cannot see him. Cloak does not auto-turn off for any reason, unless you manually turn it off via the correct hotkeys. So you could shoot without being seen.
Also, the UFO was the Shark ship, which used to not be accessible by any means other than *ufo. While you were a UFO, all damage was reduced to 0, no matter what. So a UFO could never die, while a *super player could.
Now, as anyone with a zone can use it, the UFO has lost its special feel. Was much more fun back in the VIE days, or the rare times I ran my VIE subgame I stole (go *getfile !) from Sheep Cloning zone. I still have it somewhere... |
|
Back to top |
|
 |
WarFan Seasoned Helper

Age:53 Gender: Joined: Aug 08 2003 Posts: 141 Location: Clinton, Iowa Offline
|
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Fri Feb 13, 2004 7:49 am Post subject: |
 |
|
|
|
Have you tried making the countdown bigger? |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
|
Back to top |
|
 |
WarFan Seasoned Helper

Age:53 Gender: Joined: Aug 08 2003 Posts: 141 Location: Clinton, Iowa Offline
|
Posted: Fri Feb 13, 2004 2:02 pm Post subject: |
 |
|
|
|
I added your code and got an error with your
error C2065: 'InGame' : undeclared identifier
Seems to work fairly well without that line though |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
|
Back to top |
|
 |
WarFan Seasoned Helper

Age:53 Gender: Joined: Aug 08 2003 Posts: 141 Location: Clinton, Iowa Offline
|
Posted: Fri Feb 13, 2004 6:27 pm Post subject: |
 |
|
|
|
Quote: | And screw the countdown. |
How will the bot stay in the arena long enough for the burst to fly around without a countdown?
And dont bots always have super or something? Shouldnt that give it all weapons? just wondering since you cant kill a bot. |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Sat Feb 14, 2004 12:09 am Post subject: |
 |
|
|
|
delete the InGame=false; , I was thinking of something else and forgot to delete it. Bots dont have weapons. They just send a packet to the server that tells the server that they just set off a burst. The server trusts the client to tell it the truth |
|
Back to top |
|
 |
WarFan Seasoned Helper

Age:53 Gender: Joined: Aug 08 2003 Posts: 141 Location: Clinton, Iowa Offline
|
Posted: Sat Feb 14, 2004 1:36 am Post subject: |
 |
|
|
|
Cool. Everyhting seems to be working perfect now except the ufo part. Soon as I uncomment that, it does ufo but then fails to do the burst . *shrugs* But I can live with it. |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sat Feb 14, 2004 10:12 am Post subject: |
 |
|
|
|
Oh yeah, I forgot the server doesn't know what items you have.
With my example, I was saying that that code would replace the countdown. |
|
Back to top |
|
 |
|