Ceveth Posted February 7, 2015 Share Posted February 7, 2015 I hatched two Pokemon generated from a template egg and when I viewed them in PKHeX these are their memories. Is this intended or did I do something incorrectly? Link to comment Share on other sites More sharing options...
evandixon Posted February 7, 2015 Share Posted February 7, 2015 It looks like you did everything correctly, that's definitely a bug in the code. Make sure you're using the latest version. I looked at the latest code, and either it will be fixed in the next release, or I'm missing something since I don't have any saves to test it with. Kaphotics, I think you're making it harder on yourself than you need to. Instead of setting the ComboBox display field and value fields, you can have PKHeX.Util.cbItem override ToString, returning cbItem.Text. That way, when you add it to a dropdown box, it will display whatever the ToString function returns. Link to comment Share on other sites More sharing options...
Ceveth Posted February 7, 2015 Author Share Posted February 7, 2015 I'm using the latest version & would be happy to send you my romsav, along with pointing out the template egg I used if you'd like. Link to comment Share on other sites More sharing options...
evandixon Posted February 7, 2015 Share Posted February 7, 2015 No thanks, I'm sure Kaphotics can fix it. In .Net, if you try to convert an object to text, and it doesn't know how, it will look like that. All he needs to do is tell it how. Link to comment Share on other sites More sharing options...
Ceveth Posted February 7, 2015 Author Share Posted February 7, 2015 Alright. Well is there a way to alter it on my end at least for now so it isn't appearing like this? Or should I go ahead and delete the eggs? Link to comment Share on other sites More sharing options...
Kaphotics Posted February 7, 2015 Share Posted February 7, 2015 Fixed in the latest commit, didn't cast it properly. I also improved the loading speed by reducing unneeded operations [TABLE=class: diff-table tab-size-8 file-diff-split, width: 1781] [TR] [TD=class: blob-code blob-code-deletion base, bgcolor: #FFECEC]- string a = arg.Text;[/TD] [TD=class: blob-num blob-num-addition head js-linkable-line-number, bgcolor: #DBFFDB, align: right][/TD] [TD=class: blob-code blob-code-addition head, bgcolor: #EAFFEA]+ string a = ((Util.cbItem)(arg.SelectedItem)).Text;[/TD] [/TR] [/TABLE] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now