 |
Server Help Community forums for Subgame, ASSS, and bots
|
Author |
Message |
RAYfighter Novice

Age:54 Gender: Joined: Sep 04 2003 Posts: 47 Location: Slovak republic Offline
|
Posted: Tue Oct 14, 2003 4:35 pm Post subject: Can BOT make screenshots and then display them? |
 |
|
|
|
Can a BOT make a screenshot of some monitored region when triggered?
If yes: can the screenshot be displayed for all players as it been mapobject? (immediatelly=perfect, next arena enter=fine)
thanks for input in this BOT/LVZ cross-forum question.
edit: added explanatory subject |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Tue Oct 14, 2003 4:44 pm Post subject: |
 |
|
|
|
Becuase the bot is Subspace based, not sure if it can do screenshots, screenshot is more of a Continuum feature i believe. But if you were able to get it to do that, getting the image to be a mapobject would be a little harder, you would need to program the bot to automaticlly make LVZ files. I believe that after you set the .lvz file in the .cfg for the server, the zone has to be recycled for the lvz to take effect, I may be wrong. But definatly they wouldnt be displayed imediatly, the would need to be redownloaded on the next entry to the zone |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Tue Oct 14, 2003 4:54 pm Post subject: |
 |
|
|
|
50% Packetloss wrote: | Becuase the bot is Subspace based, not sure if it can do screenshots, screenshot is more of a Continuum feature i believe. But if you were able to get it to do that, getting the image to be a mapobject would be a little harder, you would need to program the bot to automaticlly make LVZ files. I believe that after you set the .lvz file in the .cfg for the server, the zone has to be recycled for the lvz to take effect, I may be wrong. But definatly they wouldnt be displayed imediatly, the would need to be redownloaded on the next entry to the zone |
to sum up: yes, but at the very least people would probably have to re-enter the arena (to download whatever)
you could always setup a .lvz with many different colored pixels as screen images and have a bot take a screenshot then assimilate the color data and reproduce it by switching specific objects (pixels) on...but that probably isn't something you want to take the time to do  |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Tue Oct 14, 2003 5:34 pm Post subject: |
 |
|
|
|
Akai wrote: | reproduce it by switching specific objects (pixels) on |
LOL
I dunno if getting a screenshot is even possible...
The bot just handles packets, it doesn't pay any attention what so ever to how things look. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Last edited by Cyan~Fire on Tue Oct 14, 2003 5:45 pm, edited 1 time in total |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Tue Oct 14, 2003 5:35 pm Post subject: |
 |
|
|
|
Akai wrote: | [..]
reproduce it by switching specific objects (pixels) |
That would be pretty sweet, 256 colors.
But for example-
100,100,Pixel1,TopMost,ServerControlled,0,1
101,100,Pixel2,TopMost,ServerControlled,0,2
|
The coords of a lvz file, 1 pixel apart? |
|
Back to top |
|
 |
ExplodyThingy Server Help Squatter
Age:38 Gender: Joined: Dec 15 2002 Posts: 528 Location: Washington DC Offline
|
Posted: Tue Oct 14, 2003 7:09 pm Post subject: |
 |
|
|
|
Im not sure about the LVZ, but i can tell you for a fact: Bots do not take screenshots. Just becuase it uses the same protocol as a subspace client does not make it a subspace client. The bot is just essentially a chat client. It gets all the information about attached ships, arena lists, settings, and all the fun stuff, but it never ever renders any images, orientations, maps, or lvz.
This, however, is a possibility:
Some people have written "bots" that monitor the continuum client itself. They can only send chat messages and keystroke stuff. They never recieve any data besides chat. Use a normal subspace bot (merv, whatever) and make it send !takeshot to this contimuum client. The "bot" watching the client will see this, and send a printscreen message to the client. The client will then take a screenshot. Afterthat, its all about getting the image formated, uploaded, and displayed/ _________________ There are no stupid question, but there are many inquisitive idiots.
Loot
Dr Brain> I hate clean air and clean water. I'm a member of Evil Conservitive Industries |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Tue Oct 14, 2003 9:46 pm Post subject: |
 |
