• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 01:18
CET 06:18
KST 14:18
  • 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
[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy5ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289
Community News
Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool38Weekly Cups (March 9-15): herO, Clem, ByuN win42026 KungFu Cup Announcement6BGE Stara Zagora 2026 cancelled12Blizzard Classic Cup - Tastosis announced as captains18
StarCraft 2
General
Potential Updates Coming to the SC2 CN Server Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Weekly Cups (March 2-8): ByuN overcomes PvT block Weekly Cups (August 25-31): Clem's Last Straw? Weekly Cups (March 9-15): herO, Clem, ByuN win
Tourneys
World University TeamLeague (500$+) | Signups Open RSL Season 4 announced for March-April Sparkling Tuna Cup - Weekly Open Tournament WardiTV Team League Season 10 KSL Week 87
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026]
External Content
Mutation # 518 Radiation Zone The PondCast: SC2 News & Results Mutation # 517 Distant Threat Mutation # 516 Specter of Death
Brood War
General
Soulkey's decision to leave C9 JaeDong's form before ASL BGH Auto Balance -> http://bghmmr.eu/ [ASL21] Ro24 Preview Pt1: New Chaos ASL21 General Discussion
Tourneys
[Megathread] Daily Proleagues ASL Season 21 LIVESTREAM with English Commentary [BSL22] Open Qualifiers & Ladder Tours Small VOD Thread 2.0
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2
Other Games
General Games
General RTS Discussion Thread Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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
Five o'clock TL Mafia Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine YouTube Thread Canadian Politics Mega-thread Russo-Ukrainian War Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Movie Discussion! [Req][Books] Good Fantasy/SciFi books [Manga] One Piece
Sports
2024 - 2026 Football Thread Cricket [SPORT] Formula 1 Discussion Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 3616 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
Hyrule19196 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 3h 42m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft605
StarCraft: Brood War
GuemChi 4949
ZergMaN 24
Noble 22
Bale 14
Icarus 13
ggaemo 9
Dota 2
monkeys_forever499
League of Legends
JimRising 717
Super Smash Bros
C9.Mang0270
Other Games
ViBE128
Mew2King89
Organizations
Other Games
gamesdonequick744
Dota 2
PGL Dota 2 - Main Stream101
Other Games
BasetradeTV71
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• practicex 31
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki118
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo1422
• Rush1006
Upcoming Events
Replay Cast
3h 42m
Afreeca Starleague
4h 42m
Sharp vs Scan
Rain vs Mong
Wardi Open
6h 42m
Monday Night Weeklies
11h 42m
Sparkling Tuna Cup
1d 4h
Afreeca Starleague
1d 4h
Soulkey vs Ample
JyJ vs sSak
Replay Cast
2 days
Afreeca Starleague
2 days
hero vs YSC
Larva vs Shine
Kung Fu Cup
2 days
Replay Cast
2 days
[ Show More ]
KCM Race Survival
3 days
The PondCast
3 days
WardiTV Team League
3 days
Replay Cast
3 days
WardiTV Team League
4 days
RSL Revival
5 days
Cure vs Zoun
herO vs Rogue
WardiTV Team League
5 days
Platinum Heroes Events
5 days
BSL
5 days
RSL Revival
6 days
ByuN vs Maru
MaxPax vs TriGGeR
WardiTV Team League
6 days
BSL
6 days
Liquipedia Results

Completed

Proleague 2026-03-22
WardiTV Winter 2026
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
BSL Season 22
CSL Elite League 2026
CSL Season 20: Qualifier 1
ASL Season 21
Acropolis #4 - TS6
RSL Revival: Season 4
Nations Cup 2026
NationLESS Cup
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

2026 Changsha Offline CUP
CSL Season 20: Qualifier 2
CSL 2026 SPRING (S20)
Acropolis #4
IPSL Spring 2026
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
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.