Tabletop Simulator

Tabletop Simulator

[Scripted] Roll Player + Monsters & Minions
56 kommentarer
Liyarin  [ophavsmand] 20. juli 2023 kl. 10:07 
@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. juli 2023 kl. 9:32 
Game resets starting script when loading a save, making it impossible to play a save
Noelle 3. nov. 2022 kl. 1:03 
i wish someone would release rollplayer adventures
Liyarin  [ophavsmand] 2. juni 2022 kl. 17:05 
@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  [ophavsmand] 2. juni 2022 kl. 16:59 
@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  [ophavsmand] 2. juni 2022 kl. 16:56 
@Grizzly Bits I just got why the rulebook wasn't working, it should be fixed next update.
Heroes Of Tomorrow 2. juni 2022 kl. 4:00 
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 kl. 9:48 
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 kl. 21:55 
The rulebook is broken
Liyarin  [ophavsmand] 9. mar. 2021 kl. 20:09 
@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 kl. 18:02 
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 kl. 8:10 
103 assets and they all seem to work. I used mod backup to check on them.
Liyarin  [ophavsmand] 20. feb. 2021 kl. 5:18 
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  [ophavsmand] 9. jan. 2021 kl. 11:01 
I did not own the images, they were imported from another mod, so nothing I can do about it really
Vic 8. jan. 2021 kl. 11:03 
this script is bugged af
Vencarii 30. dec. 2020 kl. 2:13 
I'd love to try the mod, but the images that were stored on dropbox are offline. :(
usenetspamtrap  [ophavsmand] 16. dec. 2020 kl. 18:59 
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  [ophavsmand] 14. dec. 2020 kl. 17:40 
@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  [ophavsmand] 12. dec. 2020 kl. 9:36 
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  [ophavsmand] 12. dec. 2020 kl. 7:23 
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 kl. 3:44 
here to wait for a fix =)
Liyarin  [ophavsmand] 11. okt. 2020 kl. 16:05 
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. okt. 2020 kl. 5:19 
I used it many times and worked fine, has something changed now?
SonicQuack 11. okt. 2020 kl. 4:41 
Just for other players, this one is still awaiting a fix from Liyarin before it's playable.
Liyarin  [ophavsmand] 26. aug. 2020 kl. 16:18 
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 kl. 11:46 
Not working. Missing a couple assets and scripting error on starting a solo game. Nothing loads.
Liyarin  [ophavsmand] 20. juli 2020 kl. 8:34 
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. juli 2020 kl. 10:26 
Are you able to save the game and continue later with this mod or not?
neverclever 13. maj 2020 kl. 22:33 
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  [ophavsmand] 13. maj 2020 kl. 22:28 
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. maj 2020 kl. 20:45 
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  [ophavsmand] 12. maj 2020 kl. 22:25 
Oh wow, wasn't expecting that one, thank you Knaughx
Knaughx 12. maj 2020 kl. 9:09 
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://gtm.steamproxy.vip/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  [ophavsmand] 6. apr. 2020 kl. 16:24 
If the assets get uploaded, sure, I'm not planning on getting it myself
mt2-hill 6. apr. 2020 kl. 15:10 
Do you plan to add the final expansion once its put out? (Fiends & Familiars)
folm 19. jan. 2020 kl. 20:14 
this is amazing by the way, very slick, had a blast with muh mates. cheers.
Liyarin  [ophavsmand] 16. dec. 2019 kl. 12:32 
I got back into tabletop, so I wanted this to work properly again, that's about it :P
Sir_Charles 16. dec. 2019 kl. 2:25 
Impressive update. Thank you very much
Liyarin  [ophavsmand] 28. apr. 2019 kl. 21:17 
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 kl. 16:11 
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 kl. 3:43 
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 kl. 23:13 
Mod seems to be missing the Diplomacy card for standard rules. Otherwise great mod. Looking forward to solo play scripting.
Nytefury 20. okt. 2018 kl. 20:56 
Thanks Nyss!
Liyarin  [ophavsmand] 20. okt. 2018 kl. 14:06 
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 kl. 22:51 
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 kl. 22:43 
Awesome Nyss, tyvm
Liyarin  [ophavsmand] 26. sep. 2018 kl. 22:39 
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 kl. 16:51 
Guests are not seeing the purple dice (show as blue) or white dice (show as black).
Kaos 10. feb. 2018 kl. 2:41 
No rush. I wasn't sure if it was there as I am new to Tabletop simulator.
Liyarin  [ophavsmand] 9. feb. 2018 kl. 21:38 
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