Jump to content

Extended Vending System [1.8]


Lilith

Recommended Posts


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  72
  • Reputation:   0
  • Joined:  07/19/12
  • Last Seen:  

We go to

battle.h

Find the line

extern struct Battle_Config
{

After they add

int item_cash;
int extended_vending;
int item_zeny;

And problems with the compilation will not be

I apologize for my English...

Link to comment
Share on other sites

  • 2 weeks later...

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

i think all ppl just know use dunno give vote and star for this post. lilith dun want update already xD!

edit:

anyone using this on latest revision? how ? working? mind telling me? i was planing update but scare not working for latest revision.

Edited by manabeast
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

its not working on me either..maybe the latest revision cant support the 1.8.1 patch, we should wait for the author to update this,

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  145
  • Reputation:   15
  • Joined:  01/06/12
  • Last Seen:  

why don't you manual it using notepad++. don't relay on svn patch sometime it getting wrong.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

@solid2005, someone already do that

hi Lilith.. im trying to patch this on CentOS 5.8 VPS.. and it fails.. using this command /oops

[onizame2823@localhost ~]$ patch -Np1 -d trunk/ < ExtendedVendingSystem_1.8.1.patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: conf/battle/feature.conf
|===================================================================
|--- conf/battle/feature.conf   (revision 16070)
|+++ conf/battle/feature.conf   (working copy)
--------------------------
File to patch:

then i try to put it manually /panic become like this.. rAthena SVN 16462

In file included from pc.h:12,
			 from clif.c:17:
itemdb.h:233:24: warning: no newline at end of file
clif.c: In function âclif_parse_OpenVendingâ:
clif.c:11850: error: âstruct Battle_Configâ has no member named âmin_npc_vending_distanceâ
make[1]: *** [obj_sql/clif.o] Error 1
make[1]: Leaving directory `/home/onizame2823/trunk/src/map'
make: *** [map_sql] Error 2

hope u can help me.. bcuz this script so great /no1 and i want to use it on my server /pat

Edited by Mr BrycE
  • Upvote 1
Link to comment
Share on other sites

  • 2 weeks later...

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

anyone already try on SVN 16758?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  132
  • Reputation:   2
  • Joined:  02/02/12
  • Last Seen:  

Is this working for latest SVN?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

yes.. it's working.. i'm using this src.

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:  

rage are u using SVN 16758?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

@Rage, is your SVN always up to date?

if yes, i can try adding it manually

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

@MrBryce, yes. im using 16815

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:  

map crash r16758

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:  

anyone know how to patch in 16815? can help me? XD!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

@papazola, what is the cause of map crash?

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:  

@papazola, what is the cause of map crash?

i dont have crash dump

T_T

im patch use manual

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  224
  • Reputation:   4
  • Joined:  02/09/12
  • Last Seen:  

Please Help me here

1>c:\documents and settings\administrator\desktop\rathena\src\map\itemdb.c(1261): error C2065: 'itemdb_read_vending' : undeclared identifier

1>c:\documents and settings\administrator\desktop\rathena\src\map\itemdb.c(1261): warning C4047: 'function' : 'bool (__cdecl *)(char **,int,int)' differs in levels of indirection from 'int *'

1>c:\documents and settings\administrator\desktop\rathena\src\map\itemdb.c(1261): warning C4024: 'sv_readdb' : different types for formal and actual parameter 7

1

my source

else

itemdb_readdb();

itemdb_read_combos();

itemdb_read_itemgroup();

sv_readdb(db_path, "item_avail.txt", ',', 2, 2, -1, &itemdb_read_itemavail);

sv_readdb(db_path, DBPATH"item_noequip.txt", ',', 2, 2, -1, &itemdb_read_noequip);

sv_readdb(db_path, DBPATH"item_trade.txt", ',', 3, 3, -1, &itemdb_read_itemtrade);

sv_readdb(db_path, "item_delay.txt", ',', 2, 2, -1, &itemdb_read_itemdelay);

sv_readdb(db_path, "item_stack.txt", ',', 3, 3, -1, &itemdb_read_stack);

sv_readdb(db_path, DBPATH"item_buyingstore.txt", ',', 1, 1, -1, &itemdb_read_buyingstore);

sv_readdb(db_path, "item_vending.txt", ',', 1, 1, ARRAYLENGTH(item_vend), &itemdb_read_vending); // Extended Vending system [Lilith]

}

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  400
  • Reputation:   5
  • Joined:  12/05/11
  • Last Seen:  

Hello,

I've manually add patch to files needed and when compile this message came out from map-server :

3PAoa.jpg

Here's the cliff.c file :

http://pastebin.com/raw.php?i=iaXmjZTa

I don't have any idea how to solve that problem.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  164
  • Reputation:   12
  • Joined:  01/03/12
  • Last Seen:  

^

just double check what have you done in it,

this system perfectly working in latest svn

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  400
  • Reputation:   5
  • Joined:  12/05/11
  • Last Seen:  

^

just double check what have you done in it,

this system perfectly working in latest svn

Thank you.

After checking.. when map-server going to compile vending.c, this happen :

b6Me6.jpg

But I use original/backup vending.c file, error like this is not appear.

vending.txt << My vending.c (I've upload as .txt because I can't upload .c file)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  139
  • Reputation:   2
  • Joined:  11/15/11
  • Last Seen:  

How to add this patch? any guides?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  148
  • Reputation:   46
  • Joined:  11/02/11
  • Last Seen:  

How to add this patch? any guides?

You can try this.

@all

I've updated the diff to r16857. I did not test.

Here: extending_vending_16857.patch

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  400
  • Reputation:   5
  • Joined:  12/05/11
  • Last Seen:  

How to add this patch? any guides?

You can try this.

@all

I've updated the diff to r16857. I did not test.

Here: extending_vending_16857.patch

Thanks for the update. It's working for me now. SVN r16816

Thank you so much. /no1

Edited by uDe
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  139
  • Reputation:   2
  • Joined:  11/15/11
  • Last Seen:  

How to add this patch? any guides?

You can try this.

@all

I've updated the diff to r16857. I did not test.

Here: extending_vending_16857.patch

Thank you so much! :), one more question is this compatible only with rAthena? Found the answer already at the start of this topic. sorry XD

Thanks! Works fine with my eAthena :D

Edited by Mang-Berto
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   2
  • Joined:  11/22/11
  • Last Seen:  

How to add Kafrapoints vending or other account base variable?

so the menu will be:

~Zeny

~Cash Points

~Kafra Points

~Variable(Ex: #VOTEPOINTS)

~ITEM ID's

Edited by Lanz
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...