[WIP/ADMIN] Bukkit Plugin Watcher V. 0.9.4.45 Beta - GUI For Keeping An Eye On Plugin Threads

Discussion in 'Bukkit Tools' started by cyberdude, Jul 23, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    cyberdude

    Already fixed in the next version, the next version should remember your settings when you upgrade ;).. Using .Net build it settings, but forgot that settings are stored per application and per version, so I need to trigger a update on the settings when you run a new version. So next time you upgrade you shouldn't loose your settings ;)...
     
  2. Offline

    JoshuaBehrens

    God damned. Why are you using My.Settings ? Use XML or BinarySerialisieration. I can show you how. So it's version-independant.
     
  3. Offline

    cyberdude

    I know how to XML Serialize and Binary Serialize, the stored data that is extracted about the plugins are stored using XMLSerializer, the scrape of the plugins list is put into a list of custom object and then stored using Binary Serializer. Sometimes you don't need to reinvent the wheel. My.Settings are perfectly fine, you just need to use it correctly. It's 2 lines of code to correct the mistake. Settings is quick and easy to work with. Using a Binary Serializer you can't add new functionality to your settings class without breaking it, because it can't unserialize to a class that is different to what is serialized against, so adding new properties between updates will break the Serializer. Unless you opt for using some kind of List/Dictionary whereby you don't have hard references for the settings/properties.
    Settings also easily allows me to choose between user/application specific scope.
    No man. I would turn the question around and point it at you: Why would you use XML Serialize/Binary Serialize to store application settings when you can use Settings which are far superior for this task. Use the tools available for the right job.

    Edit:
    And the first release I released I stored the application settings using XML Serialization, but when I found I got more and more settings, I quickly switched everything to Settings.
     
  4. Offline

    sddddgjd

    This is awesome!
     
  5. Offline

    JoshuaBehrens

    I don't like the Settings although they are perfect, but since I'm working with other frameworks or OS which don't offer this feature I like to use own saving strategies. Native and VCL don't offer this so I'm using .ini for simple savings and xml for advanced stuff.
    Due to compatibility I'm using my own files, because I know exactly how it's working and where I have to improve whether there is something missing.

    So on the one hand I can say Settings are perfect, but on the other I don't like the fact that .Net is insecure because you can easily decompile "compilations". Own saving strategies are better for understand systems to save. When you have the right way you can use it on any system. Serialization is not an own way and My.Settings is also working with this, but not everybody knows this and I think it's a fact that you should know and how to use it when you're working with .Net.
     
  6. Offline

    cyberdude

    I agree and get your point :). In this case I'm not working with different platforms and I am not going to spend unnecessary time on it. It's just a hobby project that I decided was worthy of a public release. Like many projects here on bukkit. So my stand point is still that as a programmer there is no best way of saving, no best programming language, no best platform and no universal solution. There is only a set of languages/saving methods/platforms/solutions available to you when you solve a problem. Part of being a good programmer is to be able to distinguish when to use the one or the other approach. In this case there is no reason as to why I should not use the .Net Settings. And I feel that you agree?
    You do have a point in that if I tomorrow wanted to port this to another Platform, then yes, I would have to rewrite all the settings part. But as I have not considered this, and probably won't then there is no reason to consider another saving approach. If I were to port it to another Platform it would be in a whole new form whereby I would rewrite everything anyways.
     
    JoshuaBehrens likes this.
  7. Offline

    Taranis01

    @cyberdude
    i would like to sort the columns as i like (it's already possible but it's not saved after closing BPW).
    the width of the "Name"-column is really large because the damn WorldGuard Title isn't formated properbly. Limit it to 30 characters? ("URL NOT FOUND IN PLUGIN LIST" = 28 characters)
     
  8. Offline

    cyberdude

    Are you running the latest version? Maybe WorldGuard update title again. When I released the last version, I was sure that WorldGuard was not 1 of the 2 threads that I can not correctly distinguish between name and extra/description. I well write it down, and check up on.
    And yes, adding a max width to the name, would be an okay solution.
    The storing of sorting will be in next version, I already have it in on my todolist, and also store column order (You can drag the columns, so you decide your own column order).

    Thanks for your input Taranis01 :)
     
    Taranis01 likes this.
  9. Offline

    Taranis01

    @cyberdude
    just want to ask whats going on with the new version of BPW :)
    (or maybe i only wanted push this because great things need to be seen ;) )
     
  10. Offline

    cyberdude

    It's going okay, I've fixed the issues that I have spotted and what have been reported. Currently working on some more stuff (some is minor GUI stuff), and storing columns order/sort. It's not going so fast with this, since I'm trying to get my own server up and running with LOTS of plugins (making it alot easier with BPW). And also working on 2 plugins, one which I've hopefully be able to release within the week. I don't have many hours to work with. I'm glad your still interested. But I'm not sure if I'll put much more work into BPW (Not too much at least), I haven't really seen the amount of response I was hoping for (I'm happy for the good response, but I only very few people have seen/commented so far).
     
    Taranis01 likes this.
  11. Offline

    Taranis01

    thats okey, BPW doesn't need more improvements (only the already suggestet ones ;) ). I will looking forward to your plugins
     
  12. Offline

    cocoson

    yo every time i try to open it it just says BukkitPluginWatcher has stopped working
     
  13. Offline

    cyberdude

    Thanks for the fulfilling bug report. I appreciate the time you spent on describing the error message, and what you have done before the error happen. Also nice details explaining if it had worked before or if this is the first run.
    I really appreciate the fact that you can't fathom that others seem to have it running while you can't get it to run, which might seem strange, and a better description would benefit your case.
    Large portion of sarcasm may be included in this post.

    From your description all I can say is make sure you are running .Net 4.0.
     
  14. Offline

    cocoson

    @cyberdude
    sry havn't had much sleep today. and for the sarcasm that was funny.
    but here goes nothing to fix the little problem you have with my post.
    1.just downloaded it
    2.just unziped it
    3.error says BukkitPluginWatcher has stopped working and closes
    4.thats it thats all i did

    P.S. i got it working for some reason my google chrome messed it it up when i have google chrome open it wont work but when i have it closed it will
     
  15. Offline

    cyberdude

    @cocoson
    There is no error message when it stops?

    Can you check your .Net framework folder.
    Go to your explorer, and enter this path: %windir%\Microsoft.NET\Framework\
    Then look at the folders there. You should have a folder named something like: v4.0.xxxxx
    If not, then you need to install .Net framework 4.0
     
  16. Offline

    cocoson

    yes i have .Net framework 4.0
    it was my google chrome causing the problem
     
  17. Offline

    cyberdude

    Glad to hear. But please explain about the Google Chrome issue? I would like to hear more, I don't have an issue, and I'm using Chrome.
     
  18. Offline

    cocoson

    it might just because i have my google chrome setup as a VM when it runs
     
  19. Offline

    cyberdude

    Ok..
     
  20. Offline

    cyberdude

    Cancelled until BukkitDev is sorted and up and running. If sufficient changes are made to BukkitDev that I can use, I will continue this project. It might require a rewrite (reboot) of the project. But we'll see...
     
Thread Status:
Not open for further replies.

Share This Page