Giter Club home page Giter Club logo

ugc-sniper's Issues

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

Question

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

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

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?

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.

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'

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!

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.

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

Goofy sniper

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

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.

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

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"

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)

Error

Hey man, im getting an erorr on the requests.

Question

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

General Question

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

Step 2

How to do step 2? I'm mad confused

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?

how to do step 1

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

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

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

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

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?

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 ??

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.