Ok I am working on a script to display the status of a Far Cry server and I am having a problem with the players part.
This is the code I get when I query the server
Code:
EYE1farcry49001$3-nXs- Clan Server $4v1.1TDMmp_monkeybay_n0.0.0.00524gr_ScoreLimit0 gr_TimeLimit30gr_DamageScale1gr_HeadshotMultiplier10gr_RespawnTime10 gr_PrewarOn0gr_DropFadeTime10gr_FriendlyFire0gr_MinTeamLimit0gr_MaxTeamLimit12gr_InvulnerabilityTimer5 gr_NextMap mp_airstripgr_DedicatedServer0sv_punkbuster1=$4Cyrus031-18m=~~Cinder Maker031-20m=Bubs047-18m= Jack ONeal031-23m= Jack Carver054-29m
This is the players are of the code
Code:
=$4Cyrus031-18m=~~Cinder Maker031-20m=Bubs047-18m= Jack ONeal031-23m= Jack Carver054-29m
Sometimes the script has ? instead of the = signs and sometimes it puts = signs in after the whole thing so I was wondering if there is another way to array the players instead of my current method of useing explode which dosn't always work as the charcters switch the occasional time!