It does not. I wonder if there is something wrong with the smPluginMenuAddon.js file that I have? Is there perhaps, a newer version of this file?
I donāt think so. The dropbox version is the latest, as far as I know.
Again, if I were to guess, smPluginMenuAddon.js is not recognized and doesnāt load. You can try starting the game in Chrome just to double check that itās not browser related. --allow-file-access-from-files
shortcut attribute to Chrome.exe will allow local files to be accessed (txt in this case), so choicescript will work.
If itās the same in Chrome, then you probably have a typo to smPluginMenuAddon.js path in the index.html or something similar.
I will give that a try. Thank you for the assistance.
It was indeed a typo. I neglected to put the " before the tag in my index file. Thank you for helping me correct this issue!
Itās the second argument. Try the above.
I tried. Itās still popping up for me. I just kind of deleted the alertify lines if thatās okay with you?
Hmm, might be a bug. Iāll make a note to take a look, thank you. Sure, that shouldnāt cause any problemsā¦
Works on my end without pop ups. The slot name does not update and will say āNo dataā until browser page is refreshed. Loads just fine though.
Iām having trouble with the saving system. I search all the similar threads but i didnāt find the way to install it properly:P
- smPluginMenuAddon.js downloaded and put in the web folder.
- where/who should i add script src="ā¦/smplugin.js" to the index.html on the web folder ?
I dont know if that helps but by refreshing the game the error Iām getting is:
startup line 19: Non-existet command āsm_intā
All the helps is appreciated
Update: I download the smPlugin.js and i put in my web folder. How i go to the next step and add index.html?
i mean how i do this: smPlugin MUST come BEFORE the add-on file in index.html
with kind regards,
Sersor
I couldnāt figure it out so I just *comment
it out until I upload startup.txt to dashingdon.
Also, desperate, not desparate
under .../web/mygame/
, find the index.html
file
Go to the 36th line, and add the script.
Or just follow this example
<script>window.version="UNKNOWN"</script>
<script src="../version.js"></script>
<script src="../persist.js"></script>
<script src="../alertify.min.js"></script>
<script src="../util.js"></script>
<link href="../style.css" rel="stylesheet" type="text/css">
<style id="dynamic"></style>
<script src="../ui.js"></script>
<script src="../scene.js"></script>
<script src="../navigator.js"></script>
<script src="../smPlugin.js"></script> <<<<< This is the line you add
<script src="../smPluginMenuAddon.js"></script> <<<<< This is the line you add
<script src="mygame.js"></script>
<link href="../alertify.css" rel="stylesheet" type="text/css">
Thank you very much! I finally made it
I apologize if this is the wrong thread on which to mention it, but I have noticed on two separate WIPs using what I assume is one of these plugins that the date listed by the save gives the wrong month. The dates are given in European format and today for example should be 4/8/2018 in European format but instead the save shows as 4/7/2018. I do not know how much of a problem this might be, but it is something of which to be aware and might need to be fixed.
Oh yes! Well spotted. Definitely a bug, Iāll see about patching it soon.
Need some help. When my browser loads up my game, Iām locked into a constant loop of if it click āOKā:
And then Iām locked up in this loop if I click āCancelā:
If I hit āCancelā after this, Iām given this prompt:
And then if I hit āCancelā after this, my game sorts itself out.
Hereās my code:
Wait - my game sorted itself out. I clicked too fast between the messages that followed the initial āCancelā loop. Can someone double my code just in case? Thank you!
After this, I got a little lost on how to implement this save option in my game Sorry, Iām still new to choice script but if someone could explain to me how to include this file as a script in index.html , i would be very grateful.
Continuing the discussion from Saving System Plugin:
Umm, so iāve been trying to follow the instructions from this post but the link for the pluggin lead me to a page that says error 404.
Are the links in this post still functional or am I doing something wrong?
edit: iāve been reading some tutorials for adding the saving option but it seems this is the one everyone uses? However i canāt seem to understand the process very well
If youāre hosting a WIP on dashingdon, then add this after your variables in startup:
*sm_init mygame | 3
Replace ā3ā with whatever number you want, though I believe it is recommended not to go higher than six. Then, after uploading your game to the site, edit the game details and check the box that says something like āuse saving pluginā and your WIP should have the saving feature when you link it. Hope this helps you!
I did as you instructed, but when opening the game, is there supposed to be a saving icon? Or does it save the game automatically?
It should show the option to select/save/load and a drop-down menu with as many slots as you specified in startup. Sometimes it takes a few seconds to show up, though. Are you using dashingdon?