Skip to content

Instantly share code, notes, and snippets.

Game Version: v1.19.8 (Stable)
21.09.2024 20:57:34: Critical error occurred
Loaded Mods:
System.Exception: sdfb-begin - OpenGL threw an error: InvalidEnum
at Vintagestory.Client.NoObf.ClientPlatformWindows.CheckGlError(String errmsg) in VintagestoryLib\Client\ClientPlatform\GLImpl.cs:line 68
at Vintagestory.Client.NoObf.ClientPlatformWindows.SetupDefaultFrameBuffers() in VintagestoryLib\Client\ClientPlatform\GLFramebuffer.cs:line 188
at Vintagestory.Client.NoObf.ClientPlatformWindows.Start() in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 410
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 319
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 128
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
import { useEffect, useState } from "react";
import globalStyles from "../../styles/Page.module.css";
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import styles from "./NewODGame.module.css";
import {
Box,
Breadcrumb,
BreadcrumbItem,
BreadcrumbLink,
Button,
@4193883-eng
4193883-eng / main.py
Created October 9, 2022 16:02
hwbomb
from tkinter import *
score = 0
fuse = 100
pressEnter = True
def start(event):
global pressEnter
global fuse
global score
if not pressEnter:
pass
from datetime import datetime
from playsound import playsound
"""
def validate_time(alarm_time):
if len(alarm_time) != 11:
return "Invalid time format! Please try again..."
else:
if int(alarm_time[0:2]) > 12:
from tkinter import *
eqal = ""
def render():
global displayLabel
global eqal
displayLabel.config(text=eqal)
def one():
global eqal
eqal += "1"
render()
from datetime import datetime
from playsound import playsound
"""
def validate_time(alarm_time):
if len(alarm_time) != 11:
return "Invalid time format! Please try again..."
else:
if int(alarm_time[0:2]) > 12:
@4193883-eng
4193883-eng / main.py
Created October 9, 2022 12:18
corrector.py
def corrector(string, width, symbol):
a = width-len(string)
b = a//2
result = f'{symbol*b}{string}{symbol*b}'
return result
print(corrector('ABOBA', 50, "-"))
@4193883-eng
4193883-eng / main.py
Created October 9, 2022 12:12
homework3
import random
def game(result):
print("")
print("====== Start Game: Rock, Paper, Scissors! ======")
while result['computer'] == 3 or result['player'] == 3:
choice = input("Select R / P / S / L / Z(spock) >>")
computer_choice = random.choice("rpslz")
print('You selected ---', str.capitalize(choice))
if str.lower(choice) == computer_choice:
print("Draw")