SamSuka
TwizSin Games
TwizSin Games

patreon


Daily Update 7/4

Ok so I fixed some things, broke others, realized other things were not working at all to begin with, and am stuck again.

Context? Yea you want context huh?

Ok So I was able to get the 10 pull system working properly again so it shows the animation every time.
I was also able to get the items when they are summoned to show colored text based on the rarity.
But then I noticed something wrong. I kept getting the persistence errors, So I checked through all the code that had to do with the gacha system and found out thats where those errors and crashes were coming from. So I removed everything that had to do with persistence there. Basically removed all the RNG stuff. That made it so the game would save properly. Also made it so that I had to manually add 105 items stats and effects. Which took forever and sucked. But I got that done. Then I even went ahead and got a mouse tool tip feature up and running so when you highlight over an item in your inventory it will say the items name, rarity, and all the stats it gives.
BUT in fixing the persistence issue, I somehow broke the thing where it shows your items when you summon? I dont know how the fuck those 2 things link together but yea apparently a new thing added to my list of shit to do. But I was like well shit... most stuff is fixed and working if people just cant see the items right when they summon them, but they are able to see everything in the inventory thats more important anyways. So I will come back to that later.

I moved on with trying to get the images to show up when an item is equipped. 8 hours later still not working. Fuck it move on and come back to that gotta get something done.
So I started testing the items making sure saves and all that worked properly, checked to make sure items were equipped, it looked like they were, so I went into a battle with nothing equipped, hit for 35 damage, equipped Rudeus with all legendary gear, still hit for 35 dmg........? what?
So that was my big WTF moment, I then added extra print statements to everything, which is just a way to debug code. I checked Rudeus's stats before and after equipping items... well it looked like it was working, so then I wanted to try something else. What if I took the stat allocation thing and moved all of stats out of everything except atk and dumped it all into attack? Well then He had 22 attack, I then equipped him with a +10 atk common sword.. so you would think he would have 32 atk right? NOPE 15. How is it 15? Well because by default he has 5 the sword gives him 10. But that doesnt make any sense right?

Well see heres whats happening, it is creating a new version of the Rudeus character and equipping that one with the sword, NOT the actual player character. And it is doing that same thing to every character involved. SSSSOOOOO that is where I am currently stuck. I have tried literally everything I can think of at the moment been working on this ONE thing exclusively since 10pm last night, it is now 3pm. So awhile. I said fuck it and posted the issue to the lemmasoft forums aka the RenPy Creators forums, hopefully someone who is smarter than me can explain the issue and not just bitch at me about how sloppy the code is or whatever. But I thought I had a brilliant idea which turned out to not be so brilliant and just flopped so I am done messing with it for the night, I think I am just going to relax for the next 2 hours, idk watch some anime, just take a break in general and go to sleep and hope for a reply on the forum when I wake up.

On the brightside though the crashing issue is solved, so if I have to I can release this update almost just as is, while the items are not equipping properly all the other changes and stuff I made are there, and you could still do summons and shit and save up items for when the patch that fixes that is ready. But yea this is why I really wish I would have made this game in Unity there would have been so much less issues lol.


More Creators