Fix: Remove Sanitize on Script Condition#47
Fix: Remove Sanitize on Script Condition#47AngeloTadeucci merged 1 commit intoMS2Community:masterfrom
Conversation
WalkthroughThis update increments the package version in the project file and modifies the XML parsing logic. The sanitization call is removed from two parsing methods in the ServerTableParser class, while integer fields in the QuestScriptCondition class are now explicitly initialized to -1. These revisions refine initial values and streamline the XML data retrieval process without altering overall behavior. Changes
Sequence Diagram(s)sequenceDiagram
participant Parser as ServerTableParser
participant XR as xmlReader
participant DR as Deserializer
Parser->>XR: GetEntry("table/Server/npcScriptCondition_Final.xml")
XR-->>Parser: entry
Parser->>XR: GetString(entry)
XR-->>Parser: xmlData
Parser->>DR: Deserialize(xmlData)
DR-->>Parser: Parsed Condition Object
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used🧬 Code Definitions (1)Maple2.File.Parser/ServerTableParser.cs (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (5)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
Chores
Bug Fixes