Hahaha, it seems doing add-ons is even more exhausting and tedious than doing a script, thank you very much for the bug fix, Venka, truly appreciated!
I'll try and report anything else that i find. 🙂
1) Cooking does not work.
Have you items, levels, materials but can not produce.
2) craft NPC: Update of gold does not work.
situation:
First: Stay with 0 gold.
Second: Go to the npc (which features craft) and selling any item to generate gold.
Third: Try to buy anything. You can not.
Buy / build, even though gold and items on hand, but it is necessary to leave the npc and enter again to make it work.
3) Alchemy has "lag".
During the selection of item that you want to do, there is a clear lag one to move from one item to another.
Alright, it works in your demo flawlessly!
Damn, now I need to search for the script which causes the incompatibility in my project! >.>
It is either incompatible with your actor stat addon, or with my randomizer addon.
How I hate to search for compatibility issues between scripts! >.>
And got a little question:
Can I check which crafting scene is active?
For example, can I check for 'SceneManager.scene_is?($craft(ID))'? Or will that throw an error?
I want to use that in a script, not in a script call in eventing.
@tiagoms
Edit, dunno about your other issues, can't test them now, but there is no lag anywhere in the demo.
I know what are you talking about, I got that lag on every single crafting scene in my project, if the actor stat changes addon is enabled.
It comes from another script or from the database itself (I got quite a big one set up already), not from Venka's scripts, I think. If it would have come from the crafting script itself, it would lag in the demo for me as well, but all is well in there.
I was wondering where it comes too, but never managed to track it down.
Ok, cooking works for me, just tested.
The crafting shop/decomp... Well, that one got some issues.
I can buy and sell just fine. But I can craft regardless if I got the materials for the items or not. I can craft a Battle Axe endlessly without worrying about the ingredients, because once it reaches zero from everything, I can still craft as long as I don't press the cancel button to return to the item list selection. That one will become disabled if there are not enough materials, but the craft button itself remains active.
And a new one: I can buy more than one "Alchemy 101" book from the recipe shop. 😳
Addons are a pain to manage, lol. 😀
Alright, back to clean my randomizer. Messed it up quite a lot with those random items gained thingy, lol.
The tools addon is not needed anymore, it is included in the main script already.
You can just remove it.
1. Ok I'll fix the problem with the cooking thing, I was messaging around with something and forgot to fix it all the way.
2. Another great catch on a bug (I forgot about checking gold amounts and refreshing/updating the craft windows when items are bought/sold).
3. I can't get this one to lag for me. The only difference with alchemy and other craft types is that it uses actor specific recipes.. so I'll check into my code there.
I can't seem to figure out how to download without getting a downloader or using a social media site.
I'm so sorry about all these bugs popping up. I'm try to get something released tomorrow. I think I'm either going to scrap the whole stats add on or take out the craft and equip part of it (cause that's where all the issues are stemming from). It's got me to the point where I want to start the whole script from scratch to try to fix all the issues.. but I just don't have the time to do that.
And sixth is correct, the tools add on was incorporated into the main script so you can remove that add on.
@sixth: I'm not sure on the SceneManager question, I'd have to play around with it.. but honestly I'm burnt for the day. I'll pm you tomorrow with some stuff.
sorry guys =( will really try to get this fixed tomorrow
I'll be waiting with great expectation.
Your script will be very useful for me.
Bugs found at the decompile addon:
- Shop Fee is not displayed for the crafting, but it is displayed for the decompile.
- The craft shop will not update the gold the player currently has until the player leaves the craft shop and re-enters it again.
Sell anything on a craft shop scene, get enough gold for crafting/decompiling something which you could not before because of the lack of gold, and you will see that you can not craft/decompile it, no matter if you got enough gold for it after selling something in the shop.
Bugs still present in the Recipe Menu Addon:
- The 'nil' cursor placement.
Open the Recipe Menu, get into a craft type which got 2 or more recipes. Move your cursor indicator to the last recipe. Press the 'Cancel' button. Now press either the 'Left' or the 'Right' button, and if the craft type besides the previously selected craft type got less recipes than the previously selected craft type, the error occurs.
No other bugs found by me.
I will update my Randomization Addon, to account for the changes in the main script.
Edit: Finished the update.
I tested these in the demo, with only your scripts to make sure no other script makes it.
I simply picked up everything to get enough items for testing, then went straight to the shop keeper, selected the second option.
As the Battle Axe requires 400 gold, and by picking up all stuffs I got only 100, I sold some potions and full potions to get the gold for it. Exited the selling window, and entered the craft window without leaving the shop at all. And I could not craft the Battle Axe, even if I got 1000+ gold. When I left the shop and re-entered it, it refreshed my gold amount.
Edit: Managed to track down this one!
It happens only if you enter the craft shop first without enough gold to craft something, then selling the stuffs and re-enter the craft shop.
And just now, I encountered a pretty weird bug.
Not sure if it got anything to do with where I did it, but it happened on the recipe shop, when selecting the first option at the shopkeeper after I already selected the second option there.
So, I managed to get exactly 600 gold, no more, no less. But I managed to craft 2 Battle Axes from that gold! 😳
I just crafted one, then my gold went down to 200. After that, I noticed that I could still craft the item, it was still showing it as an enabled item. So, I tried to craft another one, and to my surprise, I could craft another one. Weird one for sure.
So Venka, I still use v2.9, should I update or will you soon push v3.3? I'm kinda lazy lately .
And ( I know I have already said this before ), but since I added recipes and translated all terms
(Which if you want I can PM you with the portuguese translation by the way), so if you are about to push it,
I will be glad to know 😀 .
Amazing work girl, you and sixth.
Well, I'm probably NOT going to be doing another add on any time soon as they're starting to be a big headache. So I don't think the settings part will be changing again and the main script shouldn't change much any more either.. it's mostly the newest add on and the shop one that has the bugs in it. And very cool on the translation 🙂 I can post a link to it on the main thread if you'd like
Ah ok, I will update it then, later I will send you the translations =) On the first post you have a demo
of the v3.1 and the alternate link has the v3.2?
Ohh, I haven't tried the fixes you posted yet then (still haven't, my free days just got blasted, so that will have to wait until the evening >.>), so it might be possible that the issue is fixed already.
I will test it tonight and will report back.
But if you say it is fixed, I believe it is fixed indeed. 😛
Btw, I started to meddle with the random button inputs thing...
I started it by doing the same as with all my other custom settings.
Added 2 new setup variable to the recipe settings, one is the number of times it should ask for a button input, the other is a randomizer kind of thing, which adds a random number to a new constant I made in the script (which is initially set to 0).
Then I set up different 'when' commands depending on the new constant's value and hardcoded the new button presses in each 'when' part. The hardcode can be changed to be another possible setup in the script, of course, which I plan to change like that anyway in the end.
So, this is how I changed the original button press needed method.
Now the only thing I need to edit is the time when these buttons should be pressed somehow.
And an indicator for the player should help too, but that I will do later, when it functions as it should.
So far, it works with a single button input, it randomizes the input needed to make a success item.
When I figure out the time for the other inputs, I guess, it will be fully functional and ready for testing. And I guess this will be the hardest part to do...
But it may take some time, as I got very little free time nowadays on my hands, unfortunately. >.>