Log in to create a new thread
Codename Entertainment Forums > Shards of Titan > General Discussion > Why are some people saying they received 3 reforge crystals when salvaging?...
| Page 1 2 Why are some people saying they received 3 reforge crystals when salvaging?...
| |
|
4 Posts |
Link to post
- Posted March 11th 2015 at 4:04 PM
Farflier2Unfortunately, your investigation is not yet complete. Many people did, in fact, occasionally receive 3 crystals from salvaging, myself included. Personally I received 3 rather frequently (almost half of the time, estimated). My first supposition, then, would be that this "random variance" was indeed being applied, but only under certain conditions. I neglected to take any screenshots during the event as I had assumed this was normal, and now have far less epics to salvage -- but I will be sure to take one and post it, should it come up again. I would be hesitant to make any absolute statements about these reports being mistaken without further scrutiny, and I would be hesitant to make absolute statements regarding program/script processes in general. I very much doubt every case scenario has been considered here.
That being said, allow me to clarify that I don't actually care about this in any fashion and am only posting a response now in an effort to aid the CNE development process, and at the request of fellow players. You may very well settle on it being an impossibility and it will probably not have any critical or lasting effects. Just know, for the future, that from a player perspective it is rather disheartening to observe a certain behavior in-game but then be told that this behavior is impossible, and from a developer perspective it comes across as rather naive. By the way, while I'm here, may I point out that the forum registration states that email will be used for "password recovery" yet there does not appear to actually be a recovery option. This is why I am posting as Farflier2, as I have forgotten my original account password (I am not much of a forum-goer). |
|
232 Posts |
Link to post
- Posted March 11th 2015 at 4:42 PM
AndahoLast Edited March 11th 2015 at 4:44 PM Thanks Farflier, for taking the time to register a new account and post, following our discussion in-game :)
Yes, I'm also beyond caring about the crystals, and can echo the disheartening statement :/ Also, thanks Aly for escalating the thread to David, and David for your, disheartening response - but still a response :) I feel like this attempt to prove that people have been getting 3 crystals, is like arguing that the dress is Bluey-violet and Brown! (or blue and black) :D http://gyazo.com/7833d0afaa3b50a90ffb40d92fb4e792 I might moan and rant a lot... But it often feels like that's the only way to get a meaningful reply :( As you can tell, I'm very passionate about the game; I really want to see it grow and succeed! (and maintain a fair playing-field). As a note: My dislike of the character balance changes, where I 'moaned and ranted' a lot, is still an issue that seems unresolved... even just an acknowledgement of the issues and to say they will be fixed in the near future would be appreciated. - The new high-score rankings really highlight how much extra damage rangers can deal (WAAAAAAY more than the intended 5% difference). |
|
886 Posts |
Link to post
- Posted March 11th 2015 at 4:47 PM
David Whittaker (CNE Dev)Hi Farflier,
Can you remember the last time you got 3? Before I posted I did do a quick search through the most recent play history days. We keep a full history of all actions taken in the game and the results. So I have a full history of all of your salvages each day. Doing a search on the last 7 days of data did not show anyone getting 3. Only 2. When it comes to code errors there are some you can look at and say that probably couldn't have happened, but knowing that in sufficiently complex systems there are often other paths or side effects that can lead to a different outcome know that it would be naive to claim it was impossible... and there are some where you can look at them and say that 100% never worked. This is one of those, but it also happens to be backed up by my history searches. -David |
|
886 Posts |
Link to post
- Posted March 11th 2015 at 4:48 PM
David Whittaker (CNE Dev)Oh almost forgot - I will bring up forum password recovery, with the developer responsible for the forums tomorrow!
|
|
232 Posts |
Link to post
- Posted March 11th 2015 at 4:53 PM
AndahoLast Edited March 11th 2015 at 4:55 PM Not knowing how quickly farflier might reply, I would assume that the last week of the event would be a good place to look (the week starting 23rd Feb)... It was towards the end of the event when I first heard of people getting 3 reforge crystals when salvaging the epic rings.
|
|
886 Posts |
Link to post
- Posted March 11th 2015 at 5:20 PM
David Whittaker (CNE Dev)Last Edited March 11th 2015 at 5:22 PM Hi Andaho,
Checking starting the 23rd and going forward a week, I see a ton of Epic items salvaged, all giving 2 reforge crystals. Not a single 3. Now I wouldn't usually do this, but the reason I am confident about this code side is: int level = properties.getInteger("level_requirement"); int rarity = properties.getInteger("rarity"); ArrayList // add all the salvage for (SalvageItemDef salvage : salvages) { Integer min = (Integer)Utils.GetLevelBucketedValue(salvage.getLevelBuckets(), level, "min"); Integer max = (Integer)Utils.GetLevelBucketedValue(salvage.getLevelBuckets(), level, "min"); int num = Utils.Random(min == null ? 0 : min, max == null ? 1 : max); if (num > 0) { result.put("" + salvage.getInventoryItemID(), num); } } which if you can understand the code, you can see why it wouldn't be possible for it to give 2 sometimes and 3 others... -David |
| Post by Farflier2 deleted March 11th 2015 at 6:55 PM | |
|
4 Posts |
Link to post
- Posted March 11th 2015 at 7:04 PM
Farflier2Last Edited March 11th 2015 at 7:45 PM Well, giving it a quick glance, it looks like both your min and max values are always equal, I reckon that's what you're talking about? It also looks like this is your own custom Utils class/extension so I'm not sure of what these methods are actually doing. The next thing that stands out to me would be that min and max are typecasted as Integer objects as well as declared as integer objects (assuming they are objects rather than primitives so that we can compare with null) -- I do not remember exactly, but might this in effect be creating a shallow copy of an Integer object? In which case I may suspect fishy behavior from comparing to null as you do in your ternaries. Of course, this may all be wrong. My java is several years rusty at this point, and I never did much with it to begin with.
On another note, it seems as if this is the process that determines quantity for ALL salvage rewards. Why, then, do the other items frequently vary in quantity? I'm sure everyone sees varying amounts of scrap, etc. on a daily basis. As for the history, you really keep full logs of every action taken by every player? Going how far back? I find this rather amazing, especially since I have been told on two occasions now that it would not be possible to restore certain lost items. If you do have these logs, I would first look at the entire Valentine event duration window. If that proves to be fruitless, I would look at how many total crystals I have received, less the crystals I have consumed, and see if that is equal to how many are currently in my inventory. Kudos for the engagement, by the way. I will likely not check back here unless prompted though, so if further discussion is desired please contact me in-game or through email. Cheers |
|
886 Posts |
Link to post
- Posted March 11th 2015 at 9:27 PM
David Whittaker (CNE Dev)Hi Farflier,
You are correct it is reading the same value into both min and max and then randomly selecting a number between them, which of course is always the the same. Looks like the developer here copy and pasted the line but missed a changing the parameter name. The controlling parameters are level, and rarity. The amount of scrap you get is bucketed in 5 level increments. So best I can tell players would be salvaging a range of item levels and raritys so it would appear as though the amounts were varying as you clicked through. But really you always received the same amount for a given level of item, and rarity. As for the history, we keep currently have logs all the way back to December, although we do eventually clear out the old tables. We keep them primarily for support, and have them in all our games - in Egg Breaker and Bush Whacker you can actually bring up your history in the game and see it as a player. We don't a player facing access in Shards yet. We track 17 different types of actions in the history including buy/sell, all inventory changes, enchants, salvages, mission starts, quest completes, etc. Unfortunately it while it will show me that you sold / salvaged an item for example, items are a combination of defaults, and unique properties. When an item is removed any unique properties are lost and not something we store in the history (maybe we should) but that means items cannot be restored. So I can see that you had say a sword, and you sold it, but I couldn't see what stats were on it or how enchanted it was etc. because those are unique properties of the item you had. As for the records around the event, as I replyed to Andaho above I didn't find any records with 3 being award, all the records I found were 2. -David |
|
232 Posts |
Link to post
- Posted March 12th 2015 at 9:26 AM
AndahoLast Edited March 12th 2015 at 9:26 AM Thanks for sharing a snippet of code... It's interesting to read and make sense of... but not necessary - If you say the logs show no sign of people getting 3 crystals in the last week of the event, then I believe you :)
It took a long time for me to believe the others saying that they had got 3... because I'm usually quite doubtful until I see it for myself. It was just when you guys confirmed that I should be getting 2 OR 3, that I believed it. I didn't doubt my own observations for a second, when I was certain that I always got 2 :D But to finally put this issue to rest, and settle it in Farflier's mind, is it possible to do as he suggested? "look at how many total crystals I have received, less the crystals I have consumed, and see if that is equal to how many are currently in my inventory." But either way... I'm happy to finally know I'm not going crazy, and that other people have probably been mistaken :P lol Thanks for taking the time to look in to it David :) |
|
Log in to reply to this thread! | |
Page 1 2