Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fixing humanoids and undead being pickpocketable when they shouldnt be#2729

Open
Simp-N wants to merge 1 commit intovmangos:development from
Simp-N:test-branch
Open

fixing humanoids and undead being pickpocketable when they shouldnt be #2729
Simp-N wants to merge 1 commit intovmangos:development from
Simp-N:test-branch

Conversation

@Simp-N
Copy link

@Simp-N Simp-N commented Aug 25, 2024

🍰 Pullrequest

This will change so that all humanoids and undead are no longer pickpocketable, only the ones that should be (as in, those that have a corresponding entry in pickpocketing_loot_template). This is done by removing the check for creature type, which appears to have been errantly written so pickpocket was succesful if the type was correct but even if the creature didnt have a pickpocket loot table.

Issues

All humans and undead are pickpocketable, even if they shouldn't be #2728

How2Test

To test pick pocket you can log in on GM account and do .learn 921 and .learn 1787 and then do .go cr "creature name" to teleport to the creature you want to check.

Here are a few examples of creatures that have no pickpocket-entry but are still pickpocketable currently: Ice Thistle Yeti, Ragged Owlbeast, Hungering Wraith, Wailing Death. The SQL query SELECT * FROM pickpocketing_loot_template WHERE entry IN (7458, 7450, 1802, 1804) will give no results, meaning they shouldn't be pickpocketable, but if you try it ingame they actually are.

If you want more examples of humanoids and undead with no pickpocket-entry you could try this SQL query: SELECT entry, name FROM creature_template WHERE type IN (6,7) AND NOT EXISTS (SELECT * FROM pickpocketing_loot_template AS pplt WHERE pplt.entry = creature_template.entry)

FlagFlayer reacted with thumbs up emoji AnonXS reacted with eyes emoji
@0blu 0blu added the CPP A issue / PR which references CPP code label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

CPP A issue / PR which references CPP code

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /