Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 05:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



C# (SilkroadSecurity) Thread.Join();

Discussion on C# (SilkroadSecurity) Thread.Join(); within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
eXtreme''s Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 452
Received Thanks: 20
C# (SilkroadSecurity) Thread.Join();

Hi,
i'm using SilkroadSecurity API and it's simple_proxy class.
But when i want to start the Thread and join it (Thread.Join(), the client starts perfectly but my is hanging.
Can anyone help me?

Thanks
eXtreme' is offline  
Old 06/03/2011, 07:10   #2

 
elite*gold: 260
Join Date: Aug 2008
Posts: 560
Received Thanks: 3,751
Try using this proxy example instead:
pushedx is offline  
Old 06/03/2011, 11:56   #3
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
Start the proxy in a new thread, otherwise it'll block your other threads (for example GUI thread).
lesderid is offline  
Old 06/03/2011, 13:57   #4
 
xXTraXx's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 292
Received Thanks: 84
As far as I know, if you use Thread.join, the threads will run synchonous again, so if you have for example a long calculation, the other thread will wait until it's done.(That's why it's hanging)
xXTraXx is offline  
Old 06/03/2011, 14:57   #5
 
eXtreme''s Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 452
Received Thanks: 20
I started the proxy in an own Thread now, so I did it like leserdid suggested.

But thanks to you all for your help
eXtreme' is offline  
Old 06/05/2011, 18:12   #6
 
npcdoom's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 76
Received Thanks: 147
Thread.join(); is a function to wait for a thread to finish and exit, its a blocking call so nothing will get executed after the join call until the threads complete whatever is doing.
npcdoom is offline  
Reply


Similar Threads Similar Threads
C# SilkroadSecurity
03/11/2015 - SRO Coding Corner - 24 Replies
This is my latest SilkroadSecurity API in .net 4.0 (C#). The security API supports both client and server security processing so it can be used for anything. Since it is native C# and does not use any C++ or unmanaged/unsafe code, it is x86 and x64 compatible. You can use the API through a precompiled DLL or just included the source files directly into your project. Also included are two simple programs showing the basics of using the API. They are just quick unoptimized examples to show the...
PLEAS JOIN MY THREAD I NEED HACK WINDWIS XP
10/09/2010 - S4 League Hacks, Bots, Cheats & Exploits - 9 Replies
I NEED HACK ALL S4 WINDWIS XP
KingLis pk2 user has to join this thread now!(Update).
05/29/2009 - SRO Private Server - 24 Replies
Video; YouTube - sjsro kingli DOwnload: RapidShare Webhosting + Webspace bugged skills fixed! you dont are a kingli pk2 user and want to use my pk2 edit= so you need my other pk2 edit first and than u can use this new pk2. old pk2: http://www.elitepvpers.com/forum/private-sro-exploi ts-hacks-bots-guides/253671-king-lis-pk2.html



All times are GMT +2. The time now is 05:27.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.