05-24-2022, 09:18 PM
(This post was last modified: 05-24-2022, 10:27 PM by DerVVulfman.)
Still working... ugh.
For the person who requisitioned the tactical system, the system needs to be added to a project that has Zeriab's Anti-Lag system... one of the better anti-lag systems out there. BUT COMPLICATED AS HELL.
SO I decided to examine it, and what did I find???
Okay, for those that do not speak Ruby, the IF statement says this:
If you're not running SDK ( if !module.constants.include?("SDK") ) ....
or if you DO have the SDK and it's reading the Anti-Lag) ( SDK.enabled?('Anti Event Lag System') )
So... what the hell? The script is in a block of code that says, if you're running it or not?
I mean, this single "IF" line just appears pretty unnecessary. The header did read it required 2.0 if using, or just don't use the SDK itself...
*For the unaware: SDK: Script Development Kit. An ambitious goal to make it easier for future scripters by setting up a standard while breaking up the default scripts into smaller and more manageable pieces. The downfall was that they kept upgrading which made previously written SDK-made scripts incompatible. BUT, its policies towards script notation, coding procedures, alias techniques and naming conventions were perfectly sound.
EDIT: HOLY @%$&!!!!! No wonder other map-using scripts might have problems! He renamed the freakin array holding all the sprites in the spriteset!!! Yeah, ther IS a @character_sprites array in the sucker, but the only sprite pushed into it is the player. Everything else is in @character_event_sprites updated separately. Ughhh--- (work this out, Mike...).
For the person who requisitioned the tactical system, the system needs to be added to a project that has Zeriab's Anti-Lag system... one of the better anti-lag systems out there. BUT COMPLICATED AS HELL.
SO I decided to examine it, and what did I find???
Code:
if !Module.constants.include?('SDK') || SDK.enabled?('Anti Event Lag System')
... (The bulk of the script goes here... DerVVulfman paraphrasing)
end
Okay, for those that do not speak Ruby, the IF statement says this:
If you're not running SDK ( if !module.constants.include?("SDK") ) ....
or if you DO have the SDK and it's reading the Anti-Lag) ( SDK.enabled?('Anti Event Lag System') )
So... what the hell? The script is in a block of code that says, if you're running it or not?
I mean, this single "IF" line just appears pretty unnecessary. The header did read it required 2.0 if using, or just don't use the SDK itself...
*For the unaware: SDK: Script Development Kit. An ambitious goal to make it easier for future scripters by setting up a standard while breaking up the default scripts into smaller and more manageable pieces. The downfall was that they kept upgrading which made previously written SDK-made scripts incompatible. BUT, its policies towards script notation, coding procedures, alias techniques and naming conventions were perfectly sound.
EDIT: HOLY @%$&!!!!! No wonder other map-using scripts might have problems! He renamed the freakin array holding all the sprites in the spriteset!!! Yeah, ther IS a @character_sprites array in the sucker, but the only sprite pushed into it is the player. Everything else is in @character_event_sprites updated separately. Ughhh--- (work this out, Mike...).