Jump to content
quesoph

Extended Vending System UPDATED rev14395! by Lilith

Recommended Posts

@boss judas, im using VNCviewer , Linux CentOS. do you know how i can apply this patch or somehow update my revision to latest then apply the extended vending system patch?.

tnx in advance.

Share this post


Link to post
Share on other sites

Guys,

 

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
 

Edited by rmon08

Share this post


Link to post
Share on other sites

Guys,

 

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

 

 

change the aegis name.. just add C_ or any letter you want.. for example

 

 

30000,C_Zeny,Zeny,3,0,10,10,...........30001,C_Cash,Cash,3,0,10,10,.........

Share this post


Link to post
Share on other sites

 

Guys,

 

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

 

 

change the aegis name.. just add C_ or any letter you want.. for example

 

 

30000,C_Zeny,Zeny,3,0,10,10,...........30001,C_Cash,Cash,3,0,10,10,.........

 

the error from map server gone

( Conflicting item/script var 'Zeny', prioritising the script var )

 

but still i cant buy on the vend which use zeny

still says

 

the vend says " Sales carrie out : Zeny

 

when i try to buy it says

"you don't have enough items

Share this post


Link to post
Share on other sites

my client is crashing too, im using 2013-08-14aRagexe

 

using this this diffs

 

<?xml version="1.0"?><DiffProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">  <Name>Last Patches</Name>  <Entries>    <DiffProfileEntry>      <PatchID>88</PatchID>      <PatchName>Allow space in guild name</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>7</PatchID>      <PatchName>Change Gravity Error Handler</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>8</PatchID>      <PatchName>Custom Window Title</PatchName>      <Inputs>        <DiffProfileInput>          <name>customWindowTitle</name>          <value>Majestic Ragnarok Online</value>        </DiffProfileInput>      </Inputs>    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>13</PatchID>      <PatchName>Disable Ragexe Filename Check</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>14</PatchID>      <PatchName>Disable Hallucination Wavy Screen</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>15</PatchID>      <PatchName>Disable HShield</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>61</PatchID>      <PatchName>Disable Packet Encryption</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>16</PatchID>      <PatchName>Disable Swear Filter</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>68</PatchID>      <PatchName>Enable 64k Hairstyle</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>77</PatchID>      <PatchName>Enable Custom 3D Bones</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>90</PatchID>      <PatchName>EnableDNSSupport</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>49</PatchID>      <PatchName>Enable Multiple GRFs</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>17</PatchID>      <PatchName>Enable Official Custom Fonts</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>19</PatchID>      <PatchName>Enable Title Bar Menu</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>76</PatchID>      <PatchName>Enforce Official Login Background</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>20</PatchID>      <PatchName>Extended Chat Box</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>21</PatchID>      <PatchName>Extended Chat Room Box</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>69</PatchID>      <PatchName>ExtendNpcBox</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>22</PatchID>      <PatchName>Extended PM Box</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>64</PatchID>      <PatchName>@ Bug Fix (Recommended)</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>71</PatchID>      <PatchName>Ignore Missing File Error</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>72</PatchID>      <PatchName>Ignore Missing Palette Error</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>28</PatchID>      <PatchName>Increase Headgear ViewID to 5000</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>30</PatchID>      <PatchName>Increase Zoom Out 50%</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>33</PatchID>      <PatchName>KOREA ServiceType XML Fix</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>86</PatchID>      <PatchName>Only First Login Background</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>67</PatchID>      <PatchName>Disable Quake skill effect</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>35</PatchID>      <PatchName>Read Data Folder First</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>36</PatchID>      <PatchName>Read msgstringtable.txt</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>96</PatchID>      <PatchName>Remove GM Sprites</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>38</PatchID>      <PatchName>Remove Gravity Ads</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>39</PatchID>      <PatchName>Remove Gravity Logo</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>84</PatchID>      <PatchName>Remove Serial Display</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>41</PatchID>      <PatchName>Disable Nagle Algorithm</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>50</PatchID>      <PatchName>Skip License Screen</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>95</PatchID>      <PatchName>Use SSO Login Packet</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>44</PatchID>      <PatchName>Translate Client In English</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>51</PatchID>      <PatchName>Ascii & Arial on All Langtypes</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>45</PatchID>      <PatchName>Use Custom Aura Sprites</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>46</PatchID>      <PatchName>Use Normal Guild Brackets</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>47</PatchID>      <PatchName>Use Ragnarok Icon</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>54</PatchID>      <PatchName>eXtract MsgStringTable.txt</PatchName>      <Inputs />    </DiffProfileEntry>    <DiffProfileEntry>      <PatchID>62</PatchID>      <PatchName>eXtract txt file strings</PatchName>      <Inputs />    </DiffProfileEntry>  </Entries></DiffProfile>

 

what are the recomended client in this one? or do i have to change somethings in packets? 

Edited by frotek

Share this post


Link to post
Share on other sites

Does not work on SVN 13717

 

here is the stack dump

 

 

Program received signal SIGSEGV, Segmentation fault.0x00000000 in ?? ()(gdb) bt full#0  0x00000000 in ?? ()No symbol table info available.#1  0x081dd4d8 in skill_castend_nodamage_id (src=0x9acd4c8, bl=0x9acd4c8,    skill_id=41, skill_lv=10, tick=1506333589, flag=0) at skill.c:6313        sd = 0x9acd4c8        dstsd = 0x9acd4c8        md = 0x0        dstmd = 0x0        hd = 0x0        mer = 0x0        sstatus = 0x9acd788        tstatus = 0x9acd788        tsc = 0x9acd7d8        tsce = 0x0        element = 162321608        type = SC_NONE        scs = {SC_QUAGMIRE, SC_PROVOKE, SC_ROKISWEIL, SC_GRAVITATION,          SC_NJ_SUITON, SC_NOEQUIPWEAPON, SC_NOEQUIPSHIELD, SC_NOEQUIPARMOR,          SC_NOEQUIPHELM, SC_BLADESTOP}        spellarray = {14, 19, 20}        mask = {{0, -1}, {1, -1}, {1, 0}, {1, 1}, {0, 1}, {-1, 1}, {-1, 0}, {            -1, -1}}        per = {{20, 50}, {50, 60}, {25, 75}, {60, 64}, {34, 67}} 

 

 

The code that is causing the map crash server is here

 

+			{	+				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);+					}

 

Edited by Jasc

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.