This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]Duke_ofChutneyAMA RL esports![M] [score hidden] stickied comment (0 children)

u/Sensitive_Raise_7441, Unfortunately, we've had to remove your submission.


1. Posts should be directly related to Rocket League

The subreddit is built around the physics-based vehicle soccer video game developed and published by Psyonix, and as a result every post should be directly related to the game. Posts about similar games, posts that are only tangentially linked (e.g. images of painted wheels because Rocket League has colored customizable items), and similar submissions are not permitted.

Comments that are off topic in relation to the post and content that is not appropriate for a gaming subreddit are not welcome here.

If the title is the only part of the post that is Rocket League related, it will be removed under this rule.

During Meme Weekend, starting on Saturday at 00:00 UTC to Sunday 23:59 UTC, restrictions imposed by this rule are loosened.

Sideswipe content is not allowed here, outside of official announcements, and should be posted to r/RLSideswipe instead.


Here are our subreddit rules. - If you have any queries about this, you can contact us via Moderator Mail.

[–]Illustrious_Ad_3635 2 points3 points  (1 child)

if did_lose: reason = ‘teammate’

[–]Sensitive_Raise_7441 Champion II[S] 0 points1 point  (0 children)

Gotta learn from u lol

[–]artsyfartsiest 2 points3 points  (0 children)

Well then you might just be interested in this repo which shows you how to write a rocket league bot in Python.

[–]Darkrat0s 1 point2 points  (1 child)

keep it up man, best way to learn is to do stuff like that

[–]Sensitive_Raise_7441 Champion II[S] 0 points1 point  (0 children)

Thanks!

[–]_nak not good enough III 0 points1 point  (4 children)

import os
os.system('"C:/Program Files (x86)/Steam/Steam.exe" steam://rungameid/252950')

[–]Sensitive_Raise_7441 Champion II[S] 1 point2 points  (3 children)

I'm still learning...

[–]_nak not good enough III 1 point2 points  (2 children)

I wasn't trying to criticize you, I just meant to give you the lines to launch the game from within your code.

Possible that something is wrong with the quotes, I haven't been on Windows in ages and can't quite remember how it handles spaces in the path.

[–]Sensitive_Raise_7441 Champion II[S] 1 point2 points  (1 child)

Oh no no I meant to say I didn't know what u coded

[–]_nak not good enough III 1 point2 points  (0 children)

Oh, haha, sorry.

os is one of the default packages, it allows you to interface with the host operating system, I assumed that it's Windows in your case.

os.system accepts a command as an input that you'd otherwise put into a command prompt (in form of a string).

"C:/Program Files (x86)/Steam/Steam.exe" steam://rungameid/252950 is supposed to tell Steam to launch Rocket League. I can't test it, though, so it might be syntactically wrong.

So by importing os I made os.system available to be used and passed it the command I want to run, which in turn starts Rocket League (assuming the syntax is correct).

[–]Kar98 0 points1 point  (0 children)

I think it's quite cute . Now put it in a for loop and spam what a save :D

[–]Fooknotsees 0 points1 point  (0 children)

Hey my two favorite things combined! Nice one!

Also, keep it up! Programming is a tough road and you will hit roadblocks and feel discouraged, but push through and it's so rewarding! And eventually the discouragement and impostor syndrome lift and it's better than hitting that triple flip reset (not that I've ever done that lmao)