Git Product home page Git Product logo

ugc-sniper's Introduction

๐Ÿ‘‹ Hello, I am J3ldo

About me

I am a 15 year old hobbyist programmer from the Netherlands. I mostly program in Python, HTML, and Javascript but i am also learning C++ and Java. I started out 2 years ago with vbscript and learned that. After that i decided to program in python and now mostly make my projects in that. Some of my favorite projects are Limited Sniper which is a limited sniper for roblox and Sus-Bot a discord bot which has sadly died.
If you'd like to contact me you can message me on discord my username is Jeldo#9578. GithubStats

Repositories

Python

Limited Sniper Gets the price of limiteds on the roblox catalog.
Folder Zipper Zips directories into one file. And can unzip them.
Config Reader Is a program that can read .ini files.
Vbspython A python module to interact with vbscript (Only works for windows operating systems)
Site Stats Enables the possibility for you to see stats for your site!
Prime Numbers A program that finds an amount of prime numbers given. Will format into a list and give the output. Also has a list of 100,000 prime numbers

HTML/PHP

Share files locally Want to share files but you aren't able to? Host this on any network to share and upload files between devices

Currently working on

  • Learning C++
  • Learning OpenGL
  • Making a minecraft Java mod
  • Making GUI's

Collaboration and Commissions

I accept commissions for python and python + html.
I am also looking to collaborate on python. So feel free to ask.

Contact:

