Merge pull request #44 from facoptere/update1771

updates
Merge pull request #45 from facoptere/update1771

fix merge conflict
Merge pull request #46 from facoptere/update1771

fix addweapon + limit scripts qty to 256 patterns
Merge pull request #47 from facoptere/update1771

Update
Merge remote-tracking branch 'upstream/Release_1.7.7.1' into update1771