J3ldo / UGC-Sniper

J3ldo Sniper, a free powerful, and easy to customize roblox Sniper
MIT License
151 stars 93 forks source link

ValueError: Invalid header value b' (FIXED) #6

Closed murderee closed 1 year ago

murderee commented 1 year ago

Don't know if this has something to do with me being on macos, but when executed I receive the error: ValueError: Invalid header value b'.[roblox cookie]\n'

murderee commented 1 year ago

just tried on windows replacing cookie.txt and limiteds.txt with full path name, and it worked, but doing the same on macos didn't.

WsleySetup commented 1 year ago

i have this issue on windows

mythiclyt commented 1 year ago

just tried on windows replacing cookie.txt and limiteds.txt with full path name, and it worked, but doing the same on macos didn't. Can you explain more? I need help.

murderee commented 1 year ago

For mac, In main.py in the sniper folder IDLE code, I edited the line where it says

`with open("limiteds.txt", "r") as f: limiteds = f.read().replace(" ", "").split(",")

with open("cookie.txt", "r") as f: cookie = f.read()`

Where I changed "cookie.txt" with /Users/[username]/Downloads [where folder is]/UGC-Sniper-main/cookie.txt and "limiteds.txt" with /Users/[username]/Downloads [where folder is]/UGC-Sniper-main/limited.txt

-- for windows, repeat the same steps but change path names to C:\Users\[username]\Documents[where folder is]\UGC-Sniper-main\cookie/limited.txt [text file name]

I only know how to get full path names for mac, not windows, so windows might not work. I only tried this once with a friends computer that uses windows 10.

murderee commented 1 year ago

im so dumb I just realised it didn't work bc I had an extra space after my cookie ;-;