SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Click here to go to the first staff post in this thread. Thread: HoN Info - C# Program to view HoN Information

Page 2 of 5 FirstFirst 12345 LastLast
Results 21 to 40 of 83
  1. #21
    Offline
    Account Icon
    Join Date
    Jun 2009
    Location
    Toronto, Canada
    Posts
    1,450
    Do keep in mind that alignment without the real stuff isn't perfect:



    Here is the gtkbuilder file itself: http://files.getdropbox.com/u/84880/hon_info.ui

  2. #22
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    643
    Why not do this in Java? Performance is not a concern for such a program, and Java allows for effortless cross-platform compatibility.

  3. #23
    if you do open this, i'd be interested in just going over your code.

  4. #24
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    153
    Quote Originally Posted by binbo View Post
    Why not do this in Java? Performance is not a concern for such a program, and Java allows for effortless cross-platform compatibility.
    Im tired of why didnt you do this in BLAH every programmer has a language they like end of story and nothing I REPEAT NOTHING is "effortless"

  5. #25
    not working on w7

  6. #26
    unable to start on 64 bits windows.
    i did change the win32 xml config file with the following :
    Code:
        <PathToHoN>F:/HoN</PathToHoN>
        <Path7zip>C:/Program Files (x86)/7-Zip</Path7zip>
    but that didn't help

  7. #27
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    153
    Preview new ui!


  8. #28
    I'm fairly new to Linux... so please can somebody tell me how to start the program? there's no .sh script nothing... so please ^^


  9. #29
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    153
    Quote Originally Posted by Jazilla View Post
    I'm fairly new to Linux... so please can somebody tell me how to start the program? there's no .sh script nothing... so please ^^
    if need mono but if you already have that just

    mono HoNInfo.exe

    ./HoNInfo.exe should work as well

  10. #30
    Offline
    Account Icon
    Join Date
    May 2009
    Location
    <%= self.home %>
    Posts
    745
    Quote Originally Posted by kainjow View Post
    I was hacking around with the app too and noticed the online protocol is pretty straightforward using HTTP GET/POST and JSON. I couldn't figure out the password hash (looks like MD5) or else I would have created some program to list buddies or something. Maybe S2 could document it so people like me and others could make fun utilities for the community
    You should be able to work out most things from here...

    http://github.com/lloydpick/hon-stats/tree/master

  11. #31
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    153
    New Version hope it works on windows now

  12. #32
    Still same problem. Also be aware that I am using a 64bits windows so this could be a different issue.

  13. #33
    a C# program that doesn't actually work on windows? or does it? anyway i don't have 7z and don't really want it... do i really need it?

  14. #34
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    66
    Seems nice to a newbie as me... Downloading!

  15. #35
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    153
    Quote Originally Posted by blackAngel88 View Post
    a C# program that doesn't actually work on windows? or does it? anyway i don't have 7z and don't really want it... do i really need it?
    unless you extract the files yourself yes

    if you want to extract all the files yourself open resources0.s2z and get all .entity in the heroes folder and the right entities_en.str in stringtables and put them in a folder called Data

  16. #36
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    153
    Quote Originally Posted by Thotor View Post
    Still same problem. Also be aware that I am using a 64bits windows so this could be a different issue.
    Can you give me anything more specific? does it throw an exception or does something refuse to load?


    BTW new patch fixes display error now mana cost is actualy the mana cost + cooldown time is now in seconds not milliseconds
    Last edited by Buttink; 07-28-2009 at 02:43 PM.

  17. #37
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    643
    Quote Originally Posted by Buttink View Post
    Im tired of why didnt you do this in BLAH every programmer has a language they like end of story and nothing I REPEAT NOTHING is "effortless"
    I use Java for projects like this one because it IS effortless to get it to work across environments. You have to do NOTHING - the same JAR works.
    This thread has people who are having trouble to get it to work... which would not happen if it were written in Java.

    You're just being overly aggressive to a sensual suggestion.

    Most people don't like Java because it's relatively slow, but for an app like this, that doesn't matter.

  18. #38
    Offline
    Account Icon
    Join Date
    Jun 2009
    Location
    Brazil
    Posts
    106
    It's not working for me (windows vista x64). It always crashes when I open it. The error message in the command prompt windows says something about not being able to load the file or assembly gtk-sharp.

  19. #39
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    153
    Quote Originally Posted by Coffeeholic View Post
    It's not working for me (windows vista x64). It always crashes when I open it. The error message in the command prompt windows says something about not being able to load the file or assembly gtk-sharp.
    http://www.go-mono.com/mono-downloads/download.html go here click windows then download and run GTK# for .Net

    Quote Originally Posted by binbo View Post
    I use Java for projects like this one because it IS effortless to get it to work across environments. You have to do NOTHING - the same JAR works.
    This thread has people who are having trouble to get it to work... which would not happen if it were written in Java.

    You're just being overly aggressive to a sensual suggestion.

    Most people don't like Java because it's relatively slow, but for an app like this, that doesn't matter.
    The same C# application will run on ANY i repeat ANY computer, i just dont include non standard libraries. I expect gtk-sharp to be installed. i dont included it with my prog. Its exactly the same. Pass that, i still have to do Platform specific funtions to do things like Default install location, and location of 7zip.

    and im not aggressive, im passionate XP
    Last edited by Buttink; 07-28-2009 at 06:09 PM.

  20. #40
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    6
    Quote Originally Posted by binbo View Post
    I use Java for projects like this one because it IS effortless to get it to work across environments. You have to do NOTHING - the same JAR works.
    This thread has people who are having trouble to get it to work... which would not happen if it were written in Java.

    You're just being overly aggressive to a sensual suggestion.

    Most people don't like Java because it's relatively slow, but for an app like this, that doesn't matter.
    Not trying to get an argument or sounding overly technical, but a few things:

    1. Java is not slow, the only thing which is (or rather "was") slow about Sun's Java runtime is how GUI applications were handled (i.e. swing was horrible some time ago, performance wise - if you think about it, you'll realize that 95% of all "Java is slow!" claims are either totally outdated or based on some GUI desktop application). If you are using Java to do calculations, run some server app or whatever it's just as fast as you'd expect. It takes a good chunk of memory to run even small things, though. The main reason why Java is considered "slow" by many is because of its big footprint (i.e. slow startup time of applications - will be history with OpenJDK 7).

    2. The main reason the application mentioned in this thread doesn't seem "portable" is because it's using Gtk# (A .NET binding for Gtk+ which is mainly used in the Unix world) as GUI Toolkit and not System.Windows.Forms (Microsoft's Default UI Toolkit for .NET based applications). As Gtk# isn't in Microsoft's .NET stack Windows users have to download it for themselves. Would be the same problem if it was written in Java using a GUI framework that isn't included in Sun's Runtime.

    3. Did I hear "JAR" and "effortless" in the same sentence? Just one thing: "JAR hell"...But fortunatly the classpath will be dead with OpenJDK 7 in a few months anyway.

    4. No I am not bashing anyone, any language, any runtime or any library. For all those who don't like what the author of this thread created I am sure you are going to rewrite the application in your favorite language using your favorite runtime and favorite GUI toolkit to prove that you can do it better, right?
    Last edited by dadsch; 07-28-2009 at 06:20 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •