Tabletop Simulator

Tabletop Simulator

[Scripted] Roll Player + Monsters & Minions
56 Comments
Liyarin  [author] 20 Jul, 2023 @ 10:07am 
@Zalz Torus
I'm aware of this bug, this was something that I created very early on and I didn't understand how to code with saved games in mind back then.

I'd need to re-code most of this in order to fix that, so I have no intentions of fixing that bug in specific at the moment.
Zalz Torus 20 Jul, 2023 @ 9:32am 
Game resets starting script when loading a save, making it impossible to play a save
Noelle 3 Nov, 2022 @ 1:03am 
i wish someone would release rollplayer adventures
Liyarin  [author] 2 Jun, 2022 @ 5:05pm 
@Heroes Of Tomorrow Yes, initiative card 5 should have a coin on the 5P face. However, the script still handles the game as if it had one, it's simply a issue with the card graphic itself. Sadly I don't have these files anymore, so since the script for that is actually working correctly, despite the graphical error, I'm going to leave it as is.
Liyarin  [author] 2 Jun, 2022 @ 4:59pm 
@Bull Buchanan The game's script does indeed not have anything to handle saving, and if I recall correctly, the script simply restarts when you reload the game. This is clearly something that I did not have in mind while developing it, but I also have no intention on fixing it at the moment. This was my first TTS project, and while I'm proud of what I managed to develop on my first try, my love for this particular game is gone, and I'm not inspired to keep working on this mod other than minor fixes here and there.
Liyarin  [author] 2 Jun, 2022 @ 4:56pm 
@Grizzly Bits I just got why the rulebook wasn't working, it should be fixed next update.
Heroes Of Tomorrow 2 Jun, 2022 @ 4:00am 
I think there is an error on the initiative card 5: shouldn't it have a coin on the 5P face?
Bull Buchanan 4 Feb, 2022 @ 9:48am 
I also couldnt get the rulebook to work and loading the game breaks the scripting so it effectively doesn't have save functionality.
Grizzly Bits 6 Aug, 2021 @ 9:55pm 
The rulebook is broken
Liyarin  [author] 9 Mar, 2021 @ 8:09pm 
@Jareth There should only be 1 dot cards on the top of the deck, and the 2dot should be on the bottom, if you're getting 2dots at the start of the game, something must have changed with how the game interprets the coding, or it could just be the timing of everything happening. This was my first mod, so I didn't understand very well how that happened. I'll try to give it a look tomorrow if I have time.
Jareth 9 Mar, 2021 @ 6:02pm 
Maybe I'm reading the rules wrong, but the market seems to start with (atleast in 3 player) with 4 2 dot cards, where it should be 1 dots.
Big145 20 Feb, 2021 @ 8:10am 
103 assets and they all seem to work. I used mod backup to check on them.
Liyarin  [author] 20 Feb, 2021 @ 5:18am 
I tried to fix the broken links, I'm not sure if they're all fixed or not, if there are, if you can identify exactly what objects are missing links, please let me know.
Liyarin  [author] 9 Jan, 2021 @ 11:01am 
I did not own the images, they were imported from another mod, so nothing I can do about it really
Vic 8 Jan, 2021 @ 11:03am 
this script is bugged af
Vencarii 30 Dec, 2020 @ 2:13am 
I'd love to try the mod, but the images that were stored on dropbox are offline. :(
usenetspamtrap  [author] 16 Dec, 2020 @ 6:59pm 
Liyarin, that would be great. I have the code tested locally but would like to push it for others to take advantage of. Thanks again.
Liyarin  [author] 14 Dec, 2020 @ 5:40pm 
@usenetspamtrap I'm aware how the save/load works, the reasons that I haven't gotten back to this yet is that I'm being paid to do other projects at the moment, and that I don't actually remember what I did on this. The way I do things changed quite a bit from back then and I'd need to read through this again to even remember what I did, so I can't really answer your question here.

If you're interested though, I'd be more than happy to add you as a co-creator if you want to implement some fixes for me
usenetspamtrap  [author] 12 Dec, 2020 @ 9:36am 
I'm not sure how I missed the Mod Events previously, but I found it. It doesn't look too difficult to handle save/load even though it's running via the object rather than global onload.

