L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Thread Closed 
 
Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If you have performance issues
Author Message
tundek30 Offline
Expired VIP Member
**

Posts: 90
Joined: Mar 2013
Reputation: 29
Version: 1.4.2.132
Post: #1
If you have performance issues

Check all running scripts where a loop is involved.*see example below*
At the bottom of the loop make sure you have a sleep condition,
anywhwew from 500 to 1500.

Code:
repeat

if (some conditon) then

end;



Sleep(500);
until false;

++rep if this helped you
(This post was last modified: 07-18-2013 16:47 PM by tundek30.)
07-18-2013 16:47 PM
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  3 issues. ekin 2 2,435 10-29-2015 00:34 AM
Last Post: ekin
  Best performance with code in Plugin than Script? rORUMI 2 2,830 09-14-2014 02:24 AM
Last Post: rORUMI
  Performance issue / Optimize Performance vamostodos 3 3,459 02-20-2014 15:46 PM
Last Post: vamostodos
  Plugin behavior issues Simiac 0 1,967 11-09-2013 06:47 AM
Last Post: Simiac
  "Disable Game background performance" maurakas 6 5,387 08-10-2013 16:47 PM
Last Post: maurakas
  performance issues hadareanrares 17 10,230 07-18-2013 00:20 AM
Last Post: testforl2
  Disable Background Performance What does it do? lightgrenade 1 4,612 07-03-2013 10:00 AM
Last Post: natherlog
Exclamation gameguard issues!! zensation 6 9,027 04-12-2013 23:58 PM
Last Post: fatality
  hitting slow without Decrease BackGround Performance zavis 1 3,708 01-12-2013 13:35 PM
Last Post: Hebdzik
  nuke // pve target, issues ABT 8 9,616 08-03-2011 21:45 PM
Last Post: dinodrits



User(s) browsing this thread: 1 Guest(s)