
by vac at 07-26-2024, 12:59 PM
2 comments
Setup
The first step to creating a whitelist in python is to create a "database". Although this is not going to be a real database, it will act as one.
So first you need to make a account on pastebin and create a new paste.
inside of your paste it will be a table with the whitelisted ip addresses, the table should be formatted like this ["IP1", "IP2"]. Then get the raw link of your paste by pressing this button
![[Image: image.png?ex=66a4ed8d&is=66a39c0d&hm=521...6f9ff9443&]](https://cdn.discordapp.com/attachments/1264086464887525519/1266377606669008930/image.png?ex=66a4ed8d&is=66a39c0d&hm=5214ff744315500d9ed679c6dd25ee214a43790a3abdf075ca48b716f9ff9443&)
After doing this its time for the actual coding part.
Coding
First off you need to import requests, time, and os, we will be using this later in the tutorial.
After doing this you need to create a variable with a request to get the table inside of your "database"
the code to this is ,
Next you need to get the ip address of the person using your whitelist
to do this you type:
Create a Placeholder with the following...
Then create a while loop
Next you need to check if the ip is in your database...
then deactivate the loop...
then make a else for the if statement you made earlier
and this should work, enjoy
Full code below...
The first step to creating a whitelist in python is to create a "database". Although this is not going to be a real database, it will act as one.
So first you need to make a account on pastebin and create a new paste.
inside of your paste it will be a table with the whitelisted ip addresses, the table should be formatted like this ["IP1", "IP2"]. Then get the raw link of your paste by pressing this button
![[Image: image.png?ex=66a4ed8d&is=66a39c0d&hm=521...6f9ff9443&]](https://cdn.discordapp.com/attachments/1264086464887525519/1266377606669008930/image.png?ex=66a4ed8d&is=66a39c0d&hm=5214ff744315500d9ed679c6dd25ee214a43790a3abdf075ca48b716f9ff9443&)
After doing this its time for the actual coding part.
Coding
First off you need to import requests, time, and os, we will be using this later in the tutorial.
After doing this you need to create a variable with a request to get the table inside of your "database"
the code to this is ,
Code:
ipdb = requests.get("link").text
Next you need to get the ip address of the person using your whitelist
to do this you type:
Code:
ip = requests.get("https://api.ipify.org").text
Create a Placeholder with the following...
Code:
i = 1
Then create a while loop
Code:
(while i < 10:)
Next you need to check if the ip is in your database...
Code:
(if ip in ipdb:)
then deactivate the loop...
Code:
i=11
then make a else for the if statement you made earlier
Code:
(else: exit())
and this should work, enjoy
Full code below...
Code:
ipdb = requests.get("link").text
ip = requests.get("https://api.ipify.org").text
i = 1
(while i < 10:)
(if ip in ipdb:)
i=11
(else: exit())

by TechMaster89 at 07-26-2024, 01:07 AM
0 comments
AMD Software Adrenalin 24.7.1 WHQL Released
AMD today released the latest version of AMD Software Adrenalin drivers for its graphics cards and integrated graphics. Version 24.7.1 WHQL comes with optimization for "Zenless Zone Zero" and "Kunitsu-Gami: Path of the Goddess." The drivers add HYPR-Tune support for "Gray Zone Warfare," "Lords of the Fallen," "RoboCop: Rogue City," and "Like a Dragon Gaiden: The Man Who Erased His Name." The drivers also add Radeon Anti-Lag 2 support for "Dota 2."
Among the issues fixed with this release include stutter noticed with Anti-Lag and FSR 3; stutter when playing Fortnite with DirectX 12 renderer, a texture corruption noticed when playing TEKKEN 8 with ray tracing or upscale enabled; display corruption noticed when playing Dying Light: Stay Human with Radeon Boost enabled, crash or corruption noticed with Marvel's Guardians of the Galaxy with ray tracing enabled; VSR or display color enhancements being disabled after driver update; inability to change display pixel format with certain language settings; black corruption being observed on scaled 3D models while using Origin or OriginPro; and a black display corruption noticed when seeking with PotPlayer.
DOWNLOAD: AMD Software Adrenalin 24.7.1 WHQL Read full story
https://www.techpowerup.com/324708/amd-s...l-released
AMD today released the latest version of AMD Software Adrenalin drivers for its graphics cards and integrated graphics. Version 24.7.1 WHQL comes with optimization for "Zenless Zone Zero" and "Kunitsu-Gami: Path of the Goddess." The drivers add HYPR-Tune support for "Gray Zone Warfare," "Lords of the Fallen," "RoboCop: Rogue City," and "Like a Dragon Gaiden: The Man Who Erased His Name." The drivers also add Radeon Anti-Lag 2 support for "Dota 2."
Among the issues fixed with this release include stutter noticed with Anti-Lag and FSR 3; stutter when playing Fortnite with DirectX 12 renderer, a texture corruption noticed when playing TEKKEN 8 with ray tracing or upscale enabled; display corruption noticed when playing Dying Light: Stay Human with Radeon Boost enabled, crash or corruption noticed with Marvel's Guardians of the Galaxy with ray tracing enabled; VSR or display color enhancements being disabled after driver update; inability to change display pixel format with certain language settings; black corruption being observed on scaled 3D models while using Origin or OriginPro; and a black display corruption noticed when seeking with PotPlayer.
DOWNLOAD: AMD Software Adrenalin 24.7.1 WHQL Read full story
https://www.techpowerup.com/324708/amd-s...l-released

by TechMaster89 at 07-24-2024, 06:10 PM
0 comments
(PR) MSI Bundles Flintlock: The Siege of Dawn with Select Motherboards
MSI, a leading brand in gaming hardware, is thrilled to announce its new partnership with Kepler Interactive, a renowned innovative game publisher. MSI and Kepler Interactive are set to bring gamers an extraordinary experience with the much-anticipated release of Flintlock: The Siege of Dawn, available now on via Steam and Epic Games Store.
Embark on a thrilling journey with Flintlock: The Siege of Dawn by A44 Games, the developers of Ashen. Explore a rich, new world filled with ancient mysteries, engage in explosive, fast-paced combat, and wield powerful firearms and magic in your quest to kill all Gods. Are you ready to reclaim the dawn and restore hope to humanity? Start your epic journey with MSI's special offer—purchase selected MSI products and receive Flintlock: The Siege of Dawn for free on PC. Upgrade your gaming setup with MSI's latest motherboards. Immerse yourself in the captivating world of Flintlock: The Siege of Dawn and experience unparalleled gaming excitement. Read full story
https://www.techpowerup.com/324636/msi-b...therboards
MSI, a leading brand in gaming hardware, is thrilled to announce its new partnership with Kepler Interactive, a renowned innovative game publisher. MSI and Kepler Interactive are set to bring gamers an extraordinary experience with the much-anticipated release of Flintlock: The Siege of Dawn, available now on via Steam and Epic Games Store.
Embark on a thrilling journey with Flintlock: The Siege of Dawn by A44 Games, the developers of Ashen. Explore a rich, new world filled with ancient mysteries, engage in explosive, fast-paced combat, and wield powerful firearms and magic in your quest to kill all Gods. Are you ready to reclaim the dawn and restore hope to humanity? Start your epic journey with MSI's special offer—purchase selected MSI products and receive Flintlock: The Siege of Dawn for free on PC. Upgrade your gaming setup with MSI's latest motherboards. Immerse yourself in the captivating world of Flintlock: The Siege of Dawn and experience unparalleled gaming excitement. Read full story
https://www.techpowerup.com/324636/msi-b...therboards
Forum: PC Building

by TechMaster89 at 07-22-2024, 10:22 PM
0 comments
(PR) Khadas Expands Mind Portable Workstation Ecosystem with New Mind Graphics eGPU
Khadas, a leading global consumer electronics brand dedicated to designing, developing and manufacturing the next-generation of innovative portable technology products, launches the Mind Graphics eGPU Module, integrated with the NVIDIA GeForce RTX 4060 Ti desktop graphics card, today. Available online at Khadas.com and Amazon (starting on August 1) for $999.00, the Mind family's newest heavyweight member further expands the hardware ecosystem centered around the Mind portable workstation. This powerful addition to the Khadas Mind lineup enhances performance for AIGC, creative design, video rendering, gaming and other demanding tasks with seamless acceleration.
Khadas continues to deliver unique and high-performance portable computer hardware and software solutions through innovative engineering. Following the successful launch of the Mind portable workstation and Mind Dock expansion in 2023, the new Mind Graphics eGPU Module enriches the computing ecosystem, offering users high performance, productivity and efficiency. Khadas' design prowess and customer-first approach continues to push the boundaries of the work and play computing experience. Read full story
https://www.techpowerup.com/324522/khada...gpu-module
Khadas, a leading global consumer electronics brand dedicated to designing, developing and manufacturing the next-generation of innovative portable technology products, launches the Mind Graphics eGPU Module, integrated with the NVIDIA GeForce RTX 4060 Ti desktop graphics card, today. Available online at Khadas.com and Amazon (starting on August 1) for $999.00, the Mind family's newest heavyweight member further expands the hardware ecosystem centered around the Mind portable workstation. This powerful addition to the Khadas Mind lineup enhances performance for AIGC, creative design, video rendering, gaming and other demanding tasks with seamless acceleration.
Khadas continues to deliver unique and high-performance portable computer hardware and software solutions through innovative engineering. Following the successful launch of the Mind portable workstation and Mind Dock expansion in 2023, the new Mind Graphics eGPU Module enriches the computing ecosystem, offering users high performance, productivity and efficiency. Khadas' design prowess and customer-first approach continues to push the boundaries of the work and play computing experience. Read full story
https://www.techpowerup.com/324522/khada...gpu-module
Forum: PC Building

by TechMaster89 at 07-21-2024, 12:19 PM
0 comments
NVIDIA GeForce RTX 50 Series "Blackwell" TDPs Leaked, All Powered by 16-Pin Connector
In the preparation season for NVIDIA's upcoming GeForce RTX 50 Series of GPUs, codenamed "Blackwell," one power supply manufacturer accidentally leaked the power configurations of all SKUs. Seasonic operates its power supply wattage calculator, allowing users to configure their systems online and get power supply recommendations. This means that the system often gets filled with CPU/GPU SKUs to accommodate the massive variety of components. This time we have the upcoming GeForce RTX 50 series, with RTX 5050 all the way up to the top RTX 5090 GPU. Starting with the GeForce RTX 5050, this SKU is expected to carry a 100 W TDP. Its bigger brother, the RTX 5060, bumps the TDP to 170 W, 55 W higher than the previous generation "Ada Lovelace" RTX 4060.
The GeForce RTX 5070, with a 220 W TDP, is in the middle of the stack, featuring a 20 W increase over the Ada generation. For higher-end SKUs, NVIDIA prepared the GeForce RTX 5080 and RTX 5090, with 350 W and 500 W TDP, respectively. This also represents a jump in TDP from Ada generation with an increase of 30 W for RTX 5080 and 50 W for RTX 5090. Interestingly, this time NVIDIA wants to unify the power connection system of the entire family with a 16-pin 12V-2x6 connector but with an updated PCIe 6.0 CEM specification. The increase in power requirements for the "Blackwell" generation across the SKUs is interesting, and we are eager to see if the performance gains are enough to balance efficiency.
https://www.techpowerup.com/324482/nvidi...-connector
In the preparation season for NVIDIA's upcoming GeForce RTX 50 Series of GPUs, codenamed "Blackwell," one power supply manufacturer accidentally leaked the power configurations of all SKUs. Seasonic operates its power supply wattage calculator, allowing users to configure their systems online and get power supply recommendations. This means that the system often gets filled with CPU/GPU SKUs to accommodate the massive variety of components. This time we have the upcoming GeForce RTX 50 series, with RTX 5050 all the way up to the top RTX 5090 GPU. Starting with the GeForce RTX 5050, this SKU is expected to carry a 100 W TDP. Its bigger brother, the RTX 5060, bumps the TDP to 170 W, 55 W higher than the previous generation "Ada Lovelace" RTX 4060.
The GeForce RTX 5070, with a 220 W TDP, is in the middle of the stack, featuring a 20 W increase over the Ada generation. For higher-end SKUs, NVIDIA prepared the GeForce RTX 5080 and RTX 5090, with 350 W and 500 W TDP, respectively. This also represents a jump in TDP from Ada generation with an increase of 30 W for RTX 5080 and 50 W for RTX 5090. Interestingly, this time NVIDIA wants to unify the power connection system of the entire family with a 16-pin 12V-2x6 connector but with an updated PCIe 6.0 CEM specification. The increase in power requirements for the "Blackwell" generation across the SKUs is interesting, and we are eager to see if the performance gains are enough to balance efficiency.
https://www.techpowerup.com/324482/nvidi...-connector
by andrew at 07-20-2024, 01:31 AM
2 comments
WTH , I went to download some new switch titles and I realized Yuzu is no longer updated! It seems Nintendo(Tards) have shut them down. Mann eff nintendo , the most hostile company. I will never purchase a nintendo game or device again.
Forum: cRPG Lair
by andrew at 07-20-2024, 01:28 AM
0 comments
What is everyone's top 3 favorite CRPGs of all time? Ill start...
1.) Dragon Age : Origins
2.) Gothic 2 + Expansion
3.) Might and Magic VII : For blood and honor
1.) Dragon Age : Origins
2.) Gothic 2 + Expansion
3.) Might and Magic VII : For blood and honor
Forum: PC Gaming

