Jump to content

nightmarevoid

Member
  • Posts

    392
  • Joined

  • Last visited

Awards

This user doesn't have any awards

About nightmarevoid

  • Birthday Dec 28, 1995

Contact Methods

  • Xbox Live
    nightmarevoid

Profile Information

  • Gender
    Male

System

  • CPU
    intel i5 4690K
  • Motherboard
    MSI Z97
  • RAM
    Kingston HyperX 1600mhz 16GB
  • GPU
    windforce GHZ edition GTX 780
  • Case
    NZXT Phantom enthusiasts black
  • Storage
    2X Force GS 128GB (RAID 0) and WD 1.5TB black
  • PSU
    Corsair HX 850 Watt
  • Display(s)
    Dynex
  • Cooling
    stock intel cooler
  • Keyboard
    Corsair K50
  • Mouse
    FUNC ms-3

Recent Profile Visitors

2,158 profile views
  1. the last windows, windows 10... is about to loose support in a year. Kinda awkward but we all say things we don't mean sometimes. The thing is I just bought a logitech g27 wheel from my friend because when he upgraded to windows 11 the wheel stopped working and couldn't be made to work. apparently its an ongoing issue where sometimes people are able to keep using their g27 wheels, sometimes they get a few bugs, and sometimes they aren't recognized by windows at all after the upgrade. I like some of the changes made in 11, and I'd like to stay up to date, but wheels are expensive and I don't want to make this wheel useless after only using it a few times so far.
  2. Thanks for the replies guys! I was pretty tired while doing this, I completely forgot about how Python uses references and when it does in-place changes. I was suppsoed to be changing cell attributes using methods like .becomeHead() and .becomeEmpty() as literal statements. When I was writing self.__snakeCells[n] = nextCell.becomeHead() I was setting the cell to the output of .becomeHead(), which is None. Then that mistake would propogate within the for loop. It's working now, and I changed the graphic used for the snake's head to a picture of Solid Snake for good measure! object = object.method() #object gets set to output of its method (in this case None) object.method() #the Method performs its operations in place
  3. Hello all! thanks for coming to see if you can help. I have an issue where a line of my code which is just supposed to iterate over a list (which is also a class attribute) is actually setting any index it touches to None. The background is that I'm trying to code a game of snake using starter code provided by my professor. The second iteration of the snake movement algorithm errors out becuase the for loop used to move the snake forward in the first iteration is actually just setting the snake cells to None, and None obviously doesn't have any of the attributes my code uses to navigate. The for loop only sets each cell to be the same as the cell ahead of it (first I reverse the list, then I go through in order overwriting each cell to be the next cell stopping before the last cell, set the last cell to be the new head location, then reverse the list again). The code I believe is relevant is below. I'll try to get a picture of the variable names/values in debug mode before/after overwrite to help. class GameData: def __init__(self): # Dimensions of the board (in cells) self.__height = Preferences.NUM_CELLS_TALL self.__width = Preferences.NUM_CELLS_WIDE # Keep track of how many cells are empty and in the board self.__freeCells = self.__height * self.__width self.__totalCells = self.__height * self.__width # The current movement mode of the snake (i.e., the current # direction or in AI mode self.__currentMode = self.SnakeMode.GOING_EAST #A 2D array of cells in the board self.__board = self.createBoard() # A list of cells that currently contain food (from oldest to newest) self.__foodCells = [] # A list of cells that contain the snake (from head to tail) self.__snakeCells = [] # Whether or not the game is over self.__gameOver = False . . . #function to move snake forward. this is my code def slither(self, nextCell): #the next cell will become the new head, tail cell will become empty self.__snakeCells[-1].becomeEmpty() #reverse the list to work on it more intuitively self.__snakeCells.reverse() #the old head is now a body part self.__snakeCells[-1] = self.__snakeCells[-1].becomeBody() #move each body part up to the one in front of it, except for the last one for i in range(len(self.__snakeCells)-1): #this for loop is what is erasing data! ever cell it touches becomes None. #none of the members of this list are None before the loop runs. They are all class:BoardCell self.__snakeCells[i] = self.__snakeCells[i+1] #set the last cell to the new head position self.__snakeCells[-1] = nextCell.becomeHead() #reverse the list again so its back to normal self.__snakeCells.reverse()
  4. I was thinking the same thing. Thanks for confirming.
  5. I have a Corsair Strafe RGB mk.2 with some sticky switches and some flashing LEDs; two separate problems on the same keyboard with only a couple keys being affected by both issues. I tried cleaning the sticky keys with isopropyl alcohol, which worked at first, but it didn't stay fixed for long, and I haven't tried anything for the flashing LEDs. Should I try cleaning them again, using lubricant, or should I just replace the switches outright? Thanks for advice.
  6. I'm sick of Scalpers/bots buying most of the stock of limited edition stuff. The starfield controller just has a really cool aesthetic to it and I'd like to buy one for my friend and maybe me. Does anyone know when/where I'll be able to get one before a scalper does? Thanks for the advice.
  7. the most strain is put on a fan when it is changing speeds, or just spinning up. With that being said, you really don't need to worry about the fans. just run them in such a way that they only spin up when gaming, and then stay fairly constant.
  8. I remember back in the days of halo 3 that a really well-timed weapon melee could actually parry a sword, similar to a sword/sword parry. Thing is, I can't tell if it's possible in Halo Infinite, and I don't know if that's because of the game being buggy or if it's because they still haven't brought that feature back. Super random, but does anyone know?
  9. https://youtu.be/qbD9B9vMJ3E
  10. At this point, I'm becoming the crestfallen knight. On multiple occasions my steam saves for a Dark Souls game (be it 2 SOtFS or 3) have just disappeared. I believe this happens after multiple updates occur on my system between instances of starting the game. It is becoming increasingly frustrating. I also rarely see my saves reappear after reinstalling the game after a system refresh, for instance. This game is set to upload to the steam cloud, but steam claims it is up to date, so I don't know what else I can do to get my saves back. Has anyone else had to deal with this? Thanks in advance for the help.
  11. Hey thanks for the help! I'll show these to my partner and see what she thinks. I don't really have a budget yet, I just wanted to know That what I was looking for still existed, and you've really helped with that.
  12. Ideally 4k. If it has gaming features like freesync or G-sync even better, but I feel like it's impossible to find that in a non-smart TV.
  13. The security issues associated with smart TVs is concerning to me, not to mention many of them are frustratingly limited in their smart capabilities. So I was wondering, is it still possible to get TVs that are just a good panel? I'd rather pay for a good panel and image processor over a smart TV subsidized by the sale of my data. Thanks for taking the time to read this.
  14. I'm going to break tradition here and say it really doesn't matter. The air in most cases with this many fans will be very turbulent and heat rising vs flow direction isn't going to matter. I believe LTT even did a video on this once. What may be an issue is the GPU since it will have made its own little pocket and the bottom radiator fan may not pull enough air down there for it. Do you ever notice its fans ramping up a lot, or when there isn't much load on it? You could try running the intake fans on a higher duty cycle to create positive pressure to help push air around the GPU.
  15. Thanks for the replies everyone! I checked out the outlet box, and there's no room to route anything else through it. On the other hand I also checked out this old phone line cover and, wouldn't you know it, there's no back to the box! It looks like I'll be able to go through here to the other side of the wall. After the holidays I'll see if my landlord is cool with this. There's already a few blank covers on the wall so I guess we'll see.
×