MacKenzieHnC Brand New Shop Inventory Generator

By MacKenzieHnC, in Star Wars: Edge of the Empire RPG

Download Here
Most recent upload: v 1.0 (13 July 2016 8:00pm) (-6 GMT)

Source Code

Hey, guys. It's been awhile.
This is a brand new, greatly updated inventory generator for Star Wars rpgs. New features, better interface, and (I'm hoping) vastly superior compatibility.

To download, right click on the folder you want (i.e. "Latest" which has more features, but I don't know if it actually runs on other people's computer, or "Latest Known To Work" which I've gotten feedback and debugged more thoroughly) and select your OS and then click "download" (it looks like an arrow pointing down at a line). Drive will then zip the file and download it. Make sure you downloaded the whole folder containing the program and the "resources" folder. The program requires "resources" to run, because that's where the lists and settings and everything are.

EDIT: Also, even if it works great for you, you'd be doing me a huge favor if you just posted "It works" and your operating system. Right now, I really don't have a great way to test on lots of systems other than to give it to you guys and see what you say. Without your feedback, I'm flying completely blind.

Let me know what you guys think, and be sure to let me know if you have any suggestions/errors/complaints.
[email protected]

Also, if you want a rule added in that I haven't accounted for, I don't have access to the source books anymore (I borrowed a buddy's to make this), so please tell me:
1) What question am I asking?
2) What are the user's possible responses
3) What numbers do each of those responses affect and by how much?
4) Is this how the official rules are set up? (Cause I can still add it in, but I need to know if it's homebrew so people can turn it off or change values.)

Lastly, I've included an error reporting system (don't worry, nothing's sent to me unless you send it to me yourself). All it is is a file in the "resources" folder called "DUECredits Errors." If you think an error has occurred, check that file. If it's got text in it, please private message or email me what it says, then delete the file's text (so you can know for sure each time if an actual crash occurred). That way I can check the exact line of code where the error occurred. However, if something's not working, but no text is being generated to that file, then that's a problem too, so let me know either here or through private message.

Thanks for all the help you've all provided so far, and I promise to keep working to make this program perfect!

Edited by MacKenzieHnC

Are we supposed to download the two folders? or the exe?

Sorry, I'm confused...

*I think I figured it out :P

Edited by Kainrath

is it Mac compatible?

The last version I saw was written in Java, which also appears to be the case here.

So, in theory, you might be able to run this on your Mac. But I didn’t have any luck with the previous version on my Mac, so who knows about this one?

Yes, it should run on Mac as long as you have java installed. The last one didn't run on Mac cause it barely ran on anything, but I've learned a whole lot since then, so I'm hoping this won't have the same kinds of issues. And yeah, just download the .exe if you're running Windows (though you could do both if you wanted to). The .jar should run on any OS as long as you have the newest java installed.

Also, a question of forum etiquette: is it rude if I post this in the other Star Wars RPG forums? It works for AoR, FaD, and EotE.

Edited by MacKenzieHnC

Yes, it should run on Mac as long as you have java installed. The last one didn't run on Mac cause it barely ran on anything, but I've learned a whole lot since then, so I'm hoping this won't have the same kinds of issues. And yeah, just download the .exe if you're running Windows (though you could do both if you wanted to). The .jar should run on any OS as long as you have the newest java installed.

Ahh, okay. Cool! I’m definitely going to give it a shot!

Also, a question of forum etiquette: is it rude if I post this in the other Star Wars RPG forums? It works for AoR, FaD, and EotE.

You should be clear to post this on the other forums, if you like. You might want to decide which one is your “main” post and then post links to that in the other lines, otherwise you’re likely to have three separate conversation threads and things are going to get crossed-up, etc….

Hmm. Looks like you also need to somehow download the Resources directory, with all the settings.txt and other files in it. Unfortunately, Google Drive doesn’t make that easy.

Can we get a ZIP archive that includes both the JAR and the Resources directory, or since JAR is already an archive type format, maybe include the Resources directory inside of the JAR?

Hmm. Looks like you also need to somehow download the Resources directory, with all the settings.txt and other files in it. Unfortunately, Google Drive doesn’t make that easy.

Can we get a ZIP archive that includes both the JAR and the Resources directory, or since JAR is already an archive type format, maybe include the Resources directory inside of the JAR?

Whenever I downloaded it to test it, I just right click on the whole folder I want (so I guess Ctrl+Click for Mac) and it gives me an option to download the whole thing. Is that not working for you?

Also, I have absolutely no idea how to package them together like that.

Edited by MacKenzieHnC

Whenever I downloaded it to test it, I just right click on the whole folder I want (so I guess Ctrl+Click for Mac) and it gives me an option to download the whole thing. Is that not working for you?

Not in my browser, no.

EDIT: So far as I can tell, without signing in to Google Drive, there is no way for me to download the whole folder.

Maybe you should try signing out of Google Drive and then see if your browser (e.g., Chrome, Opera, Firefox, etc…) lets you download the whole folder from there?

Also, I have absolutely no idea how to package them together like that.

Can you make a ZIP archive of the whole folder? Using PKZip, or 7Zip, or something like that?

Edited by bradknowles

Whenever I downloaded it to test it, I just right click on the whole folder I want (so I guess Ctrl+Click for Mac) and it gives me an option to download the whole thing. Is that not working for you?

Not in my browser, no.

EDIT: So far as I can tell, without signing in to Google Drive, there is no way for me to download the whole folder.

Maybe you should try signing out of Google Drive and then see if your browser (e.g., Chrome, Opera, Firefox, etc…) lets you download the whole folder from there?

Also, I have absolutely no idea how to package them together like that.

Can you make a ZIP archive of the whole folder? Using PKZip, or 7Zip, or something like that?

Done and done. It's all zip files now.

Hmm. So, clicking on Watto lets me go through the initial stages to generate a shop, including asking me what the Negotiation and Presence is among the party, and if we get any boosts or setbacks, but then that’s it. Nothing else seems to happen.

I can click on the menu items to see the complete list of armor and gear, but the complete list of weapons never comes up.

I’m not sure what is wrong here, or what I can do to help debug the issue.

Hmm. So, clicking on Watto lets me go through the initial stages to generate a shop, including asking me what the Negotiation and Presence is among the party, and if we get any boosts or setbacks, but then that’s it. Nothing else seems to happen.

I can click on the menu items to see the complete list of armor and gear, but the complete list of weapons never comes up.

I’m not sure what is wrong here, or what I can do to help debug the issue.

Man, I swear I'm not doing this to you on purpose.

So I just uploaded a slightly newer version which prints errors to a text file on your desktop. Try downloading the new one and see if it works or creates that file. If it doesn't work, and it doesn't write that file, try downloading the other new version in the "For Brad/Debug" folder and let me know if that works. That one removes the weapons from the list. Tell me if it works.

It's weird that only weapons aren't working for you, though. I know I've had some trouble getting Drive to download everything, so I'm hoping that's the only problem.

I'll be checking back all day, so let me know what you figure out.

I downloaded both the latest Mac version and the Brad/debug version. Neither one displays anything after setting the Skill, Characteristic, and Boost/Setback. The latest Mac version also does not display the weapons list when selected but the gear and armor remain unchanged. Also the error text file does not print either.

Yeah, I'm working on a Mac now (and for a couple of days) and I'm having the same problem. Luckily, that means that when I get it fixed here, it should be fixed for you guys too. I'll keep you all posted on it.

Okay, got it to run on my system and uploaded it. For some reason it wasn't reading "Weapons.csv", so I don't know what that was about. Let me know if it works.

Also, it turns out I can't do the error file on Mac because of how Apple's security is set up. Somehow, someday I'm gonna make a .dmg, but they don't make it easy.

Edited by MacKenzieHnC

It works. Excellent work on the troubleshooting!

Edited by Oden Gebhac

Nice work... it actually, uh, works! :P

Is there any way you could have it show the number of successes on the checks? I usually use them to determine the amounts of items that are available for purchase.

Okay, that works a lot better. However, I now have a couple further comments for you. ;)

