SRL Archive - SRL Archives

misc for Simba?


noidea

2011-06-06 01:11:35

Hey, I just tried using debugtpa() in debug.scar from the misc folder.

I guess stuff in misc isnt exactly updated for Simba?

[Error] C:\Simba\Includes\srl/srl/misc/debug.scar(33:25): Unknown identifier 'TheDate' at line 32
Compiling failed.

Path := AppPath + TheDate(3) + ' - ' + MsToTime(GetTimeRunning, Time_Abbrev) + '.bmp'

[Error] C:\Simba\Includes\srl/srl/misc/debug.scar(289:16): Unknown identifier 'GetColorArrayInfo' at line 288
Compiling failed.

TheResult := GetColorArrayInfo(C, BestColors, Tolerances, Speed2Mods, RGB, HSL, XYZ);



Those sorts of errors are littered in the file.

legoace

2011-12-06 21:54:04

IMO paintsmart.scar is much much better than debug.scar for debugging TPAs. I think I tried debug.scar and it created new bitmap windows and all this other wtfshit… paintsmart just works and it draws on the client too.

noidea

2011-12-06 22:10:30

From: legoace
IMO paintsmart.scar is much much better than debug.scar for debugging TPAs. I think I tried debug.scar and it created new bitmap windows and all this other wtfshit… paintsmart just works and it draws on the client too.


Well, when I write a script, I always do it without smart. This allows me to see exactly what the mouse is doing. The red mouse is easy to lose when trying to track it, so this can help the scripter know exactly whats happening. Those bitmap windows are necessary because you can't paint onto the client easily because it refreshes so quickly. Think of them as a feature rather than a bug.

Just a btdubbs, watch the date next time :)