Jump to content

Parse the file and display the results


aztech

Recommended Posts

I have a program which have written with c+ +. This program is a generic server stats program for all Silkroad versions. ( Silkroad = MMORPG game like WoW ). " So if you have a website, you can upload the file via FTP to your own directory and write a simple PHP script or ASP script to parse the file and display the results. Or, you can post the data via PHP via a web URL. "

I need to make this what i write that write the results.

 

This write the following data:

Server Id
Server Name
Current Players
Max Players
State (1 = open, 0 = check)

For example:
2
220
Zeus
354
2500
1
221
Venus
539
2500
1 

 

And save this data to any.txt file.

 

Here is the site:

http://www.error-soft.net/forum/prvsro.php

 

u need to se the server stats :

Server Name Players State Status

Total Capacity 2059 / 6000 [34%]

ZSZC(Fire) 0 / 2000 Empty Offline

ZSZC (Water) 2059 / 2000 Full Online

ZSZC (Retro) 0 / 2000 Empty Offline

 

i have the program what check the server and write this information to text file, but i do not know how can i parse this information like this website.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.