I really got confused on adding patch manually; we take for example; this patch Index: src/map/clif.c =================================================================== --- src/map/clif.c (revision 16809) +++ src/map/clif.c (working copy) @@ -17032,6 +17032,79 @@ return 0; } + /*========================================== + * Custom vending list (script based) + *------------------------------------------*/ +int clif_vending_script(struct map_session_data* sd, struct npc_data* nd) +{ + i