• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Removed character class retains equipment

BoomerET

Well-known member
In my Castles&Crusades plugin, let's say you create a Fighter, and give him some plate mail.

Then, you decide that you don't want to create a Fighter, but a wizard, so you make the change.

You don't see the Plate mail in the inventory, but it's still there if you change the character back to a Fighter.

Odd, what on earth have I done.
 
How does the plate mail get onto the character?

Is that on a table that's exclusive to the fighter? Are there tags that would prevent it from being shown in the inventory?
 
Odd, I can't duplicate it now, but have found other things (such as double negative displaying).

Nothing to see here.

Thanks Mathias, sorry to waste your time.
 
I did have another question though. I saw one ruleset update that said files being deleted. (Not my ruleset, it was an official set)

How did they do that. When I unchecked files, it just says they're not being updated.
 
Leave them in as a 0 byte (completely empty) file - when building the .hl file, HL will note that, and include that as an instruction to delete the file.
 
Thanks!!

Now on to my next problem. If a user selects an incorrect armor, the weapon tab is highlighted in red.

If they choose an illegal weapon, the weapon tab is highlighted as it should be.

What have I done this time?
 
This is controlled either by the panel linkage on your components or by the eval rule/prereq that's currently invalid.
 
I removed all the text from a file, and all properties say it's 0-byte.

I get the following error:
Document does not possess a valid structure.

So, I removed the file completely.
Tried the command:
fsutil file createnew thing_myfile.dat

Still getting the same document does not contain a valid structure.

Thanks!
 
Build passes, and it shows the file to be deleted. But won't build until the files are actually removed.

Strange.
 
Back
Top