Author Topic: [Bug v1.04] Loading Character with Lightningwand equipped crash  (Read 3458 times)

peewee_RotA

  • Sr. Member
  • Posts: 272
  • Karma: +8/-0
    • View Profile
[Bug v1.04] Loading Character with Lightningwand equipped crash
« on: January 17, 2014, 07:53:53 AM »
I saved a character with the lightning wand in hand. Upon load it attempted to harm the character, but found that data wasn't yet loaded.


I grabbed the source from github and created a patch. I'll try to attach the changed files here.


On that note, would you like any help? :)
« Last Edit: January 17, 2014, 09:16:09 AM by peewee_RotA »

peewee_RotA

  • Sr. Member
  • Posts: 272
  • Karma: +8/-0
    • View Profile
Re: Loading Character with Lightningwand equipped crash
« Reply #1 on: January 17, 2014, 07:57:49 AM »
I don't have the ability to attach the file. Probably because it's a zip or something.


Anyway, here are the 2 source files:
https://drive.google.com/file/d/0B53xwpRlaEsdWC1CeTRlWk1UX0U/edit?usp=sharing

I made the InventoryRestoreEquippedEffects provide a "playerLoading" value to the InventoryDoEffect. To shelter other calls to the same function, it actually calls an "overload" called InventoryDoEffect_Load instead.

LysleShields

  • Administrator
  • Full Member
  • Posts: 208
  • Karma: +6/-1
  • Is the potion half full or half empty?
    • View Profile
    • Amulets & Armor
Re: [Bug v1.04] Loading Character with Lightningwand equipped crash
« Reply #2 on: January 17, 2014, 06:03:57 PM »
Thanks.  I appreciate the help and don't have a problem with future help.  I don't have a problem with the idea of opening up branches on GitHub.

I'll download your files and take a look.