Code Monkey home page Code Monkey logo

fortnitepy-bot's Introduction

PartyBot

Downloads Python PEP8

A Fortnite HTTP/XMPP bot coded in Python with party capabilities.


Offical Website

PartyBot.net

Discord Support

Installation

PartyBot requires Python 3.6.1 or greater. If you want Python 3.7 (the recommended version), you can get it from here: Python 3.7.0 Download.

  1. Install the required dependencies.

    pip install -U -r requirements.txt
    
  2. Register a new Epic Games account.

  3. Configure your bot and enter the new Epic Games account details.

  4. Launch the fortnite.py file and enjoy.

  5. This step is optional and WILL NOT work on Windows.
    The bot will automatically use uvloop (fastest event loop) if it's installed. To install uvloop, enter this into terminal:

    pip install -U uvloop
    

License

By downloading this, you agree to the Commons Clause license and that you're not allowed to sell this repository or any code from this repository. For more info see https://commonsclause.com/.

fortnitepy-bot's People

Contributors

itssyfe avatar kyiro avatar lilithlovesyou avatar malakae avatar theclassic36 avatar xmistt avatar xmistt2 avatar xnocken avatar zw5 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  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

fortnitepy-bot's Issues

"no module"

when i run install packages it says no module named "pip" and when i run start bot there is no module named "crayon"

VTIDs

VTIDs don't work so, for example, I send the bot VTID_162_Tactical_StyleB and it does nothing happens so I looked at the code and i found "Warning: This feature is not supported, please use !variants" and I submitted a suggestion on discord to fix VTIDs and was told to create an issue on Github page so can you fix VTIDs or at least tell me how !variants work because the wiki did not help much

Cant change skin

I do !skin and it says in the game chat "couldnt find a skin with the name: recon expert. please help as soon as possible

Inviting a bot

Hi its me ya boi ;)
When in a lobby of more then 3 players sometimes when inviting the bot it doesnt join sometimes it does.
So if it doesnt wanna join i have to do !leave or join the bot

time elapsed on a match

When I whisper the bot, for example: !match 4
It sets the state In-game with 4 people left but the time elapsed is the same, and in the console it shows me this:

Task exception was never retrieved
future: <Task finished coro=<event_friend_message() done, defined at fortnite.py:185> exception=IndexError('list index out of range')>
Traceback (most recent call last):
File "fortnite.py", line 814, in event_friend_message
datetime.datetime.utcnow() - datetime.timedelta(minutes=int(args[2]) if len(args) >= 2 else 0)
IndexError: list index out of range

How to make a bot

I don’t know how to make a bot in my game I’m new here I need help

Can not install requirements

At the point I do pip install fortnitepy, it says "Could not find a version that satisfies requirement fortnitepy (from versions: )"

HO BISOGNO DI AIUTO CON L' exchange code

hi I'm a user who uses fortnite-bot, very nice and well done but very often gives me an error: Please enter the exchange code but in not being a programmer I don't know what it means! please help me! regards.

Invalid exchange code supplied

Hi, so my bot was working perfectly yesterday then stopped so i tried to re-install it but it keeps saying invalid exchange code supplied. I have tried many different methods to get the exchange code but still no luck my discord is Mist#9758

ConnectionError: connection timeout

Getting the following error:

`broker task failed
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/aioxmpp/stream.py", line 1939, in _run
timeout=timeout)
File "/usr/lib/python3.7/asyncio/tasks.py", line 363, in wait
return await _wait(fs, timeout, return_when, loop)
File "/usr/lib/python3.7/asyncio/tasks.py", line 456, in _wait
await waiter
concurrent.futures._base.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/aioxmpp/stream.py", line 892, in _done_handler
task.result()
File "/usr/local/lib/python3.7/dist-packages/aioxmpp/stream.py", line 1987, in _run
raise self._xmlstream_exception
ConnectionError: connection timeout (dead time hard limit exceeded)
stream failed: connection timeout (dead time hard limit exceeded)
`

BOT DIRECTORY cmd /k

This usually happens when inviting/joining. Tried reinstalling the bot and its packages from your page.

Help