by TechTuna23 at 07-20-2024, 12:33 AM
1 comments
Anyone remember old school Everquest?? There is a new game in the works by one of the old devs that is just like old school EQ. It had a playtest recently and its amazing! Its like EQ in 2024! Here is a link to the website...
https://monstersandmemories.com/
If you loved everquest as a kid or young adult, do yourself a favor and check this game out! A new free playtest will likely happen again soon.
https://monstersandmemories.com/
If you loved everquest as a kid or young adult, do yourself a favor and check this game out! A new free playtest will likely happen again soon.

by TechMaster89 at 07-20-2024, 12:30 AM
0 comments
This Week in Gaming (Week 29)
After several slow weeks of new game releases, we now have a week that's overflowing with new game releases. The most anticipated release this week is an online PvPvE dungeon crawler, built on Unreal Engine 5. This is followed by a crusty space game, an evil game, a game that involves attracting birds to you, a dystopian New York of the future, a bit of Japanese folklore, some more dungeons, fighting some gods and finally being a Japanese goddess. Yes, we threw in a bunch of extra games this week, yet we're not able to cover all the new releases that are coming out.
Dungeonborne / This week's major release / Friday 19 July / Early Access
Dungeonborne is an immersive first-person PvPvE dungeon crawler. Venture solo or join forces with trusted companions to hunt for treasure, explore ominous dungeons, and battle terrifying monsters and cunning adversaries. Escape before succumbing to darkness and greed. Embrace your role as a Fighter, Priest, Rogue, Swordmaster, Pyromancer, Cryomancer, Death Knight, or Druid. With first-person clarity, feel the power of each spell, the weight of your weapons, and the strategic impact of every decision. Charge into battle, unleash devastating skills to disrupt enemy formations, cast life-saving buffs on allies, or use tactical throwables to turn the tide. Steam link Read full story
https://www.techpowerup.com/324476/this-...ng-week-29
After several slow weeks of new game releases, we now have a week that's overflowing with new game releases. The most anticipated release this week is an online PvPvE dungeon crawler, built on Unreal Engine 5. This is followed by a crusty space game, an evil game, a game that involves attracting birds to you, a dystopian New York of the future, a bit of Japanese folklore, some more dungeons, fighting some gods and finally being a Japanese goddess. Yes, we threw in a bunch of extra games this week, yet we're not able to cover all the new releases that are coming out.
Dungeonborne / This week's major release / Friday 19 July / Early Access
Dungeonborne is an immersive first-person PvPvE dungeon crawler. Venture solo or join forces with trusted companions to hunt for treasure, explore ominous dungeons, and battle terrifying monsters and cunning adversaries. Escape before succumbing to darkness and greed. Embrace your role as a Fighter, Priest, Rogue, Swordmaster, Pyromancer, Cryomancer, Death Knight, or Druid. With first-person clarity, feel the power of each spell, the weight of your weapons, and the strategic impact of every decision. Charge into battle, unleash devastating skills to disrupt enemy formations, cast life-saving buffs on allies, or use tactical throwables to turn the tide. Steam link Read full story
https://www.techpowerup.com/324476/this-...ng-week-29

