FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Visual Basics total online players?





Diablosblizz
Hey, I am making a MMORPG game in 2D with Visual Basics. I got the players online to work on the game client, but I was wondering if I am able to create it on the website I am also developing.

Code:
Function TotalOnlinePlayers() As Long
    Dim i As Long

    TotalOnlinePlayers = 0

    For i = 1 To MAX_PLAYERS

        If IsPlaying(i) Then
            TotalOnlinePlayers = TotalOnlinePlayers + 1
        End If

    Next

End Function


I was wondering if I can transform that code in PHP somehow, and read how many users are playing the game. The game is NOT web-based, it is a download-able client.

Anybody have any ideas? Many thanks!
Related topics
Halo 2
Need For Speed Most Wanted
Runescape - OFFICIAL THREAD
America's Army
Ultima Online players here?
Microsoft Word Documents & Visual Basics
Online Players
Visual Basic 6
[Visual Basics] Putting Program into SysTray?
how to check if a file exists. please help (visual basics 6)
PHP Whos Online Code OR Page refresh..
Total War Series
Company of Heroes: Online (FREE!)
Portal 2
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.