Titan Network
Community => City of Heroes => Topic started 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.
-
I still use blinkie finder. I'll have to check this out. Thanks! =]
-
Sweet! I can't wait to test this out.
-
Nice! I will have to try this out as well.
-
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.
-
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.
-
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.
-
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.
-
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 >.>
-
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?
-
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.
-
-
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.
-
really!?
Dang... that sucks bananas.
-
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.
-
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!
-
My wife has a Mac - :P
-
My wife has a Mac - :P
Well there go your excuses ;)
-
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!
-
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
-
This is all SaintNicster, titan has no part in it. All his brain child. :D
-
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!
-
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.
- Window position is now saved on exit and restored the next time. If you need to reset this, right click the tray icon.
- Entity count added just below the table. Now shows how many entities are being shown
- Tweaked the type text for other players. Custom critters in the MA use the same code for display as players do. I'm looking to see if there is a better way to detect them.
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)
-
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. :)
-
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/
-
awesomesauce, I actually still use this app.
-
Same here. It's better than pulling all my hair out. :)
-
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 ^_^
-
You mean something that isn't /demostop?
-
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 ???
-
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?
-
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
-
then could that be viable?
Just set it to a loop?
-
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.
-
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.
-
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.
-
Very true, Again, I'm not the type who even uses it, but It is a neat tool.
-
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 -
- Project moved to BitBucket.org (https://bitbucket.org/saintnicster/radar)
- Contacts with the new Issue 21 effects/arrows are now highlighted on the map
- Major rewrite of the backend code
- "Remote" mode
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.
-
This is the first I've heard of it, and I must put in my two cents for it being totally awesome.
-
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 -.-
-
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.
-
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..."
-
It never registered. (-:
-
Demo Radar was updated to 0.7.1 (https://bitbucket.org/saintnicster/radar/downloads) this past week (during the downtime).
- Added missing effect flag for Invisible glowies
- Added update checker to the program. Updates are optional, but you will be reminded on the next execution / after 24 hours (if the program is left running).
Source code, wiki (with some instructions), and an issue tracker are available at bitbucket.org (https://bitbucket.org/saintnicster/radar/)
-
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.
-
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!
-
-
-
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
-
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 :(
-
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!
-
Cool!