Errors fixed while compiling:
Script.cpp
clif_showvendingboard( &nd->bl, buf, 0 );
Change to:
clif_showvendingboard( &nd->bl, (const char*)buf, 0 );
Vendings.cpp
if( nd_sd->subtype == CASHSHOP ) //Act as if it was clicked
npc_click( sd, nd_sd );
if( nd_sd->subtype == SHOP ) //Open Buy-Windows directly
npc_buysellsel( sd, nd_sd->bl.id, 0 );
if( nd_sd->subtype == SCRIPT ) { //Trigger OnVendingClick event
Change to:
if( nd_sd->subtype == NPCTYPE_CASHSHOP ) //Act as if it was clicked
npc_click( sd, nd_sd );
if( nd_sd->subtype == NPCTYPE_SHOP ) //Open Buy-Windows directly
npc_buysellsel( sd, nd_sd->bl.id, 0 );
if( nd_sd->subtype == NPCTYPE_SCRIPT ) { //Trigger OnVendingClick event