Levak / warfacebot

WarfaceBot, a headless XMPP client for Warface (FPS game)
GNU Affero General Public License v3.0
92 stars 73 forks source link

Is it possible to create a quick game And How? ru server #453

Closed Ryzen228 closed 4 years ago

Ryzen228 commented 4 years ago

You can create an example to run.

Levak commented 4 years ago

From the doc:

quickplay open ffa
quickplay start
Ryzen228 commented 4 years ago

but how to call your friend? in a quick game I try to do this, it says that a friend is not online, although he is online and if you send the add command he will be friends Nick 721333

Ryzen228 commented 4 years ago

quickplay open ffa quickplay invite 721333 quickplay start

Levak commented 4 years ago

Works fine for me.

bakedbeans3 commented 4 years ago

Levak - if on NA and i want to be on a specific regionalized server such as Singapore and not Washington, which server will this command line put the quickplay game on?

Levak commented 4 years ago

Levak - if on NA and i want to be on a specific regionalized server such as Singapore and not Washington, which server will this command line put the quickplay game on?

Add this in wb.cfg

online_region_id singapore
bakedbeans3 commented 4 years ago

super thanks.

Another question: If i want to open a specific ffa map or any quickplay map, is there a command for the map name to be opened and a listing of the map names somewhere?

Levak commented 4 years ago

Another question: If i want to open a specific ffa map or any quickplay map, is there a command for the map name to be opened and a listing of the map names somewhere?

It's written in the README and you get auto-completion by pressing TAB. All maps are there.

quickplay open pvp
quickplay open ffa_forest
bakedbeans3 commented 4 years ago

I read the READ ME in the folder of the wbot but didnt see the map names, Are you referring to a different document?

bakedbeans3 commented 4 years ago

Hi Levak - please help me find the correct READ me to follow

Levak commented 4 years ago

Hi Levak - please help me find the correct READ me to follow

https://github.com/Levak/warfacebot#owner-only-commands

bakedbeans3 commented 4 years ago

So the owner only commands i put the command Ryzen228 suggested for starting a quickplay ffa and inviting a friend (myself) in the wb.cfg file and i guess i expected an invite from the bot to quickplay and nothing happened.

Levak commented 4 years ago

inviting a friend (myself) in the wb.cfg file and i guess i expected an invite from the bot to quickplay and nothing happened.

wb.cfg is a config file, not a script file for commands. You can only put cvars in it, not commands. To have auto-start commands, the feature #457 needs to be implemented (when I will have free time).

bakedbeans3 commented 4 years ago

Levak at the cmd prompt once the bot is loaded in, I am able to invite my friend, however, after roughly 20 seconds the quickplay session ceases.

Levak commented 4 years ago

20 seconds the quickplay session ceases.

You mean the bot crashes due to MRAC? That's "normal" and I cannot fix this. If I do implement MRAC, cheaters can copy it and make their own anti-MRAC bypass.

bakedbeans3 commented 4 years ago

i figured it was MRAC kicking the no heart beat on the bot.

So the quickplay option is only effective for invites say less than 30 seconds in que?

Levak commented 4 years ago

So the quickplay option is only effective for invites say less than 30 seconds in que?

I implemented the quickplay logic in 2016-2017 way before MRAC appeared in April 2017. Sooo, yeah.