• Visit Rebornbuddy
  • [Plugin - Monitoring] [FoxMon] 0.9.3 a tiny info-page including a webserver

    Discussion in 'Archives' started by xfox, Oct 26, 2010.

    1. xfox

      xfox New Member

      Joined:
      Mar 18, 2010
      Messages:
      217
      Likes Received:
      3
      Trophy Points:
      0
      FoxMon


      What is FoxMon?

      FoxMon monitors all the important data of your bot on a tiny web-page (hosted on your pc without needing apache etc.)

      Why?

      It's late, i'm bored, and i want to have a look on my bot later in the bedroom through my iPod Touch. So i designed the monitoring template for IPod / IPhone users.
      Tiny, Simple, Cool.

      How-To?

      Just extract the package into your ./Plugin folder, start HB and activate the addon.

      It will open the port 4444 for the website, so you can access it there in your browser:
      http://localhost:4444


      have fun,
      xfox aka tr0llslay3r ;)

      edit: v1.0.2: template improved :D

      edit: awesome template added (by j0achim)
      made this to final version 1.0.0
       

      Attached Files:

      Last edited: Nov 9, 2010
    2. ryder1337

      ryder1337 New Member

      Joined:
      Sep 17, 2010
      Messages:
      189
      Likes Received:
      0
      Trophy Points:
      0
      Looks awesome, but I must ask one thing: is this only useable on local networks then and not on 3G mobiles when on the run?
       
    3. xfox

      xfox New Member

      Joined:
      Mar 18, 2010
      Messages:
      217
      Likes Received:
      3
      Trophy Points:
      0
      sure you can use it... therefor you need to know your external IP or use dyndns.

      then you can call it like "http://ryderblah.dyndns.org:4444" from everywhere.

      and you have to be sure, that the port is forwarded through your router to your pc (here: 4444)
       
    4. xfox

      xfox New Member

      Joined:
      Mar 18, 2010
      Messages:
      217
      Likes Received:
      3
      Trophy Points:
      0
      finally there's the HB update =)

      now have fun with hb and my plugin too =)
       
    5. bballmike156

      bballmike156 New Member

      Joined:
      Jan 15, 2010
      Messages:
      167
      Likes Received:
      0
      Trophy Points:
      0
      Hey I set up my external IP and port forwarded 4444

      so it looks like http://XX.XX.XXX.XXX:4440/

      but I still can't connect from my ipod.
       
    6. xfox

      xfox New Member

      Joined:
      Mar 18, 2010
      Messages:
      217
      Likes Received:
      3
      Trophy Points:
      0
      it looks like 4440 ?

      does it work on your local machine using localhost:4444 ?
       
    7. bballmike156

      bballmike156 New Member

      Joined:
      Jan 15, 2010
      Messages:
      167
      Likes Received:
      0
      Trophy Points:
      0
    8. mctrix

      mctrix Member

      Joined:
      Jan 15, 2010
      Messages:
      225
      Likes Received:
      1
      Trophy Points:
      18
      you prob have not forwarded your port correctly.
       
    9. mctrix

      mctrix Member

      Joined:
      Jan 15, 2010
      Messages:
      225
      Likes Received:
      1
      Trophy Points:
      18
      any chance to make the page a .net page with an auto refresh in it?

      i will try to help with that if i can..
       
    10. xfox

      xfox New Member

      Joined:
      Mar 18, 2010
      Messages:
      217
      Likes Received:
      3
      Trophy Points:
      0
      The cool thing is:
      You can simply customize the template.html to your needs !
      Only restriction: no images can be used, must be clean html-text file (no php, ssi etc.)
       
    11. mctrix

      mctrix Member

      Joined:
      Jan 15, 2010
      Messages:
      225
      Likes Received:
      1
      Trophy Points:
      18
      yeh unless im mistaken you can code a html page in .net that will have features of .net in it but im not sure if it requires sliverlight to do that and then how that would work through HB complier..?
       
    12. xfox

      xfox New Member

      Joined:
      Mar 18, 2010
      Messages:
      217
      Likes Received:
      3
      Trophy Points:
      0
      i don't know what kind of features you require on the page (.net features) ?

      for simple page refreshes you can use javascript or something
       
    13. zapman

      zapman Member

      Joined:
      Jan 15, 2010
      Messages:
      95
      Likes Received:
      18
      Trophy Points:
      8
      You can make the html file refresh itself.

      Go to your FoxMon folder -> Open up template.html -> between <head> and </head> add this line
      <meta http-equiv="refresh" content="5" >

      Done ;)
       
    14. xfox

      xfox New Member

      Joined:
      Mar 18, 2010
      Messages:
      217
      Likes Received:
      3
      Trophy Points:
      0
      thanks for your help,

      i still don't know why he wants a ".net page" ? ;)

      but 30 seconds is enough... the data updates every 30 seconds

      (ok you can change this also in the cs file ;))
       
    15. mctrix

      mctrix Member

      Joined:
      Jan 15, 2010
      Messages:
      225
      Likes Received:
      1
      Trophy Points:
      18
      yeh i wanted a .net page just because thats the way i know to get it to refresh...i was also using google chrome so i will play around with it today to get it to refresh.

      Cheers.
       
    16. j0achim

      j0achim New Member

      Joined:
      Jan 15, 2010
      Messages:
      532
      Likes Received:
      15
      Trophy Points:
      0
      Also you can make a small javascript in the heading, this way you could make the data refresh instead of the page. (Ajax)
       
    17. j0achim

      j0achim New Member

      Joined:
      Jan 15, 2010
      Messages:
      532
      Likes Received:
      15
      Trophy Points:
      0
      Heres a styled template, nothing huge but imo better then plain text, only styled with CSS.


      As soon as i get home i will upload the template file.
       

      Attached Files:

    18. xfox

      xfox New Member

      Joined:
      Mar 18, 2010
      Messages:
      217
      Likes Received:
      3
      Trophy Points:
      0
      very nice =) and still cute and tiny <3
       
    19. j0achim

      j0achim New Member

      Joined:
      Jan 15, 2010
      Messages:
      532
      Likes Received:
      15
      Trophy Points:
      0
      So as promised heres the template.

      Install is pretty self explained. Download and replace the template.html inside your FoxMon Plugin folder.

      Honestly, the Javascript was so that template would not need any changes with the plugin, however there are a few things missing so i've updated that as well. And im too lazy to remove the JavaScript code atm. but i will remove it asap. And update with a new version.

      Only current change that are used in this template is "required xp till level". So if you want to have that download and replace FoxMon.cs also.
       

      Attached Files:

      Last edited: Nov 8, 2010
    20. xfox

      xfox New Member

      Joined:
      Mar 18, 2010
      Messages:
      217
      Likes Received:
      3
      Trophy Points:
      0
      thank you very much, j0achim!

      included your complete stuff, and released the complete package as final version 1.0.0 !
      (see first post)
       

    Share This Page