Тёмный

How to Make Your First Bot in HighRise | Step by Step Creation Guide 

DrewniverseHR
Подписаться 2,8 тыс.
Просмотров 24 тыс.
50% 1

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 157   
@drewniverseHR
@drewniverseHR Год назад
# import all the packages we will need from highrise import BaseBot from highrise.models import SessionMetadata, User from highrise import __main__ from asyncio import run as arun # Bot is our version of highrise-bot-sdks BaseBot # where we override functions like on_chat to give them more interesting functionality class Bot(BaseBot): async def on_start(self, session_metadata: SessionMetadata): print("hi im alive?") # this should output in the terminal # this function is called every time a user sends a message in the room with the bot async def on_chat(self, user: User, message: str): # we log this message to the terminal on your machine with print print(f"{user.username} said: {message}") async def run(self, room_id, token): await __main__.main(self, room_id, token) if __name__ == "__main__": room_id = "ROOM_ID" token = "TOKEN" arun(Bot().run(room_id, token))
@drewniverseHR
@drewniverseHR Год назад
You can copy and paste the code above, you just need to replace the "ROOM_ID" and "TOKEN" with the actual room id and token.
@drewniverseHR
@drewniverseHR Год назад
Make sure both “__main__” have two underscores on both sides. In the comment RU-vid deleted one of the underscores.
@gulerkoparan6636
@gulerkoparan6636 Год назад
Although highrise sdk is installed, it does not appear in the highrise code section. how i fix it?
@AmogelangMotsoeletsane-zr2li
@AmogelangMotsoeletsane-zr2li 9 месяцев назад
Bro can u make a video telling us how to become a dj on highrise and how do u get hired becoz am confused and we all are
@kranostr4083
@kranostr4083 8 месяцев назад
I can run the code, the bot comes to the room in the game, but as soon as I move, it leaves the room, and I get an error in the CMD as 'UserMovedEvent can you help?
@roonjk4012
@roonjk4012 Год назад
Hello, you did an amazing and beautiful job. I saw that the topic requires high accuracy and focus. Thank you for your effort, but we need the other part, which is the emotions and we will be thankful for you❤
@drewniverseHR
@drewniverseHR Год назад
Sounds good! I have been getting a lot of requests for more functionality so I will start working on a new video!
@weeatpplproductions
@weeatpplproductions 9 месяцев назад
When I type python --version in the CMD prompt I am hit with "Python was not found" even though I JUST installed it and can open it. Any one have any ideas?
@Lil_tml_16
@Lil_tml_16 4 месяца назад
Hey I encountered the same issue. So when it says that, it also says “run without arguments to install from the Microsoft store” and that literally means don’t put “python -version” just type python and then it will automatically take you to the Microsoft store where you can download a version of python that is actually compatible with your laptop/PC or whatever you’re using.
@Lil_tml_16
@Lil_tml_16 4 месяца назад
Then when you download it, check it’s working by typing “python -version” and it should all work for you
@gothicroyalty4432
@gothicroyalty4432 Год назад
Okay so I have a question. My code doesn’t say am I alive which is what I put it brings up this stuff but at the end it says “TypeError: main() takes 1 positional argument but 3 were given” what do I do?
@vikky209
@vikky209 Год назад
if u get the solution lemme know
@tikwonders9890
@tikwonders9890 Год назад
same
@luciasachun8898
@luciasachun8898 11 месяцев назад
Hello, I apologize for the inconvenience but were you able to resolve that conflict? Could you tell me how, please.
@blackheart6188
@blackheart6188 9 месяцев назад
Same
@laxusla7929
@laxusla7929 9 месяцев назад
did u fix it ??
@rosnerycastillo1551
@rosnerycastillo1551 Год назад
Hi, I was able to do it, but my bot stays in the room for 10 seconds and disappears, what can I do?
@animewithme92
@animewithme92 Год назад
Tysm for this video ♡ I was really excited!
@drewniverseHR
@drewniverseHR Год назад
Thanks for watching! Hope it helps!
@animewithme92
@animewithme92 Год назад
​@@drewniverseHR can we change bot clothes ?
@drewniverseHR
@drewniverseHR Год назад
@@animewithme92 not yet! Soon though!
@tiffanykoger4295
@tiffanykoger4295 17 дней назад
I did everything way you said but when I go to cmd to get my bot in room all I get is can’t open file no such file or directory
@xcyolix1833
@xcyolix1833 7 месяцев назад
hi mate . i have a problem , iam in the step two , i gone to my profile setting on the highrise website and in the setting there is no option for bot or adding a bot . i also adding the Authentication method because i think highrise donot give permission to accounts that dont have 2FA . can u please help me with it 👍👍💖💖
@Ali-vr6np
@Ali-vr6np 7 месяцев назад
بله منم همین مشکل دارم
@cevincross4386
@cevincross4386 8 месяцев назад
ok, so i didnt get the im alive message but it says its running but there is 0 visibility to the bot being in my room/
@AS-_435
@AS-_435 Год назад
when writing: from highrise import BaseBot "highrise" appears incorrectly, I don't know why
@BeyondHolograms
@BeyondHolograms Год назад
were you able to fix i have same issue
@estheroluwaseunsupo-adesol1080
@estheroluwaseunsupo-adesol1080 6 месяцев назад
What do I do if I get an error that says unable to build wheels for pendulum when installing the highrise bot sdk
@Lil_tml_16
@Lil_tml_16 4 месяца назад
I think it’s the highrise_bot_sdk file itself because I’ve had a read through the CMD window after getting the same fault and it says that PIP is not the issue
@MeiFen-mj8lx
@MeiFen-mj8lx Месяц назад
@@Lil_tml_16then what should we do?
@katherineescalera6360
@katherineescalera6360 Месяц назад
i continue to get a pendulum error when trying to install SDK on command prompt. please advise.
@abdobkar8847
@abdobkar8847 Год назад
Why every time I move the bot shuts down automatically
@user-gr8gd1nn1c
@user-gr8gd1nn1c Год назад
Can you write more codes ... such as (emots commands, gold sending messages, or a response location)
@drewniverseHR
@drewniverseHR Год назад
If enough people want it, I can do a part 2 with more functionality!
@user-gr8gd1nn1c
@user-gr8gd1nn1c Год назад
@@drewniverseHRMake her help me and do more.. I really want more and look forward to it
@sylvongopal-xj5bl
@sylvongopal-xj5bl 11 месяцев назад
​@@user-gr8gd1nn1c can u help me
@anicabal01
@anicabal01 9 месяцев назад
I also want more functionality
@Janijanana
@Janijanana 11 месяцев назад
HI, thank you so much for the video. It's much better than the Highrise quide. I have a few things I need help with. 1. How do I change the bots position in my room. 2. How can I change the bots outfit. 3. My bot isn't greeting anyone when they join my room. If anyone could help me that would be amazing
@drewniverseHR
@drewniverseHR 11 месяцев назад
Thanks for watching! They’ve added a lot of new features since I made this video and I’m a little behind. Maybe I need to make a part two with some new updated options for bots.
@user-mm7mv2kh8y
@user-mm7mv2kh8y Год назад
Hello my friend, thank you for the video. I have programmed the bot, but when I close cmd or close the game, it exits with me. Is there a solution to the problem?
@ladydragon6068
@ladydragon6068 Год назад
Alot of users facing same problem there's no create bot options Till now Team Didn't mentioned any proper requirements for a bot. I Don't think there's any solution for this u aren't getting create/Generate bot options
@North_Carolina39
@North_Carolina39 4 месяца назад
Just stop scamming
@sebaseba9344
@sebaseba9344 Год назад
Can you write the explanation because it is also very fast so that we can translate it Or translate it into Arabic
@drewniverseHR
@drewniverseHR Год назад
I would love to, but I would definitely need some help on that.
@sebaseba9344
@sebaseba9344 Год назад
You can write the steps
@sebaseba9344
@sebaseba9344 Год назад
in English
@jenacowan
@jenacowan Год назад
I am getting this error for Line 20 AttributeError: 'Bot' object has no attribute 'run' Could you help?
@North_Carolina39
@North_Carolina39 4 месяца назад
Yes same problem with me
@JoaoLoreto
@JoaoLoreto Год назад
An error when i try to install highrise-bot-sdk==23.1.0b5 ERROR: Could not find a version that satisfies the requirement highrise-bot-sdk==23.1.0b5 (from versions: none) ERROR: No matching distribution found for highrise-bot-sdk==23.1.0b5
@Ltbubbl3
@Ltbubbl3 Год назад
Same :/
@mlrgt
@mlrgt Год назад
Part2 with more commands
@drewniverseHR
@drewniverseHR Год назад
I will try to put something out soon!
@GiselaBracho-yl1vo
@GiselaBracho-yl1vo 11 месяцев назад
Aaa ni se inglés como obtengo el bot😢😢
@HuntechEngineers
@HuntechEngineers Год назад
I have a question. Is it necessary to have a 24 hours running PC or laptop for using a 24 hours active bot ?
@drewniverseHR
@drewniverseHR Год назад
With this method, yes. But let me do some research on some work arounds!
@ec133ramyag3
@ec133ramyag3 Год назад
Bro, if we move the bot poofing why?☹️
@shabirhossain5072
@shabirhossain5072 Год назад
I keep getting this message whenever I try to run the code in the command line TypeError: main() takes 1 positional argument but 3 were given
@luciasachun8898
@luciasachun8898 11 месяцев назад
Hello, I apologize for the inconvenience but were you able to resolve that conflict? Could you tell me how, please.
@shabirhossain5072
@shabirhossain5072 11 месяцев назад
@@luciasachun8898 no i wasnt able to figure it out sorry :( i’m not too amazing with python so i dropped the project but i might open it and try again soon i will let you know if i get it
@jermyneandres5994
@jermyneandres5994 Год назад
Hello. I am new to programming stuff and wanted to try this out. But in the Step 3, I tried running it in cmd and it says cannot import Basebot and says its most likely due to circular import. May I know what I can do here? I tried searching for the file in my computer but it really did not show up. Is it possible for it to be a different file name other than Basebot? Thank you.
@drewniverseHR
@drewniverseHR Год назад
Sounds like the HighRise file didn’t get installed properly. You might need to reinstall that in your pip
@Prinxi67
@Prinxi67 Месяц назад
Guys, I want to fix my account that was banned due to illegal age, and I know that I have to take a photo of the national ID and send it, and I went to the game support, but I still don't know what to do. Can someone help to me?
@qq49o15
@qq49o15 Год назад
good morning i wanna ask, my laptop windows is 7, so is there any version of python can work in it?, or is there any other program like python can work in it?
@drewniverseHR
@drewniverseHR Год назад
There are definitely older versions of Python you can use, but I am not 100% sure if it would be compatible with the HighRise package.
@LiIacLiv
@LiIacLiv 4 месяца назад
The trouble I'm running into is on cmd, i enter the file name like you did but it comes up saying "The system cannot find the path specified." How can I correct this?
@LiIacLiv
@LiIacLiv 4 месяца назад
"C:\Users\livvy\Downloads\HR BOT>python bot.py C:\Users\livvy\AppData\Local\Programs\Python\Python311\python.exe: can't find '__main__' module in 'C:\\Users\\livvy\\Downloads\\HR BOT\\bot.py'" yeah no idea what to do here, i got 2 underscores?
@LiIacLiv
@LiIacLiv 4 месяца назад
started over, now im getting TypeError: Bot.run() missing 1 required positional argument: 'token'
@bc_kking
@bc_kking 4 месяца назад
My bot not running I followed everything u did
@toka9275
@toka9275 10 месяцев назад
Hello Sir, for one thanks for this tuto. And now, i need your help, i trying to run my bot and all it's good, except the "user joined the room" in the chat, have you a solution please ?
@unknownvirg1n
@unknownvirg1n Год назад
Hi! When I do 17:37, it gives me "TypeError: get() takes 1 positional argument but 3 were given". What's problem?
@vikky209
@vikky209 Год назад
bro same , if u found the ans lemme know
@BeyondHolograms
@BeyondHolograms Год назад
@@vikky209 same problem for me any of you figure it out?
@jadeyoung2163
@jadeyoung2163 Год назад
Same
@luciasachun8898
@luciasachun8898 11 месяцев назад
Hello, I apologize for the inconvenience but were you able to resolve that conflict? Could you tell me how, please.
@unknownvirg1n
@unknownvirg1n 11 месяцев назад
ohh hi again, still no :c@@luciasachun8898
@tiapearls7915
@tiapearls7915 6 месяцев назад
Miss your Highrise videos sooo much 🤍 hope you’re well
@drewniverseHR
@drewniverseHR 6 месяцев назад
Thank you for the support, I hope to start making more soon!
@ellentakumi4694
@ellentakumi4694 Год назад
Hi ty for this tutorial. I manage to run the bot in my room but i have a problem. It says in cmd "Warning: The Highrise Python Bot SDK version (23.1.0b10) does not match the recommended version for the API (23.3.4)." What is that API 23.3.4? Where can i install another cersion?
@abraxops
@abraxops Год назад
run "pip install highrise-bot-sdk==23.3.4" in your command prompt
@whoisyashu17
@whoisyashu17 6 месяцев назад
I am finding error in building wheel for pendulum
@anicabal01
@anicabal01 9 месяцев назад
But how can I add emotes to our bot when I say emote name our avatar will emote
@rescue9374
@rescue9374 8 месяцев назад
hello sir i am doing every file but some problem facing in vs code missing import how do resolve my problem and i ask python path and vs code path same it is mandatory.
@drewniverseHR
@drewniverseHR 8 месяцев назад
I will need to look back at this video, they are constantly making changes to the bots so sometimes the code has to change to make them work again. I highly recommend joining the HighRise Discord and joining the bot making channel!
@XGhost7.
@XGhost7. Год назад
Amazing video TBH, i have a question, i don't have a PC, can I do it on my cellphone?
@drewniverseHR
@drewniverseHR Год назад
I have yet to try it, but I have heard people have been able to do it all on their phone!
@XGhost7.
@XGhost7. 9 месяцев назад
I'm having some issues with the coding when typing HighRise in the first 4 lines they highlights in purple unlike the video.
@Sophie-ct5uc
@Sophie-ct5uc 8 месяцев назад
I have done everything the only thing not working is pip list, highrise isnt showing.. What do I do?
@drewniverseHR
@drewniverseHR 8 месяцев назад
That means you something went wrong when you tried to install it, I would try those steps again. There’s a channel in the discord server for help on these issues as well, if you are in it.
@venom5303
@venom5303 Год назад
Hi. when I login to the site and want to mske a bot .Its telling me that bot is available only for trusted and some special users.and u cant use bot.What I should do ? to be special... :"
@drewniverseHR
@drewniverseHR Год назад
Let me look into this!
@johnwick-oo3wk
@johnwick-oo3wk Год назад
when I run the command it give me nothing I made sure that everything i did like you mean it gives me press any key to continue and doing nothing
@drewniverseHR
@drewniverseHR Год назад
Sorry for the late reply, have you had any luck?
@c1q.
@c1q. 11 месяцев назад
My friend, you and I are game content creators Highrise I am interested in explaining it to Arabs You are someone who knows the English language I hope that we will cooperate with a company and talk to them about setting us up with them For our effort and trying to help others
@c1q.
@c1q. 11 месяцев назад
And also to document our accounts for us with a mark HR As official persons
@craftslovers7212
@craftslovers7212 7 месяцев назад
Woo fr bro?
@tam_tam23
@tam_tam23 Год назад
Is there a decision that the highrise game will be downloaded to the computer and not an emulator?
@drewniverseHR
@drewniverseHR Год назад
I am not sure if it will be a browser game or a download, but one of those is coming!
@subham2820
@subham2820 10 месяцев назад
It's showing bot has no attribute run
@marcelinocolon7799
@marcelinocolon7799 Год назад
i did all steps but when i'm trying to run my bot it says " ImportError: cannot import name '_main_' from 'highrise' " can u help me?
@xlexpressojei8280
@xlexpressojei8280 11 месяцев назад
is __main__
@xlexpressojei8280
@xlexpressojei8280 11 месяцев назад
doble underscore
@kauarochah
@kauarochah Год назад
How do I edit my bot's outfit??
@yassinsalhi1428
@yassinsalhi1428 Год назад
I'm sorry, but the method never worked for me. I tried a lot, but to no avail. Can you help me?
@drewniverseHR
@drewniverseHR Год назад
What kind of errors are you getting?
@Butterflielex
@Butterflielex Год назад
so are creatures getting pets for sure or not? because I want a creature and a pet and creatures r 350+ dollars now, land is up in the 400s. The land deeds u talked about a year ago no longer exist so I am starting to be skeptic of highrise altogether. it is not fair that they make something convenient and then take it away.
@drewniverseHR
@drewniverseHR Год назад
The land deeds were always meant to be a short term thing. They were trying to provide a way for everyone to get in on Land. But land always was a limited time sale. As far as I know, creatures are still planned to receive pets in the future, I think that perk is on hold until HighRise 4.0 comes out. My recommendation stays the same, start with a creature and then potentially look at buying land. At this current moment there are just more perks when it comes to Creatures.
@fanhesap6911
@fanhesap6911 Год назад
ImportError: Unable to import name '_main_' from 'highrise' how do I solve this mistake
@drewniverseHR
@drewniverseHR Год назад
Did you copy the code from the comments? I just noticed that “main” is missing one underscore on each side. Should be “__main__”
@mrghost7105
@mrghost7105 3 месяца назад
How can he work always
@feelixqueen2268
@feelixqueen2268 10 месяцев назад
why my bot disappeared in 5 seconds
@codygrowtopia3383
@codygrowtopia3383 7 месяцев назад
is setting up a music bot easy?
@cevincross4386
@cevincross4386 8 месяцев назад
is this outdaded then or
@piratascab43
@piratascab43 8 месяцев назад
Traceback (most recent call last): File "C:\Users\Username\OneDrive\Escritorio\my_bot\mybot.py", line 3, in from highrise import _main_ ImportError: cannot import name '_main_' from 'highrise' (C:\Users\Username\AppData\Local\Programs\Python\Python311\Lib\site-packages\highrise\__init__.py) Que deberia hacer en ese caso?
@Siya_a_
@Siya_a_ Год назад
Hi i had a question, Can we use phone for it or is laptop necessary?
@drewniverseHR
@drewniverseHR Год назад
I think there have been a few people who have successfully done this on a phone!
@user-xp1tj6ip9k
@user-xp1tj6ip9k Год назад
Como faz para por comandos de danças ? Tentei e nao achei, gostaria muito de saber
@AS-_435
@AS-_435 Год назад
You got how to place orders
@Pxxsy.
@Pxxsy. Год назад
Hello ! Ty for the tutorial that was reaaaaallly helpfull, can u give me a code send a different message when someone joins?
@drewniverseHR
@drewniverseHR Год назад
You can change the message to be whatever you’d like it to be!
@ft.kieran
@ft.kieran Год назад
pyton is not visible on my visual studio
@paularamis5416
@paularamis5416 Год назад
Me too
@drewniverseHR
@drewniverseHR Год назад
You have to make sure you have it downloaded on Visual Studios.
@drewniverseHR
@drewniverseHR Год назад
Make sure you have it downloaded within Visual Studios, if you do a google search I am sure smarter people than me have created a guide on how to do it.
@alexishall7888
@alexishall7888 Год назад
Can u do all this on your phone
@drewniverseHR
@drewniverseHR Год назад
I have never tried, but I have heard it is possible.
@mehmetserin5533
@mehmetserin5533 Год назад
When will emot bot code arrive?
@drewniverseHR
@drewniverseHR Год назад
It is already usable! You can make the bot emote or make others in the room emote.
@_Haseeb_1
@_Haseeb_1 Год назад
​@@drewniverseHRwhich command is use to make other emote in room
@c1q.
@c1q. Год назад
Can you translate it to Arabic
@drewniverseHR
@drewniverseHR Год назад
I would love to but I might need some assistance with that.
@Sphinix
@Sphinix Год назад
@@drewniverseHR I can help with that
@drewniverseHR
@drewniverseHR Год назад
@@Sphinix message me on discord: Drewniverse#0001
@Nasi_player
@Nasi_player Месяц назад
Highrise support team are a bunch of stupid bots and they don't help the players at all💀
@cevincross4386
@cevincross4386 8 месяцев назад
File "c:\Users\usern\OneDrive\Desktop\BaseBot.py\BaseBot.py", line 1, in from highrise import BaseBot ModuleNotFoundError: No module named 'highrise' im getting this error, ive tried changing the file name and the name of the script. i followed the whole step. :/
@Den_Sinyo.....just-memories
@Den_Sinyo.....just-memories 5 месяцев назад
Suspend long not to play this game .. game over
@TaniyaReid-lp4ql
@TaniyaReid-lp4ql 3 дня назад
This is annoying
@killertofu
@killertofu 11 месяцев назад
Oh shit, people still play this game ?? 😂😂😂😂
@drewniverseHR
@drewniverseHR 11 месяцев назад
Still quite popular! Come back check out the changes!
@killertofu
@killertofu 11 месяцев назад
@drewniverseHR I planned on it when they released mini games or actual stuff to do rather than spend money. Have they added any games yet ? Not the mazes and user made games but dev made mini games ? Or anything interactive ?
@lala_pressure
@lala_pressure Год назад
Is it possible to do this on Android 😢?
@drewniverseHR
@drewniverseHR Год назад
That is a good question. I am not 100% sure, I know it will be a whole lot easier on a computer, but I bet you could find a way, like hosing the code on a web-service?
@annalesego6697
@annalesego6697 Год назад
Am using Android too and I really need this😭😭😭
@BeyondHolograms
@BeyondHolograms Год назад
hey do you have discord or a way i can contact for some help? just any where i could send screenshots etc. because im stuck but need some assistance if youre still active..thanks
@AN7ARE
@AN7ARE Год назад
#import all the packages we will need from highrise import Basebot from highrise.models import SessionMetadata, User from highrise import _main_ from Asyncio import run as arun # Bot is our version of highrise-bot-sdks Basebot #where we override functions like on chat to give them more interesting class Bot (Basebot) async def on_start (self,session_metadata: Session _Metadata) Print("hi im aliev?")#this should output in the terminal #this function is called every time a user sends a message in the room with the bot async def on_chat(self,user:User message: str): #we log this message to the terminal on your machine with Print Print (f"{user.username} said:{message}") async def run(self,room_id,token): await__main__.main(self,room_id,token) if_name_=="__main__":room id = "" token= "" arun(Bot().run(room id taken
@BeyondHolograms
@BeyondHolograms Год назад
for me it says first 3 lines cant be resolved for the word "highrise" in each line and it wont run the bot. any help appreciated
@edithgnekpie2464
@edithgnekpie2464 Год назад
so the thing is that you realy need to install the pip or it did not work yw
@krishsinghrajpoot
@krishsinghrajpoot 8 месяцев назад
How can I add emotes the bot?
@user-cr5di7zn6y
@user-cr5di7zn6y Год назад
My bot stays for one minute only whyy
@drewniverseHR
@drewniverseHR Год назад
You have to have your computer running and awake at all times to keep the bot running. You could potentially host your code. There are a few options for doing that, I could maybe make a video on it.
@cevincross4386
@cevincross4386 8 месяцев назад
i got my bot up, but i cant get the user join to work
Далее
Creating your first Highrise Bot
7:39
Просмотров 4,4 тыс.
Bike vs Super Bike Fast Challenge
00:30
Просмотров 6 млн
Мама знает где все документы
00:21
Самое неинтересное видео
00:32
Просмотров 1,2 млн
Tips On How to Survive Wild Animal Attacks
20:50
Просмотров 3,2 млн
How To Become RICH On HighRise ( Tips And Tricks)
4:55
How I make bots using python (educational)
17:12
Просмотров 543 тыс.
How to get Pets in HighRise | Land NFT Guide
22:41
Просмотров 37 тыс.
Bike vs Super Bike Fast Challenge
00:30
Просмотров 6 млн