Users browsing this thread: 1 Guest(s)
Changing a characters equip ID?

#4
Posts: 149
Threads: 21
Thanks Received: 40
Thanks Given: 3
Joined: Dec 2013
Reputation: 9
Status
Auto-life
Quote:I just replaced a bunch of those with EA and now guests can equip anything.

Yes, they equip almost everything because the equipment bytes loaded from beyond the C3/9C67 table generally has more than one bit set. The code expected only one bit by character, but multiple bits are found instead. The guest can equip the sum of all equipment which bit is set, one bit by character. Multiple bits allows to equip the equipment of multiple characters.

Specifically for Leo, his character ID is 15 and he uses the merit award flag as its equipment flag. If you don't care about the symbiotic relationship between the merit award effect and Leo, you only need to restrict the access to equipment menu for the default characters and Leo only. The merit award flag will determine Leo's available equipment and the merit award equipment.

As a note, Banon ID is 14 and his equipment flag is the imp equipment flag. Because of its special effect, the items he can equip are only imp equipments and they are only useful with the imp status. For the other guests equal or beyond the ID 0f 16, the code won't work correctly and it loads garbage for the guests equipment bits.
  Find
Quote  



Messages In This Thread
Changing a characters equip ID? - by Scorcher - 08-09-2014, 10:32 AM
RE: Changing a characters equip ID? - by HatZen08 - 08-10-2014, 09:06 AM
RE: Changing a characters equip ID? - by Scorcher - 08-10-2014, 12:21 PM
RE: Changing a characters equip ID? - by HatZen08 - 08-10-2014, 05:40 PM
RE: Changing a characters equip ID? - by Scorcher - 08-10-2014, 05:51 PM
RE: Changing a characters equip ID? - by Scorcher - 08-10-2014, 06:33 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite