Jump to content

Recommended Posts

Posted (edited)

if want zeny mode only defalut

but don't want show SelectArrow windows

how to fix this?

I think zeny mode only can't show SelectArrow windows :(

Edited by Napster
Posted (edited)

I am using 3ceam, I applied the 3ceam patch correctly but when I press the vending skill and the list shows up and when I choose one, it just stop nothing happens and there is no error on mapserver

Edited by Thanna
Posted

Got the same problem as Thanna, when using vending skill it only shows up the list and then nothing happens, after that you cant use the skill again, you need to warp or relog to use it again..

Posted

Thx, i'll fix it.

Updated 3CeAM patch. Now it works!

Updated to version 1.6!

Version 1.6:

  • Now you can turn on or turn off Extended Vending System ( see battle/items.conf )
  • Now, if your file item_vending.txt contains only 1 item the Select Window will be skipped

conf/items.conf

// Enable[1] or disable[0] extended vending system?

extended_vending: 1

Posted (edited)

Bug Report v1.6

Map Serv Crash

if Use skill Vending Map Server Crash

and Setting config

item_vending.txt file empty item_id & extended_vending: 1
case MC_VENDING:
 if(sd)
 {
  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 {
if(battle_config.extended_vending){
 struct item_data *item;
 char output[1024];
 int i,c;

 sd->vend_lvl = skilllv;

 for( c = 0, i = 0; i < MAX_INVENTORY; i ++ ) {
  if((item = itemdb_exists(item_vend[i].itemid)) != NULL)
   c++;
 }

 if(c > 1)
  clif_vend(sd,sd->vend_lvl);
 else {
  item = itemdb_exists(item_vend[0].itemid);
  sd->vend_loot = item->nameid;	------------------> core dump report error this line
  sprintf(output,msg_txt(706),itemdb_jname(sd->vend_loot));
  clif_displaymessage(sd->fd,output);
  clif_openvendingreq(sd,2+sd->vend_lvl);
 }

} else
  clif_openvendingreq(sd,2+skilllv);
  }
 }
 break;

And Bug can't Create Shop

// Specific items for Vending System
// Format: ItemID
// For Zeny use 30000, for Cashpoints use 30001
// Max items is equal MAX_INVENTORY ( 100 by default )

// Zeny
//30000
// CashPoints
30001      <------ Chose one item_id can't create shop vending
// TCG Card
//7227
// Mithril Coin
//674
// Silver Coin
//675
// Bronze Coin
//673

Pls Confirm again

Edited by Napster
Posted

Bug Report v1.6

Map Serv Crash

if Use skill Vending Map Server Crash

and Setting config

item_vending.txt file empty item_id & extended_vending: 1
case MC_VENDING:
 if(sd)
 {
  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 {
if(battle_config.extended_vending){
 struct item_data *item;
 char output[1024];
 int i,c;

 sd->vend_lvl = skilllv;

 for( c = 0, i = 0; i < MAX_INVENTORY; i ++ ) {
  if((item = itemdb_exists(item_vend[i].itemid)) != NULL)
   c++;
 }

 if(c > 1)
  clif_vend(sd,sd->vend_lvl);
 else {
  item = itemdb_exists(item_vend[0].itemid);
  sd->vend_loot = item->nameid;	------------------> core dump report error this line
  sprintf(output,msg_txt(706),itemdb_jname(sd->vend_loot));
  clif_displaymessage(sd->fd,output);
  clif_openvendingreq(sd,2+sd->vend_lvl);
 }

} else
  clif_openvendingreq(sd,2+skilllv);
  }
 }
 break;

Pls Confirm again

I dont think so, it is working fine on my 3ceam server, thanks Lilith :)

Posted (edited)

Bug Report v1.6

Map Serv Crash

// Specific items for Vending System
// Format: ItemID
// For Zeny use 30000, for Cashpoints use 30001
// Max items is equal MAX_INVENTORY ( 100 by default )

// Zeny
//30000
// CashPoints
30001	  <------ Chose one item_id can't create shop vending
// TCG Card
//7227
// Mithril Coin
//674
// Silver Coin
//675
// Bronze Coin
//673

Pls Confirm again

Do you have item with ID 30001 in your item_db.txt ? :)

30001,Cash,Cash,3,,10,10,,,,,,,,,,,,,{},{},{}

Of course, i forgot make fix if file item_vending.txt is empty.... ;)

Edited by Lilith
Posted (edited)

Bug Report v1.6

Map Serv Crash

// Specific items for Vending System
// Format: ItemID
// For Zeny use 30000, for Cashpoints use 30001
// Max items is equal MAX_INVENTORY ( 100 by default )

// Zeny
//30000
// CashPoints
30001	  <------ Chose one item_id can't create shop vending
// TCG Card
//7227
// Mithril Coin
//674
// Silver Coin
//675
// Bronze Coin
//673

Pls Confirm again

Do you have item with ID 30001 in your item_db.txt ? /no1

30001,Cash,Cash,3,,10,10,,,,,,,,,,,,,{},{},{}

Of course, i forgot make fix if file item_vending.txt is empty.... :)

I have item_id all

but chose any one in item_vending.txt (select 1 mode for use) can't build shop

if remove // item_id all list in item_vending.txt

you can build shop

Of course, i forgot make fix if file item_vending.txt is empty.... :)

I think file item_vending.txt is empty bypass --> zenymode default

Edited by Napster
Posted (edited)

Would it be okay if i try to remove "LOG_TYPE_VENDING"

pc_additem(vsd,item,(int)z, LOG_TYPE_VENDING);
}
pc_delitem(sd,pc_search_inventory(sd, vsd->vend_loot),(int)z,0,6, LOG_TYPE_VENDING);

Im trying to run this with eA.

Edited by quesoph
Posted (edited)

i manage to compile this without error. but damn i cant get it to work with eA. haha.

*edit

nvm. i managed to make it work. :D

Edited by quesoph

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...