If you were logged in you would gain 3 XP for posting a reply.
You are replying to:
ok i got the duration but you need to remove one second i do it manually and the parsing duration is exactly as the ingame now
here is my code:
Dim Mins = Split(RP.Length / 60, ",") Dim Secs = Split((RP.Length Mod 60) - 1, ",") Me.LabelReplayDuration.Text = "Duration: " & Mins(0) & ":" & Secs(0)
Me.PictureBoxReplay.Image = RP.Image '''this works ok
'''so far ok but the next loop returns nothing! am i doing something wrong here? Me.LabelReplayRaces.Text = "" For i = 0 To RP.Players.Count - 1 Me.LabelReplayRaces.Text &= RP.Players(i).Race & Environment.NewLine Next
also would you like a replay of mine cause i don't get the player structure, its empty. btw we are talking about replays with team hack and starcrack AI 7 in use!
if you want my opinion eneble the XML support in your .net dll project and by typing 3 ''' comments above your fanction you are able to write a very details inlibrary systax demo! no need for other file!
and you could easily explain to us what gametype 0 is and what 1 is etc etc if you need any help with the comments or enything else in code let me know.
This Business Is Binary. You are a 1 or a 0. Alive or Dead.-
Play SC2 Offline with StarTCraft Loader:
http://adf.ly/M0bMj
ok i got the duration but you need to remove one second i do it manually and the parsing duration is exactly as the ingame now
here is my code:
Dim Mins = Split(RP.Length / 60, ",")
Dim Secs = Split((RP.Length Mod 60) - 1, ",")
Me.LabelReplayDuration.Text = "Duration: " & Mins(0) & ":" & Secs(0)
Me.PictureBoxReplay.Image = RP.Image '''this works ok
'''so far ok but the next loop returns nothing! am i doing something wrong here?
Me.LabelReplayRaces.Text = ""
For i = 0 To RP.Players.Count - 1
Me.LabelReplayRaces.Text &= RP.Players(i).Race & Environment.NewLine
Next
also would you like a replay of mine cause i don't get the player structure, its empty.
btw we are talking about replays with team hack and starcrack AI 7 in use!
if you want my opinion eneble the XML support in your .net dll project and by typing 3 ''' comments above your fanction you are able to write a very details inlibrary systax demo! no need for other file!
and you could easily explain to us what gametype 0 is and what 1 is etc etc

if you need any help with the comments or enything else in code let me know.