• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 18:29
CEST 00:29
KST 07:29
  • 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
Serral wins HomeStory Cup 2910Serral wins Maestros of the Game 243ByuL, and the Limitations of Standard Play3Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12
Community News
Reynor: GSL Loss Wasn't About Preparation Format5[IPSL] Spring 2026 Grand Finals - This Weekend!0Weekly Cups (July 6 - 12): Protoss strike back3BSL Season 22 Full Overview & Conclusion8BSL Season 22 Full Overview & Conclusion8
StarCraft 2
General
Reynor: GSL Loss Wasn't About Preparation Format Co-op Commander Guide: Kerrigan Serral wins HomeStory Cup 29 Weekly Cups (July 6 - 12): Protoss strike back Is the larve respawn broken?
Tourneys
GSL CK #5 Race War WardiTV Summer Cup 2026 RSL Revival: Season 6 - Qualifiers and Main Event HomeStory Cup 29 Vespene Cup #1 — $300+ USD, July 10
Strategy
[G] Having the right mentality to improve
Custom Maps
New Map Maker - Looking for Advice - Love or Hate Work In Progress Melee Maps [D]RTS in all its shapes and glory <3
External Content
The PondCast: SC2 News & Results Mutation # 534 Burning Evacuation Mutation # 533 Die Together Mutation # 532 Nuclear Family
Brood War
General
Pros Debate: Zerg Unfairly Nerfed? (ASL S22 map) screpdb: new Starcraft reporting tool BSL Season 22 Full Overview & Conclusion BGH Auto Balance -> http://bghmmr.eu/ ASL 22 Proposed Map Pool
Tourneys
[Megathread] Daily Proleagues [IPSL] Spring 2026 Grand Finals - This Weekend! [ASL22] Wildcard Qualifier IPSL Spring 2026 Top 4!
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers Creating a full chart of Zerg builds Relatively freeroll strategies
Other Games
General Games
Nintendo Switch Thread General RTS Discussion Thread Stormgate/Frost Giant Megathread Path of Exile Summer Games Done Quick 2026!
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
NeO.D_StephenKing vs This Guy From 1 Million Dance TL Mafia Community Thread TL Mafia Power Rank Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread UK Politics Mega-thread YouTube Thread Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club The HerO Fan Club!
Media & Entertainment
Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books Movie Discussion! Series you have seen recently...
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Tennis[sport] Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Simple Questions Simple Answers FPS when play League Of Legend on laptop How to clean a TTe Thermaltake keyboard?
TL Community
The Automated Ban List
Blogs
The Experiences We Want and …
TrAiDoS
An Exploration of th…
waywardstrategy
Gauntlet SC2: A Retrospectiv…
Ctone23
ramps on octagon
StaticNine
Funny Nicknames
LUCKY_NOOB
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 5548 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
Hyrule19228 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 31m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 655
SpeCial 182
ViBE179
CosmosSc2 25
StarCraft: Brood War
Dewaltoss 89
ZZZero.O 54
Counter-Strike
summit1g7977
minikerr20
Other Games
tarik_tv4717
Grubby3544
shahzam445
C9.Mang0219
XaKoH 204
ToD87
Organizations
Other Games
gamesdonequick2716
BasetradeTV281
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 13 non-featured ]
StarCraft 2
• Hupsaiya 49
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21652
Other Games
• Shiphtur455
Upcoming Events
PiGosaur Cup
1h 31m
The PondCast
11h 31m
Kung Fu Cup
12h 31m
Replay Cast
1d 10h
CrankTV Team League
1d 12h
Replay Cast
2 days
CrankTV Team League
2 days
Replay Cast
3 days
RSL Revival
3 days
Clem vs Lambo
Scarlett vs Cure
CranKy Ducklings
3 days
[ Show More ]
IPSL
3 days
Dragon vs Hawk
RSL Revival
4 days
Classic vs Trap
herO vs SHIN
Sparkling Tuna Cup
4 days
IPSL
4 days
Bonyth vs Ret
WardiTV Weekly
5 days
Monday Night Weeklies
5 days
Liquipedia Results

Completed

YSL S3
HSC XXIX
Eternal Conflict S2 E2

Ongoing

IPSL Spring 2026
Acropolis #4
CSL 2026 Summer (S21)
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
SCTL 2026 Spring
XSE Pro League 2026
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

Upcoming

Escore Tournament S3: W3
ASL S22 SEASON OPEN Day 1
Escore Tournament S3: W4
ASL S22 SEASON OPEN Day 2
Escore Tournament S3: W5
CSLAN 4
Blizzard Classic Cup 2026
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
Light Tournament 2026
Eternal Conflict S2 Finale
Eternal Conflict S2 E3
Logitech G Connect 2026
StarSeries Fall 2026
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
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.