Page 1 of 1
No Orb of Scrying on birth
Posted: Sat Jul 09, 2011 2:03 am
by Noel
Starting at svn r3804 (adding moddable tiles to Birther), the Orb of Scrying is no longer in inventory at birth.
Re: No Orb of Scrying on birth
Posted: Sat Jul 09, 2011 2:25 pm
by Final Master
What exactly did you edit for one?
And, are you trying to play an undead or yeek? If so, they don't get the orb anyway.
Re: No Orb of Scrying on birth
Posted: Sat Jul 09, 2011 3:33 pm
by Noel
Problem appears with Halfling Fighter -- haven't tried with any other race or class yet.
When I updated my SVN to the latest version (r3822) and started a new character, it didn't have the Orb of Scrying. I bisected
back through the SVN versions to find out where the behavior changed. In r3803, the Orb is in inventory at birth. In r3804, the Orb is not in inventory.
I thought it might have something to do with the new code in tome/dialogs/Birther.lua on line 54, where only objects with a rarity are copied into obj_list_by_name, and the Orb of Scrying doesn't have a rarity (in quest-artifacts.lua). I tried both adding a rarity to the Orb and hard-coding Birther.lua to make sure the Orb would be in obj_list_by_name. Neither of those worked.
Now I'm guessing it might have something to do with the "self.actor.inven = {}" in fakeEquip, but I haven't tried any changes on that yet.
If it makes any difference, I'm compiling and running on Ubuntu 10.10 (Lucid Lynx).
Re: No Orb of Scrying on birth
Posted: Sat Jul 09, 2011 5:44 pm
by darkgod
Yeah I'm investigating this thing too

Re: No Orb of Scrying on birth
Posted: Mon Jul 11, 2011 3:49 am
by Noel
Just grabbed svn r3823. Cloning the player for generating the birth display is an excellent solution. Thanks, DarkGod!
Now, back to wonderful time-wasting!
Re: No Orb of Scrying on birth
Posted: Mon Jul 11, 2011 7:00 am
by darkgod