021 submitted a new resource:

[BS] Matchmaking - Find new people to play your favourite games with!

This add-on helps people find partners to play their favorite games on any platform together.

Friendly UI, guest posting, many games and platforms - so you can describe it in short form.

In addition to the large list of already available games after installation, you can add your games.

Quick match creation
View attachment 102
View attachment 101


Convenient match filter
View attachment 103
View attachment 104

Convenient game...

Read more about this resource...
 
Very good addon! :)

Would it be possible to add a button to add the same game but for other platforms:

Demo.webp


Personally, I can sometimes ask to play a game on two or more different platforms (Rocket League). Since it is cross-platform, I sometimes play it on PS4, XO, PC, Switch.

It's a suggestion, I hope you like it :) On the one hand, this will avoid having multiple matchmaking of the same users on the same game for other platforms.
 
  • Like
Reactions: 021
Hey, I'm really interested in this addon and would like to ask a few questions. Lets suppose that we, as admins, create "CSGO" as a game with this addon and a user watches/follows this game. Will this particular user get notified when another user creates a match for CSGO?
 
Hey, I'm really interested in this addon and would like to ask a few questions. Lets suppose that we, as admins, create "CSGO" as a game with this addon and a user watches/follows this game. Will this particular user get notified when another user creates a match for CSGO?
Hello. Unfortunately, there is no such functionality in the add-on at the moment.
 
Hello. Unfortunately, there is no such functionality in the add-on at the moment.
I'd like you to add this functionality. I'm willing to pay as well. Please let me know if this is possible and inform me about the charges for this custom work.
 
I'd like you to add this functionality. I'm willing to pay as well. Please let me know if this is possible and inform me about the charges for this custom work.
Unfortunately, I will not be ready to take on this until September :(
 
I have an error but I think it is due to PHP 8.0:

  • ParseError: syntax error, unexpected token "match", expecting identifier
  • src/addons/BS/Matchmaking/Entity/Match.php:29
#0 src/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/teranio/w...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('BS\\Matchmaking\\...')
#2 src/XF/Mvc/Entity/Manager.php(49): class_exists('BS\\Matchmaking\\...')
#3 src/XF/Mvc/Entity/Manager.php(67): XF\Mvc\Entity\Manager->getEntityClassName('BS\\Matchmaking:...')
#4 src/XF/Mvc/Entity/Manager.php(223): XF\Mvc\Entity\Manager->getEntityStructure('BS\\Matchmaking:...')
#5 src/XF/Mvc/Controller.php(901): XF\Mvc\Entity\Manager->getFinder('BS\\Matchmaking:...')
#6 src/addons/BS/Matchmaking/Pub/Controller/Matchmaking.php(32): XF\Mvc\Controller->finder('BS\\Matchmaking:...')
#7 src/XF/Mvc/Dispatcher.php(350): BS\Matchmaking\Pub\Controller\Matchmaking->actionIndex(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('BS\\Matchmaking:...', 'Index', Object(XF\Mvc\RouteMatch), Object(BS\Matchmaking\Pub\Controller\Matchmaking), NULL)
#9 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(BS\Matchmaking\Pub\Controller\Matchmaking), NULL)
#10 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#12 src/XF.php(488): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}

array(4) {
["url"] => string(13) "/matchmaking/"
["referrer"] => string(21) "https://******.com/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
  • Like
Reactions: 021
I have found another less disturbing error that occurs when the user tries to create a match with the fields empty:

Error: Call to a member function isValidPlatform() on null in src/addons/BS/Matchmaking/Service/Match/Creator.php at line 130
  1. BS\Matchmaking\Service\Match\Creator->_validate() in src/XF/Service/ValidateAndSavableTrait.php at line 17
  2. BS\Matchmaking\Service\Match\Creator->validate() in src/addons/BS/Matchmaking/Pub/Controller/Matchmaking.php at line 193
  3. BS\Matchmaking\Pub\Controller\Matchmaking->actionCreateMatch() in src/XF/Mvc/Dispatcher.php at line 350
  4. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
  5. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  6. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  7. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2337
  8. XF\App->run() in src/XF.php at line 488
  9. XF::runApp() in index.php at line 20
 
Chat
Rooms will appear here
Connecting...
Connecting...
Run command
Edit message
  • Insert:

Members online

No members online now.