|
|
|
ExplodyThingy wrote: | Im not sure about the LVZ, but i can tell you for a fact: Bots do not take screenshots. Just becuase it uses the same protocol as a subspace client does not make it a subspace client. The bot is just essentially a chat client. It gets all the information about attached ships, arena lists, settings, and all the fun stuff, but it never ever renders any images, orientations, maps, or lvz.
This, however, is a possibility:
Some people have written "bots" that monitor the continuum client itself. They can only send chat messages and keystroke stuff. They never recieve any data besides chat. Use a normal subspace bot (merv, whatever) and make it send !takeshot to this contimuum client. The "bot" watching the client will see this, and send a printscreen message to the client. The client will then take a screenshot. Afterthat, its all about getting the image formated, uploaded, and displayed/ |
yes...in the future let us all just not limit the term "bot" to merely MERVBot and the like...sheesh
Last edited by SuSE on Tue Oct 14, 2003 9:48 pm, edited 1 time in total |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Tue Oct 14, 2003 9:47 pm Post subject: |
 |
|
|
|
50% Packetloss wrote: | [..]
That would be pretty sweet, 256 colors.
But for example-
100,100,Pixel1,TopMost,ServerControlled,0,1
101,100,Pixel2,TopMost,ServerControlled,0,2
|
The coords of a lvz file, 1 pixel apart? |
that should do it
I'm not sure how many you could have, though...SOS once told me the maximum number of thingies he found could be used - but...eh, probably more than enough for a good-sized image |
|
Back to top |
|
 |
RAYfighter Novice

Age:54 Gender: Joined: Sep 04 2003 Posts: 47 Location: Slovak republic Offline
|
Posted: Wed Oct 15, 2003 3:35 am Post subject: |
 |
|
|
|
Guys this forum rocks. Thanks to you.
I know nothing about BOTs, just messing with LVZs and GFX actually, but I guessed that any bot, being a server-side packets listener, cannot render any graphics and therefore screenshot them to an image.
ExplodyThingy's solution might be best used for some kind of BOT-OP or police camera - when you teamkill, you will get screenshot - LOL I never wanted this kind of use. It would mean that the "bot" would connect as a client to the server and would just make the manual work for some OP.
Akai's idea of reproducing pixels back to the image sounds crazy but genial. And it's closest to what I had on my mind when asked my question.
My original idea was to screenshot winning player, and then have it posted on the map (where there are top scores and stuff at some zones). Akai's suggestions reminded me of how BOTs controll score-tables - the same way it can write the winner's nick on the map. To add a ship image, even the ship he used when won, is easy.
thanks for your input guys |
|
Back to top |
|
 |
ExplodyThingy Server Help Squatter
Age:38 Gender: Joined: Dec 15 2002 Posts: 528 Location: Washington DC Offline
|
Posted: Wed Oct 15, 2003 7:19 pm Post subject: |
 |
|
|
|
Not to be picky, but:
All bots are clients to the server. Just because the bot and subgame are run from the same machine, the server, the bot itself is still a client to the subgame.
All bots are definately client side packet listeners.
Modules for ASSS on the other hand are the reverse. Theyre not packet handlers, but are more like event handlers for a big packet handler. This keeps modules from acting as password sniffers. It also means monitoring of the game is very very diferent. |
|
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 Oct 15, 2003 9:00 pm Post subject: |
 |
|
|
|
ExplodyThingy wrote: | This keeps modules from acting as password sniffers. |
Actually, every module has access to take anyone's password at almost anytime. The only exception is the SSC servers, as if your name is already created, the client and billing server do their own little password encryption thing, so the servers cannot steal the password. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Wed Oct 15, 2003 9:12 pm Post subject: |
 |
|
|
|
Its not the password theift you really have to worry about.  _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
Dustpuppy Server Help Squatter

Age:40 Gender: Joined: Jan 23 2003 Posts: 215 Location: England Offline
|
Posted: Thu Oct 16, 2003 8:34 am Post subject: |
 |
|
|
|
ExplodyThingy wrote: | Some people have written "bots" that monitor the continuum client itself. |
I've never managed to get a continuum-bot to send keystrokes to the continuum window, however I suppose you could take a fullscreen shot. |
|
Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Software by php BB © php BB Group Server Load: 32 page(s) served in previous 5 minutes.
|