-
Notifications
You must be signed in to change notification settings - Fork 772
Closed
Labels
component:core:scriptengineAffecting the script engine or the script commandsAffecting the script engine or the script commandscomponent:scriptsAffecting the scripts and NPCsAffecting the scripts and NPCsseverity:5-criticalCrashes, security issues and exploitsCrashes, security issues and exploitsstatus:confirmedIssue is valid and can be reproducedIssue is valid and can be reproducedtype:bugIssue is a bug or describes an incorrect behavior that should be fixedIssue is a bug or describes an incorrect behavior that should be fixed
Milestone
Description
Describe the bug
If you manage to get to the part of code
if(.@failchance < 10) {
next;
failedremovecards .@part,3;
mes "[Card Remover]";
mes "I have failed to remove the cards. Luckily, however, both the item and the cards are still okay.";
close;
}
While it won't break any item or card. it would read the current equipment as "no card" while there is still a card inside it. so you won't be able to remove the card permanently. what's worse is that you CAN ADD 1 MORE CARD. making it 2 Slot ...
To Reproduce
Steps to reproduce the behavior:
- Enable the npc
- just remove item until you get that message it fail but no item were destroy
- try adding cards or even try again talking to the npc and she will say that it doesnt have any card in it.
- See error
Expected behavior
It should leave the failed attempt as normal items with compounded card.
System specs (please complete the following information):
- OS: centos 6
- Hercules Version [Release v2019.05.05+3]
- Mode: [pre-renewal?]
- Packet version: 2018-04-18bRagexeRE
- Client type: RE
Plugins used or source modifications
If you are using any plugins besides the ones that come bundled with Hercules,
please enumerate them here.
Additional context
There is no warning/error message when this happens
Metadata
Metadata
Assignees
Labels
component:core:scriptengineAffecting the script engine or the script commandsAffecting the script engine or the script commandscomponent:scriptsAffecting the scripts and NPCsAffecting the scripts and NPCsseverity:5-criticalCrashes, security issues and exploitsCrashes, security issues and exploitsstatus:confirmedIssue is valid and can be reproducedIssue is valid and can be reproducedtype:bugIssue is a bug or describes an incorrect behavior that should be fixedIssue is a bug or describes an incorrect behavior that should be fixed
