-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add stash support feature #4885
base: master
Are you sure you want to change the base?
Conversation
lack of update for db schema example for logs and new line from your code if (!player) {
//std::cout << "Error: Player not found for ID: " << playerId << std::endl;
return;
} // << LACK OF NEW LINE THERE
if (!player->isPremium()) {
//std::cout << "Error: Player does not have a premium account." << std::endl;
player->sendCancelMessage(RETURNVALUE_YOUNEEDPREMIUMACCOUNT);
return;
} |
I don't know the protocols and parse/send functions they use for it. But should be easy to tackle. It works with otcv8 with source edits. |
So you implemented it but it doesnt work with either the cip client or otclient? |
Thank you for your comment! Let me clarify:
As this is a work-in-progress feature, the intention is to establish the groundwork for a stash system and invite collaboration to fully implement and refine it. Contributions to make it fully functional (especially for client-side integration) are very welcome! Let’s work together to make this feature robust and compatible for all users. |
Windows build is not working
Errors
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, fix windows build.
Pull Request Prelude
Changes Proposed
This pull request introduces initial source code changes to establish the base for a new "stash" system in The Forgotten Server. The stash system aims to provide players with a dedicated storage feature for better inventory organization and long-term item management.
Current Status
The current implementation focuses on laying the groundwork in the source code. It is not yet fully functional or integrated into the game mechanics. This pull request is being shared to invite collaboration from the community to:
Key Changes in the Source Code
player.cpp
,luascript.cpp
, etc.) to support the concept of stashing items.Issues Addressed
This pull request does not address a specific issue but is an effort to introduce a new feature collaboratively.
How to Test
Call for Collaboration
I am seeking feedback and contributions from the community to complete this feature. Specifically, help is welcome for:
Let’s build this feature together!