Jump to content

Extended Vending System [August 2016 | Renewal, Pre Renewal]


Recommended Posts

  • 2 weeks later...
Posted

Help please: 

1>c:\users\rehgu\downloads\ragnarok\rathena\src\map\skill.c(7495): warning C4013: 'clif_colormes' undefined; assuming extern returning int
1>  trade.c
1>  unit.c
1>  vending.c
1>c:\users\rehgu\downloads\ragnarok\rathena\src\map\vending.c(95): warning C4013: 'clif_colormes' undefined; assuming extern returning int
1>c:\users\rehgu\downloads\ragnarok\rathena\src\map\vending.c(343): warning C4013: 'clif_disp_onlyself' undefined; assuming extern returning int
1>c:\users\rehgu\downloads\ragnarok\rathena\src\map\vending.c(479): error C2065: 'vendings_db' : undeclared identifier
2>LINK : fatal error LNK1168: cannot open ..\login-server.exe for writing
3>LINK : fatal error LNK1168: cannot open ..\char-server.exe for writing
4>  mapcache.vcxproj -> C:\Users\rehgu\Downloads\Ragnarok\rAthena\vcproj-10\..\mapcache.exe
========== Rebuild All: 1 succeeded, 3 failed, 0 skipped ==========

 

Posted

I have this after patching the diff..

patching file conf/battle/feature.conf
patching file conf/msg_conf/map_msg.conf
Hunk #1 succeeded at 1633 (offset 15 lines).
patching file db/item_vending.txt
patching file db/pre-re/item_db.txt
patching file db/re/item_db.txt
Hunk #1 FAILED at 11505.
1 out of 1 hunk FAILED -- saving rejects to file db/re/item_db.txt.rej
patching file sql-files/upgrade_extended_vending_item.sql
patching file src/map/battle.c
Hunk #1 FAILED at 8331.
1 out of 1 hunk FAILED -- saving rejects to file src/map/battle.c.rej
patching file src/map/battle.h
Hunk #1 FAILED at 611.
1 out of 1 hunk FAILED -- saving rejects to file src/map/battle.h.rej
patching file src/map/buyingstore.h
patching file src/map/clif.c
Hunk #1 succeeded at 12390 (offset 9 lines).
Hunk #2 FAILED at 13038.
Hunk #3 succeeded at 13091 (offset 19 lines).
Hunk #4 succeeded at 17225 (offset -147 lines).
1 out of 4 hunks FAILED -- saving rejects to file src/map/clif.c.rej
patching file src/map/clif.h
Hunk #1 succeeded at 1026 (offset 23 lines).
patching file src/map/itemdb.c
Hunk #1 succeeded at 1174 (offset 22 lines).
Hunk #2 succeeded at 1736 (offset 18 lines).
Hunk #3 succeeded at 1854 (offset 30 lines).
patching file src/map/itemdb.h
Hunk #1 succeeded at 771 (offset 389 lines).
Hunk #2 succeeded at 931 (offset 381 lines).
patching file src/map/map.c
Hunk #1 FAILED at 102.
1 out of 1 hunk FAILED -- saving rejects to file src/map/map.c.rej
patching file src/map/pc.h
Hunk #1 succeeded at 704 with fuzz 1 (offset 20 lines).
patching file src/map/skill.c
Hunk #1 succeeded at 7469 with fuzz 2 (offset 172 lines).
Hunk #2 succeeded at 18089 (offset 49 lines).
patching file src/map/skill.h
Hunk #1 succeeded at 2167 (offset 25 lines).
patching file src/map/vending.c
Hunk #3 succeeded at 168 with fuzz 2.
Hunk #5 FAILED at 327.
Hunk #6 FAILED at 462.
Hunk #7 succeeded at 611 with fuzz 2 (offset -12 lines).
Hunk #8 succeeded at 642 (offset -12 lines).
Hunk #9 succeeded at 673 (offset -12 lines).
Hunk #10 succeeded at 683 (offset -12 lines).
2 out of 10 hunks FAILED -- saving rejects to file src/map/vending.c.rej

 

What to do???

skill.c: In function 'skill_castend_nodamage_id':
skill.c:7495: warning: implicit declaration of function 'clif_colormes'
        CC      status.c
        CC      storage.c
        CC      trade.c
        CC      unit.c
        CC      vending.c
