Skip to content
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

Player´s vendors system (help) #5

Closed
Tolokio opened this issue Sep 14, 2016 · 0 comments
Closed

Player´s vendors system (help) #5

Tolokio opened this issue Sep 14, 2016 · 0 comments

Comments

@Tolokio
Copy link
Contributor

Tolokio commented Sep 14, 2016

This is not an issue. Sorry if its not the best place to put it.

Hi.

Adding 4 lines to the source. I have been able to use normal vendor system in players custom vendors. So a player vendor and a server´s vendor will use same old trade menu.

What this code really do is to overwritte the item value so custom values can be displayed on vendors dialog. This happens just when u add <tag.customvalue> to any item a vendor have or will have on stock layer.
Rest of the system is done by .scp Its quite einfach to do.

Now I got 2 vendors system. The normal and this new one, and I have to decide which one should I use.

The thing is, I am a little bit afraid. Why nobody did this before?
Is there any sustancial Lack that I´m not able to see??

THe only lack I see is that players should not be able to sell containers because clients will no be able to open it from vendors menu.
But It also give me features I was looking for, for example. I can give 2 or 3 items to a normal vendor in Cove so he will sell it for me in exchange of a % of the value I told him to sell at.

So, What do u think?
1)Is there any good reason to not use this system?
2)Do you have any idea about how to fix or surround the Container´s lack without modding client?

@Tolokio Tolokio closed this as completed Sep 16, 2016
cbnolok added a commit that referenced this issue Mar 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant