-
Notifications
You must be signed in to change notification settings - Fork 145
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:SendListInventory does not fire #109
Comments
I expect this to fire an error, since you're passing 2 arguments for a method, which expects only one. |
yeah but if u look in the playermethods.h at that function it is different and according to that i coded my part here u see the function out of the playermethods.h from mod-eluna:
|
since the way i understand it is that it takes the creature/object which we are talking to (so obj->GET_GUID()) and then state the vendor entry which we want to send to player (so the vendorId) plus... i get no error at all! u can try it yourself with that codesnippet of mine if u want to npc id which i talk to has 600001 and according to that lua hook it should be creature/object (so which we are talking to) and the vendor entry of some other npc we want to show ^^ acore version btw is from 25th of march. eluna mod i also updated with the core of course |
See #48 for an example and what table to pick numbers from. Also we need to add the param vendorId to the doxygen, which was added in PR 48. |
Yeah from code it looks quite the same like on noisiver from what i see ^^ Ah kk I see I see =) |
Since noisiver got it working, i am not sure what is missing. Did you try a custom vendor id? Try one from the core? |
yep i took a custom created vendor with the id 500059 and 500058 |
OMFG... I was just an idiot! From script all was fine... |
I'm glad you solved it! |
want to do a multi vendor script via eluna... so wanted to use the player:SendListInventory function but nothing happens at all.
extra checked the function in PlayerMethods.h to see if it is able to call the vendor directly via entry and was like... yes it is able to...
and then nothing happens on triggering it via lua =(
here a snippet of my code e.g.:
would be really nice if somebody could look over that issue! =D
thx in advance! ^.^
The text was updated successfully, but these errors were encountered: