Runaway Scripts! Too much CPU!

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 095. Note: Core 095 is no longer officially supported.

Moderator: POL Developer

Post Reply
Cygnet
New User
Posts: 13
Joined: Thu Mar 19, 2020 5:51 pm

Runaway Scripts! Too much CPU!

Post by Cygnet »

Hello world, im having a huge trouble using this distro pkg i've found out there, im running a 095 core and an old distro of fantasia but it seems fully dmaged, certain nps, once i create'em start lagging af, running out of cycles the merchant.ecl well. To be hones i just want to know if there is any log where i can check whose are the scripts consuming too much from my cpu, and the troublesome ones too!

https://i.snipboard.io/y4SAe0.jpg

Thanks, Cygnet.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Runaway Scripts! Too much CPU!

Post by Yukiko »

Look for loops, for, foreach, while etc. Make sure you have a SleepMS() in the loop. Use a value of 5 in the SleepMS call. That might help with the runaway scripts.
Post Reply