Traceback (most recent call last):
File "fortnite.py", line 104, in
device_auth_details = get_device_auth_details().get(data['email'], {})
File "fortnite.py", line 51, in get_device_auth_details
return json.load(fp)
File "C:\Users\leoli\AppData\Local\Programs\Python\Python36\lib\json_init_.py", line 299, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "C:\Users\leoli\AppData\Local\Programs\Python\Python36\lib\json_init_.py", line 354, in loads
return _default_decoder.decode(s)
File "C:\Users\leoli\AppData\Local\Programs\Python\Python36\lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\leoli\AppData\Local\Programs\Python\Python36\lib\json\decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

bot

the cmd asks me to put a code in even though there isnt a code

Cannot invite bot client to own party.

You cannot invite the bot to any party, it'll return the error:
fortnitepy.errors.HTTPException: Code: "errors.com.epicgames.social.party.party_not_found" - Sorry, we couldn't find a party by id <client id>

This is a problem with the package (fortnitepy) and is being worked on. A workaround is by joining the bot instead of inviting it. Everything else seems to work fine.

This is great

The bot is great we can view leaked skins and emotes and backblings and the great scripts must have a great owner

Unable to change skin

When i use the !skin command, it wont work and the skin wont change but the other commands do

It Wont Log Into My Account

i tried to log into the account for the bot, but it only said "Please enter the exchange code for my email.
but it wont send it and i cant log into it so the bot wont work...

issue

cant change the skin or emote

Failed to login.

Terbau is aware of issues people are having while signing into bots and is working on a new update. For now, don't try and start & close your bot as often and if you get the error: don't try and login for a little bit of time and try later.

Lobby bot

Keeps going offline after leaving party

Bug occurs when accepting friend request.

This is just an example issue, feel free to use this as guidance. (I also understand this isn't the best example, but it'll act as a guidance to those who have never used GitHub before. If you can make a better one, please & feel free to do so.)

Error.

Whenever the bot receives a friend request, it raises the error:
AttributeError: type object 'Friend' has no attribute 'acept'

Cause (if applicable).

This is caused by the typo in friend.acept() on line 35.

Solution (if applicable).

To fix this, change friend.acept() on line 35 to friend.accept().

SyntaxError: invalid syntax when trying to launch fortnite.py on mac

Hello everyone,

I am hoping someone that's way smarter than me can help me resolve an issue I have when launching fortnite.py

I installed Python 3.6 and ran the following command
python3 -m pip install -U -r requirements.txt
which I believe is needed to be done to have the correct resources.

Next I edited config.json to have my bots email address and password.

Finally, I run fortnite.py but fall short in creating a functional bot due to Syntax Errors.

The errors look like this:


******-MacBook-Pro:~ **********$ cd '/Users/**********$/Downloads/fortnite/' && '/usr/bin/pythonw'  '/Users/**********$/Downloads/fortnite/fortnite.py'  && echo Exit status: $? && exit 1
  File "/Users/**********$/Downloads/fortnite/fortnite.py", line 26
    def time() -> strf:
               ^
SyntaxError: invalid syntax

Anyone knows how to resolve this issue? Many thanks in advance!

d

d

Move commands

Move commands into a separate folder where they are separated to make it easier to edit and add commands later.

TypeError: list indices must be integers or slices, not str

listener attached to signal raised
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\aioxmpp\callbacks.py", line 536, in fire
keep = wrapper(args, kwargs)
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\aioxmpp\callbacks.py", line 470, in _strong_wrapper
return not f(*args, **kwargs)
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\aioxmpp\dispatcher.py", line 287, in _feed
super()._feed(stanza)
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\aioxmpp\dispatcher.py", line 135, in feed
cb(stanza)
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\fortnitepy\xmpp.py", line 645, in
lambda m: dispatcher.process_event(self.client, m)
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\fortnitepy\xmpp.py", line 67, in process_event
type
= body['type']
TypeError: list indices must be integers or slices, not str

Mac OS

is it possible for this to work on mac os I tried it and when I opened the START BOT file it said this:
START BOT.bat: line 1: py: command not found
and
line 2: cmd: command not found
if this dose not work on mac os what os were you talking about in the .README file at the very bottom you said this feature will not work on windows 10 so what os were you talking about?

help

Please enter exchange code for

Where do i find the exchange code?

Line 115

if data['freindaccept'].lower() == 'false': -> if data['friendaccept'].lower() == 'false':

Broken

For some reason it always says invalid credentials even though it is correct

## Error when trying to join bots parties

Issue.

Cannot join parties and get a error inside the game itself

Cause

Unknown

Solution

Unknown

### **The error **

Unable to join __________’s party.Error Code -93

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.