Are there any global variables that need to be saved other than solitaireMode? I don't use the expansions but it looks like everything else is handled by the objects themselves, which would make it pretty easy.

I modified the onLoad() event for Mod Events:
onLoad(saved_data) -- Add a passed parameter for saved data

Add the following conditional at the "Creates the Start Game Button" section
if saved_data != "" then
local loaded_data = JSON.decode(saved_data)
solitaireMode = loaded_data.solitaireMode
else
[...]

Add an onSave event:
function onSvae()
local data_to_save = {solitaireMode=solitaireMode}
JSON.encode(data_to_save)
return saved_data
end
usenetspamtrap  [author] 12 Dec, 2020 @ 7:23am 
Hey Liyarin, thanks for this mod it is really slick. We haven't had any problems, maybe the people seeing problems are using the expansion? We did run into problems with the loading function; the problem is that the button is in the middle so it blocks a lot of assets (and if you click it you can end up running a new 'start game' so it didn't seem usable unless you really really were set on the game. I tried looking at the scripting but couldn't see where the button was placed or the code related to it; I haven't done any modding with tabletop. I'm going to look at 'simple' solutions that might move the button so it doesn't block gameplay. Any hints to where to look would be nice; I can do the scripting but don't know how it is tied together within tabletop.
Rambovi 8 Nov, 2020 @ 3:44am 
here to wait for a fix =)
Liyarin  [author] 11 Oct, 2020 @ 4:05pm 
I have yet to look at it, I've been rather busy. I believe some things changed with the API and might have broken some of the script, but can't be sure of what exactly yet. I'll get to this once I have time for it.
Valmar 11 Oct, 2020 @ 5:19am 
I used it many times and worked fine, has something changed now?
SonicQuack 11 Oct, 2020 @ 4:41am 
Just for other players, this one is still awaiting a fix from Liyarin before it's playable.
Liyarin  [author] 26 Aug, 2020 @ 4:18pm 
Thanks for letting me know FretBored, I'm fairly busy right now, but once I'm free I'll take a look at this
Freht 26 Aug, 2020 @ 11:46am 
Not working. Missing a couple assets and scripting error on starting a solo game. Nothing loads.
Liyarin  [author] 20 Jul, 2020 @ 8:34am 
Valmar, If I recall correctly, I think you should be able to. There will be a big "start game" button when you reload in the middle of the table, but all the other pieces should still be there and working.

It's been a while since I last made this and I didn't know how to handle reloading back then, so I'd say give it a try and see for yourself how well it works.
Valmar 19 Jul, 2020 @ 10:26am 
Are you able to save the game and continue later with this mod or not?
neverclever 13 May, 2020 @ 10:33pm 
No problem. It was only an issue because the TTS servers kicked everyone from the game. Otherwise, my group would have done it in a single session and never noticed, haha.
Liyarin  [author] 13 May, 2020 @ 10:28pm 
I was still learning the Tabletop API when I made this, didn't know how to handle reloading back then. I may try and fix that someday, but don't count too much on it, I'd rather focus on new projects, but I'll keep this issue in the back of my mind.
neverclever 13 May, 2020 @ 8:45pm 
Great mod with excellent scripting. I only had one minor issue; when saving and loading a game in progress, the game tried to do all the start of game scripting again.

Other than this minor thing, fantastic job! The scripting really cut down on setup and end-of-round upkeep.
Liyarin  [author] 12 May, 2020 @ 10:25pm 
Oh wow, wasn't expecting that one, thank you Knaughx
Knaughx 12 May, 2020 @ 9:09am 
Hi, wanted you know that your mod has been added to my collection: Board Game Geek - BGG - May 2020 - Best Mod for each of the Top 500 Rated Games. Collection here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2086043930

The collection used this priority system:

