change the aegis name.. just add C_ or any letter you want.. for exampleGuys,
when i'm trying to use the Zeny and Cash for vending
the vend says " Sales carrie out : Zeny
when i try to buy it says
"you don't have enough items
but i have zeny in my char
i'm using item_db2 on sql
'30000', 'Zeny', 'Zeny', '3', '0', '10', '10', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', NULL, NULL, NULL
'30001', 'Cash', 'Cash', '3', '0', '10', '10', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', NULL, NULL, NULL
map server says
Conflicting item/script var 'Zeny', prioritising the script var
30000,C_Zeny,Zeny,3,0,10,10,...........30001,C_Cash,Cash,3,0,10,10,.........
the error from map server gonechange the aegis name.. just add C_ or any letter you want.. for exampleGuys,
when i'm trying to use the Zeny and Cash for vending
the vend says " Sales carrie out : Zeny
when i try to buy it says
"you don't have enough items
but i have zeny in my char
i'm using item_db2 on sql
'30000', 'Zeny', 'Zeny', '3', '0', '10', '10', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', NULL, NULL, NULL
'30001', 'Cash', 'Cash', '3', '0', '10', '10', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', NULL, NULL, NULL
map server says
Conflicting item/script var 'Zeny', prioritising the script var
30000,C_Zeny,Zeny,3,0,10,10,...........30001,C_Cash,Cash,3,0,10,10,.........
+ { + if ( !pc->can_give_items(sd) ) //Prevent vending of GMs with unnecessary Level to trade/drop. [Skotlex]+ clif->skill_fail(sd,MC_VENDING,USESKILL_FAIL_LEVEL,0);+ else { // Extended Vending system [Lilith]+ if(battle_config.extended_vending){+ struct item_data *item;+ char output[1024];+ int c = 0, i, d = 0;+ + sd->vend_lvl = (int)skill_lv;+ if(battle_config.item_zeny)+ d++;+ if(battle_config.item_cash)+ d++;+ for( c = d, i = 0; i < ARRAYLENGTH(item_vend); i ++ ) {+ if((item = itemdb->exists(item_vend[i].itemid)) != NULL && + item->nameid != ITEMID_ZENY && item->nameid != ITEMID_CASH)+ c++;+ }+ + if(c > 1){+ clif->vend(sd,sd->vend_lvl);+ }+ else { + sd->state.prevend = 1;+ if(c) {+ item = itemdb->exists(battle_config.item_zeny?battle_config.item_zeny:battle_config.item_cash?battle_config.item_cash:item_vend[0].itemid);+ sd->vend_loot = item->nameid;+ sprintf(output,"Current Currency: %s",itemdb_jname(sd->vend_loot));+ clif->vendmessage(sd,output,VEND_COLOR);+ clif->openvendingreq(sd,2+sd->vend_lvl);+ } else {+ sd->vend_loot = 0;+ clif->openvendingreq(sd,2+sd->vend_lvl);+ }+ }+ } else {+ sd->vend_loot = 0;+ sd->state.prevend = 1;+ clif->openvendingreq(sd,2+skill_lv);+ }
+1Hope someone code this on HPM so we don't need to touch the source.
We use essential cookies to make this site work, and optional cookies to enhance your experience.