Author Topic: How to speed up my script?  (Read 1064 times)

0 Members and 1 Guest are viewing this topic.

Offline InsideoutTopic starter

  • Full Member
  • ***
  • Posts: 197
  • Activity:
    0.4%
  • Reputation Power: 2
  • Insideout has no influence.
  • Respect: +62
  • Referrals: 0
    • View Profile
How to speed up my script?
« on: January 13, 2025, 12:18:32 AM »
0
Okay script works as it should but. Its a bit slow. How can I improve speed?

https://www.scriptuo.com/index.php?topic=11710.0

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13314
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +3090
  • Referrals: 34
    • View Profile
    • ScriptUO
Re: How to speed up my script?
« Reply #1 on: January 13, 2025, 07:10:40 PM »
0
Looks like it can benefit by setting the #LPC up a bit.  If you don't set it to anything, it's set to 20.  Try bumping it up to 100.  Set this:

Code: easyuo
  1.   set #LPC 100
  2.  

right before the repeat at line 55.

Also the "wait 2s" after your exevent dropc are probably a bit too long.  You can probably drop this to "wait 20" which is 1 second.
Please read the ScriptUO site RULES
Come play RIFT with me!

Tags: