Jump to content

Norway174

Members
  • Posts

    128
  • Joined

  • Last visited

Everything posted by Norway174

  1. Ability to disable certain parts of a mod has been suggested before. Along with Mod overwrite compatibility. I'm currently working on a system to deal with both of them at the same time. But I'm still wondering on how to implement it programmatic wise without breaking the advanced unpacking/installing sub I currently have. I will look into the "ArgumentOutOfRangeException"-error you have. If I can reproduce it, I am 99.9% certain I will be able to fix it. And I suppose you are right about the ToolTip. The name on them itself should hopefully have enough explanation. I'll leave it on for a few in some scenarios. Thanks for the feedback. Edit: I'm wondering if anyone who does YouTube reads this thread? I've tried contacting Lord Stimpy again, but no response yet. If anyone would be so kind to make a new and more updated YouTube video, I would appreciate it a ton. PM me if you wish to make it a bit more "official" for KSPMM. So I can feature in the WelcomePage in KSPMM. The reason of that, I have a few requirements that needs to be met before I want to use it the Welcome Page. The requirements aren't that hard or ridiculous, so I would encourage anyone who wants to give it a shot to PM me. Thanks!
  2. Honestly, I don't think it will be a problem. Because of the method I'm using. It will work with any link. (As a security precaution, you will always be able to cancel the download. Which will automatically delete the file.) It's a small bug I've yet to fix. It only happens once. If you close the pop-up and right click again, it will be at the mouse, like it should. Thank you!!! That really does mean a lot to me. :-) If you have any questions about Bridge (or KSPMM), feel free to ask.
  3. I know. Check the changelog. It's already fixed. Just not released yet. But I will soon. Probably right after I post this in fact.
  4. Well... You could get the new URI fairly quickly, then using a WebClient to get the web-page code before loading it with the Web-Browser. Tweak it. Then display the result in the Web-Browser. However, using that method, the Web-Browser won't actually display the real page. It would display a modified copy locally. Feel free to contact me on skype if you wish to communicate this further. Or would like some assistance.
  5. @ROFLCopter64bit: Oh, I can do better than that. What about read/write access to the DropBox folder? PM me if you're interested in joining the team. @Soulshifter: Actually, I changed Navigated to DocumentLoad. Which I did before the fix I added. I don't think I tested it back with Navigated. I will test it quickly. And if it still works, I'll keep it that way. Navigated is much faster than DocumentLoad. So there should be no lag then. As for the lag, it's not a technical problem. It would always update the text. Even if happens 10 mins later. Obviously it would be bad. Would it still be updated. As for the fix, all I did was loop trough every element. Finding the one that matches red_btn. [COLOR="#0000FF"]Dim[/COLOR] theElementCollection [COLOR="#0000FF"]As[/COLOR] [COLOR="#00FFFF"]HtmlElementCollection[/COLOR] theElementCollection = WebBrowser1.Document.GetElementsByTagName([COLOR="#FF8C00"]"input"[/COLOR]) [COLOR="#0000FF"]For Each[/COLOR] curElement [COLOR="#0000FF"]As[/COLOR] [COLOR="#00FFFF"]HtmlElement[/COLOR] [COLOR="#0000FF"]In[/COLOR] theElementCollection [COLOR="#0000FF"]If[/COLOR] curElement.OuterHtml.Contains([COLOR="#FF8C00"]"red_btn"[/COLOR])[COLOR="#0000FF"] Then[/COLOR] curElement.SetAttribute([COLOR="#FF8C00"]"InnerText"[/COLOR], [COLOR="#FF8C00"]"Download with KSPMM!"[/COLOR]) [COLOR="#0000FF"]End If[/COLOR] [COLOR="#0000FF"]Next[/COLOR] Putting this in the navigating sub, would get the old document. Or page. And your request has been noted. Seems like a good idea. And very easy to do. So I'll probably do it in the next release. Edit: Just tried changing DocumentLoad to Navigated. Didn't work for some reason. So I'll just leave it as it is now.
  6. Yeah. Already made it work. I took another approach. It won't save a log of any kind. Nor trough the session. And to deal with multiple downloads. You'll have to wait till the first one is done. Since mods aren't generally too big anyways. I figured it wouldn't be a too long of a wait. Now my last problem, changing the button text from "Download Now!" to "Download with KSPMM!" (Feel free to suggest something better.), I thought that would be the easiest part. Oh god, was I wrong. For some reason it won't let me modify the source code page and set it as the new one. Without treiggering the same event again, and causing it to be set again and trigger the event. In an endless loop. This is really bad. And the trick I used on the welcome screen, doesn't seem to be working for this one. If anyone with VB.net experience wish to give any pointers, on how to read the source code, replace a line, and then set it back again with the new line. Here's my current sub I'm using: [COLOR="#0000FF"]Sub[/COLOR] Navigated() [COLOR="#0000FF"]Handles[/COLOR] WebBrowser1.Navigated [COLOR="#0000FF"]Dim[/COLOR] orginaltxt = [COLOR="#FF8C00"]"<input class=""red_btn"" type=""submit"" name=""send"" value=""Download Now!"" />"[/COLOR] [COLOR="#0000FF"]Dim[/COLOR] newtxt = [COLOR="#FF8C00"]"<input class=""red_btn"" type=""submit"" name=""send"" value=""Download with KSPMM!"" />"[/COLOR] [COLOR="#0000FF"]Dim[/COLOR] txt [COLOR="#0000FF"]As String[/COLOR] = WebBrowser1.DocumentText txt = txt.Replace(orginaltxt, newtxt) WebBrowser1.DocumentText = txt [COLOR="#0000FF"]End Sub[/COLOR] Problem is that when I set the "WebBrowser1.DocumentText = txt", it will trigger this whole sub again. And loop endlessly. Suggestions? If not, I'll probably end up solving it myself after some time. EDIT: Never mind. I solved it! Will probably release next version really soon. Hoping you guys will check out the Bridge. It can be accessed under File, or by pressing Ctrl + B. Also, a fun fact; I called the web-browser for Bridge, because it 'connects' the users to the mods easier. What is easier than walking over a bridge? This is even easier! Just one click of a button. Just note though, it will download any .zip file automatic. but as a security precaution, the download bar will be annoying in the middle. With a cancel button. So you will know if it downloads something regardless. Any other file types, you will get a pop-up asking if you want to save it. And where to save it. Like standard IE. EDIT2: Just released version 1.5.5.0. I highly suggest everyone check out Bridge. There should be a new button right next to "Launch KSP".
  7. Mhm. Yea. Thanks. Will be fixed in the next update. Which is just around the corner. Speaking of next version, this update will mostly be focused on the Bridge Web-Browser I have. For example, I set the new homepage to be the SpacePort. Because I FINALLY figured out how to get the direct link to a mod file on there. Yes, you heard right. Next version will allow directly downloading files from the SpacePort using KSPMM Bridge. No Save As... dialog or anything. It will automatically detect the file type and download it to the appropriate folder. When you press the Download button. Right now I'm working on a effective way of bulk downloading files. And storing the logs. Would you guys be fine with store and forget for each session? It will remember what you've downloaded till you close KSPMM. Then it forgets it. The easiest method. Or Would it be referred to store that info somewhere? And load it back up again next you run KSPMM? So it will always remember what you've downloaded. And let you re-download it. This would require saving another file on your PC somewhere. EDIT: Just a quick update to let everyone know it works perfectly! It will now downloads mods from SpacePort, add it in the MODS folder. And reload the main mods list. All with one click of a button. The big red "Download Now!". I still need to do some minor tweaks and fixes and some more testing before I release this version.
  8. @Pontiac: Thanks for downloading KSPMM. The rename function is not yet implemented. Never got around to it. It never got mentioned. So I never set it as any priority. Same with "New" and "Open". Although those a obsolete by now because of the Dev-Kit. As for the RIGHT-Click bug you found, I just confirmed it. I think it the method I'm using to detect which entry in the list that's been clicked. Since the title bar is not actually an entry, but a header. It still checks. And then throws an error. And the idea to add a link to this page is pretty good. I can definitively see the usefulness in that.
  9. Ahh...!! It makes sense now. After reading the updated part. Very clever. Just some feedback, how about making password optional if it's not already? Setting up a password and making it automatically log in seems like an awful a lot of work for one app.
  10. So if I'm understanding this correctly. A mobile app, Android in this case, can actually modify a computers files remotely? Assuming they are on the same network? And Login & Password is to log in to the PC? So a normal home computer with no password or login doesn't require the login & password in your App, just the IP, right? Sorry if I ask too many questions... The app does look really great. I'm just curious of the technical aspect. Up till now I had no idea an Android app could somewhat even remotely modify a PC's files. Without some sort of installed software on the targeted PC.
  11. Cool. But how does it work with your PC? Do you have to install some software on your PC for this work? I would assume yes, but I don't see it mentioned anywhere. If not, how does it work then?
  12. @sokid2k; Could be because you have a non-zip file in the MODS folder? Although I was sure I made it skip non-zips. But it could have been reverted by a mistake while I was working on rar's. Or a zip-file could me damaged/corrupt? Can you open all the mods in any archiver, for example WinRAR? @Vanderburg and @ROFLCopter64bit; Personally, I just prefer VB.net. It's so much more cleaner in my opinion. And so far, I haven't seen anything in C#/++ that you can't do in VB.Net either. There's even online converters out there that will let you convert entire source codes into your chosen language. I have actually done that with a few C# snippets into VB.net for a few other projects in the past. So even if you can't find tutorials for what you need in VB.net. You can always look into C#/++ and just convert it later. @Nicky89107; Haven't tried with that many mods. But hoping it will!
  13. Wrong thread? Are you talking about my mod manager? If so, make sure the mods you download are in zip. Most mods from Spaceport should be in a zip format.
  14. Cool. If you need any help, feel free to ask. Seeing as we are writing in the same language. (I'm assuming VB.net since I noticed your post in your other thread.)
  15. I'm hoping it still is. Just been busy with other things... So I haven't updated in a while. However, everything should still work. Regardless of KSP version. Edit: Also, I would like to apologize for the amount of ad's on my page. It's ridiculous. I didn't even notice them just until recently. It was my host that apparently upgraded my account from a small site to a big site. Probably due the large amount of traffic I where getting. So thanks for the interest in my application, and sorry for the ads. Just get an Ad Block or something, and you won't notice it at all though.
  16. I am terrible sorry. But the download links are broken. Yes. I think all of them. Our host went down. And it's been down a long while now. But we've been talking to NightKev, about borrowing some space from him. Until we can find our own. Or the old one comes back. So I think we've have next version ready in about 24 hours or so. This is not because of us and we're lazy. This is because that's how long it usually takes a domain to update. Unfortunately. And disabling/enabling parts of a mod is something that I am currently working on. But I never got around finishing it, due to all the problems with the Web-host. And bug fixes. And other new cool features. (Well, okay the other cool new features I implemented mostly because I was bored. But, I think they're still pretty awesome.) But it's still in development stage, so there's still plenty of room for anything to happen. And I will see what I can do about it eventually. I first need to get enabling/disabling part of the code working first too.
  17. Our first host was Heliohost. It's good. But the server we where on had lot's of Downtime. Then the one we've tried now is 000Web-host. Which apparently let us direct linking to stuff to make them download-able. Such as the .exe. And the .txt file used for KSPMM. And if you could temporarily lend us some hosting space, it would be very much appreciated. PM me if you'd like to talk some further.
  18. Any web-host with FTP access is able to host, right? If that's the case, there are plenty of free hosts out there, that also gives you FTP access. (But use at your own risk though.)
  19. I have some good and some bad news. The good news is that I finally completed the Auto-Updater in-buildt in this application. So no longer will it download the SmartUpdater from DropBox. Which I think blocked the traffic, due to large numbers of requests. Seeing as there is almost 2 000 people using it now. (Which is freakin' awesome!!! Thanks to everyone who's downloading it.) This brings me to the bad news, our host is currently down. But Jigjscool is finally alive again on Skype with us. So hopefully, we'll be getting a much better host thanks to him soon. This new update will be available with installer only. Well, you could try and download it with the Smart-Updater, if you can get access to it. It won't harm anything. But then it's your fault. Seeing as next version, 1.4.6.0, will have a new Updater, I coded from scratch, and will be much more reliable. Also, this adds a ton of other big fixes too. And some new features. Check the change-log once it's out. Thanks! EDIT: We've currently moving our web-page to a new host. One with 99.9% uptime. So hopefully it will much better. I will release the new version on that host as soon as our domain have resolved to the new host. And then by the looks of it, we will have to re-create most of our projects. Seeing as our "old" host is still down. And might be for a while. Thanks to everyone for their support. And I hope you won't discontinue to use KSPMM after this unfortunately little event. And all those bugs currently in. I can safely say all those reported here should be fixed in the next version. They are already fixed. Just need to release it. However, it would require a new download with the installer. Since the old version still uses the Smart-Updater. Which are downloaded from DB all the time someone updates. (I didn't know DB would limit it on high traffic.) If the Smart-Updater can be downloaded and ran, I suggest you just do that. If not, just download the new installer when it's released. EDIT2: God dammit! Turns out this host won't allow us to host our files directly. So no downloads from it. It even restricted the use of .txt's. We will have to move, again. I'll try and make a "offline" version, without the info that needs to be connected to the server to work. If anyone got any tips for a free host we could use, I would appreciate it. Thanks.
  20. Not automatically, no. But if you have the Install.txt file and the mod .zip file in the corresponding folders. It will detect it as installed. It won't detect the install .txt without the mod file. Ouch... The best solution I can give you is to just try just keep the 1.4.5.0. I am planning on redesigning the whole updating system. And possibly even the installation system. (Maybe incorporate the the .dll file into the .exe somehow. I know it's possible, just not sure how yet.) Thanks for the feedback. (By the way, I haven't updated the Welcome-Screen page in ages. So it still says 1.4.2.0. I plan on making it automatically detect from the same file KSPMM uses to check for updates. Because I just can't be bothered updating that page with every release.)
  21. Alright. Just verified this. (Tested myself.) It doesn't work. Thank you for discovering this! I'll fix it in the next version.
  22. It should be deleted as long as it's location doesn't change. If you look in the Install file it generates. It's just a path to the file. It checks if there is a file/folder at that location. And then if there is, it deletes it. If not, skip it. But I will look into it. And see what I can get done. Thanks for the bug. I do think it should copy the entire resource folder. I haven't seen a mod using any .cfg's outside of the mod resource folder. But if there is one, could you point me in the direction of which mod? Of is the .cfg you mentioned inside a folder in the resource folder? Thanks.
  23. Do you have the Ionic.zip.dll in the same folder as the KSPMM.exe your trying to run? That could be the cause of your crash, seeing as it will crash if it doesn't have that file.
  24. By the looks of that error report. The collection was to small, and the program tried to read the next item, but that item would be outside of the collection. Which would result in a crash. (Unless he had a error handling on it, but since you got that error. I doubt it. ) It might be because it's unpacked? I thought they where supposed to be packed. Just to clarify, I'm not affiliated with this program in any way. Just trying to be helpful.
×
×
  • Create New...