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

sellitem2 crashes map server #30

Open
bWolfie opened this issue Jun 28, 2017 · 2 comments
Open

sellitem2 crashes map server #30

bWolfie opened this issue Jun 28, 2017 · 2 comments

Comments

@bWolfie
Copy link

bWolfie commented Jun 28, 2017

I added sellitem2 plugin and it seems my map server crashes because of it.
[Error]: Memory manager: freed-data is changed. (freed in script.c line 20745)
this is the line where sellitem buildin exists.

@dastgirp
Copy link
Owner

sellitem and sellitem2 can't be mixed as of now, if you have some npc, try using either only sellitem or sellitem2

@bWolfie
Copy link
Author

bWolfie commented Jun 28, 2017

I assume I use it in a trader like such?

prontera,150,150,3 trader Trader_Guy CLEAR_NPC,{

OnInit:
tradertype(NST_ZENY);
sellitem2(Red_Potion, .....);
end;

}

Cause this is the setup I had, and no one was online the server at the time. I just noticed the map server had crashed referencing sellitem().

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

2 participants