Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
The TotalEmptyGunsFireAttempts statistic is misspelled in the API
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
- Bash Kraken
- Superfighter
- Posts: 75
- Joined: Tue Mar 22, 2016 12:49 pm
- Title: Action Hero Extraordinaire
- SFD Alias: Bash Kraken
- Started SFD: December 2012
- Location: Post-Apocalyptic East Coast - U.S.
- Gender:
The TotalEmptyGunsFireAttempts statistic is misspelled in the API
Basically it should be Attempts, not Attemts. I thought it was just misspelled in the Script API, but it causes an error when spelling it correctly.
4 x
heck
- Gurt
- Lead Programmer
- Posts: 1884
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 34
Thanks for pointing it out. Fixed after Alpha v.1.3.4c.
The ScriptAPI documentation is generated from the actual code so if I misspell anything it just spreads through the whole API and documentation
The old misspelled TotalEmptyGunsFireAttemts will still work but won't be visible in the documentation so nothing will break after the update.
The ScriptAPI documentation is generated from the actual code so if I misspell anything it just spreads through the whole API and documentation
The old misspelled TotalEmptyGunsFireAttemts will still work but won't be visible in the documentation so nothing will break after the update.
0 x
Gurt