Welcome to the [HSX] website!

Been Gaming since 2003

Community Driven Site

Gaming, Web Development, and Support

  

 
Main Menu
 
DFG
 Home
 Join our Clan
 [HSX] Roster
 Forums
 News
 Downloads
 News Letter
 Video tutorials
 Supporters
 Uploads
 F.A.Q
· FAQ
· Docs
· Forums FAQ
 [HS] History
 Site Map
 Write a Review
 Image Repo
 WhoIs
 Twitch ID Finder
 Logout
DFG
DFG DFG DFG

 
[HSX] Donations
 
DFG
Donation
This here is a combined total of what we need to keep us going each month.

0 %

Donate

End DateAug 01
Target$25.00
Below Target$25.00
CurrencyUSD

Donators This Month
-No Donations Yet-
DFG
DFG DFG DFG

 
Theme Management
 
DFG
DFG
DFG DFG DFG

 
Whos Been
 
DFG
 coRpSE
 3 mins ago
 SgTChris
 5 hours ago
 71EAGLE71
 7 hours ago
 pd35
 9 hours ago
 PatPgtips
 10 hours ago
 bairdboy
 11 hours ago
 Lonestar
 12 hours ago
 KBATN_Bobber
 13 hours ago
 fire
 17 hours ago
 Sani
 1 day ago
DFG
DFG DFG DFG

 
Survey
 
DFG What is your favorite game to play ATM?

WarThunder
World of Tanks
H1Z1
MechWarrior Online
ARK
WarFace
SWTOR
BattleField serier
COD Series
Diablo
Armored Warfare



Results
Polls

Votes 1257
Comments: 0
DFG
DFG DFG DFG

 
Honey Pot
 
DFG
Bots in the pot!
We have [2202] bots stopped!

DFG
DFG DFG DFG

     
DFG
 
Forum Index Members Search Usergroups
Ranks Staff Statistics Forum FAQ
Board Rules Edit your profile Login, Check Messages Log in
 


Search for at

Game Servers Block module?
Post new topic Reply to topic printer-friendly view List users that have viewed this topic Thank Post Forum Index Nuke Blocks / Modules Support
View previous topic View next topic
PostPosted: Mon Dec 30, 2019 3:33 pm Reply with quote
Jackd-Up
was just wanting a lil help with pointing me in the right direction to create a server block module

NOOB!!!

Groups NOOB!!!
Posts 4
Joined Dec 03, 2019
Status Offline
View user's profile Send Jackd-Up a private message Visit user's Facebook: https://www.facebook.com/dustinjck80 Find all posts by Jackd-Up

PostPosted: Mon Dec 30, 2019 6:58 pm Reply with quote
coRpSE
Well, it really depends on what you're trying to accomplish and what type of server you're talking about.
Some actions, depending on what they are, can be set up using a cron job to ping and gather information at inter volts.
Or, you can set up a button to do it manually. But not knowing what you're looking to do or what type of info you want gathered, it's hard to say.

Is this for a specific game or web host server?


Expand

Top Dog
Nuke Dev / Coder

Groups Top Dog
Nuke Dev / Coder
Posts 2394
Joined Jan 12, 2012
Status Offline
View user's profile Send coRpSE a private message Visit user's website Find all posts by coRpSE

PostPosted: Sun Jan 05, 2020 1:41 am Reply with quote
Jackd-Up
some so i could make my own. kinda like game tracker. we play americas army

Expand


 

NOOB!!!

Groups NOOB!!!
Posts 4
Joined Dec 03, 2019
Status Offline
View user's profile Send Jackd-Up a private message Visit user's Facebook: https://www.facebook.com/dustinjck80 Find all posts by Jackd-Up

 
PostPosted: Sun Jan 05, 2020 8:47 pm Reply with quote
coRpSE
That is a tough one to say. There are various ways to pull server information. It really depends on what is available. I am guessing that Gameservers probably pulls certain available data that the hosting companies allow. But Gameservers is pretty much whitelisted, so they would not have any issues getting that information. I know, back in the day, with a game that I was hosting on my site, I needed a dedicated IP for my website and I ran a Cron job that would run a PHP script that I had that would parse a file off my game server that would update the stats on our website. I don't know if that game allows it.

I do know Gameserver for their premium members, used to be able to get an XML feed of their servers that would allow them to create their own server block that would show who is on and info like what map they were on, ect..., I just don't know if that's a thing with them.

Overall, if there is a feed for the game, or a local file that is written with the current server info and that can be parsed, then you can do it, with either a Curl, or using a Cron job to run a script every X amount of time.
It's just hard to say, "Do this" without actually taking the time myself to research the information myself. Like when I did the Twitch, Steam, and Discord blocks/modules, I spent a few days to weeks looking into how each allowed the info to be received, mostly through jSon and XML feeds. But game/server stats, I haven't messed with that since Enemy Territory:QuakeWars was new and I made my stats signature banner generator, (worked off the available XML feed that Splash Damage had released).

Here is an example of what a feed may look like:
Please login to see this link
Get registered or Log in


(I have been repairing those today since when I first started writing this reply, I noticed they didn't work.)


 

Top Dog
Nuke Dev / Coder

Groups Top Dog
Nuke Dev / Coder
Posts 2394
Joined Jan 12, 2012
Status Offline
View user's profile Send coRpSE a private message Visit user's website Find all posts by coRpSE

Display posts from previous:
Post new topic Reply to topic printer-friendly view List users that have viewed this topic Thank Post All times are UTC - 7 Hours [DST enabled]
Page 1 of 1


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2019 phpBB Group
DFG
DFG DFG DFG
Forums ©
Copyright © HeadShotDomain 2016 By: coRpSE
SimpleBlack V2 By: Killigan
Powered By: Evolution-Xtreme