Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Elliot Hesp
@Ehesp
@koraktor you around?
Not sure if you have any experience with PHPSpec, but I have a custom class which uses SteamId… Basically, I can’t use dependancy injection (I think) since the class requires the community_id to be passed to it. Unsure of how to test my custom class which uses yours.
Sebastian Staudt
@koraktor
@Ehesp: Sorry, no experience with phpspec, but just having a class that has constructor arguments shouldn't be too hard to manage.
Elliot Hesp
@Ehesp
No worries, I can mock it easily with php unit, just php spec doesn't seem to like it
Brandon
@brandonjjon
@koraktor Any idea how to do server.players with the extended option?
When I do server.players(@@password) it timesout.
Brandon
@brandonjjon
Eh, had to change it to SourceServer.
Sebastian Staudt
@koraktor
@brandonjjon Nevermind. Be sure to come back if you have any other problem.
Brandon
@brandonjjon
@koraktor Let's say I execute an RCON command through steam-condenser. Any way I can get the response text? Almost as if you had a live console on a web page. But just the last few lines and not live. Hopefully that makes sense.
Sebastian Staudt
@koraktor
Assuming you're using Ruby, server#rcon_exec will return a string that contains the full response. See the docs for that method.
Brandon
@brandonjjon
@koraktor Alright thanks. One more thing. When using rails, it seems as soon as I include steam-condenser in my Gemfile and run bundle install, my site breaks. I get "undefined method `all" and NoMethodError. I'm running Rails 4.2 and Ruby 2.2.0. Do you know what would cause this?
Sebastian Staudt
@koraktor

When using Rails it’s probably best to use the master branch which already uses namespacing.

gem 'steam-condenser', :git => 'git://github.com/koraktor/steam-condenser-ruby.git'

Brandon
@brandonjjon
That did the trick, thank you. Is this still being developed by the way?
Sebastian Staudt
@koraktor
Sure, but at a slower pace. Mostly, because I wanted to fully use the Web API and don't use the old XML data any more. But Valve makes this very hard, I think there are still some parts that are not possible with the Web API.
Lee Robert
@lrobert
'morning. Is SteamSocket's send() supposed to have trigger_error("Sending packet of type \"" . get_class($dataPacket) . "\"..."); in it?
@koraktor Would you be open to moving to namespaced or PSR loadable structure? I can create a PR for it if it's something you'd be interested in moving towards
Lee Robert
@lrobert
koraktor: nevermind, I see that your dev-master copy has the error removed and it's namespaced
Lee Robert
@lrobert
Any idea when your next release of the php library is going to be? I'd much prefer to be using stable releases rather than dev-master in my composer.json file
Sebastian Staudt
@koraktor
@lrobert Feel free to test master and give feedback.
Alex Fernandez
@islegend
This message was deleted
Richard Donnell
@radonn24
Hello all - I have a quick question, hopefully, someone might know the answer to, before I get started using Condenser.
Condenser seems to be able to query servers. Does anyone know if Condenser has the ability to query "Ark: Survival Evolved" servers? I would think it can, I just wanted to ask before I found out the hard way that it won't work...
Sebastian Staudt
@koraktor
@radonn24 There has been a discussion about ARK on the mailing list recently: https://groups.google.com/d/topic/steam-condenser/dVNpireZZbM/discussion
Максим
@maxyc
Максим
@maxyc
ok, how to get all games in steam using this library?
Sebastian Staudt
@koraktor
Hi. What do you mean by "item for game"? Any available in a game or do you mean the inventory of a game?
Your second question is unclear, too. Do you want all games available via Steam or do you want all games of a specific user?
Максим
@maxyc
want all games available via Steam
Any available in a game
It is necessary to make the exchange of things. We need to have all the database games and the entire database of things in advance. In order to allow users to put their belongings and ask for those that do not have
Sebastian Staudt
@koraktor
That's not currently possible using Steam Condenser. You might want to have a look at #231 and the Storefront API.
Максим
@maxyc
Ok, thanks. and 2 questions...
3 )))
  1. How do you feel about Paul reguest
  2. Is there any documentation on the project?
  3. psr and composer in the plans there?
@koraktor
Sebastian Staudt
@koraktor
  1. Paul?
Максим
@maxyc

oops, google translate ))

pull request )

Sebastian Staudt
@koraktor
  1. Currently there's no more than the API docs, e.g. generated by phpdoc.
  1. The master branch of the PHP repository is PSR-4 compliant.
Максим
@maxyc
in jocolopes/steamapi present method GetAppList, all games,
Sebastian Staudt
@koraktor
Oops. Looks like Gitter just killed my ordered list.
Максим
@maxyc
This message was deleted
Just
@D3vJust
hey, anyone here ?
Raphael Duarte
@Raphash0w
Guuuuuuuuuuuys
does someone knows how do I get the infos from the matches from my own servers? like kills, deaths etc...
Sebastian Staudt
@koraktor
@Raphash0w Which game? AFAIK only Dota 2 has a Web API
Sebastian Staudt
@koraktor
… for match data.
Raphael Duarte
@Raphash0w
CSGO..