The header across the top of the page that shows you what column is what is very useful (see the red rounded rectangle in the image below), but it scrolls off the screen when you scroll down. Would it be possible to “lock” that to the top of the window, so that it never scrolls off?

Also, there are strange question marks in black diamonds (see arrows below) that show up in this font on my system. Is there a different font I should be using other than Tahoma (the default)? What is this character supposed to be?

Screen_Shot_2016-06-23_at_10_28_22_PM.pn

Scrolling a bit further down, we see the price column and the dice column (see rounded rectangles below). However, for my situation I’d rather not roll for every single item when generating the shop, I’d rather instead roll for each individual item that they might or might not have.

Would it be possible to replace the value in the price field with a “roll dice” button, so that rolls are only made for each item on demand?

Screen_Shot_2016-06-23_at_10_28_27_PM.pn

Thanks!

Okay, that works a lot better. However, I now have a couple further comments for you. ;)

The header across the top of the page that shows you what column is what is very useful (see the red rounded rectangle in the image below), but it scrolls off the screen when you scroll down. Would it be possible to “lock” that to the top of the window, so that it never scrolls off?

Also, there are strange question marks in black diamonds (see arrows below) that show up in this font on my system. Is there a different font I should be using other than Tahoma (the default)? What is this character supposed to be?