Discord: @jeldo (Prev. Jeldo#9587)
Mail: [email protected] (Probably wont respond)

ugc-sniper's People

Contributors

j3ldo avatar maxhithere avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ugc-sniper's Issues

Step 2

How to do step 2? I'm mad confused

How to run main.py?

I have done everything all I have to do is run main.py
So how do I run main.py also Iโ€™m on mac

Problems with main.py

I been trying for HOURS to make this work, every time i try to open main.py it just crashes immediatly. I tried EVERYTHING, installing the requests thing, reinstalling it, hell i even tried putting proxies on it to see if it works
I even tried to execute it with the command prompt but it also doesn't work, it keeps saying "KeyError: 'id'" whatever that means
Also, i put my correct cookie in, i copy and pasted it 6 times.

Replit

Can i run this on replit?

solved

Please help!

edit: solved

what do i download?

im on mac and i downloaded python but then the install requests dosent work so what do i do?

Problem

Can we run the script while the limited is not out (when we get the id before its out)

Traceback (most recent call last):
File "C:\Users\Lucius\Downloads\UGC-Sniper-main\main.py", line 106, in
json={"itemIds": [info["collectibleItemId"]]},
KeyError: 'collectibleItemId'

Error After Running the main.py file.

Hi, i just runned the code and i got the next error
Traceback (most recent call last): File "C:\Users\PC\Desktop\UGC-Sniper-main\main.py", line 1, in <module> import requests as r ModuleNotFoundError: No module named 'requests'

Does this mean that the script beggining is failing to start looking for the limited because is set to anything?

i cant fix this

grafik
this is what i get now

230915454-7bd56bf0-69f5-4913-8b6c-bf49f479d6dd
and this is what i got before i deleted the code that was there

How can i fix this ??

Question

what do i need to put in limited text, the ugc name or id or link

Someone stealing your code

user by the name of xsinper (https://github.com/xsinper) took all your code and published as his own. It also has a fishy discord attachment there, but I haven't clicked it just in case its a bad link. Heres the Github link to his published version: https://github.com/xsinper/UGC-Limiteds-Sniper-Bot-April-2023

I'm new to Github so I don't know how big of a deal this is, and I'm sure it was easy for him to steal your code since your code is open source. But he also seems to be attempting to sell your premium version for โ‚ฌ5 instead of your โ‚ฌ10, which would probably make any creator angry. He also has a bot that gives all of his publishes 89 stars- I checked his profile and almost everything he's published has exactly 89 stars. Just posting this as an issue so you know about it.

blank prompt or crashes

so far when i open up main.py i either get it open for a few seconds where it then crashes or it stays open but nothing else happens after that

Does it buy non-free limiteds?

sorry for publishing this on issues but im new at github.
i want to know if the bot buys non-free limiteds, asking bc i dont want to accidentally buy something with robux
thanks

Error while running program

I have done everything but when I run the main file nothing happens. Do I have to have something opened whole running the code? I have one limited id in the limiteds.txt and my full cookie _|warning.....j38384njo3..... .egg in the cookie.txt. if you need to see picture lmk on ForeverMyth#0508 discord. Please help or show a video how to setup properly

Nothing happens

When I open the file main.ry , nothing happens, only the command line opens for a second. How to solve this problem? please help

Error

Hey man, im getting an erorr on the requests.

No file limited.txt

Ok so I downloaded requests, and I put the id and cookie in the files for limited and cookies, but I get this error, I'm on windows 10 and am using visual studio codeimage

Upon running the script, window closes.

So I've tried opening the script a few times now (About 3-4). Idk if I perhaps did something wrong, but it doesn't seem to be running at all not even in the background.

For the items, it's the item ID right? i.e "123456"?

I'm not sure what's happening any help would be greatly appreciated!

function "buy" can unintentionally trigger, if the roblox account is not set to english.

In Main.py : Line 98 a post request is sent to the https://catalog.roblox.com/v1/catalog/items/details to check the value of the "priceStatus". The value should be checked if it is not "Off Sale". Unfortunately, if you set the roblox account to an another language, (for example: german) the value will be translated to the targeted language and won't have the value: "Off Sale".

...
 96    for limited in limiteds:
 97        try:
 98            info = r.post("https://catalog.roblox.com/v1/catalog/items/details",
 99                           json={"items": [{"itemType": "Asset", "id": int(limited)}]},
100                           headers={"x-csrf-token": x_token}, cookies={".ROBLOSECURITY": cookie}).json()["data"][0]
...
105
106        if info.get("priceStatus", "") != "Off Sale" and info.get("collectibleItemId") is not None:
107            productid = r.post("https://apis.roblox.com/marketplace-items/v1/items/details",
...

Example:
In this example, I sent a post request to get the item with the id "13036455331". My language is set to german.

curl -X 'POST' \
  'https://catalog.roblox.com/v1/catalog/items/details' \
  -H 'accept: application/json' \
  -H 'Content-Type: text/json' \
  -d '{
  "items": [
    {
      "itemType": 1,
      "id": 13036455331
    }
  ]
}'

Inside the response, the value of "priceStatus" is "Nicht mehr im Angebot", which is the german translation of "Off Sale".

{
  "data": [
    {
      "id": 13036455331,
      "itemType": "Asset",
      "assetType": 42,
      "name": "Gold Wabbit Coin",
      "description": "Tastes like Chocolate!",
      "genres": [
        "All"
      ],
      "itemRestrictions": [
        "Collectible"
      ],
      "creatorHasVerifiedBadge": false,
      "creatorType": "User",
      "creatorTargetId": 48545285,
      "creatorName": "Wabbiits",
      "price": 0,
      "priceStatus": "Nicht mehr im Angebot",
      "unitsAvailableForConsumption": 0,
      "favoriteCount": 3782,
      "offSaleDeadline": null,
      "collectibleItemId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
      "totalQuantity": 200,
      "saleLocationType": "ShopAndAllExperiences"
    }
  ]
}

Because of that, the if-statement from line 106 can be set to "True" even if the item is Off Sale, ending up triggering the buy function unintentionally.

Currently, I am not sure about how huge the issue is, but I feel like, it is important to notify the user of the script that the account must be set to "english" to avoid problems with Main.py. Alternatively, you can implement a code, which request the language of the roblox account via roblox users api in order to get the correct language.

General Question

Keeping the script running, does it loop search the same items? Or does it need to be re-opened to check again?

json decoder error & internal server error

get this error after being temporarily ratelimited.

image

tried to test this on the golden shades that just dropped, and didn't get a single copy due to this. any solution?

didn't see anything in the code about printing 'Internal Server Error' so was this just an instance of it being something on roblox's end?

can try on the next free drop and see if things change, but still, what's the trigger to say there's a json decoder error?

Question

can we put more than 3 id in limiteds.txt or is the script dogshit and its capped out at 3 ids

Goofy sniper

this goofy sniper cant even snipe a simple item bro its so bad

Please tell me ))

I didn't quite understand the meaning of step 4, namely "Enter the limits you want in limiteds.text and separate them with a comma. It should look like this: Active1, Active2, Active3" Could you please give an example of this. Sorry for the stupid question

how to do step 1

when i write pip install requests or python -m pip install requests on python, it says SyntaxError: invalid syntax

Error that i cant fix

C__Windows_System32_cmd exe_12-4-2023_21_36_37
how do i fix this?
(i have the limeteds.txt file only with the item id, wihout a (,) at the end. So thats not the problem)

installing requests problem

probably very dumb mistake but with python enabled in app extension aliases i get
"Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases"
and with it disabled i get
"'Python' is not recognized as an internal or external command, operable program or batch file"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.