• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 04:58
CEST 10:58
KST 17:58
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Code S Season 1 - RO8 Preview6[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10
Community News
Maestros of The Game 2 announcement and schedule !7Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event12Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25
StarCraft 2
General
Code S Season 1 - RO8 Preview Behind the Blue - Team Liquid History Book Weekly Cups (April 27-May 4): Clem takes triple Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Code S Season 1 (2026) - RO12 Results
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) Maestros of The Game 2 announcement and schedule ! GSL Code S Season 1 (2026) RSL Revival: Season 5 - Qualifiers and Main Event
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players
External Content
Mutation # 524 Death and Taxes The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base
Brood War
General
Quality of life changes in BW that you will like ? Why there arent any 256x256 pro maps? BGH Auto Balance -> http://bghmmr.eu/ RepMastered™: replay sharing and analyzer site Tulbo's ASL S21 Ro8 Post-Review
Tourneys
[ASL21] Ro8 Day 4 [ASL21] Ro8 Day 3 Escore Tournament StarCraft Season 2 [Megathread] Daily Proleagues
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread Daigo vs Menard Best of 10 OutLive 25 (RTS Game)
Dota 2
The Story of Wings Gaming
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread The Letting Off Steam Thread European Politico-economics QA Mega-thread UK Politics Mega-thread Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
How EEG Data Can Predict Gam…
TrAiDoS
ramps on octagon
StaticNine
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1361 users

The Big Programming Thread - Page 132

Forum Index > General Forum
Post a Reply
Prev 1 130 131 132 133 134 1032 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
MisterD
Profile Blog Joined June 2010
Germany1338 Posts
April 07 2012 22:47 GMT
#2621
On April 08 2012 07:16 Ultraliskhero wrote:
Hi guys, I have a quick question.

I'm doing file i/o using C on a linux environment, and I am wondering if there is a way to delete the contents of an entire file that was opened earlier without closing the file.

Basicly, I first opened an existing file using the "r+" mode for fopen(), then I'm reading the file until EOF, and then I want to delete the contents of the file and write to it again starting from the begining. However, I cannot simply close the file and reopen it using the "w" mode for fopen() because I have the file locked using flock(), and I do not want to close (unlock) the file before I finish doing all the operations on it.

Thanks.


quick google: maybe freopen helps? http://www.cplusplus.com/reference/clibrary/cstdio/freopen/
Gold isn't everything in life... you need wood, too!
Abductedonut
Profile Blog Joined December 2010
United States324 Posts
April 07 2012 23:04 GMT
#2622
On April 08 2012 07:16 Ultraliskhero wrote:
Hi guys, I have a quick question.

I'm doing file i/o using C on a linux environment, and I am wondering if there is a way to delete the contents of an entire file that was opened earlier without closing the file.

Basicly, I first opened an existing file using the "r+" mode for fopen(), then I'm reading the file until EOF, and then I want to delete the contents of the file and write to it again starting from the begining. However, I cannot simply close the file and reopen it using the "w" mode for fopen() because I have the file locked using flock(), and I do not want to close (unlock) the file before I finish doing all the operations on it.

Thanks.


You can also check out ftruncate, though I don't know the details of it and how it will affect file I/O in the future.

http://linux.die.net/man/2/ftruncate
beamerkun
Profile Joined December 2009
Poland112 Posts
April 07 2012 23:40 GMT
#2623
On April 08 2012 07:16 Ultraliskhero wrote:
Hi guys, I have a quick question.

I'm doing file i/o using C on a linux environment, and I am wondering if there is a way to delete the contents of an entire file that was opened earlier without closing the file.

Basicly, I first opened an existing file using the "r+" mode for fopen(), then I'm reading the file until EOF, and then I want to delete the contents of the file and write to it again starting from the begining. However, I cannot simply close the file and reopen it using the "w" mode for fopen() because I have the file locked using flock(), and I do not want to close (unlock) the file before I finish doing all the operations on it.

Thanks.


Can't you work on temporary copy of file, and just replace file after all the changes?
Evolution is complete!
Ultraliskhero
Profile Joined April 2010
Canada249 Posts
April 07 2012 23:55 GMT
#2624
I did originally work on a temporary copy of the file and then replaced the file after the changes, but I think there are some problems with that now when I have to implement file locking for concurrent processes. ( maybe there's some way to solve this but I'm not sure)

But I think ftruncate() is the function I need! Thanks a lot guys!
Millitron
Profile Blog Joined August 2010
United States2611 Posts
April 10 2012 22:59 GMT
#2625
Anyone have any experience using the Process class in Java?

