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 1 of 5 12345 LastLast
Results 1 to 20 of 83
  1. #1
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    153

    HoN Info - C# Program to view HoN Information

    Project Home Page

    Requires: GTK# for .Net on windows, 7zip

    New version Beta 1.7!

    Fixed b1.7: Works on Windows!!!!! However, may require installation of mono.
    Added b1: Icons
    Fixed b1: More error checking, overall better stability
    Fixed 2.2: Configuration/Preferences error that would save nothing (corrupting config files)
    Fixed 2.1: Cooldown time is in seconds, Manacost is now actualy mana cost not cooldown XP

    Still needs testing but hopefully works better on windows.




    Download
    Last edited by Buttink; 08-23-2009 at 05:16 PM.

  2. #2
    o_O

    Incoming slap from S2 detected.
    Help stop small children from being eaten by toilets by pre-purchasing this amazing game!



    I've done My Part - How about you?

  3. #3
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    153
    Quote Originally Posted by Astah View Post
    o_O

    Incoming slap from S2 detected.
    possible but i dont break NDA and its not like they intentionally made it so i cant actually ... in fact i like that i can

    If it wasnt metioned you have to actualy have HoN installed to use this. It gets all information from HoN nothing is included in the program.

    If S2 wont do it someone can XP

  4.   Click here to go to the next staff post in this thread.   #4
    Nice job. It would be cool if you could edit heroes this way, too.
     

  5. #5
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Denmark/Iceland
    Posts
    269
    Very nice, how do you extract the hero and spell information?

    I'm thinking it could be awesome to use it to create an automatically updated HoN-wiki.

  6. #6
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    153
    Quote Originally Posted by Andrioid View Post
    Very nice, how do you extract the hero and spell information?

    I'm thinking it could be awesome to use it to create an automatically updated HoN-wiki.
    I was thinking about open sourcing my code just so that if anyone wanted to see how i did it they could

    Basicly, S2 has xml files for every hero and ability which contain an ID (and more) which i can use to get info from a stringtable. (i get these with 7z and read with an XmlReader)

  7. #7
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    66
    Looks pretty solid, nice work.

  8.   This is the last staff post in this thread.   #8
    Quote Originally Posted by Andrioid View Post
    Very nice, how do you extract the hero and spell information?

    I'm thinking it could be awesome to use it to create an automatically updated HoN-wiki.
    They will be having a website with hero information. However, a user editable wiki would be great. The s2z extension is just a renamed zip, so php shouldn't have any trouble with it. It should be easy enough to keep it updated, too. The dedicated server updates itself, and if you don't want to host a HoN server as well, you can just keep it behind NAT. The wiki could be made to reload its hero data each time the change log file gets modified.
     

  9. #9
    Offline
    Account Icon
    Join Date
    Jun 2009
    Location
    Toronto, Canada
    Posts
    1,450
    You make a GTK+ ui designer really, really sad. If you did this in a Glade 3 compatible format (or the monodevelops editor), I'd be willing to help you sort out the interface.

  10. #10
    Quote Originally Posted by Buttink View Post
    I was thinking about open sourcing my code just so that if anyone wanted to see how i did it they could

    Basicly, S2 has xml files for every hero and ability which contain an ID (and more) which i can use to get info from a stringtable. (i get these with 7z and read with an XmlReader)
    You should open-source it. I'd like to take a look at it, and probably wouldn't mind getting it working in windows. Also, there's no way I (or the other people on the forum) should run some random executable from some random forum-goer.

  11. #11
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    153
    Quote Originally Posted by Vadi View Post
    You make a GTK+ ui designer really, really sad. If you did this in a Glade 3 compatible format (or the monodevelops editor), I'd be willing to help you sort out the interface.
    its in monodevelop. The problem is it made with the SVN monodevelop which is epic broken as far as the Stetic designer so i cant put custom widgets in a widget i have to do it manualy + i just wanted it to work it is what im currently working on

    EDIT: i got this working in 5 days cut me some slack

    Quote Originally Posted by BLUEPOWERVAN
    You should open-source it. I'd like to take a look at it, and probably wouldn't mind getting it working in windows. Also, there's no way I (or the other people on the forum) should run some random executable from some random forum-goer.
    Yet people run random flash scripts all the time XP
    Last edited by Buttink; 07-24-2009 at 07:26 PM.

  12. #12
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    153
    created Google Code page (GUI isnt in i decided to just completely redo it)

    also will be building code with mono 2.4.2.2 with monodevelop 2 (hopefully no problems)

  13. #13
    Umm, about the wiki.... http://honwiki.net/wiki/Main_Page

    Also, you can use the in-game console to generate a whole wiki (yep). It generates a xml file which can simply be imported in mediawiki, and bam you got a few hundred pages for items heroes etc.. Well, templates at least.

    Anyways, back on topic:
    On Winslows XP, it seems it can't figure out where 7z is placed, whenever I point it out and save, it seems to throw it away... Even if i go to properties right after showing it where, its gone. Manually choosing destination in the config doesn't help.

  14. #14
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    153
    Quote Originally Posted by zifle View Post
    Umm, about the wiki.... http://honwiki.net/wiki/Main_Page

    Also, you can use the in-game console to generate a whole wiki (yep). It generates a xml file which can simply be imported in mediawiki, and bam you got a few hundred pages for items heroes etc.. Well, templates at least.

    Anyways, back on topic:
    On Winslows XP, it seems it can't figure out where 7z is placed, whenever I point it out and save, it seems to throw it away... Even if i go to properties right after showing it where, its gone. Manually choosing destination in the config doesn't help.
    gar i should have tested this on windows first >.>

    Its probably something stupid i did for linux that buggered up windows i apologize because i dont need a path for linux (will patch soon)

    I have lots of things to patch lol When i posted this it was like .... IT WORKS!!!!!!!!!!!!!!1

  15. #15
    Quote Originally Posted by Buttink View Post
    gar i should have tested this on windows first >.>

    Its probably something stupid i did for linux that buggered up windows i apologize because i dont need a path for linux (will patch soon)

    I have lots of things to patch lol When i posted this it was like .... IT WORKS!!!!!!!!!!!!!!1
    Haha, I get your point, anyways I guess this is as much my fault as your's. I shouldn't be sitting on Winslows in the first place :O

  16. #16
    Mono? :/

  17. #17
    Offline
    Account Icon
    Join Date
    Jun 2009
    Location
    Toronto, Canada
    Posts
    1,450
    Its all some people know, so I'm not raising a fuss:
    P

  18. #18
    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

  19. #19
    Offline
    Account Icon
    Join Date
    Jul 2009
    Location
    Washington DC Area, USA
    Posts
    21
    You should have looked into writing this in Python as it's fairly lightweight (as in, not too computationally expensive) and would be great to have truly cross platform... and Mono/C# don't count.

    I would be more than happy to port stuff to Python, but I have *no* experience with Python GTK/wxWindows GUI building.

  20. #20
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    153
    Quote Originally Posted by Caligatio View Post
    You should have looked into writing this in Python as it's fairly lightweight (as in, not too computationally expensive) and would be great to have truly cross platform... and Mono/C# don't count.

    I would be more than happy to port stuff to Python, but I have *no* experience with Python GTK/wxWindows GUI building.
    i think mono + C# counts its just that when i made this (in hurry only 5 days) i didnt tell monodevelop to not translate so the stetic designer used the Mono.Unix namespace if i remove that then it will run with .Net and GTK# for .Net

    Well anyway remaking the entire UI right now ill probably have it done tonight some time.

    Edit: Forgot to mention i would love to learn python but huge projects in python also kinda hard due to python not being strongly typed (on a side note EVE Online servers are made in python because python was easyier for them to have concurrency)
    Last edited by Buttink; 07-25-2009 at 03:14 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
  •