Scrolling a bit further down, we see the price column and the dice column (see rounded rectangles below). However, for my situation I’d rather not roll for every single item when generating the shop, I’d rather instead roll for each individual item that they might or might not have.

Would it be possible to replace the value in the price field with a “roll dice” button, so that rolls are only made for each item on demand?

Thanks!

So I fixed the squares. I don't know why, but every time I switch over to Mac it adds those in. They're just spaces, but I went through and replaced them with Apple brand spaces so now they work fine.

As for the column headers, I'm sure there is, but I'm not actually sure how to approach that problem as I'm using html for the whole thing (I've only been programming for a few months), so I'll look into, but no promises on it happening any time soon.

Also, to your question about individual rolls, I don't think I understand. It already rolls for everything. Are you saying you want to limit item types or something? I feel like if I made it roll for things one at a time like that, you'd just be back where you started except now you have a compiled list in front of you.

Nice work... it actually, uh, works! :P

Is there any way you could have it show the number of successes on the checks? I usually use them to determine the amounts of items that are available for purchase.

And yes, I can definitely show the successes. I won't be able to get to it til tomorrow though, as the computer I'm on doesn't have my visual editing software so I can't get the dice icons. You mean just the successes that are leftover after counting failures, right?

So I fixed the squares. I don't know why, but every time I switch over to Mac it adds those in. They're just spaces, but I went through and replaced them with Apple brand spaces so now they work fine.

Cool. Thanks!

As for the column headers, I'm sure there is, but I'm not actually sure how to approach that problem as I'm using html for the whole thing (I've only been programming for a few months), so I'll look into, but no promises on it happening any time soon.

Fair enough.

Also, to your question about individual rolls, I don't think I understand. It already rolls for everything. Are you saying you want to limit item types or something? I feel like if I made it roll for things one at a time like that, you'd just be back where you started except now you have a compiled list in front of you.

What I was thinking is that all items would show up on the list, but you don’t know if a particular item is actually available or not, until you make the roll. And instead of doing all the rolls up-front, you do them only as you need them.

Alternatively, I can see the desire to go ahead and do all the rolls up-front, but then I’d think that you might want to save some of those shops, so that you could come back to them later. So, pre-gen a shop for Watto on Tatooine, but then pre-gen a different shop for a different merchant on a different planet or in a different city.

Also, is there a search function? For many categories, there are a large number of items that are (or might be) available, and it would be great if you had a search function so that you could look for just the one specific thing you’re looking for.

Thanks again!

Yes, this program is quite nice! The only thing I would mention, and i'm sorry if I missed it somewhere, is rarity modifiers for being at a specific place, such as Duro and other major core worlds having a -2 modifier and uncivilized worlds being +4. Again, really neat stuff!

Yes, this program is quite nice! The only thing I would mention, and i'm sorry if I missed it somewhere, is rarity modifiers for being at a specific place, such as Duro and other major core worlds having a -2 modifier and uncivilized worlds being +4. Again, really neat stuff!

Yeah, that's not a problem. I can throw that on tonight when I get back to my own computer. I don't have access to the source books right now (I borrowed my buddy's to get this made in the first place), so if those aren't the only two options, please tell me:

1) What question am I asking?

2) What are the user's possible responses

3) What numbers do each of those responses affect and by how much?

4) Is this how the official rules are set up? (Cause I can still add it in, but I need to know if it's homebrew so people can turn it off or change values.)

And that goes for anyone asking for a rule change. I've set it up so that they're pretty easy for me to add in, but I need to know exactly what I'm adding in.

Edited by MacKenzieHnC

Ok cool. Let's see here...

Rarity rules start on pg. 149 of the core rule book. On pg. 150 the difficulty is listed for rarity levels 1-10. It also suggests that the table below that could be used to modify the rarity of an item based on "location and technological status of the world". Also, if the rarity is brought above 10, "the difficulty of the check remains at formidable, but the GM may upgrade the difficulty once for every rarity above 10". The number listed is added or subtracted from the original rarity. The book provides the following situations:

  • -2 for a Primary core world such as Coruscant, Duro, or Corellia
  • -1 other Core world
  • -1 World is on a primary trade lane
  • no change for a Colony or inner rim world or a "civilized" world
  • +1 for a mid-rim world or a recently settled/out of the way world
  • +2 for an outer rim world or frontier world
  • +3 for Wild Space
  • +4 for an uncivilized world

So in my mind the simplest way would be for the user to be able to modify the rarity of all items calculated, an extra slot in options or something like that. I hope that helps. :)

Yeah, that ain't bad at all. I'll get that knocked out tonight.

Yeah, just the net successes is all. Appreciate it dude!