StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages<12
Options
Go to last post Go to first unread
Rob  
#41 Posted : Friday, August 30, 2019 8:38:05 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
Use sp.GetCurrentMousePoint().

sp.GetCurrentMouseCursor() returns a cursor, not a location. These functions were made so early on...I'd like to change things around at some point, like sp.Mouse.Location and sp.Mouse.CursorIcon but I don't want to break scripts, etc. I might create replacement objects and slowly deprecate the older ones.

Rob  
#42 Posted : Friday, August 30, 2019 8:38:58 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
And yes, it looks like I gave you the bad script originally :P
beholder  
#43 Posted : Friday, August 30, 2019 10:04:23 PM(UTC)
beholder

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 8/9/2019(UTC)
Posts: 91
Slovakia

Thanks: 6 times
ok, I have replaced the object method, let's hope this will fix all of the script errors.
Rob  
#44 Posted : Saturday, August 31, 2019 4:24:12 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
Very small update to 0.3.4.0. Someone on the S+ (old) forum posted about an odd issue in VirtualBox with the Aggressively Manage Memory option enabled. You can check that thread for more details.

Anyway, decided to remove the similar code I brought over into S+.net. Just a single line, but it does have the potential to affect memory in some way, so I thought it might be good for you to try running, since it could possibly run up against your resource issues with heavy usage.
beholder  
#45 Posted : Saturday, August 31, 2019 11:05:30 AM(UTC)
beholder

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 8/9/2019(UTC)
Posts: 91
Slovakia

Thanks: 6 times
Hmm, I don't see any exe filesize change but I downloaded and istalled it anyway.
Rob  
#46 Posted : Saturday, August 31, 2019 11:12:03 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
It was only one line which was replaced with a different line. Both lines just call a static function, so it's very likely about the same amount of compiled bytes.
Rob  
#47 Posted : Saturday, August 31, 2019 12:14:06 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
FYI, I've published this release, I've been running it for a couple of days and have not run into any issues.

I did add a popup on first run to communicate these are pretty core changes, so people know and can report issues or manually download the previous version if needed.
thanks 1 user thanked Rob for this useful post.
beholder on 8/31/2019(UTC)
Users browsing this topic
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.