| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 3192 online users. » 2 Member(s) | 3186 Guest(s) Applebot, Baidu, Bing, Google, albert42, udwivedi923
|
|
|
| News - Here's PT Running On An Unmodified PS5 |
|
Posted by: xSicKxBot - 10-18-2022, 05:27 AM - Forum: Lounge
- No Replies
|
 |
Here's PT Running On An Unmodified PS5
Hideo Kojima's Silent Hills experiment PT has largely been unavailable on current-gen consoles for a few years now, but video game modder Lance McDonald has managed to get the spooky survival-horror game running on a regular PS5. The catch here is that to get PT running on an unmodified PS5, McDonald needed a second PS5 that had been through the jailbreaking process. In a new video, McDonald shows how the process works. You'll need to already own PT on your PlayStation account, log in to your account on a jailbroken PS5, and download the game through that system. Copy it over to a USB drive, insert that USB into your regular PS5, and you're good to go. It's actually quite easy to do, if you have a spare modified PS5 lying around. As a reminder, doing any of this is against Sony's terms of service, so do so at your own risk. Hideo Kojima recently marked the eighth anniversary of PT with a quick tweet, posting an image of the cover art from the secret Silent Hill game project. What was meant to be a fresh start for the Konami franchise was infamously canceled several years ago, with the company eventually pulling PT from the PlayStation Network and aggressively pursuing any attempts by fans to remake the game. Continue Reading at GameSpot
https://www.gamespot.com/articles/heres-...01-10abi2f
|
|
|
| PC - Hokko Life |
|
Posted by: xSicKxBot - 10-18-2022, 05:27 AM - Forum: New Game Releases
- No Replies
|
 |
Hokko Life
Hokko Life is a cosy, creativity filled community sim game.
Step off the train into the town of Hokko and get settled into your new home! This quiet village needs your help to turn it into the charming rural town everyone loves. With hammer and paints in hand it's up to you to design, build and decorate homes for all of your new friends!
Busy yourself away in the dusty old workshop and let your creativity flow! Craft materials and combine them in whatever way you desire to create new and wonderful furniture and items for your town. Collect flowers, mix paints and use them to design wallpapers, flooring and even clothing!
Will you design an urban-industrial furniture collection or maybe a bright flowery wallpaper set? With all of the workshop at your disposal, you'll have complete freedom to design a town your villagers will absolutely love. Publisher: Team17 Release Date: Sep 27, 2022
https://www.metacritic.com/game/pc/hokko-life
|
|
|
| [Tut] Python TypeError: ‘dict_keys’ Not Subscriptable (Fix This Stupid Bug) |
|
Posted by: xSicKxBot - 10-17-2022, 03:24 AM - Forum: Python
- No Replies
|
 |
