Comments (7)
Actually, it's likely something with the data of the script that gets repaired by the browser when you paste it in the text field. Line 301 of your script has 2 non-ascii characters that are probably what is causing the problem. The characters on either side of the yes.
Here is a hex dump of line 301, on the 4th line from the bottom you can see the .yes., if you look at the corresponding hex codes to the left, you'll find they are 0x93 and 0x94. If you get rid of those it should work for all.
00000000: 20 20 20 20 09 09 09 09 09 09 27 3c 62 3e 3c 73 ......'<b><s
00000010: 70 61 6e 20 73 74 79 6c 65 3d 22 66 6f 6e 74 2d pan style="font-
00000020: 66 61 6d 69 6c 79 3a 20 73 65 72 69 66 3b 22 3e family: serif;">
00000030: 27 2b 63 68 28 27 3c 27 29 2b 27 43 68 61 6f 73 '+ch('<')+'Chaos
00000040: 20 46 61 63 74 6f 72 27 2b 63 68 28 27 3e 27 29 Factor'+ch('>')
00000050: 2b 27 3c 2f 73 70 61 6e 3e 3c 2f 62 3e 20 27 2b +'</span></b> '+
00000060: 63 68 28 27 2d 27 29 2b 27 20 41 20 63 68 61 6f ch('-')+' A chao
00000070: 73 20 66 61 63 74 6f 72 20 72 61 6e 67 69 6e 67 s factor ranging
00000080: 20 66 72 6f 6d 20 31 20 74 6f 20 39 2e 20 54 68 from 1 to 9. Th
00000090: 65 20 68 69 67 68 65 72 20 74 68 65 20 6e 75 6d e higher the num
000000a0: 62 65 72 2c 20 74 68 65 20 6d 6f 72 65 20 6c 69 ber, the more li
000000b0: 6b 65 6c 79 20 61 20 93 79 65 73 94 20 61 6e 73 kely a .yes. ans
000000c0: 77 65 72 20 69 73 20 61 6e 64 20 6d 6f 72 65 20 wer is and more
000000d0: 75 6e 65 78 70 65 63 74 65 64 20 65 76 65 6e 74 unexpected event
000000e0: 73 20 6f 63 63 75 72 2e 27 2b 0a s occur.'+.
from roll20-api-scripts.
I went ahead and pushed that change in my current Pull Request: #411
Hopefully that should sort it out very soon.
from roll20-api-scripts.
Sadly this did not fix it.
I even re ran a check against the file looking for any other UTF characters. There were not any.
from roll20-api-scripts.
If you're still in contact with them and they are still having the issue, maybe have them PM me a join link and GM me on Roll20 and I can try and track down what's happening?
Are you getting the issue when you install from the 1-click?
from roll20-api-scripts.
I had just created a new game my self to test.
I will send you a PM with the game link.
The issue does only happen with the 1-Click install. If you paste in the script manually it works just fine. Though right now going to the API Scripts page gives you the UTF-8 error.
from roll20-api-scripts.
I'm relatively certain this is an issue of the Unicode Characters in the description
property of the script.json
. I've made the correction in the above commit, which will hopefully fix it.
from roll20-api-scripts.
@pyromanci @shdwjk
Hi has this been fixed now? If so please close the issue :)
(hello Aaron)
from roll20-api-scripts.
Related Issues (20)
- WildShape dependency is not working
- Critical Error - Carry Below While Initiative Tracker is Up
- TokenMod - Directional Low Light Fields Missing HOT 8
- [5th Edition OGL by Roll20 Companion] Spell Level undefined HOT 1
- API categorized as "hidden" still show up in API Script One-Click HOT 1
- HeroRoller doesn't work embedded in Character Sheets. HOT 3
- Shadowrun 5th Edition API Doesn't Populate Initiative Tracker HOT 2
- Remove older versions of script HOT 3
- Sandbox crash when lvlX_slots_expended is NaN (easy fix)
- Pull 1495 (for Initiative Tracker Plus) does not seem to have been merged properly. HOT 2
- Custom Token Markers not working with Status tracking
- chatSetAttr 1.10 not triggering sheet workers even though toggle is on
- Multi-world calendar is missing modern HOT 1
- Some Randomization
- Is One-Click update running slow? HOT 1
- Two Targets in chat don't work (one does) HOT 1
- Make scripts for sale on marketplace?
- Pull request #1772 been hanging around since 26/06/23 HOT 1
- Dungeon Alchemist Sends a message to all users when importing a new map.
- Script not available in Mod Library?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roll20-api-scripts.