wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 28 Apr 2014 06:50 PM |
I currently have about 600 lines of code without a single wait, most of which are functions and events, but a good 200 lines aren't, and a lot are for loops for a table.
My question is how many more lines can I add without crashing the script or client? It currently takes 7 seconds for my entire script to load even without a single wait()... |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Apr 2014 06:51 PM |
| wat evil things are you putting together |
|
|
| Report Abuse |
|
|
|
| 28 Apr 2014 06:51 PM |
| You dont need any 'wait()' in any script for it not to crash unless your using numerical loops- which need wait's to increment the loop. |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
| |
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 28 Apr 2014 06:52 PM |
@Pre Im sure thats not how for loops work...
@Sensei an entire pseudo-iPod |
|
|
| Report Abuse |
|
|
|
| 28 Apr 2014 06:53 PM |
| Goulstem, those are not required either. If you already knew this (not saying you do) the please do not add on to the forum if its not needed- that's considered spam, and unjustified 'bumping' |
|
|
| Report Abuse |
|
|
|
| 28 Apr 2014 06:56 PM |
@Pre Im sure thats not how for loops work...
I said numerical loops. Which does not necessarily mean 'for' loops-
i would also like to add conditional-loops must have a 'wait()' of some sort.
also yes this is how 'for' loops work. This is how any loop works: if you try to loop something without the program knowing when to stop, or start the next loop it will try to do it all at once and crash unless the loop is preceded by an 'ending declaration' in which if the loop ran forever it would most certainty crash, but if only 20 loops and no 'wait()' your computer would likely be able to handle 20 loops at once. |
|
|
| Report Abuse |
|
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 28 Apr 2014 06:59 PM |
| Thought you meant for loops exclusively. Ya its nothing crazy, maybe in a few days 1000 loops, but until then... |
|
|
| Report Abuse |
|
|
|
| 28 Apr 2014 07:00 PM |
waz you are the best girl scripter you know that
you go girl
if you are a girl, sometimes i dont think so |
|
|
| Report Abuse |
|
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
| |
|