Python TypeError: ‘dict_keys’ Not Subscriptable (Fix This Stupid Bug)
Do you encounter the following error message?
TypeError: 'dict_keys' object is not subscriptable
You’re not alone! This short tutorial will show you why this error occurs, how to fix it, and how to never make the same mistake again.
So, let’s get started!
Solution
Python raises the “TypeError: 'dict_keys' object is not subscriptable” if you use indexing or slicing on the dict_keys object obtained with dict.keys(). To solve the error, convert the dict_keys object to a list such as in list(my_dict.keys())[0].
print(list(my_dict.keys())[0])
Example
The following minimal example that leads to the error:
d = {1:'a', 2:'b', 3:'c'}
print(d.keys()[0])
Output:
Traceback (most recent call last): File "C:\Users\...\code.py", line 2, in <module> print(d.keys()[0])
TypeError: 'dict_keys' object is not subscriptable
Note that the same error message occurs if you use slicing instead of indexing:
d = {1:'a', 2:'b', 3:'c'}
print(d.keys()[:-1]) # <== same error
Fixes
The reason this error occurs is that the dictionary.keys() method returns a dict_keys object that is not subscriptable.
You can use the type() function to check it for yourself:
print(type(d.keys()))
# <class 'dict_keys'>
Note: You cannot expect dictionary keys to be ordered, so using indexing on a non-ordered type wouldn’t make too much sense, would it? 
You can fix the non-subscriptable TypeError by converting the non-indexable dict_keys object to an indexable container type such as a list in Python using the list() or tuple() function.
Here’s an example fix:
d = {1:'a', 2:'b', 3:'c'}
print(list(d.keys())[0])
# 1
Here’s an other example fix:
d = {1:'a', 2:'b', 3:'c'}
print(tuple(d.keys())[:-1])
# (1, 2)
Both lists and tuples are subscriptable so you can use indexing and slicing after converting the dict_keys object to a list or a tuple.
Full Guide: Python Fixing This Subsctiptable Error (General)
Summary
Python raises the TypeError: 'dict_keys' object is not subscriptable if you try to index x[i] or slice x[i:j] a dict_keys object.
The dict_keys type is not indexable, i.e., it doesn’t define the __getitem__() method. You can fix it by converting the dictionary keys to a list using the list() built-in function.
Alternatively, you can also fix this by removing the indexing or slicing call, or defining the __getitem__ method. Although the previous approach is often better.
What’s Next?
I hope you’d be able to fix the bug in your code! Before you go, check out our free Python cheat sheets that’ll teach you the basics in Python in minimal time:
If you struggle with indexing in Python, have a look at the following articles on the Finxter blog—especially the third!
Related Articles:
https://www.sickgaming.net/blog/2022/10/...tupid-bug/
|
|
|
| News - Call Of Duty Mobile: Zombies Shi No Numa Secret Boss Fight Guide |
|
Posted by: xSicKxBot - 10-17-2022, 03:24 AM - Forum: Lounge
- No Replies
|
 |
Call Of Duty Mobile: Zombies Shi No Numa Secret Boss Fight Guide
The latest season has arrived to Call of Duty Mobile, and as the title suggests, Season 9: Zombies Are Back is an update focused on the undead. The Halloween-themed update also brings the return of the classic Shi No Numa Zombies map, which features a hidden boss fight. Here is everything you need to know to unlock the option to complete the Easter egg steps and defeat the boss. How to unlock Shi No Numa's Easter egg bossShi No Numa was briefly featured in Call of Duty Mobile back in 2019, but the classic Zombies map was removed and eventually replaced with the objective-style "Undead Siege" mode. Even if you played Shi No Numa the first time it was introduced into the mobile game, you'll still need to go through these steps to unlock the mode needed to complete the boss fight. When you first log onto the game and download the Season 9 update, you'll need to do two things in order to unlock the ability to access the mode needed for the Easter egg. Continue Reading at GameSpot
https://www.gamespot.com/articles/call-o...01-10abi2f
|
|
|
| PC - The Legend of Heroes: Trails from Zero |
|
Posted by: xSicKxBot - 10-17-2022, 03:24 AM - Forum: New Game Releases
- No Replies
|
 |
The Legend of Heroes: Trails from Zero
The Crossbell State, located in western Zemlya--
Once the site of fierce territorial battles, it has since developed into one of the continent's leading trade and financial centers.
However, pressure from the Erebonian Empire and the Calvard Republic is steadily increasing. While corrupt officials from both sides remain locked in political disputes, the mafia and underground criminal organizations are preparing to start a war.
In the midst of all this chaos, the Crossbell Police Department has lost the trust of its people.
Among them are Lloyd Bannings, a rookie agent,
Elie MacDowell, granddaughter of Crossbell's mayor,
Tio Plato, a young sorcereress who wields an orbal staff,
and Randy Orlando, a former security guard.
The foursome are assigned to a new department, the Special Support Section, where they are left with no choice but to join forces in the face of adversity.
This is a story about four unlikely heroes fighting to overcome the walls defining their way of life. Publisher: NIS America Release Date: Sep 27, 2022
https://www.metacritic.com/game/pc/the-l...-from-zero
|
|
|
|
|
|