PewN Posted March 21, 2013 Posted March 21, 2013 is this possible ? cuz on groups.confcan_trade: falseyou can't trade / you can't drop / you can't vend / you can't mailhow about you can't sell items? Quote
Lemongrass Posted March 21, 2013 Posted March 21, 2013 db/re/item_trade.txt //8:Item can't be sold to npcs 1 Quote
Cydh Posted March 21, 2013 Posted March 21, 2013 possible I saw some people try to extract every part of @security. LOL Quote
PewN Posted March 21, 2013 Author Posted March 21, 2013 possible I saw some people try to extract every part of @security. LOL ahahaha. but i will not use in on @security db/re/item_trade.txt //8:Item can't be sold to npcs not that Quote
Emistry Posted March 22, 2013 Posted March 22, 2013 you mean something like this ? if( !pc_has_permission( sd, PC_PERM_TRADE ) ){ clif_displaymessage( fd,"You dont have permission to sell items" ); return; } i am using 17049 ~ i think might have abit different in line numbers.. but it's inside the /// Presents list of items, that can be sold to an NPC shop (ZC_PC_SELL_ITEMLIST). /// 00c7 <packet len>.W { <index>.W <price>.L <overcharge price>.L }* void clif_selllist(struct map_session_data *sd) i am not really good in src stuff...perhap other can help you to enhance it or fix bug... the current bug is that....the player will be unable to move.. LOL..xD Quote
PewN Posted March 26, 2013 Author Posted March 26, 2013 you mean something like this ? if( !pc_has_permission( sd, PC_PERM_TRADE ) ){ clif_displaymessage( fd,"You dont have permission to sell items" ); return; } i am using 17049 ~ i think might have abit different in line numbers.. but it's inside the /// Presents list of items, that can be sold to an NPC shop (ZC_PC_SELL_ITEMLIST). /// 00c7 <packet len>.W { <index>.W <price>.L <overcharge price>.L }* void clif_selllist(struct map_session_data *sd) i am not really good in src stuff...perhap other can help you to enhance it or fix bug... the current bug is that....the player will be unable to move.. LOL..xD i figure it out now thanks for this now i can move Quote
Question
PewN
is this possible ? cuz on
groups.conf
can_trade: false
you can't trade / you can't drop / you can't vend / you can't mail
how about you can't sell items?
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.