Jump to content

Extended Vending System [1.8]


Lilith

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

manabeast

Added patch for 3CeAM!

Also far as I know, this system is added to eAmod...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   1
  • Joined:  03/24/12
  • Last Seen:  

Nevermind my post about adding the patch manually. I've already found out how xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

I'm sorry ilith, i have problem on patch i put the screen shot and my scr file in this vending pls check. and for your patch is for txt or sql? my server sql @@?

all file i zip it up for simple view.

http://www.mediafire.com/?pnd2o29rauiyqma

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

manabeast, sorry, but i looked at your source and i realized that your server is not 3CeAM =

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  7
  • Reputation:   0
  • Joined:  12/03/11
  • Last Seen:  

Yeaaah :3!

Te amo ~ *-*

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

: ( my server is buy one. because i dunno anything about source... any idea how to make this work? about all the patch fild i send you look?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

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..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  04/06/12
  • Last Seen:  

i dont know how do i patch ExtendedVendingSystem_1.6.patch this file can any one tel me short a qucik guide

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

I'll try it again thx for the quick reply

Edited by Thanna
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

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 :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  299
  • Reputation:   5
  • Joined:  04/05/12
  • Last Seen:  

Help im having a sprite error...

in zeny and cash

when im click the vending

PROBLEM SOLVE

Edited by Jhosef
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  299
  • Reputation:   5
  • Joined:  04/05/12
  • Last Seen:  

why this release on svn 15857 is not working??

i already patch it properly ??

no error s

Edited by Jhosef
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

its support for

SVN r15087M?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

i think latest eA shoud have that, unless you have an older version?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

@judas

I'm using the latest version. :D

they don't have " e_log_pick_type ".

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

oh then, are you following the 3ceam patch then, it should work if you remove it then

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

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
Link to comment
Share on other sites

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.

×
×
  • Create New...