Permission 'bag's hiding charm slot?
Whenever you set...
'bags' => 1,
it also hides your charm slot.. I tried to dig through and find out why but I could not find out why.. :(
Any ideas?
Fri Feb 07, 2014 4:40 am
That's pretty wierd... No idea off the top of my head. Ill have to look through it.
Fri Feb 07, 2014 7:57 am
Project Lead
No but it looks like you have bags turned on.. when you turn bags off it hides the Charm slot its odd
Fri Feb 07, 2014 7:34 pm
You thinking the charm is getting set as type INVENTORY? I may have a chance to sit down with it tomorrow and see whats going on after I get the /target problem fixed in the PEQ MQ build.
Fri Feb 07, 2014 10:39 pm
Project Lead
php
Okay, this is what's happening. The slot for the charm is 0, so switch ($this->myslot) is of course seeing what this value should be (a zero of course).
case ($this->myslot >= 0 && $this->myslot <= 21 || $this->myslot == 9999): evaluates to a true
and
case ($this->myslot >= 22 && $this->myslot <= 29): evaluates to false
So we get this:
php
Since the switch is comparing a 0, it compares the first case as (true == 0) and we get an evaluation of false. Then it checks the next case (false == 0) which evaluates to true and the charm gets set as a 2 which is the bag type.
Sun Feb 09, 2014 3:03 pm
Project Lead
any suggestions? I'm thinking it might make the most sense to just change it to big if statement.
Sun Feb 09, 2014 3:09 pm
Project Lead
oh, duh, change line 80 from:
to
haven't tested a bunch but that should work
php
to
php
haven't tested a bunch but that should work
Sun Feb 09, 2014 3:23 pm
Project Lead