Titan Network

Community => City of Heroes => Topic started by: SaintNicster on March 03, 2009, 05:13:57 PM

Title: DemoRadar/CityRadar (was CoHRadar)
Post by: SaintNicster on March 03, 2009, 05:13:57 PM
DemoRadar/CityRadar now available in the Apple App Store!
CityRadar for iOS (http://CityRadar for iOS)

(https://images.weserv.nl/?url=l-userpic.livejournal.com%2F86080241%2F2315727)
Download CoHRadar (https://sourceforge.net/projects/cohradar/) - Available for PC and Mac (requires Java (http://www.java.com/en/))
EDIT (9/21/2011):  New link (http://bitbucket.org/saintnicster/radar)

CoHRadar uses a demofile created by the client to create a 2D map of all game entities that your machine has been told about.

The map is useful as it can highlight were a hostage, glowie, or even where Quantum and Void-type enemies may be.

Just a note that it doesn't where any of the walls/boundaries are (and can't without decompiling the PIGG files), so you'll have to take into account when using it for navigation.

Those of you who have been around a while may remember the old "Blinkie Finder" program that was created around I6/I7.  I used this as my starting place and reverse-engineered a lot of the functionality it provided.

Full instructions can be found here (http://community.livejournal.com/city_of_heroes/3068377.html)

Also, the full source code is available in the JAR file and on SourceForge if you're curious/skeptical.  A bug tracker and request organizer organizer are also provided.
Title: Re: CoHRadar
Post by: Maverick X on March 03, 2009, 05:33:25 PM
I still use blinkie finder. I'll have to check this out. Thanks! =]
Title: Re: CoHRadar
Post by: Tazhyngarth on March 03, 2009, 05:35:29 PM
Sweet!  I can't wait to test this out.
Title: Re: CoHRadar
Post by: Voltaic Shock on March 03, 2009, 07:39:03 PM
Nice!  I will have to try this out as well.
Title: Re: CoHRadar
Post by: Steiner on March 03, 2009, 11:03:50 PM
Tested and Working!

Not as close to real-time as I was hoping. But... yea this thing is pretty diesel.



I'm going to take the source and figure out a way to get things to run in real time... and possibly some other features I can't promise only because I can't guarantee them.

I'll keep ya posted Saint, definitely would like involved in my version, since your inspired me to try my own hand.

I'll see if I can stick to Java for the Mac clients, but I can almost promise that there will be a better version of said project done in VB.NET.
Title: Re: CoHRadar
Post by: SaintNicster on March 03, 2009, 11:18:27 PM



I don't want it running in real time.  That pushes the program into a further gray area than what HeroStats/CIT are already in.

The reason that it was written in Java was to enable cross-OS programming.  Creating that in VB.net completely defeats the purpose.  You want mac users to be even more alienated from CIT/Titan?

ALSO:
My program only reads demo files produced by the game.  It doesn't read from the clients memory or from the PIGG files.  That is how this stays 'legal' regarding the EULA.  Fork if you want, but my CoHRadar won't include that.
Title: Re: CoHRadar
Post by: Steiner on March 03, 2009, 11:31:41 PM
Understood Entirely!

I'm intending to keep it within the EULA. My main idea was to have the demo recording all the time... with a constant running script that deletes the obsolete chunk of the demo every x seconds.

This should work with slightly more resources used... and possibly loading up images of recognized maps into the 2d display.

I don't plan to do anything you'd dis-approve.

Also, it's been publicly announced that the PIGG data is more than available to use and view on a private level. Meaning as long as you don't make any of the information PUBLIC or use it to abuse the game... and lastly selling said app for profit everything is good.
Title: Re: CoHRadar
Post by: SuckerPunch on March 04, 2009, 12:30:44 AM
You want mac users to be even more alienated from CIT/Titan?

Whoah, that's not even remotely fair.  It's not like anyone in the gaming community had any clue they would ever make a Mac client.  In fact, several times the devs had stated it wasn't going to happen.

I understand what you're saying but to insinuate we did anything willingly or on purpose to push Mac users aside is completely unfair. 
Title: Re: CoHRadar
Post by: SaintNicster on March 04, 2009, 03:38:34 AM
Whoah, that's not even remotely fair.  It's not like anyone in the gaming community had any clue they would ever make a Mac client.  In fact, several times the devs had stated it wasn't going to happen.

I understand what you're saying but to insinuate we did anything willingly or on purpose to push Mac users aside is completely unfair. 
Hmm, so that's what my foot tastes like.  Good to know.

Welcome back to posting, SP.  I hate like it had to be like that -.-

/backpedals

Ok, so that didn't come out right at all. Didn't mean to blame, though it certainly looks like that.  I was trying to go for was that now that the game is Cross-OS, we (as fan developers) have somewhat of a duty to develop for both.  Now obviously, there is a bit of grandfathering when it comes to things that already exists.  The HeroStats engine will not be an easy thing to port (if at all possible).  What I was trying to imply was that at this point, we should avoid making more incompatible programs.  The code base shouldn't be split over two languages.

Err, crap.  The more I say the deeper I digg.  Let's just say that it was a douche-y comment and I'll shut up about it >.>
Title: Re: CoHRadar
Post by: SaintNicster on March 04, 2009, 04:02:41 AM
Understood Entirely!

I'm intending to keep it within the EULA. My main idea was to have the demo recording all the time... with a constant running script that deletes the obsolete chunk of the demo every x seconds.
That sounds like botting, which I'm fairly sure is against the EULA.

Also, it's been publicly announced that the PIGG data is more than available to use and view on a private level. Meaning as long as you don't make any of the information PUBLIC or use it to abuse the game... and lastly selling said app for profit everything is good.
I was fairly certain that nothing has ever been said like this.  Can you point me to a redname or such?
Title: Re: CoHRadar
Post by: eabrace on March 04, 2009, 05:06:32 AM
I took the radar for a quick spin when I got home tonight.  I fed it some demo files I'd recorded of things like the Arachnos Flier's flight path.

Way too cool!

I could have some fun with this.
Title: Re: CoHRadar
Post by: Steiner on March 04, 2009, 07:02:01 AM
Title: Re: CoHRadar
Post by: SaintNicster on March 04, 2009, 07:11:24 AM
I'm deleting the parts of the demo file, it isn't effecting the client at all. Shouldn't be botting.

When you enter the /demorecord command, that only creates the placeholder/empties the file for the demo.  The demo itself isn't written to the disk until you fire off the /demostop command.  I had to handle this when loading the files.
Title: Re: CoHRadar
Post by: Steiner on March 04, 2009, 12:36:21 PM
really!?

Dang... that sucks bananas.

Title: Re: CoHRadar
Post by: Tazhyngarth on March 04, 2009, 02:55:39 PM
In yo Face Steiner!  You're doing it wrong!  HA!

...I don't know, just felt the need to do that.... :P

Don't worry about your Post Saint, we all know you're a good guy and not out to make intentionally offensive Posts.  We all know how hard it is to 100% see the intent of certain Posts because expressions aren't typed out very easily.
Title: Re: CoHRadar
Post by: SuckerPunch on March 04, 2009, 05:15:09 PM


I understood what you were saying, but I didn't want anyone to think for a second we have something against Mac users.

I do agree with you that going forward we/fansites in general should do what they can to support both platforms. 

But for now, the existing stuff is at the mercy of someone that knows how to get that stuff working on a Mac. None of us are Java guys, or really have a Mac to test on.  If you or anyone that does have such experience, a Mac, and the time, I'd love to get in contact and see what can be worked out.


Anyway, don't want to derail this thread anymore.   This looks really cool, awesome work!
Title: Re: CoHRadar
Post by: Voltaic Shock on March 05, 2009, 05:09:30 PM
My wife has a Mac - :P
Title: Re: CoHRadar
Post by: SaintNicster on March 05, 2009, 05:12:32 PM
My wife has a Mac - :P

Well there go your excuses ;)
Title: Re: CoHRadar
Post by: Tazhyngarth on March 05, 2009, 05:59:00 PM
No no, our excuses stay, because it's his wifes computer, and he's not allowed to use it for anything :P.

idk, that's the only saving grace I see with that statement LOL!
Title: Re: CoHRadar
Post by: DarthSmaug on April 04, 2009, 09:33:25 PM
wow, even moar goodies! gonna check this out now on my laptop. first I gotta go read up on the demo recording (I make demos in Team Fortress 2 all the time!)
you guys NEVER cease to amaze me, thanks.
i can rebuild a holley carb pretty qwik ;) lolz
Title: Re: CoHRadar
Post by: Steiner on April 05, 2009, 12:35:15 AM
This is all SaintNicster, titan has no part in it. All his brain child. :D
Title: Re: CoHRadar
Post by: DarthSmaug on April 06, 2009, 02:43:02 PM
This is all SaintNicster, titan has no part in it. All his brain child. :D

well, then thanks SaintNicster!!! i wish I had skillz/knowledge do make cool goodies like that!
Title: NEW! CoHRadar 0.3.0
Post by: SaintNicster on April 06, 2009, 11:57:28 PM
Thanks to those who have downloaded and tried it out so far. 

(https://images.weserv.nl/?url=p-userpic.livejournal.com%2F86080241%2F2315727)
I've released a new version with a few improvements.


There were also a bunch of under-the-hood changes made, trying to improve readability and such.

Download Today! (https://sourceforge.net/project/showfiles.php?group_id=250494&package_id=306141&release_id=674027)
Title: Re: CoHRadar
Post by: eabrace on April 11, 2009, 09:29:34 AM
Just getting around to trying the new update out.  Had an issue trying to get it running on the initial unzip, but seem to have gotten that sorted out.

Looks pretty good.  And it's already helped me find one objective that was hiding on a map tonight.  :)
Title: Re: CoHRadar
Post by: SaintNicster on October 07, 2009, 12:51:06 AM
Just to let you all know, there was a new version released today.

I added a catch for an added hostage animation that started appearing in I16.

Also made it so that the mac version loads the 32bit version of the JVM.  I don't want to update SWT yet :P

http://sourceforge.net/projects/cohradar/files/
Title: Re: CoHRadar
Post by: Steiner on October 07, 2009, 01:56:11 AM
awesomesauce, I actually still use this app.
Title: Re: CoHRadar
Post by: eabrace on October 07, 2009, 02:53:33 AM
Same here.  It's better than pulling all my hair out.  :)
Title: Re: CoHRadar
Post by: Torch Light on October 28, 2009, 10:39:55 PM
Im wondering, since it's not actually creating the file, is there a function to CANCEL a running demo record? It could cause a little bit of a hiccup but if you could A. cancel or B. clear the cache it's using externally, you could allow stable systems to keep it going.

Thoughts? or am I talking out my rear ^_^
Title: Re: CoHRadar
Post by: eabrace on October 28, 2009, 11:24:04 PM
You mean something that isn't /demostop?
Title: Re: CoHRadar
Post by: SaintNicster on October 28, 2009, 11:28:26 PM
Im wondering, since it's not actually creating the file, is there a function to CANCEL a running demo record? It could cause a little bit of a hiccup but if you could A. cancel or B. clear the cache it's using externally, you could allow stable systems to keep it going.

Thoughts? or am I talking out my rear ^_^
I have no clue what you're trying to ask/say ???
Title: Re: CoHRadar
Post by: Torch Light on October 29, 2009, 12:13:48 AM
Well doesn't demo stop automatically create the file? If it doesn't then my idea is void haha. sorry.

Sorry i was thinking about the thing he was saying with automatically clearing the demo data to leave it running, I was thinking, no it doesn't Write the file right away, but it should be making some kind of file cache? Couldn't that be trimmed or like, made invalid so it can start over automatically?
Title: Re: CoHRadar
Post by: SaintNicster on October 29, 2009, 12:25:45 AM
Well doesn't demo stop automatically create the file? If it doesn't then my idea is void haha. sorry.

Sorry i was thinking about the thing he was saying with automatically clearing the demo data to leave it running, I was thinking, no it doesn't Write the file right away, but it should be making some kind of file cache? Couldn't that be trimmed or like, made invalid so it can start over automatically?
Demostart creates a placeholder file.  It also starts recording the data and such to memory or whatever.

demostop transfers this into the file.

If you want to restart a demo, without doing anything with the current stuff, you should be able to just /demostart again
Title: Re: CoHRadar
Post by: Torch Light on October 29, 2009, 12:30:21 AM
then could that be viable?
Just set it to a loop?
Title: Re: CoHRadar
Post by: SaintNicster on October 29, 2009, 12:32:45 AM
then could that be viable?
Just set it to a loop?
I still don't understand what you want.  If you're wanting this to be always on, then no.  It isn't that simple.  You can read my previous posts in the thread to see that.
Title: Re: CoHRadar
Post by: Torch Light on October 29, 2009, 12:42:15 AM
Just throwing out an idea. Im not the kind to use these tools any who.
And I did read, I was just trying to get the wheels turning since a few people seemed interested in this being a lil more real time.
Title: Re: CoHRadar
Post by: TonyV on October 29, 2009, 09:46:23 AM
And I did read, I was just trying to get the wheels turning since a few people seemed interested in this being a lil more real time.
Honestly, even if this could be done, I'd probably recommend against implementing it.

As the utility exist, it's more of something that provides an information snapshot to you, information that is obtainable by simply exploring the areas you're looking at on the snapshot.  If it were more realtime, that could actually be used in situations (*ahem* pvp...) to get a distinct advantage over other players, something it can't be practically used for today.

If that were to happen, what is current a neat little unsanctioned utility could make the radar of the devs as a means of cheating.  If that happens, they would almost certainly react to shut this down, either through obscuring the information developmentally or, worst-case scenario, through legal means.
Title: Re: CoHRadar
Post by: Torch Light on October 29, 2009, 05:02:21 PM
Very true, Again, I'm not the type who even uses it, but It is a neat tool.
Title: Demo Radar (was CoHRadar) version 0.7.0
Post by: SaintNicster on September 21, 2011, 04:50:34 PM
New Version released!

Download Links -
Mac OS X (Leopard/Snow Leopard/Lion - 64bit JRE) - Link (https://bitbucket.org/saintnicster/radar/downloads/DemoRadar%20-%202011-09-21%20-%20x64Mac.dmg)
Windows (32bit JRE) - Link (https://bitbucket.org/saintnicster/radar/downloads/DemoRadar%20-%202011-09-21%20-%20x86Win.jar)
Windows (64bit JRE) - Link (https://bitbucket.org/saintnicster/radar/downloads/DemoRadar%20-%202011-09-21%20-%20x64Win.jar)

Patch Notes -

Remote Mode
This adds the ability to send the demofile to a "remote" machine. Run one copy of the program in the background of your main playing machine in a 'server' mode, then open up a copy of the program on another machine (preferably on the same network). The other machine can then be used to display that map. This is good if you are on a dual-computer setup. It is also the framework/hooks for a future for an version that will be able to run on iOS (and should interest warrant, Android).

An issue tracker (https://bitbucket.org/saintnicster/radar/issues?status=new&status=open) is available on BitBucket.
Title: Re: Demo Radar (was CoHRadar)
Post by: GuyPerfect on September 21, 2011, 05:38:22 PM
This is the first I've heard of it, and I must put in my two cents for it being totally awesome.
Title: Re: Demo Radar (was CoHRadar)
Post by: SaintNicster on September 21, 2011, 05:39:10 PM
This is the first I've heard of it, and I must put in my two cents for it being totally awesome.
I'm not much of a promoter -.-
Title: Re: Demo Radar (was CoHRadar)
Post by: GuyPerfect on September 21, 2011, 05:41:08 PM
Android programs can be distributed without going through the Android Market, and they're literally Java binaries compiled with the usual JDE. The main difference is that they don't use AWT for user interface, but the Widget equivalent isn't all that different.

It's certainly viable if there's demand for it.
Title: Re: Demo Radar (was CoHRadar)
Post by: eabrace on September 21, 2011, 05:59:56 PM
This is the first I've heard of it
Except for those times we've been scouring an outdoor map for that boss we need to complete the mission and I said, "Let me check the radar..."
Title: Re: Demo Radar (was CoHRadar)
Post by: GuyPerfect on September 21, 2011, 06:22:27 PM
It never registered. (-:
Title: Re: Demo Radar (was CoHRadar)
Post by: SaintNicster on November 06, 2011, 06:58:27 PM
Demo Radar was updated to 0.7.1 (https://bitbucket.org/saintnicster/radar/downloads) this past week (during the downtime). 



Source code, wiki (with some instructions), and an issue tracker are available at bitbucket.org (https://bitbucket.org/saintnicster/radar/)
Title: Re: Demo Radar (was CoHRadar)
Post by: Jacal on November 14, 2011, 12:11:57 PM
Very cool update with the network feature!

The Coh radar is such good tool and I use it A LOT.

In fact I have taken the source code and modified it a bit for my own personal use.
I've added a timer connected to a checkbox so that the coh-radar can re-read the the demofile every second or so. Using two screens I've got coh radar running on my second screen, and all I have to do is use my macro demorecord and demostop commands to refresh the radar, which I find very neat.

I've also added some filter checkboxes to "remove" some of the entities that is cluttering up the list and map, (e.g. 50 minions) putting what you are looking for way down the bottom of the list. (I have thought about making a group button for entities with the same name , but haven't gotten around to it, or how that would be marked on the map).

These are ad-on I would love in an 'official' version, because for some reason I am not able to create a self-executing jar file in eclipse (That actually work).   Which means I have to start eclipse to fire it of.

Is these features of some interest?
I would love to see them with the network feature.

Thanks again SaintNicster for a greatly appreciated tool.
Title: Re: Demo Radar (was CoHRadar)
Post by: SaintNicster on November 14, 2011, 04:04:06 PM
In fact I have taken the source code and modified it a bit for my own personal use.
I've added a timer connected to a checkbox so that the coh-radar can re-read the the demofile every second or so. Using two screens I've got coh radar running on my second screen, and all I have to do is use my macro demorecord and demostop commands to refresh the radar, which I find very neat.
Oh neat!  I suppose it was possible someone would modify it with the code being available and all, I just never expected to hear about it :D

putting what you are looking for way down the bottom of the list. (I have thought about making a group button for entities with the same name , but haven't gotten around to it, or how that would be marked on the map).
I tried to make it so that the detected object types would show up mostly at the top of the list.  Were there things that were missed?

These are ad-on I would love in an 'official' version, because for some reason I am not able to create a self-executing jar file in eclipse (That actually work).   Which means I have to start eclipse to fire it of.
They way I've started doing it is by going to File->Export, making the Runnable JAR file, and then selecting the "Package required libraries into generated JAR".  Otherwise, you need to have the SWT jar (and DNS_DS jar for networking) in the same folder as your Radar JAR ("Copy required libraries into a sub-folder").  You could also try running the file from the CMD line to see if any errors are generated ("java -jar radar.jar")

Is these features of some interest?
I would love to see them with the network feature.

The most I could promise is to look at it to see how you did it. If you have it on a BB or Git repo somewhere, that'd probably be best.  My biggest goal has been with trying to get the iOS app out the door, but I've been distracted by lots of work travel stuff while doing the latest documentation push.

I've become very aware of trying to add anything else to the UI, as it has become pretty packed.  The timer is something I've definitely been thinking about, esp with the app coming up.  Did you add something like a settings pane, too? Or were you saying that the other stuff was added pre-network feature?

Thanks again SaintNicster for a greatly appreciated tool.
No, thank you for using it!
Title: Re: Demo Radar (was CoHRadar)
Post by: Jacal on November 15, 2011, 07:58:03 AM
Title: Re: Demo Radar (was CoHRadar)
Post by: SaintNicster on November 15, 2011, 05:12:32 PM
Title: Re: Demo Radar (was CoHRadar)
Post by: Jacal on November 23, 2011, 01:27:27 PM
Finally

After much mucking about with SVN, and failed to get it exported to bitbucket, I made a Git repository and you can reach it here (https://github.com/stroemstad/CoHRadar_mod). If there is something missing from the project, give me yell and I'll see if I can get it pushed to GIT.

I had to refactor it out of its original packaging and it is now situated directly in the src directory. For some reason it was the only way I could get it to work with the SWT.jar.

There is a couple of issues with the live updating, it scrolls the entity list to the top, which is annoying but it was only intended for my own personal use and works fine for me.
I hope you can make some sense of the code changes I've made and that it is something that is usable.

Jacal
Title: Re: Demo Radar (was CoHRadar)
Post by: SaintNicster on November 23, 2011, 08:57:37 PM
Finally

After much mucking about with SVN, and failed to get it exported to bitbucket, I made a Git repository and you can reach it here (https://github.com/stroemstad/CoHRadar_mod). If there is something missing from the project, give me yell and I'll see if I can get it pushed to GIT.

I had to refactor it out of its original packaging and it is now situated directly in the src directory. For some reason it was the only way I could get it to work with the SWT.jar.

There is a couple of issues with the live updating, it scrolls the entity list to the top, which is annoying but it was only intended for my own personal use and works fine for me.
I hope you can make some sense of the code changes I've made and that it is something that is usable.

Jacal
Got a chance to look at it.  I do like your ideas, I'm just going to want to create a new shell/window to add these in.  I can't really promise any dates, though, as I've got a big project coming up at work :(
Title: Re: DemoRadar/CityRadar (was CoHRadar)
Post by: SaintNicster on December 08, 2011, 05:39:51 PM
Hey guys, guess what?


[CoH|Demo|City]Radar is now in the Apple App Store (http://itunes.apple.com/us/app/cityradar/id471655394) for iPad/iPod Touch/iPhone!
Title: Re: DemoRadar/CityRadar (was CoHRadar)
Post by: Tazhyngarth on December 12, 2011, 02:47:54 PM
Cool!