Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Visual Bot
Visual Bot [message #436877] Wed, 22 September 2010 16:23 Go to next message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
So I am upgrading [HB] HaloBot to include DirectX capabilities to render a map and everything that moves so you can administrate from your desktop. and soon remote into your box and do the same.

now before I continue... (it works very well with little cpu use atm...)

What do you think?>
Never will use it for your server.
Theres no need.
Cool.
Kick-Ass!

?

Also Screenshot:
  • Attachment: ss1.jpg
    (Size: 516.45KB, Downloaded 526 times)


http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*

[Updated on: Wed, 22 September 2010 16:45]

Report message to a moderator

Re: Visual Bot [message #436886 is a reply to message #436877] Thu, 23 September 2010 01:45 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
It looks cool as hell, but the visual aid would only be relevant to the person logged into the server? Perhaps if it could be relayed and streamed?


Re: Visual Bot [message #436887 is a reply to message #436877] Thu, 23 September 2010 02:27 Go to previous messageGo to next message
Sladewill is currently offline  Sladewill
Messages: 291
Registered: January 2009
Location: United Kingdom
Karma: 0
Recruit

Bandwidth consuming would make it pretty useless, i doubt anyone would use it no matter how cool it may be.

FT-Owners - Sladewill,Snazy2007,Willdy
http://FT-Gaming.com for more info...
Re: Visual Bot [message #436888 is a reply to message #436877] Thu, 23 September 2010 02:49 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
I would assume he is reconstructing the object locations from the gamelog data the bot is collecting anyway and streaming that to a few locations wouldn't really be that bandwidth intensive, especially if you optimise it to avoid sending redundant messages (ie: Health was 100, health is now 100... pointless, only send an update if it has actually changed, unlike Gamelog).

I am not sure how useful this would actually be though... how would it actually help moderate the server unless your in the server yourself anyway to see whats going on? The locations of objects don't really help you to understand where they are looking, what they are shooting at etc...


http://steamsignature.com/card/1/76561197975867233.png
Re: Visual Bot [message #436889 is a reply to message #436877] Thu, 23 September 2010 02:51 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Would be nice to have it streamed on your website! Smile


Re: Visual Bot [message #436891 is a reply to message #436887] Thu, 23 September 2010 06:07 Go to previous messageGo to next message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
reborn wrote on Thu, 23 September 2010 10:45

It looks cool as hell, but the visual aid would only be relevant to the person logged into the server? Perhaps if it could be relayed and streamed?

That was one of the ideas. I would either stream video or keep replacing jpegs.


Sladewill wrote on Thu, 23 September 2010 04:27

Bandwidth consuming would make it pretty useless, i doubt anyone would use it no matter how cool it may be.

That was another problem. But I believe it uses way less than a single client (player).

It will show facing and bullets. it's a total remake of roshambo's visual bot in a different language. And it will be interactive. I'm already rightclicking and dropping items. As well as dragging players. If I get a remote hb client to work I will reduce the netcode.


http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
Re: Visual Bot [message #436892 is a reply to message #436891] Thu, 23 September 2010 06:56 Go to previous messageGo to next message
Spyder
Messages: 1070
Registered: March 2006
Karma: 0
General (1 Star)
halo2pac wrote on Thu, 23 September 2010 17:37


It will show facing and bullets.


Could be used for anti-cheating purposes.

[Updated on: Thu, 23 September 2010 06:56]

Report message to a moderator

Re: Visual Bot [message #436904 is a reply to message #436877] Thu, 23 September 2010 16:23 Go to previous messageGo to next message
trooprm02 is currently offline  trooprm02
Messages: 3266
Registered: August 2005
Location: Canada
Karma: 0
General (3 Stars)
Cool, im guessing you're basing this off Renhawk and more recently SEye? Now, thats a live network connection (TCP/UDP) or is it reading a log file and is it a standalone program atm or its being loaded into the FDS (modified .dll, SSGM plugin, etc)?

A video recording of the screen with a few players ingame would be cool to see.


[Updated on: Thu, 23 September 2010 16:24]

Report message to a moderator

Re: Visual Bot [message #436912 is a reply to message #436877] Thu, 23 September 2010 22:37 Go to previous messageGo to next message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
Log reading is horrible. It is a plugin based socket. I can whip up a video. I'm having trouble with my scaling algorithm for the ingame to bot map positions. So far I'm taking the point x

(x * scale) - offset

ofset is usually half my dot size and scale for let's say canyon is 0.815 I believe.

It is off 10 pixels or so every once and a while. And it setimes gets worse expecially for under. I have all the maps re oriented to account for flipping axis like some maps do. But I'm not good at cartiesian coordinate scaling. I'm ok at math. Excellent at coding but understanding space and time are not my thing.


http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
Re: Visual Bot [message #436940 is a reply to message #436877] Fri, 24 September 2010 12:52 Go to previous messageGo to next message
Tunaman
Messages: 1190
Registered: January 2005
Karma: 2
General (1 Star)
I spent a few hours and found the scaling for all the maps a few years ago.. I'll try to see if I can find my work somewhere.

http://img694.imageshack.us/img694/9055/tunamanlmao.png
Re: Visual Bot [message #436945 is a reply to message #436940] Fri, 24 September 2010 17:14 Go to previous messageGo to next message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
sweet thanks. I'm using a pack of map images I found on renforums.

"Map-Overview-Pack by DeathLink6.0"

I resized them to 512x512 and flipped them so that I dont have to use math to flip coordinates and hog more cpu.

any help with scaling or a better algorithm would be awesome Smile


http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
Re: Visual Bot [message #436946 is a reply to message #436877] Fri, 24 September 2010 17:25 Go to previous messageGo to next message
Tunaman
Messages: 1190
Registered: January 2005
Karma: 2
General (1 Star)
Yeah, I think that I used a similar method to yours, but I scaled the X and Y values differently(you may be doing exactly that, I couldn't tell from your wording) based on a variable for each map. I meant all the default maps in my post too.. no way would I do that for every map available. Razz

http://img694.imageshack.us/img694/9055/tunamanlmao.png

[Updated on: Fri, 24 September 2010 17:26]

Report message to a moderator

Re: Visual Bot [message #437050 is a reply to message #436877] Sun, 26 September 2010 16:09 Go to previous messageGo to next message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
Video and small update: http://www.youtube.com/watch?v=TbfIF0aAZM0

http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
Re: Visual Bot [message #437127 is a reply to message #436877] Tue, 28 September 2010 03:39 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
This is defiantly cool.

http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: Visual Bot [message #437130 is a reply to message #436877] Tue, 28 September 2010 03:59 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Yeah, that's pretty kick-ass to be honest. It would be nicer if it was accessible to multiple users though, somehow.


Re: Visual Bot [message #437142 is a reply to message #436877] Tue, 28 September 2010 06:34 Go to previous messageGo to next message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
I was thinking about implementing per admin client viewers also possibly team only per player client and direct injecting it into the game so you can view it like xfire. I already have the tools just need to implement them.

Also: I am having trouble making/taking/finding top-up images of vehicles approximately 9x9 or 8x10 in size. with good quality.


http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*

[Updated on: Tue, 28 September 2010 08:03]

Report message to a moderator

Re: Visual Bot [message #437161 is a reply to message #437142] Tue, 28 September 2010 11:04 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
halo2pac wrote on Tue, 28 September 2010 08:34


Also: I am having trouble making/taking/finding top-up images of vehicles approximately 9x9 or 8x10 in size. with good quality.


This should help Tell Me. A long time the rxd team made something very similar to renhawk and we used these. They might be a little bigger then you want 8 x 10 pixel is really small.

http://www.filefront.com/17329702/Renegade Overview Images.zip


http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Tue, 28 September 2010 11:05]

Report message to a moderator

Re: Visual Bot [message #437220 is a reply to message #436877] Wed, 29 September 2010 20:54 Go to previous messageGo to next message
trooprm02 is currently offline  trooprm02
Messages: 3266
Registered: August 2005
Location: Canada
Karma: 0
General (3 Stars)
Nice! Video is a little laggy but I get the point. Even the GUI looks alot like SEye tho...did you use the source or start this from scratch?

Re: Visual Bot [message #437229 is a reply to message #436877] Thu, 30 September 2010 09:33 Go to previous message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
I Built it line by line except for the socket in fdscomm which is a private version roshambo whipped up for me but all the neat stuff and functions are mine. The visual part I coded from scratch also.

@gen - thanks for the top down images. They don't resize well but they help me to visualize the top aspect as I draw them by hand pixel by pixel.


http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*

[Updated on: Thu, 30 September 2010 10:18]

Report message to a moderator

Previous Topic: Helipads & Teleports
Next Topic: Measuring and rewarding team work programatically?
Goto Forum:
  


Current Time: Sun Dec 22 15:26:39 MST 2024

Total time taken to generate the page: 0.01226 seconds