Jump to content
Due to the significant updates that have taken place, you now need to login with your display name or e-mail address, NOT your login name. ×
Due to posts that are 5+ years old being rebuilt, some of the older BBCodes may not have converted properly but still be in the post. Most posts are unaffected but some using what was our custom BBCode (like [spoiler]) will be a bit broken. ×

Stormfolk

Members
  • Content Count

    289
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Stormfolk

  • Rank
    Bear Fur

Profile Information

  • Gender
    Not Telling

RuneScape Information

  • RuneScape Status
    Retired
  • RSN
  • Clan Details
    Timikp$$TRWF-CF
  1. Thanks, that seems to have done the trick. I'm gonna test it some more and then I'll be trying 2D arrays lol :D
  2. Changing your password every X amount of time helps too. For example in companies for the more mportant stuff the password changes daily.
  3. I'm working on exercises about vb.net arrays. In this exercise I have to read in some data from a .txt file and place it in a 1 dimensional array. It has to do some other things later too, but that's not important atm. Basically, it is a text file with names and a result. The textfile looks like this: As you can see the data is seperated by a "-". I managed to get it all working with this code: So far that's all ok, but I wanted to go a little bit further. In stead of 2 pieces of data on each line of the textfile, I wanted to make it work for when there's 3, 4, 5, ... things. Now there's just a result_a, but what if there's a result_b, result_c, ... For example: Mia-75-53-82-65 Jan-85-94-78-66 I've been trying and testing things for most of the day, looked things up on the internet, ... but somehow I'm missing the point on how to get this done. I couldn't find a proper explanation for it either. I tried to do something like, but apperently that was too easy to work :P : result_a(index) = record.Substring(position + 1) result_b(index) = record.Substring(position + 2) result_c(index) = record.Substring(position + 3) But then something goes wrong with the splitting based on the "-" symbol. It seems to fail to jump further and get the next piece of data in the line. I also tried adding in this again before I moved to the result_b and after I read in result a, but that didn't do the trick either. position = record.IndexOf("-") Anyone here has an idea, and preferably an explanation on how to do this for a name and 2,3,4, ... results? I'm hoping I can find a general theory or a general way so I can use this basic code to read in files with few data, but also files with more data. So yea, if you can help this vb noob it would be greatly appreciated.
  4. Well done, seems fun to do a fight like this
  5. The problem indeed seems to lie with reloading/refreshing the settings. It works now. The script: Set WshShell = WScript.CreateObject("WScript.Shell") 'Variable for the screensaver scrsvr = "C:\Windows\SysWOW64\Screensaver Operations.scr" 'Assign the screensaver to the current user in the registry WshShell.RegWrite "HKEY_CURRENT_USER\Control Panel\Desktop\SCRNSAVE[Caution: Executable File]", scrsvr, "REG_SZ" 'Activate the screensaver WshShell.RegWrite "HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaveActive", 1, "REG_SZ" 'Screensaver has to wait 600 seconds (10 minutes) before it starts WshShell.RegWrite "HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaveTimeOut", 600, "REG_SZ" I just got confused by the fact that for all settings aside from ScreenSaveTimeOut you immediately get a visual result. For ScreenSaveTimeOut, the user first has to log off and on again to see the changes. Thanks everyone!
  6. I have been working on a script to make settings for the screensaver for All Users on a Windows 7 Pro PC. In my script, I also want to update the waiting time before the screensaver starts by adjusting a registry key. I've been looking on the internet for quite some time now, but I can't find the right key that does it. First I thought "HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaveTimeOut", 600, "REG_SZ" would do the trick, but that's not the one I need. The red box is the part I want the registry key for. The "5" should be "10". I know it can be easily done by rightclicking the desktop, changing screensaver settings with the console, but I really need to do it with the registry key. Anyone has an idea?
  7. TRWF | GMT based PVP clan | trwf-rs.net | #trwf on irc.seersirc.net Written by Wouter, copy-pasted by me :ugeek:
  8. - LINKS - TRWF Forums - TRWF Memberlist - TRWF Chat - TRWF YouTube
  9. If you're interested in a GMT-based clan, have a look at TRWF. We're one of the oldest and most mature clans in Runescape with several PvP events a week. Other than PvP we regularly organise things like skill competitions, boss hunting events or competitions versus other clans, ... For some basic info, check out our template: - LINKS - TRWF Forums - TRWF Memberlist - TRWF Chat - TRWF YouTube
  10. TRWF | GMT based PVP clan | www.warhungers.com | #trwf on irc.seersirc.net We had two fights today, a pkri with RKOF and a fight with The Clan for the 20v20 section of the Jagex Cup. TRWF vs RKOF TRWF vs The
  11. TRWF | GMT based PVP clan | www.warhungers.com | #trwf on irc.seersirc.net Written by Wouter: We set up a fight with Exalt and were well excited to fight a new clan, we headed up with a solid 35 people and quickly defended and waited for them to rush. We immediately got rolling and were quickly ko'ing mages left and right. We didn't send our snipers until the last 20 minutes where we had to stop to clear crashers. Shortly before the end Exalt called it off not wanting to deal with crashers. Thanks for the fight, hopefully we can do it again sometime. Trwf starting: 111 Exalt starting: 84 Trwf ending: 120(43 on TS) Exalt: 0 Trwf Starting: Exalt Starting: Trwf Ending:
  12. Good luck, hopefully things will go better this time.
  13. RSD might win the fullouts again, dunno about others
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.