|
|
@ -39,20 +39,20 @@ require 'timer' |
|
|
|
-------------------------------------------------------------- |
|
|
|
-------------------------------------------------------------- |
|
|
|
-- Default settings. |
|
|
|
-- Default settings. |
|
|
|
-------------------------------------------------------------- |
|
|
|
-------------------------------------------------------------- |
|
|
|
currentProfile = { }; |
|
|
|
currentProfile = { }; |
|
|
|
attachmentQueue = { }; -- Table to hold commands queued for sending |
|
|
|
attachmentQueue = { }; -- Table to hold commands queued for sending |
|
|
|
objDelay = 0.65; -- The delay to prevent spamming packets. |
|
|
|
objDelay = 0.65; -- The delay to prevent spamming packets. |
|
|
|
objTimer = 0; -- The current time used for delaying packets. |
|
|
|
objTimer = 0; -- The current time used for delaying packets. |
|
|
|
unequip = 0x00; |
|
|
|
unequip = 0x00; |
|
|
|
pupSub = 0x00; |
|
|
|
pupSub = 0x00; |
|
|
|
offset = 0x04; |
|
|
|
offset = 0x04; |
|
|
|
|
|
|
|
|
|
|
|
inProgress = false; -- packet sending is in progress. |
|
|
|
inProgress = false; -- packet sending is in progress. |
|
|
|
queOffset = 1; -- smoother experience for packets. |
|
|
|
queOffset = 1; -- smoother experience for packets. |
|
|
|
defaultAtt = false; |
|
|
|
defaultAtt = false; |
|
|
|
|
|
|
|
|
|
|
|
pupattProfiles = { }; -- table for holding attachment profiles |
|
|
|
pupattProfiles = { }; -- table for holding attachment profiles |
|
|
|
petlessZones = {50,235,234,224,284,233,70,257,251,14,242,250,226,245, |
|
|
|
petlessZones = {50,235,234,224,284,233,70,257,251,14,242,250,226,245, |
|
|
|
237,249,131,53,252,231,236,246,232,240,247,243,223,248,230, |
|
|
|
237,249,131,53,252,231,236,246,232,240,247,243,223,248,230, |
|
|
|
26,71,244,239,238,241,256,257} |
|
|
|
26,71,244,239,238,241,256,257} |
|
|
|
|
|
|
|
|
|
|
|