1. Mod's Files Availability: Mod with all/most files still available for download
2. Feature completeness: Mod with greatest inclusion of expansions and/or promos available for the board game title
2. Scripting: Mod with scripting that most reduces work in setup/play for players
3. Component Quality: Mod with the best visuals/usability in terms of component quality
4. Table Setup/Ambiance: Mod with the best immersion with table, background, and other modeling.

Please also note that a mod that makes selection for this list very well could be one in which the mod author borrowed the majority of assets from another workshop listing, so full thanks to all who worked on a mod.

Thanks for your hard work!
Liyarin  [author] 6 Apr, 2020 @ 4:24pm 
If the assets get uploaded, sure, I'm not planning on getting it myself
mt2-hill 6 Apr, 2020 @ 3:10pm 
Do you plan to add the final expansion once its put out? (Fiends & Familiars)
folm 19 Jan, 2020 @ 8:14pm 
this is amazing by the way, very slick, had a blast with muh mates. cheers.
Liyarin  [author] 16 Dec, 2019 @ 12:32pm 
I got back into tabletop, so I wanted this to work properly again, that's about it :P
Sir_Charles 16 Dec, 2019 @ 2:25am 
Impressive update. Thank you very much
Liyarin  [author] 28 Apr, 2019 @ 9:17pm 
The links are broken, I didn't really own them, so not much I can do.

I could scan my physical copy and try to fix this again, but to be honest, it's too much work for a mod that I don't care much about anymore. I barely every touch tabletop simulator anymore, so I think I'll be dropping this project.

As you probably have noticed, I have planned on adding single player a few times, but just having to learn how the single player works (I only ever played multiplayer) made it take a while, and each time I eventually forgot about the project. Whenever there were small bugs and I saw the notifications, I could come here and fix them quickly, but now that most textures are broken, I don't think this mod is worth my time anymore.

If I ever start using tabletop simulator actively again, I may take a look at this mod one more time, but until then, assume this mod broken. If you're a developer and want to continue working upon it, you're free to do so.
Marswolf 28 Apr, 2019 @ 4:11pm 
Not sure if you're still keeping up with this mod, but it looks like the files for the gold are broken.
TrueKaru 14 Jan, 2019 @ 3:43am 
Would you mind allowing the script to work with only one player seated? There is a solo player mode, but it plays like 2 players with some variation during the iniative and market phase.
Artconway 5 Jan, 2019 @ 11:13pm 
Mod seems to be missing the Diplomacy card for standard rules. Otherwise great mod. Looking forward to solo play scripting.
Nytefury 20 Oct, 2018 @ 8:56pm 
Thanks Nyss!
Liyarin  [author] 20 Oct, 2018 @ 2:06pm 
Huge amounts of DnD planning got in the way, but I got the new dice there.

They now use numbers instead of dots, which should make it easier to read. They also now use set textures, so the problem where some dice appear the wrong color for some players *should* be fixed. I cannot test that on my own since I only have one computer and I do not know what causes it in the TTS engine.

I will be busy this coming week, but the week afterwards I'll try to implement the solitaire mode.
Nytefury 26 Sep, 2018 @ 10:51pm 
If it isn't too much trouble (and if it is please disregard) is it possible to get black dots on the white and gold dice as they can be a bit hard to see (especially on the white dice). Thanks for your work.
Nytefury 26 Sep, 2018 @ 10:43pm 
Awesome Nyss, tyvm
Liyarin  [author] 26 Sep, 2018 @ 10:39pm 
To Nytefury, I used the original dice in Tabletop, and it seems different clients render them differently, so I'll go ahead and make some custom colored dice asap.

I know I didn't end up adding the solitaire mode last time, but I was indeed busy, thanks for reminding me again of this, I do have free time and I'll try to tackle it once again.
Nytefury 26 Sep, 2018 @ 4:51pm 
Guests are not seeing the purple dice (show as blue) or white dice (show as black).
Kaos 10 Feb, 2018 @ 2:41am 
No rush. I wasn't sure if it was there as I am new to Tabletop simulator.
Liyarin  [author] 9 Feb, 2018 @ 9:38pm 
No, I got rather busy after that, and ended up forgetting about it... If I have time this weekend I'll try looking into it