vending.c: In function 'vending_vendinglistreq':
vending.c:95: warning: implicit declaration of function 'clif_colormes'
vending.c: In function 'vending_purchasereq':
vending.c:197: error: 'struct mmo_charstatus' has no member named 'inventory'
vending.c:198: error: 'struct mmo_charstatus' has no member named 'inventory'
vending.c:286: error: 'struct mmo_charstatus' has no member named 'inventory'
vending.c:289: error: 'struct mmo_charstatus' has no member named 'inventory'
vending.c:334: error: 'struct mmo_charstatus' has no member named 'cart'
vending.c:342: warning: implicit declaration of function 'clif_disp_onlyself'
vending.c: In function 'vending_openvending':
vending.c:478: error: 'vendings_db' undeclared (first use in this function)
vending.c:478: error: (Each undeclared identifier is reported only once
vending.c:478: error: for each function it appears in.)
make[1]: *** [obj/vending.o] Error 1
make[1]: Leaving directory `/root/Trunk/src/map'
make: *** [map] Error 2

I got those error in compiling... I manually patched it and that's the result.. Can someon tell me how to fix it?

BTW, im using REV 17374

  • 2 weeks later...
Posted (edited)
patching file conf/battle/feature.conf
patching file conf/msg_conf/map_msg.conf
Hunk #1 succeeded at 1633 (offset 15 lines).
patching file db/item_vending.txt
patching file db/pre-re/item_db.txt
patching file db/re/item_db.txt
Hunk #1 FAILED at 11505.
1 out of 1 hunk FAILED -- saving rejects to file db/re/item_db.txt.rej
patching file sql-files/upgrade_extended_vending_item.sql
patching file src/map/battle.c
Hunk #1 FAILED at 8331.
1 out of 1 hunk FAILED -- saving rejects to file src/map/battle.c.rej
patching file src/map/battle.h
Hunk #1 FAILED at 611.
1 out of 1 hunk FAILED -- saving rejects to file src/map/battle.h.rej
patching file src/map/buyingstore.h
patching file src/map/clif.c
Hunk #1 succeeded at 12390 (offset 9 lines).
Hunk #2 FAILED at 13038.
Hunk #3 succeeded at 13091 (offset 19 lines).
Hunk #4 succeeded at 17225 (offset -147 lines).
1 out of 4 hunks FAILED -- saving rejects to file src/map/clif.c.rej
patching file src/map/clif.h
Hunk #1 succeeded at 1026 (offset 23 lines).
patching file src/map/itemdb.c
Hunk #1 succeeded at 1174 (offset 22 lines).
Hunk #2 succeeded at 1736 (offset 18 lines).
Hunk #3 succeeded at 1854 (offset 30 lines).
patching file src/map/itemdb.h
Hunk #1 succeeded at 771 (offset 389 lines).
Hunk #2 succeeded at 931 (offset 381 lines).
patching file src/map/map.c
Hunk #1 FAILED at 102.
1 out of 1 hunk FAILED -- saving rejects to file src/map/map.c.rej
patching file src/map/pc.h
Hunk #1 succeeded at 704 with fuzz 1 (offset 20 lines).
patching file src/map/skill.c
Hunk #1 succeeded at 7471 with fuzz 2 (offset 174 lines).
Hunk #2 succeeded at 18090 (offset 50 lines).
patching file src/map/skill.h
Hunk #1 succeeded at 2167 (offset 25 lines).
patching file src/map/vending.c
Hunk #3 succeeded at 168 with fuzz 2.
Hunk #5 FAILED at 327.
Hunk #6 FAILED at 462.
Hunk #7 succeeded at 611 with fuzz 2 (offset -12 lines).
Hunk #8 succeeded at 642 (offset -12 lines).
Hunk #9 succeeded at 673 (offset -12 lines).
Hunk #10 succeeded at 683 (offset -12 lines).
2 out of 10 hunks FAILED -- saving rejects to file src/map/vending.c.rej

i have the same issue as malicious and im using the very latest revision of rathena on git

EDIT: i compiled it no error occurs on the console but no cart when i use whitesmith job and rent for cart no cart shows but able to vend

 

Edited by whodhell
  • 2 weeks later...
Posted (edited)

I cant vend

 

15s8m07.jpg

- now i cant vend without errors.

I found oht why it is behaving like that.

the only reason i cant vend is that, you should pick a currency to vend first and then you can now set up your shop.

thanks for this.

im usingrevision 22356

Edited by iamkevin
Fixed
  • 3 weeks later...
  • 2 weeks later...
  • 2 months later...
  • 2 months later...
Posted

I have managed to fix all the errors of the DIFF that appears in emulator.
I open the store perfectly, select if I want Zeny or Cash, but when a player buys an item in the store the map-server will crash, and no error appears in the emulator :/

Posted
4 hours ago, Haikenz said:

I have managed to fix all the errors of the DIFF that appears in emulator.
I open the store perfectly, select if I want Zeny or Cash, but when a player buys an item in the store the map-server will crash, and no error appears in the emulator :/

Post your diff so someone can actually check....

Or try running in debug mode

Posted
Just now, MusiLiciouS said:

will this diff work on latest revision?

I managed to remove all the errors that appear when compiling ... but he is with this small problem ... see in this my post

 

  • Upvote 1
  • 1 month later...
  • 2 months later...
  • 1 month later...
  • 1 year later...

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