by TechMaster89 at 07-18-2024, 08:00 AM
0 comments
(PR) SoftBank Group Acquires Graphcore to Build Next-Generation of AI Compute
Graphcore today announced that the company has been acquired by SoftBank Group Corp. Under the deal, Graphcore becomes a wholly owned subsidiary of SoftBank and will continue to operate under the Graphcore name.
"This is a tremendous endorsement of our team and their ability to build truly transformative AI technologies at scale, as well as a great outcome for our company," said Graphcore co-founder and CEO Nigel Toon. "Demand for AI compute is vast and continues to grow. There remains much to do to improve efficiency, resilience, and computational power to unlock the full potential of AI. In SoftBank, we have a partner that can enable the Graphcore team to redefine the landscape for AI technology." Read full story
https://www.techpowerup.com/324385/softb...ai-compute
Graphcore today announced that the company has been acquired by SoftBank Group Corp. Under the deal, Graphcore becomes a wholly owned subsidiary of SoftBank and will continue to operate under the Graphcore name.
"This is a tremendous endorsement of our team and their ability to build truly transformative AI technologies at scale, as well as a great outcome for our company," said Graphcore co-founder and CEO Nigel Toon. "Demand for AI compute is vast and continues to grow. There remains much to do to improve efficiency, resilience, and computational power to unlock the full potential of AI. In SoftBank, we have a partner that can enable the Graphcore team to redefine the landscape for AI technology." Read full story
https://www.techpowerup.com/324385/softb...ai-compute
Welcome, Guest
You have to register before you can post on our site. |
Search Forums
Forum Statistics
Members: 169 Latest member: zjianghaiixn Forum threads: 203 Forum posts: 429 |
Online Users
There are currently 95 online users. 0 Member(s) | 95 Guest(s) |
Latest Threads
AMD Ryzen AI MAX "Strix H...
Last
by TechMaster89 0 Replies |
(PR) AAEON Releases PICO-...
Last
by TechMaster89 0 Replies |
This Week in Gaming (Week...
Last
by TechMaster89 0 Replies |
Intel Shuts Down "Clear L...
Last
by TechMaster89 0 Replies |
(PR) AVerMedia Intros GO ...
Last
by TechMaster89 0 Replies |
(PR) G.SKILL Achieves DDR...
Last
by TechMaster89 0 Replies |
Intel's Core Ultra 5 245H...
Last
by TechMaster89 0 Replies |
(PR) Team Group Unveils P...
Last
by TechMaster89 0 Replies |