Tag Archives: fix

Call of Duty Modern Warfare – Shuts down my PC -[solved]

After almost 7 months of this problem and having tried everything i read about it, i decided to run a temperature monitoring program in the background while i played the game.

When i posted this problem on reddit every post i read said to check temps.  Now i never overclock any PC hardware so i thoughts thats not the problem, i was wrong.

BIOS Settings:
There was a setting in the BIOS of the motherboard i had that was called ‘AMD TURBO-CORE’ which would over clock the CPU and cause an increase the temperature of the CPU.

TLDR/Long story Short/i dont care:
The CPU i had was an AMD FX 8350 and normally it would be around 70C Max load.  However this bios setting made temps hit 82C+  and thats where the PC would shut down as a measure to protect it from damage.

Suggestions for various websites that havnt worked;

  • v-sync on in the graphics settings
  • set ‘custom frame limit’ in game to 60 fps see GFX settings
  • turned off the NVIDIA in game overlay
  • shutdown almost everything running in background;
    • steam, Ea Origin,Epic Launcher
  • disabled Hyper-V
  • disabled Windows 10 fast start up
  • Power settings CPU min state 0%
  • Set max Framerate of Graphics card in the NVIDIA Control Panel to 60fps.
  • Cleaned all Fans in the PC case.
  • changed default sound format to 44100 mhz
  • AA SMAA 1x
  • Texture Filter Anisotropic filtering: Normal
  • uninstall Realtek Audio & LAN drivers
  • Reinstall Windows 10

Resources & Links;

PC shuts down while playing from modernwarfare

No Man’s Sky – Fix for being stuck in wrong galaxy after finishing the community event quest

Backup your save file before you do anything:
Type the following in the windows run dialog (Windowskey+R) to view the folder where your save game is located.
%APPDATA%\HelloGames\NMS\

Make a copy of the folder inside you should see a folder beginning with st_<bunch of numbers here>
eg “st_700045453”

Your NMS save file is located in; “C:\Users\windows_username\AppData\Roaming\HelloGames\NMS”

Wrong galaxy:
If the No Mans sky CE (Community Event) put you in the wrong galaxy after doing the quest heres how you get yourself back to the galaxy you were in. Example I was teleported back to “Euclid” galaxy when it should have put me back in the galaxy i came from the “Budullangr”.

Save Game Editor:
You’ll need to download the No mans sky save editor from;
Download here

Steps when you download the Save Editor
Note:
You will need to install Java 8 from Oracle get that from here;
https://java.com/en/download/

  • Unzip the NMS Editor
  • Double click the file called “NMSSaveEditor.bat”
  • Go to the File menu
  • Select “Open File/Path”
  • Browse to the  No mans sky folder on your windows C drive.
  • Your NMS save file is located in;
    “C:\Users\<your_windows_username>\AppData\Roaming\HelloGames\NMS”
  • On the Main panel select the save slot that your game is stored in.  In my case its “Slot 1- NORMAL”
  • Go to the edit menu and select “Cordinate Viewer”
  • In the galaxy drop down pick the galaxy you werein before the last NMS patch i.e the galaxy you should have been sent back to.
  • Save the changes if asjked when you exit the NMS save Game editor.
  • When you load of the game again find the nearest Space Station and use the teleporter in game to go back your base.Video showing how to set the galaxy in the NMS Save game editor below;

Credit to gob from the steam forums for this fix;
https://steamcommunity.com/app/275850/discussions/0/1738841319805678288/?ctp=4

Battlefield 4 & Battlefield 1 Bluetooth Headsets gives no sound

Edit1:
Seems this is a problem with bluetooth in general.  I found the following article from the steam forums about bluetooth headset problems in GTA V.  It might be worth a read to shed light on any problems your having.

Edit 2:
If you start Battlefield 4 on windows 10 and havnt disabled “handsfree telephony as below” all your sound will cut out.
17-sep-2019

https://www.howtogeek.com/354321/why-bluetooth-headsets-are-terrible-on-windows-pcs/

There’s a problem with Battlefield 4 and Battlefield 1 where you get no sound if your playing with a bluetooth headset.  After a bit of googling and research i found the solution;

1. Goto; control panel->Hardware and Sound->Devices and Printers

2016-09-18-9

2. Select Properties on your Bluetooth headset and go to the services section.

3. Uncheck “Handsfree Telephony”.

2016-09-18-8

Note this works on Windows 10 cant say if it work on Windows 7 or 8.

No Mans Skys PC Possable Stutter/Hitching Fixes

Found this fix for the game on reddit which seems to fix the terrible stutter problems that people are having;

https://www.reddit.com/r/NoMansSkyTheGame/comments/4xgw82/pc_users_incredible_fps_fix/

The Fix:
Is to create a shortcut to the games executable file “NMS.exe”.  Then in the target window paste the following;

C:\Windows\System32\cmd.exe /c start “Process Monitor” /High “E:\GOG Games\No Man’s Sky\Binaries\NMS.exe”

Note:
Replace “E:\GOG Games\No Man’s Sky\Binaries\NMS.exe”with the path to game on your system.

EDIT:
This fix doesn’t work for me and in fact seems to make the game perform even worse, its best to update to the “BETA / Experimental” Patches available on Steam and GOG.

cakephp3 – fixing the index method for admin and normal user

23666Say for example you dont want normal users being able to see a list of items in this example lets say its questions.  But at the same time you want an “admin” user to be able to see them.

The following function might help;

 public function index(){
        
		$user_id=$this->Auth->user('id');
		$role=$this->Auth->user('role');
		
		//check users role and show all questions if admin or just their questions of normal user
		
		if($role=='admin'){
			//show all questions
			$this->paginate = [
				'limit' =>20,
				'order' => ['Questions.modified' => 'desc'],
				'contain' => ['Users', 'Questionscategories']
			];
		}
		elseif($role=='user'){
			//show only the users stuff
			//set the pagnate options
			$this->paginate = [
				'limit' =>10,
				'order' => ['Questions.modified' => 'desc'],
				'contain' => ['Users', 'Questionscategories'],
				'conditions'=>['questions.user_id'=>$user_id]
			];
		}
		

		
		
		$questions = $this->paginate($this->Questions);


        $this->set(compact('questions'));
        $this->set('_serialize', ['questions']);
    }

What it does:
basically if does a different pagnate depending in the user’s role.

Acer Aspire One – Fixing No Boot Problem

acer-aspire-one-blueA friend of mine has one of these very cool looking notebooks running Windows XP. However it developed a problem in that when you turned it on, nothing happened, you could however hear the hard-drive working away like it was loading up windows and then stopping.

After trying out the notebook on a PC monitor and trying to find a USB or network cable to use to connect to another working Laptop nothing seemed to work. So i said id take it home and mess around with it, messing around meant id try to get it to work even though i had no idea.

The first thing i did and always do when there is a problem with anything is i Google it. So off i went to google and typed in;

“acer aspire one wont turn on”

Simple really i typed in the exact name and model of the notebook and what was wrong and the first result lead me to a site which had a fix;

Acer Aspire One BIOS Recovery

And by following the intructions it brought the notebook back to life amazingly and it only took about 5 mins, amazign what you find when you google it.