EclipseCommunity Posted March 11, 2011 Author Share Posted March 11, 2011 Should this be placed BEFORE the code that's going to cause an application to pause, or after? Link to comment Share on other sites More sharing options...
iSKweek Posted March 11, 2011 Share Posted March 11, 2011 It should beDoBlahWhile something = something (the condition) Link to comment Share on other sites More sharing options...
EclipseCommunity Posted March 11, 2011 Author Share Posted March 11, 2011 Ok, but where should DoEvents be? Link to comment Share on other sites More sharing options...
Robin Posted March 11, 2011 Share Posted March 11, 2011 Depends entirely on the code. It should be used sparingly and only if you need to update another part of the application.The loading procedures at the initial load, for example. DoEvents needs to be used to make the loading screen update. Link to comment Share on other sites More sharing options...
EclipseCommunity Posted March 12, 2011 Author Share Posted March 12, 2011 Say if the server lags for example (Talking about any code here), when creating a new character, logging in or logging out, would a DoEvents call help to stop the server from freezing when it performs these procedures? Link to comment Share on other sites More sharing options...
Robin Posted March 12, 2011 Share Posted March 12, 2011 There is no reason the server should freeze when handling any data at all. What the hell did you do? Link to comment Share on other sites More sharing options...
RyokuHasu Posted March 12, 2011 Share Posted March 12, 2011 there are 3 condtional statmentsif… then - simple true false checker, only runs once, just remember >, <, = , <>, or, anddo... while- an uncommonly used loop, used for looping as long at one thing is the samefor- a more common loop, loops though a set array and stops when it reached the end, used for checking large abounts of ordered data, and writing large amounts data*correct me if im wrong, but this is the basic ideas for the statments in most programing mediums Link to comment Share on other sites More sharing options...
EclipseCommunity Posted March 12, 2011 Author Share Posted March 12, 2011 @Robin:> There is no reason the server should freeze when handling any data at all. What the hell did you do?I'm not talking specifically about Origins. Link to comment Share on other sites More sharing options...
EclipseCommunity Posted March 12, 2011 Author Share Posted March 12, 2011 @RyokuHasu:> there are 3 condtional statments> > if… then - simple true false checker, only runs once, just remember >, <, = , <>, or, and> > do... while- an uncommonly used loop, used for looping as long at one thing is the same> > for- a more common loop, loops though a set array and stops when it reached the end, used for checking large abounts of ordered data, and writing large amounts data> > *correct me if im wrong, but this is the basic ideas for the statments in most programing mediumsWhat in the name of christ are you talking about? Link to comment Share on other sites More sharing options...
RyokuHasu Posted March 13, 2011 Share Posted March 13, 2011 O.o oops i miss read the order of the posts XD that makes all the diffrence… >.< ...I fail somtimes with basic motor skills... sorry Link to comment Share on other sites More sharing options...
Robin Posted March 13, 2011 Share Posted March 13, 2011 @Xlithan:> I'm not talking specifically about Origins...and? Even if you've made your own server it shouldn't be freezing. Link to comment Share on other sites More sharing options...
EclipseCommunity Posted March 15, 2011 Author Share Posted March 15, 2011 It freezes when people log in, log out, or make a new character. Very very strange. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now