I am trying to start a C++ program from a Java program, and write input to the C++ program from the Java program. I have a bigger project in mind, but right now I'm just trying to get this to work on Hello World.

Here is my Java code:
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;


public class JavaRuntimeTest {

/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
ProcessBuilder pb = new ProcessBuilder("runtimeTest.exe");
Process helloWorldCPP = pb.start();
InputStreamReader ir = new InputStreamReader(helloWorldCPP.getInputStream());
OutputStreamWriter outr = new OutputStreamWriter(helloWorldCPP.getOutputStream());
BufferedReader br = new BufferedReader(ir);
PrintWriter pr = new PrintWriter(outr);
System.out.println(br.readLine());
pr.println("q");
helloWorldCPP.destroy();
}

}

The C++ code is just Hello World, and works fine on its own.

When I run the Java program, nothing outputs to the Java console, but I know the C++ executable is running because I see it in my task manager. Why can't I read from or write to the C++ program?
Who called in the fleet?
MisterD
Profile Blog Joined June 2010
Germany1338 Posts
April 11 2012 00:30 GMT
#2626
Here's a small utility class of mine for this scenario: http://pastebin.com/FTbbx0AS

basically, what you have to do is start separate threads that actively poll the processes input streams (either that or you manually poll them round-robin, but that's silly unless you need synchronous processing). The class I linked simply pulls data from the given input stream and writing it to the given output channel until the input stream ends. For processes, simply use it like this to have it asynchronously print all stdout and stderr of the process to the stdout and stderr of your java process:
Process process = ....;
new Thread(new InputStreamToPrintWriter(process.getInputStream(), System.out)).start();
new Thread(new InputStreamToPrintWriter(process.getErrorStream(), System.err)).start();

Gold isn't everything in life... you need wood, too!
Millitron
Profile Blog Joined August 2010
United States2611 Posts
April 11 2012 00:43 GMT
#2627
On April 11 2012 09:30 MisterD wrote:
Here's a small utility class of mine for this scenario: http://pastebin.com/FTbbx0AS

basically, what you have to do is start separate threads that actively poll the processes input streams (either that or you manually poll them round-robin, but that's silly unless you need synchronous processing). The class I linked simply pulls data from the given input stream and writing it to the given output channel until the input stream ends. For processes, simply use it like this to have it asynchronously print all stdout and stderr of the process to the stdout and stderr of your java process:
Process process = ....;
new Thread(new InputStreamToPrintWriter(process.getInputStream(), System.out)).start();
new Thread(new InputStreamToPrintWriter(process.getErrorStream(), System.err)).start();


Alright. I was hoping to not need threads, but if that's how its gotta be then I guess that's what I'll do. Thanks for the class.
Who called in the fleet?
SnoWhiTe
Profile Joined January 2011
France121 Posts
Last Edited: 2012-04-11 09:17:22
April 11 2012 09:04 GMT
#2628
Hi everyone, i've got some questions about php.

I'm trying to edit a file with a php code, it's simple. But the fact is, the two files are in different folder.

It goes like this

file i want to edit : mrbs/theme.inc
file where the code is : mrbs/theme/classic/header.inc

I can't change where the files are cause the web application won't work.

I've tried something like this :
<form  method="post">
<p><input type="submit" value="Change theme" name="theme" /></p>
</form>
<?php mysql_connect('xx', 'xx', 'xx');
mysql_select_db('mrbs');
if (isset($_POST['theme']))
{
$fp = fopen("/var/www/mrbs/theme.inc","w");
//addcode
}?>

The button is here if the user want to change the theme of the application, and then the php is appeal. The next step is the editing of the file by adding a line, this is the easy part.
But when i hit the button the following message appears :

Warning: fopen(/var/www/mrbs/theme.inc): failed to open stream: Permission not allowed in /var/www/mrbs/Themes/default/header.inc on line 3310


Any help ?

Chaosvuistje
Profile Joined April 2010
Netherlands2581 Posts
April 11 2012 11:44 GMT
#2629
Do you have write/read access to that folder? And are you sure thats the correct folder to open a file on?
MisterD
Profile Blog Joined June 2010
Germany1338 Posts
April 11 2012 11:44 GMT
#2630
On April 11 2012 09:43 Millitron wrote:
Show nested quote +
On April 11 2012 09:30 MisterD wrote:
Here's a small utility class of mine for this scenario: http://pastebin.com/FTbbx0AS

basically, what you have to do is start separate threads that actively poll the processes input streams (either that or you manually poll them round-robin, but that's silly unless you need synchronous processing). The class I linked simply pulls data from the given input stream and writing it to the given output channel until the input stream ends. For processes, simply use it like this to have it asynchronously print all stdout and stderr of the process to the stdout and stderr of your java process:
Process process = ....;
new Thread(new InputStreamToPrintWriter(process.getInputStream(), System.out)).start();
new Thread(new InputStreamToPrintWriter(process.getErrorStream(), System.err)).start();


Alright. I was hoping to not need threads, but if that's how its gotta be then I guess that's what I'll do. Thanks for the class.


well you *can* do without threads, but it becomes rather tedious because you then have to circle through all the streams manually. But you can do that if you want to. There's just no point in doing this programming overhead if you don't need the output for synchronous processing.
Gold isn't everything in life... you need wood, too!
tofucake
Profile Blog Joined October 2009
Hyrule19210 Posts
April 11 2012 11:49 GMT
#2631
On April 11 2012 18:04 SnoWhiTe wrote:
Hi everyone, i've got some questions about php.

I'm trying to edit a file with a php code, it's simple. But the fact is, the two files are in different folder.

It goes like this

file i want to edit : mrbs/theme.inc
file where the code is : mrbs/theme/classic/header.inc

I can't change where the files are cause the web application won't work.

I've tried something like this :
<form  method="post">
<p><input type="submit" value="Change theme" name="theme" /></p>
</form>
<?php mysql_connect('xx', 'xx', 'xx');
mysql_select_db('mrbs');
if (isset($_POST['theme']))
{
$fp = fopen("/var/www/mrbs/theme.inc","w");
//addcode
}?>

The button is here if the user want to change the theme of the application, and then the php is appeal. The next step is the editing of the file by adding a line, this is the easy part.
But when i hit the button the following message appears :

Show nested quote +
Warning: fopen(/var/www/mrbs/theme.inc): failed to open stream: Permission not allowed in /var/www/mrbs/Themes/default/header.inc on line 3310


Any help ?

fopen("../../theme.inc")
Liquipediaasante sana squash banana
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
Last Edited: 2012-04-11 11:57:03
April 11 2012 11:56 GMT
#2632
On April 11 2012 20:49 tofucake wrote:
Show nested quote +
On April 11 2012 18:04 SnoWhiTe wrote:
Hi everyone, i've got some questions about php.

I'm trying to edit a file with a php code, it's simple. But the fact is, the two files are in different folder.

It goes like this

file i want to edit : mrbs/theme.inc
file where the code is : mrbs/theme/classic/header.inc

I can't change where the files are cause the web application won't work.

I've tried something like this :
<form  method="post">
<p><input type="submit" value="Change theme" name="theme" /></p>
</form>
<?php mysql_connect('xx', 'xx', 'xx');
mysql_select_db('mrbs');
if (isset($_POST['theme']))
{
$fp = fopen("/var/www/mrbs/theme.inc","w");
//addcode
}?>

The button is here if the user want to change the theme of the application, and then the php is appeal. The next step is the editing of the file by adding a line, this is the easy part.
But when i hit the button the following message appears :

Warning: fopen(/var/www/mrbs/theme.inc): failed to open stream: Permission not allowed in /var/www/mrbs/Themes/default/header.inc on line 3310


Any help ?

fopen("../../theme.inc")


That might not be enough.

@Snowhite:
Check the permissions of the file. It has to be writeable (rw- aka 6) for either the user or group the webserver is started as. Depending on the linux distribution it can be www,apache,apache2,httpd or httpd2.

Sidenote:
To just add a line, you can use file_put_contents with FILE_APPEND as third parameter, it saves you the work of fopen(),fwrite(),fclose() and does all of that with only one command.
SnoWhiTe
Profile Joined January 2011
France121 Posts
April 11 2012 15:27 GMT
#2633
I've checked the permission before and it's all good (might check again, who knows), i've also try the ../../theme.inc and it doesn't work.
And the application is working on localhost.

Unfortunalty I can't see right now what you're telling me, can only work at school but thanks anyway !
Will try it when I can.
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
Last Edited: 2012-04-11 15:58:40
April 11 2012 15:58 GMT
#2634
On April 12 2012 00:27 SnoWhiTe wrote:
I've checked the permission before and it's all good (might check again, who knows), i've also try the ../../theme.inc and it doesn't work.
And the application is working on localhost.

Unfortunalty I can't see right now what you're telling me, can only work at school but thanks anyway !
Will try it when I can.


can you show the output of "ls -la /var/www/mrbs/theme.inc", "ls -lad /var/www/mrbs" and "ps aufx | grep httpd" or "ps aufx | grep apache"?
phar
Profile Joined August 2011
United States1080 Posts
Last Edited: 2012-04-11 16:08:00
April 11 2012 16:06 GMT
#2635
@ Above w/ the C++ & Java:

Depending on the scope of your need to communicate between C++ and Java, it may be worth investing some time into looking at JNI Bridge. Despite the fact that it may make you want to pull your hair out, if you are doing a lot of integration between the languages it'll potentially save you a lot of time.

If your need is pretty simple though (e.g. is limited to literally just stuffing one chunk of data at one single point in java to one single point in C++), then JNI Bridge will be overkill.
Who after all is today speaking about the destruction of the Armenians?
Millitron
Profile Blog Joined August 2010
United States2611 Posts
April 11 2012 21:36 GMT
#2636
On April 12 2012 01:06 phar wrote:
@ Above w/ the C++ & Java:

Depending on the scope of your need to communicate between C++ and Java, it may be worth investing some time into looking at JNI Bridge. Despite the fact that it may make you want to pull your hair out, if you are doing a lot of integration between the languages it'll potentially save you a lot of time.

If your need is pretty simple though (e.g. is limited to literally just stuffing one chunk of data at one single point in java to one single point in C++), then JNI Bridge will be overkill.

I just need to start a C++ program and pass it a parameter from within a Java program. I may also want to get a little output from the C++ program, but I can probably do without it.

The Java program is a UI to enable easier access to a much larger C++ program. Right now, the C++ program is just run from command line, but the hope is that eventually non-CS people will be able to use it.
Who called in the fleet?
mazerr
Profile Joined February 2012
11 Posts
Last Edited: 2012-05-15 03:04:48
April 11 2012 22:02 GMT
#2637
[deleted]
MisterD
Profile Blog Joined June 2010
Germany1338 Posts
April 11 2012 22:17 GMT
#2638
nice blog bro :D

the language you want to learn strongly depends on the field you want to get into. When doing web design, you'll probably learn tons of html, css, javascript, maybe mixed in with some server language like ruby, cgi or php. For flash game, you'd obviously learn action script (the "flash language"), for freelance software development you'd probably use java or c++. But there isn't one language you can just learn and go from there. The only reason to learn a "randomly chosen" language is to grasp the basics of programming rather than be able to do something productive with it.

so you should either think hard of what of these things you'd like to do most and go for that or check your local job opportunities with what you could find work or maybe a mix of both.

in any case, you don't need to be a uber wizard with a language to produce results. Design quality and production efficiency grow with knowledge and experience, but you can already produce results when you are a bad programmer. It might have more bugs, it will likely be harder to maintain and it will definitely take longer than someone with a lot of experience, you'll have to live through the beginning with that in mind. But making like a small website with just some html / php / ajax on it can to large parts be achieved by copy/pasting a bunch of code snippets obtained from tutorials and a few clever google searches. That's a tedious way to work obviously, but it very much is an attainable start for self-learning.
Gold isn't everything in life... you need wood, too!
ObliviousNA
Profile Joined March 2011
United States535 Posts
Last Edited: 2012-04-11 22:36:25
April 11 2012 22:27 GMT
#2639
On April 12 2012 06:36 Millitron wrote:
Show nested quote +
On April 12 2012 01:06 phar wrote:
@ Above w/ the C++ & Java:

Depending on the scope of your need to communicate between C++ and Java, it may be worth investing some time into looking at JNI Bridge. Despite the fact that it may make you want to pull your hair out, if you are doing a lot of integration between the languages it'll potentially save you a lot of time.

If your need is pretty simple though (e.g. is limited to literally just stuffing one chunk of data at one single point in java to one single point in C++), then JNI Bridge will be overkill.

I just need to start a C++ program and pass it a parameter from within a Java program. I may also want to get a little output from the C++ program, but I can probably do without it.

The Java program is a UI to enable easier access to a much larger C++ program. Right now, the C++ program is just run from command line, but the hope is that eventually non-CS people will be able to use it.


I recommend rerunning this with an executable that you know works. (Just to debug - make sure you're actually starting the exe so you can get some visual output) Try starting up IE or something basic, and stepping through your code. I'm unfamiliar with Java, but I've done this a lot with System.Diagnostics in .Net (Process and ProcessStartInfo classes) and I've been able to capture stdOUT and stdERR reliably.

This may be blatantly wrong (again unfamiliar with java), but doesnt your EXE spawn its own thread and execute when you call process.start() ? This means you're assigning output / input streams after the program has run. Just a guess.

Edit: Because of the class names 'Process' and 'ProcessBuilder' I'm assuming it functions similar to the .NET classes.
Theory is when you know everything but nothing works. Practice is when everything works but no one knows why. In our lab, theory and practice are combined: nothing works and no one knows why.
MisterD
Profile Blog Joined June 2010
Germany1338 Posts
April 11 2012 22:37 GMT
#2640
On April 12 2012 07:27 ObliviousNA wrote:
Show nested quote +
On April 12 2012 06:36 Millitron wrote:
On April 12 2012 01:06 phar wrote:
@ Above w/ the C++ & Java:

Depending on the scope of your need to communicate between C++ and Java, it may be worth investing some time into looking at JNI Bridge. Despite the fact that it may make you want to pull your hair out, if you are doing a lot of integration between the languages it'll potentially save you a lot of time.

If your need is pretty simple though (e.g. is limited to literally just stuffing one chunk of data at one single point in java to one single point in C++), then JNI Bridge will be overkill.

I just need to start a C++ program and pass it a parameter from within a Java program. I may also want to get a little output from the C++ program, but I can probably do without it.

The Java program is a UI to enable easier access to a much larger C++ program. Right now, the C++ program is just run from command line, but the hope is that eventually non-CS people will be able to use it.


Ok, so I recommend redoing this with an executable that you know works. Try starting up IE or something basic, and stepping through your code. I'm unfamiliar with Java, but I've done this a lot with System.Diagnostics in .Net (Process and ProcessStartInfo classes) and I've been able to capture stdOUT and stdERR reliably.

This may be blatantly wrong (again unfamiliar with java), but doesnt your EXE spawn its own thread and execute when you call process.start() ? This means you're assigning output / input streams after the program has run. Just a guess.

Edit: Because of the class names 'Process' and 'ProcessBuilder' I'm assuming it functions similar to the .NET classes.


The process does start in a separate thread, hence you are assigning input and output streams _while_ the other process is running, not after. But any output occurring is buffered until you actually read it, so you don't miss anything. In fact, some programs you run this way will block because they are either waiting for input or because output buffers just run full and so their print to stdout gets blocked until you start reading from these streams.
Gold isn't everything in life... you need wood, too!
Prev 1 130 131 132 133 134 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 1h 2m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Britney 33981
Movie 83
Mind 65
Nal_rA 62
JulyZerg 59
Shinee 43
zelot 39
Shine 30
yabsab 26
Bale 11
Dota 2
monkeys_forever202
League of Legends
summit1g9049
Counter-Strike
Stewie2K930
Other Games
gofns11417
KnowMe82
Organizations
Counter-Strike
PGL26252
Other Games
gamesdonequick2335
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 17 non-featured ]
StarCraft 2
• Berry_CruncH254
• LUISG 32
• Adnapsc2 6
• intothetv
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Nemesis2450
• Jankos1116
• Stunt472
• TFBlade328
Upcoming Events
Sparkling Tuna Cup
1h 2m
RSL Revival
1h 2m
Cure vs Zoun
Clem vs Lambo
WardiTV Invitational
3h 2m
ByuN vs Rogue
Solar vs Ryung
Zoun vs Percival
Cure vs SHIN
BSL
10h 2m
Dewalt vs DragOn
Aether vs Jimin
GSL
23h 2m
Afreeca Starleague
1d 1h
Soma vs Leta
Wardi Open
1d 3h
Monday Night Weeklies
1d 7h
OSC
1d 15h
CranKy Ducklings
2 days
[ Show More ]
Afreeca Starleague
2 days
Light vs Flash
Replay Cast
3 days
Replay Cast
3 days
The PondCast
4 days
Replay Cast
4 days
RSL Revival
5 days
Korean StarCraft League
5 days
RSL Revival
6 days
BSL
6 days
GSL
6 days
Cure vs TBD
TBD vs Maru
Liquipedia Results

Completed

Escore Tournament S2: W6
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
KK 2v2 League Season 1
BSL 22 Non-Korean Championship
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2

Upcoming

YSL S3
Escore Tournament S2: W7
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
BLAST Bounty Summer 2026: Closed Qualifier
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.