Hello, is there a way to call searchstore_query after calling searchstore_open in 'searchstores'' script commands? I'm trying to add it.
searchstore_query(struct map_session_data* sd, unsigned char type, unsigned int min_price, unsigned int max_price, const struct PACKET_CZ_SEARCH_STORE_INFO_item* itemlist, unsigned int item_count, const struct PACKET_CZ_SEARCH_STORE_INFO_item* cardlist, unsigned int card_count)
Im kinda lost here, where does the server transforms the text to the "itemlist", is it here or in clif.cpp? also, does it only accept packet and not texts? is there a way to call this function with "script_getstr" for the item name?
Question
Tomahawk
Hello, is there a way to call searchstore_query after calling searchstore_open in 'searchstores'' script commands? I'm trying to add it.
searchstore_query(struct map_session_data* sd, unsigned char type, unsigned int min_price, unsigned int max_price, const struct PACKET_CZ_SEARCH_STORE_INFO_item* itemlist, unsigned int item_count, const struct PACKET_CZ_SEARCH_STORE_INFO_item* cardlist, unsigned int card_count)
Im kinda lost here, where does the server transforms the text to the "itemlist", is it here or in clif.cpp? also, does it only accept packet and not texts? is there a way to call this function with "script_getstr" for the item name?
Link to comment
Share on other sites
0 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.