Benefaktor Posted September 11, 2012 Posted September 11, 2012 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... Quote
manabeast Posted September 24, 2012 Posted September 24, 2012 (edited) 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 September 24, 2012 by manabeast Quote
Mr BrycE Posted September 24, 2012 Posted September 24, 2012 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, 1 Quote
solid2005 Posted September 24, 2012 Posted September 24, 2012 why don't you manual it using notepad++. don't relay on svn patch sometime it getting wrong. Quote
Mr BrycE Posted September 24, 2012 Posted September 24, 2012 (edited) @solid2005, someone already do that hi Lilith.. im trying to patch this on CentOS 5.8 VPS.. and it fails.. using this command [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 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 and i want to use it on my server Edited September 24, 2012 by Mr BrycE 1 Quote
Limestone Posted October 5, 2012 Posted October 5, 2012 yes.. it's working.. i'm using this src. Quote
Mr BrycE Posted October 6, 2012 Posted October 6, 2012 @Rage, is your SVN always up to date? if yes, i can try adding it manually Quote
manabeast Posted October 9, 2012 Posted October 9, 2012 anyone know how to patch in 16815? can help me? XD! Quote
Limestone Posted October 9, 2012 Posted October 9, 2012 @papazola, what is the cause of map crash? Quote
PapaZola Posted October 9, 2012 Posted October 9, 2012 @papazola, what is the cause of map crash? i dont have crash dump T_T im patch use manual Quote
simplexjay2 Posted October 17, 2012 Posted October 17, 2012 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] } Quote
uDe Posted November 1, 2012 Posted November 1, 2012 Hello, I've manually add patch to files needed and when compile this message came out from map-server : Here's the cliff.c file : http://pastebin.com/raw.php?i=iaXmjZTa I don't have any idea how to solve that problem. Quote
exneval Posted November 1, 2012 Posted November 1, 2012 ^ just double check what have you done in it, this system perfectly working in latest svn Quote
uDe Posted November 1, 2012 Posted November 1, 2012 ^ 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 : 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) Quote
lekkereten Posted November 4, 2012 Posted November 4, 2012 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 2 Quote
uDe Posted November 4, 2012 Posted November 4, 2012 (edited) 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. Edited November 4, 2012 by uDe Quote
Mang-Berto Posted November 5, 2012 Posted November 5, 2012 (edited) 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 Edited November 5, 2012 by Mang-Berto Quote
Lanz Posted November 6, 2012 Posted November 6, 2012 (edited) 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 November 6, 2012 by Lanz Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.