Monday, February 22, 2016

New Experimental Project: Radar Stats for League of Legends


I play League of Legends. A lot. It is my new drug (I started 3 years ago). I enjoy it more than any other game. Update: I dont play it anymore, I have a family :)

There are many applications on internet showing the game statistics: kills, deaths, assists, damage, etc. but none of those applications show the stats in the exact way I need it. What I want to see:

- A radar spiderweb of both teams, showing all kind of stats, and the evolution during the entire game. Similar to the radar graphs used by basketball websites to analyze the game.
- A map showing how both teams moved, the path they followed, were they did the kills, the area covered by both teams, and more. To do this LoL API has data in frames, separated in minutes, so it is not exact but it gives an idea of how the enemy jungle started (and killed me :0 ).
- Open the match details in the official lol history, or in LolKing.net
- Share the match details with friends

I created an android app with those features. The UI is bad, but I am focused on the functionality, after every game I analyse the graphs and discover my mistakes, the good moves of my enemies, and learn. I can not say I became a better player because of the app, but I am playing better trying to avoid the same mistakes the graphs showed to me. Sometimes it works, and I enjoy watching the graphs and the maps many times.

The LoL API doesnt return all stats in the timeline (e.g. we can not see the evolution of the total damage), but it has enough data to play with it.

I uploaded an alpha build to the store, you can download here it after joining as an alpha user https://play.google.com/apps/testing/ar.ignaciotcrespo.lolradar

UPDATE: I released it some months ago, the link is https://play.google.com/store/apps/details?id=ar.ignaciotcrespo.lolradar

For developers, some useful libraries I used to create the app:

- MPAndroidChart: excellent library to display charts in android.
- Picasso: very good image loader, very easy to use. Some issues present (memory leaks sometimes) but nothing critical.
- CircularImageView: show circular images with almost no code.
- GSON: to parse the LoL statistics in json format, and convert them to business objects.
- Guava: always useful, maybe too big for android, but this app is small.


Screenshots: (UPDATE: these screenshots are old, the new app has a different UI)


A radar chart showing the stats of each line, both teams compared




You can select 2 players and compare their gold, kda, wards, cs and objectives.




A heatmap shows the position of all players during the match. It can be changed to different kind of graphs, and see the evolution on every minute during the game.




You can select 2 players in the map and choose "Show path" to see live the path they did during the entire game.

https://goo.gl/JJHSmb



And of course the list of recent matches.




I am still working on it. It is an alpha so it has bugs. There are many things to improve, any feedback is welcome.


Enjoy Lol.


PD: if you want to play with me, my nick is "nippur" in EUW.




Sunday, January 26, 2014

Just when you thought you knew a lot about development...

Just when you thought you knew a lot about development someone that knows more punch you directly in the face with a few wise words.

A friend recommended me "Clean Code" and "Clean Coder", by Robert Martin.

http://www.objectmentor.com/omTeam/martin_r.html

I feel like a child learning everything again. I love these books, it is the kind of technical thing that you need to read before going to sleep.







Wednesday, November 14, 2012

Android SDK Manager can't find latest updates!

I had a nice surprise today. After updating the ADT plugin in Eclipse it says that I must update the android tools.

Ok, one more time I opened the SDK Manager and searched for the updates. But wait... there is no updates. And Eclipse doesn't work! WTF?

"It must be a bad nightmare, take it easy" I think. Just do the obvious thing, close the SDK Manager and open it again. Stupid solution, it doesn't work.

Ok, something is bad, so I enter to the preferences and what I see is "Cache size" with the option "Delete cache". Oh yea! Now it works. God exists.

Stupid cache, you think you know everything, but I am better than you :D




Tuesday, November 6, 2012

Development tools I can't live without


Every developer has his own set of preferred tools. Me too. In my case all these tools are Java oriented because is the language I use more often. Obviously these are not the best tools you can find on internet, I'm sure you use other tools better and you hate my tools, but they gave me so many satisfactions that I think my work can't be finished without them. Too bad uh?

  • Eclipse: "naaaaaaaaaaa, no way" maybe you think. I understand people complaining this fantastic IDE, but I am in love with this tool. I tried all IntelliJ, Netbeans, etc. and I think I know Eclipse so well that I can face any problem that it can have, I accept it's buggy due to the free plugins we install all the time.
  • Findbugs: great free tool to detect common programming problems.
  • CheckStyle: the best tool to detect coding standard violations. I use it inside Eclipse of course.
  • UCDetector: Unused Code Detector. When your project it's really big you notice a lot of code that it is not being used. You can remove it automatically with proguard, but the best option is to delete it. Less code, less problems. This free Eclipse plugin will do the hard work for you, with many options, and allowing to remove multiple things with quickfix.
  • ASM Bytecode Plugin: amazing plugin to see the java bytecode in real time. Sometimes when you want to improve something it is good to check the bytecode, you will get some nice surprises. You can change the code, but the bytecode could be exactly the same or even worst.
  • Lint: checks for problems in Android projects. It is included in the android SDK and the ADT plugin.
  • Total Commander: wtf? This is not for java. Of course not, it is only THE file commander. Extremely powerful, and with lot of free plugins. It's for windows only but I use it with "wine" in MacOS. If you create a plugin the author will send you a personal license for free! Thanks Ghisler, you made me happy on christmas ;)
  • Sonar: easily receive reports with code coverage and errors.
  • PlantUML: combined with Javadoc is an amazing tool to add UML graphs to your documentation.
  • Google: do I need to put the link? When you don't know something he knows it :D
And the last thing I can say is: use the tools that are more comfortable for you, and use them well and wisely. You will love your daily job.

Cheers,

Lula


Sunday, October 23, 2011

NoooTvAndroid: see all movies from Noo TV in your android

UPDATE 3/Aug/2016:
this was an experimental project I created some years ago, it is not functional anymore and I am not doing support. Thanks for all the feedback.


Hi all,

I did an application to see the movies from Nooo TV in your Android. It's similar to CuevanAndroid, I hope you can enjoy it.

https://market.android.com/details?id=com.shinebox.android.notv


Please be patient, it's in development, if you find bugs please send me a mail and I will fix it.

BR,

Lula


Wednesday, October 19, 2011

What I want to see in Logcat plugin for Eclipse

The new logcat plugin is cool, now has regex and more options to filter. But it lacks of:

  • highlight searched text
  • syntax coloring for XML and others
  • selection of log format (brief, full, etc.) and ring buffer (main, radio, events)
I developed a small logcat plugin with those both features. Warning, this logcat plugin is ugly (I'm not a UI designer), it's just a small example.

You can download it here: https://skydrive.live.com/redir.aspx?cid=511e6cc6d535b08d&resid=511E6CC6D535B08D!123

A few screenshots

highlight searched text in yellow


syntax highlight in XML


I will continue using the original logcat plugin, is really great, but still has many things to improve. Congratulations to all the developers, they did a great job.

BR,
Lula

Thursday, October 13, 2011

CuevanAndroid: see all movies from Cuevana in your Android

UPDATE 3/Aug/2016:

this was an experimental project I created some years ago, it is not functional anymore and I am not doing support. Thanks for all the feedback.


There is a new application in the market giving access to the well known Cuevana site. It includes the Cuevana plugin so you don't have to do anything, just enjoy the videos.

Check it at https://market.android.com/details?id=com.shinebox.android.cuevana



BR,

Lula