Command and Conquer: Renegade Official Forums - RDF feed
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
i have a new project. like renhawk. i will not stop updating the SBot btw. i am using this to learn more of windows forms, and all betas will be downloadable but i will need is someone is wiling to help, a birds eye picture of each map, making.
WOW, good to hear, I was wondering what happened to the RenHawk project anyway? So mush hype about it and, BAM, its gone
Try getting source from the original project? A decent amount of work was done on it, so I don't see why you should have to re-invent any of it.
http://www.renegadewiki.com/index.php?title=Renegade_maps Bird views. But I agree with light.
i can't get the source, and thanks for the maps
is the new renhawk then for all? public release....and if it yes...when comes the new good renhawk please out?
i am writing from scratch, but i am going to do the first release very basic. i already have the engine started, so about 1 month you will seewhat it will be like. it is coded in c#, and i think i will call it the Seye, like the SBot it stands for "Smart eye"
and is this new renhawk from you then for server owners?
SO does anyone know what happened to the original project?
this project is for server owners, yes. i think the renhawk project just died, the owner stopped updating it. if i had the sources i would continue the origonal project. here is a really quick taste of what it wil be like:(sorry for the big image)
I'm often referred to as Seye instead of StealthEye, lol Anyway, I like the fact someone is working on something like this again. It sounded like a nice feature. It's a shame the first version wasn't completed...
I prefer to use the Bird views that SK can make(mostly 1:1) but he doesnt really seems to make them public or release his w3d hack
SK just laughed about the stupid renegadewiki pics so he wrote these on one of his pics.
Cool, so this can recreate the game using renlog?
it is not a game, it just shows where the players are at one time
help-linux wrote on Sat, 21 October 2006 13:59 it is not a game, it just shows where the players are at one time he didn't say it was a game
trooprm02 wrote on Sat, 21 October 2006 17:29 Cool, so this can recreate the game using renlog? or did he mean by recreate "re-enact"?
i need a gamelog, so if someone is kind enough to post one. i would prefer it to have a reasonable amount of data. ty in advanced
help-linux wrote on Sat, 21 October 2006 19:59 i need a gamelog, so if someone is kind enough to post one. i would prefer it to have a reasonable amount of data. ty in advanced could always run your own server...
I would post my recent gamelog2.txt but for some unknown reason its nearly a gig in size. I'll upload a very old one. This gamelog must be atleast 2 years old. Enjoy
thank you, i am going to start on getting the play postions on the map.
so..It's just like spectate Mode only in bird's eye view useing Text to re-inact the game previously playe'd? Nice!
Alex wrote on Mon, 23 October 2006 00:26 so..It's just like spectate Mode only in bird's eye view useing Text to re-inact the game previously playe'd? Nice! i will code it, so it can be realtime, but 10 mins behind to prevent spying. but yes.
Wouldent that cause an increase in latency and the servers prosessing power to rise since it will have to write to the gamelog, then read it (for each client) ten minutes behind?
This sounds Like somthing worth brakeing a computer for!
You could set the gamelog reader to always be running, so it's a sort of delayed video stream, that way it's only reading it once no matter how many people are watching
I'm using the latest public ssaow 1.5 with brenbot andt here's no more gamelog.txt, only a gamelog2.txt which contains only some recent info (since last time brenbot started?). I'll send u a dl link for my latest in PM.
what? this is just one client, only one person can watch it at a time. it was intended for server owners. one last thing, before i can do anything else(because i am too lazy to download and look) the syntax of solder;pos and vehicle;pos in gamelog.
Gozy, gamelog2.txt is created by SSAOW, and is based on when the SERVER is restarted etc. Although if you have the archive gamelogs option turned on it *should* split the gamelog2.txt file after every map. Also, with the latest brenbot beta you can turn gamelog2.txt off completely and parse gamelog from ssaow logs.
(posting from a very noobish position here) Couldn't you just make a small program (ProgramX) to send the logs over something like IRC to the Seye program? Ie: Server writes logs. (delay) ProgramX reads logs, ProgramX sends logs over (i'll just use IRC) IRC and then the Seye program reads them and displays them. (that would mean the Seye program would need an IRC type client ability) That small ProgramX could then be configurable server side in terms of delay etc. A well coded one would also be very minor in terms of performance hits. (reading and sending a text file isn't very resource demanding) The major point of this is so that the parsing and graphical end of the work is done on the machine that's going to be viewing it, rather than the server. Tell me if I've been a noob. :/
when please, comes the new renhawk from you out?
/me gets a feeling Help-Linux wont release it.
what makes you think that? also before i think about multipeople watching one server im going to get the program woring first im having problems with file io in forms. as soon as that is fixed it will almost be ready. i also still need the syntax of the pos tag in gamelog. i can;t put a date on when i can get a bata out.
Quote: i can;t put a date on when i can get a bata out. really, you shouldnt give dates to the public of when it'll be out, as if its late, you'll get people complaining lol
the reason i cant give a date is because i don't know when i will fix this problem.
yay! i fixed that problem. as soon as i get the syntax of gamelogs's pos i can start getting chars moving
Lol, I was joking. f00l
lol, i have started on the engine to move chars around. it will also need to read from renlog to know how many players are on. unless pos in gamelog tells us
CarrierII wrote on Fri, 27 October 2006 18:25 (posting from a very noobish position here) Couldn't you just make a small program (ProgramX) to send the logs over something like IRC to the Seye program? Ie: Server writes logs. (delay) ProgramX reads logs, ProgramX sends logs over (i'll just use IRC) IRC and then the Seye program reads them and displays them. (that would mean the Seye program would need an IRC type client ability) That small ProgramX could then be configurable server side in terms of delay etc. A well coded one would also be very minor in terms of performance hits. (reading and sending a text file isn't very resource demanding) The major point of this is so that the parsing and graphical end of the work is done on the machine that's going to be viewing it, rather than the server. Tell me if I've been a noob. :/ IRC = bad idea direct UDP connection would be a good idea imo
Something unlike IRC I'd say A simple binary UDP or TCP protocol sounds ok
IRC is slow like hell as normal IRC user, so that would definatly fail.
help-linux wrote on Fri, 20 October 2006 02:51 it is coded in c#, and i think i will call it the Seye, like the SBot it stands for "Smart eye" C++ not C#
UDP is more efficient but doesn't guarantee delivery. I'd recommend TCP because then you don't have to worry about reliable delivery, even though it is bloated.
That's why I said UDP or TCP. TCP is easier and good enough, so I think I would choose for TCP too.
has anybody got that syntax yet? i can't do anything with the Seye. i will probaly to put a broudcaster on the SBot.
I could get you the syntax I suppose, but don't you have it already for your Sbot?
i am a bit annoyed but meh i have it now. sprintf (Message, "POS;SOLDIER;%d;%s;%d;%d;%d;%d;%d;%d", Commands->Get_ID(obj), Commands->Get_Preset_Name(obj), int(pos.Y),int(pos.X),int(pos.Z), int(Commands->Get_Facing(obj)), int(Commands->Get_Health(obj)), int(Commands->Get_Shield_Strength(obj))); POS;VEHICLE;%d;%s;%d;%d;%d;%d;%d;%d", Commands->Get_ID(obj), Commands->Get_Preset_Name(obj), int(pos.Y),int(pos.X),int(pos.Z), int(Commands->Get_Facing(obj)), int(Commands->Get_Health(obj)), int(Commands->Get_Shield_Strength(obj))); i can start working on it again
lol, you gonna need beta testers?
sure...but not for a few months probably. i am on the verge of getting a release out that will read an "old" gamelog. so you can see what it will be like.
can i be a beta or alpha tester?
sounds good, ill be glad to help
help-linux wrote on Sun, 05 November 2006 22:06 sure...but not for a few months probably. i am on the verge of getting a release out that will read an "old" gamelog. so you can see what it will be like. do you have any idea how much easier this would be if you could get crimson or blazer to give you the source for the original one? (assuming they still have it)
the origonal source is in flash i belive. and as i have already said, this is a porject to help me learn c++ forms .net a bit better
Quote from goodness knows where: Quote: A small tool written in Flash Actionscript... So, whatever that would be...
ok. finally. i have a very crude version comming out in less than a week at the moment it will only work, with player 1. and you have to specify the map it is on. also, it will not work online ether because of the way it reads the files. i have the program working with a text file I have create so i just need to add a few statements to get it to read from gamelog. i need someone to open help me with the map grafix, so if you want to help. pm me, please! all i need really is to open all the maps in a w3d viewer or something and render a birds eye view of it. all maps need to be taken from the exact same point (z,x and y) otherwise the program won't work. i have already learnt alot form this. i didn't know at all how to program windows forms .net so all this is new to me. thanks in advanced to anyone willing to help me with the maps.
OK, sounds good, cant wait to test it out
yes....i can not wait too to test the new renhawk from help linux...nice work
sorry, i have had differnet ideas on how this will work. i will also need to speak with danpaul for this to work with brenbot. dont expect it to be out for a long time. i will probably not update this much, so dont think it has died.
Yay
ok, now that i have more time to explain. im going to use the SBot to parse gamelog because c++ console programming is alot easier than forms c++ .net. there will be a TCP connection between the 2 programs and the SBot will tell Seye where to move the players etc. At the moment i will try to get the all the players moving without working on posistioning just yet(they will just move reletive to each other not the map). The other reason i decided to use the SBot is because if any other regulation bot reads gamelog it can parse it and send the info to the Seye. for the maps, (so you can have custom maps) there will be a folder called "maps" just put the mapname EG: CnC_Volano.mix would be CnC_Volcano.JPG it will be caps sencitive so be careful with that. i also plan in the future to have a feature to log the commands it takes, so you can watch old games or post what a n00b was doing and othe people can watch it. if that fails i will impliment a feature to make a video of the game.
ok, will you intergrate it into BR, or even make it a stand alone app (like wolspy)?
im not making a stand alone app, but if anyone want to intergrate into their bot, i will speak to them.
ok then intergrate in brenbot or nightregulator
i can't, that is up to nightma and danpaul
Or integrate it in scripts.dll / some other dll...
or this...and then released this
I think creating it as a standalone app, whould be the most useful idea (like the old renhawk), then if people wanted, they could intergrate it themselves into bots, or something like that
ok then as standalone...when comes this good tool please out?
ok, first of all...im not making a stand alone app...ill let someone else do that. im makeing the app you download as a client so it connects to your FDS through the SBot or some other means and get the data that way. it is alot easier than making the whole thing stand alone. the mean reason for this is because if a bot/regulater need gamelog, it can use it. but i may just put it in scripts.dll
"the mean reason for this is because if a bot/regulater need gamelog, it can use it." I don't get your point here, if they need it they can use it, regardless of whether you use it too...
if my bot needed to read from it, it would have to delete it first.
Because? Brenbot doesn't delete the log files it reads from for example, it shouldn't be hard to do something similar?
i also want the seye to work as a client so anyone can see what is happening on any server. although i will have to think of a way to stop cheating.
Have a secure connection with a password? That way only those who know the password could connect.
i was definetly thinking of a delay, but does anyone have any idea how to do this? i mean, you dont need to talk code or anything. the best i can think of is: stop all output for 10 mins put all content recived into a file after 10 mins is up read from file anything recived appends to the file anyone have any better ideas?
Make a buffer Start sending data once 2 minutes worth of data is in the buffer Keep sending at the same rate data was put into the buffer, so you always stay two minutes behind the actual game.
so, a string array maby 2560 elements data recived appends to the array for 2 mins [ loop ] when a new peice of data arrives, read the 1st element then delete it. shift the whole array -1 write the data recived to the first element [/ loop ]
Yeah, that would do the trick. Be aware of the memory requirements of this though, a string array of over 2000 elements might eat up quite a bit of memory. You should certainly consider processing it before putting it into an array or whatever, so that you get rid of any extra data you don't need, and then when two minutes is up it simply spits out the pre-processed data.
I think the best would be to put it into some kind of log file, then read the next line, calculate when the log time + delay == current time, then check whether that time has been reached and if it is, send it and start the same thing. You would continuately write to the end of the file too. Watch out that the file does not get too big though. You could use (an extended version of?) gamelog as the log file, that will make things a bit easier for you.
You know where you were thinking, "naa dan is never going to pull this off". with the help of Dave Anderson, i am very close to finishing. i need a test map though, would someone be kind enough to create an image for me? i just need it to be centered at 0. and width needs to be 350 pixels. i would do this myself, but i can't get LE to work. it can be any map of your choice but i would prefer one of the standard multiplayer maps.
could someone help me with LE? i dunno how to get the multiplayer maps in it :/
you should leave the "map" picture on there
heh! lol just so you think im not lieing about this im gunna make a video. im not going to post it just yet. i need to download and install camtisima. i will show you why i can't make the maps myself though.
well..i couldn't create a video because where the Seye should of been was the window behind it so i took a load of SSs. im only going to insert one of them into the page so my post isn't too big.
You might have already said this, but, can this be used with other bots? (at least in terms of DLing a whole match in a gamelog.txt file and using that...)
well iam sure someone could write an alternative tool to seye or in scripts.dll
yes, other bots can use this. but they have the task of putting the commands for the Seye into it, thats not a nice task. EDIT: im not going to use gamelog.txt at all for this, mabe someone else's bot will butim not. im going to try and put a video capture type thing into it. ether that or get it to export a file that people can share and view other peoples games.
The client is finished. but the Sbot is far from being so. im writing a small program to read a gamelog.txt and send the data over to the Seye.
i need feedback again. the server is going to be built dirctly into scripts.dll (or another dll i dont know just yet) it is possible for me to write it so that 20 or so people can connect to a server at a time. i need to know how many people you would want connecting to your server through the Seye. remeber it is sending a massive amount of infomation to those people. probably about 100 MB per game if it is a marathon like black-cells if it is a AOW about 30 mins it would be about 25MB per game. this could cause lag.
Why do you want to send the whole gamelog ? And not just the necessary information it needs from it. I think that could save 10000 % of the bandwidth.
it pretty much needs the whole gamelog. i have programed it so the server sends command to affect what you see on the screen.
Example: [20:44:56] KILLED;SOLDIER;1500007864;CnC_Nod_Minigunner_3Boss;-14;107;0;168;1500009035;CnC_ GDI_MiniGunner_3Boss_ALT2;-128;130;14;-10;CnC_Weapon_RamjetRifle_Player Do you really neeed anything of that ? Instead of killed, you could just send a byte to the client for example, this would allow you to have 256 different events. And you can put every number into an integer of 4 bytes or a long. This would drastically reduce the amount of data you have to send. Then you could also compress it. And... I don't think the client needs to have the data in realtime. So you could just update the client every half seconds.. and woops the used bandwidth is almost zero.
[20:44:56] KILLED;SOLDIER;1500007864;CnC_Nod_Minigunner_3Boss;-14;107;0;168;1500009035;CnC_ GDI_MiniGunner_3Boss_ALT2;-128;130;14;-10;CnC_Weapon_RamjetRifle_Player would translate to: DTR PLY <insert created number here 3 chars>
Allow server owners to specify the mximum # of connections in a Serverside .ini file or something?