Deleted User Posted June 22, 2017 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 235 Reputation: 55 Joined: 12/02/11 Last Seen: February 26, 2021 Share Posted June 22, 2017 On 6/21/2017 at 4:41 AM, almer said: is this working on 17704 SVN?>> For godsake, please stop using SVN. and i would say "NO" it does not work on "SVN" Quote Link to comment Share on other sites More sharing options...
mhielo12 Posted July 8, 2017 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 114 Reputation: 4 Joined: 08/28/14 Last Seen: Tuesday at 08:14 AM Share Posted July 8, 2017 Can this be updated for latest git? would be really appreciated thanks.. will be usefull for highrate server. Quote Link to comment Share on other sites More sharing options...
solid2005 Posted July 28, 2017 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 147 Reputation: 15 Joined: 01/06/12 Last Seen: Tuesday at 12:33 PM Share Posted July 28, 2017 i made some update code from rathena maybe this should be help. i didn't test it cause i don't have time =P WARNING Backup first and use a test server if stable, Note : Update for newer GIT NO (bug fix and add on). version 1.9.5.diff 1 Quote Link to comment Share on other sites More sharing options...
M4karov Posted August 15, 2017 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 149 Reputation: 37 Joined: 04/01/13 Last Seen: June 18, 2024 Share Posted August 15, 2017 On 28/07/2017 at 5:42 AM, solid2005 said: Eu fiz um código de atualização da Rathena talvez isso venha a ser de ajuda. Eu não testei porque eu não tenho tempo = P AVISO Faça o backup primeiro e use um servidor de teste se estável, Nota: Atualize para GIT NO mais recente (correção de bugs e add on). Versão 1.9.5.diff The system worked perfectly, but I noticed these errors on my map-server. Error: http://prntscr.com/g8toc7 Quote Link to comment Share on other sites More sharing options...
Technoken Posted August 15, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: Yesterday at 03:31 AM Share Posted August 15, 2017 4 minutes ago, M4karov said: The system worked perfectly, but I noticed these errors on my map-server. Error: http://prntscr.com/g8toc7 Have you tried to import the sql? Quote Link to comment Share on other sites More sharing options...
M4karov Posted August 15, 2017 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 149 Reputation: 37 Joined: 04/01/13 Last Seen: June 18, 2024 Share Posted August 15, 2017 2 minutes ago, Technoken said: Você tentou importar o sql? I minded this one: ALTER TABLE `vendings` ADD COLUMN `extended_vending_item` smallint(5) unsigned NOT NULL DEFAULT '0' AFTER `sit`; Quote Link to comment Share on other sites More sharing options...
Technoken Posted August 15, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: Yesterday at 03:31 AM Share Posted August 15, 2017 6 minutes ago, M4karov said: I minded this one: ALTER TABLE `vendings` ADD COLUMN `extended_vending_item` smallint(5) unsigned NOT NULL DEFAULT '0' AFTER `sit`; On vending.c find "VALUES( %d, %d, %d, '%c', '%s', %d, %d, '%s', %d, '%d', '%d', '%d' );", replace "VALUES( %d, %d, %d, '%c', '%s', %d, %d, '%s', %d, '%d', '%d', '%d', '%hu' );", solid2005 might have forgotten to update his part on his diff. 1 1 Quote Link to comment Share on other sites More sharing options...
M4karov Posted August 15, 2017 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 149 Reputation: 37 Joined: 04/01/13 Last Seen: June 18, 2024 Share Posted August 15, 2017 4 minutes ago, Technoken said: On vending.c find "VALUES( %d, %d, %d, '%c', '%s', %d, %d, '%s', %d, '%d', '%d', '%d' );", replace "VALUES( %d, %d, %d, '%c', '%s', %d, %d, '%s', %d, '%d', '%d', '%d', '%hu' );", solid2005 might have forgotten to update his part on his diff. Perfect! Thank you for your help. Quote Link to comment Share on other sites More sharing options...
Haikenz Posted September 4, 2017 Group: Members Topic Count: 84 Topics Per Day: 0.02 Content Count: 309 Reputation: 82 Joined: 11/15/11 Last Seen: October 1, 2023 Share Posted September 4, 2017 With me it is giving this error: I use SQL item_db_re Quote Link to comment Share on other sites More sharing options...
mhielo12 Posted September 7, 2017 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 114 Reputation: 4 Joined: 08/28/14 Last Seen: Tuesday at 08:14 AM Share Posted September 7, 2017 Hi i successfully patch the diff but my problem when i try to buy the vended item it always says " you dont have enough PODS" even tho i have all the requirment Quote Link to comment Share on other sites More sharing options...
M4karov Posted September 7, 2017 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 149 Reputation: 37 Joined: 04/01/13 Last Seen: June 18, 2024 Share Posted September 7, 2017 @Technoken After applying the last commits of github changing my script.c to script.cpp I have these errors in the compilation, could give me a direction of how to solve? Quote Link to comment Share on other sites More sharing options...
Technoken Posted September 8, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: Yesterday at 03:31 AM Share Posted September 8, 2017 4 hours ago, M4karov said: @Technoken After applying the last commits of github changing my script.c to script.cpp I have these errors in the compilation, could give me a direction of how to solve? Can you try this one if it would work. I can't test it right now. On itemdb.h find struct s_item_vend item_vend[MAX_INVENTORY]; replace with extern struct s_item_vend item_vend[MAX_INVENTORY]; 1 Quote Link to comment Share on other sites More sharing options...
M4karov Posted September 8, 2017 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 149 Reputation: 37 Joined: 04/01/13 Last Seen: June 18, 2024 Share Posted September 8, 2017 1 minute ago, Technoken said: Você pode tentar isso se ele funcionasse. Não posso testá-lo agora mesmo. No itemdb.h encontrar substituir com I had tried it that way, but it did not work. Quote Link to comment Share on other sites More sharing options...
Technoken Posted September 8, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: Yesterday at 03:31 AM Share Posted September 8, 2017 on itemdb.c apply this static DBMap *itemdb_randomopt_group; /// Random option group DB struct item_data *dummy_item; /// This is the default dummy item used for non-existant items. [Skotlex] struct s_roulette_db rd; + struct s_item_vend item_vend[MAX_INVENTORY]; /** * Check if combo exists If it still doesn't work. I'll just update here whenever I got mine working. Can't do it right now since im not at home. 1 Quote Link to comment Share on other sites More sharing options...
Pixel Posted September 8, 2017 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 65 Reputation: 39 Joined: 11/15/11 Last Seen: 21 hours ago Share Posted September 8, 2017 On 28/07/2017 at 5:42 AM, solid2005 said: i made some update code from rathena maybe this should be help. i didn't test it cause i don't have time =P WARNING Backup first and use a test server if stable, Note : Update for newer GIT NO (bug fix and add on). version 1.9.5.diff Thx @solid2005 and @Technoken thanks you guys to make it work. <3 Quote Link to comment Share on other sites More sharing options...
Elysium Posted September 8, 2017 Group: Members Topic Count: 41 Topics Per Day: 0.01 Content Count: 164 Reputation: 17 Joined: 03/15/12 Last Seen: October 24, 2020 Share Posted September 8, 2017 Can anyone provide a working diff? =) that would be appreciated. Quote Link to comment Share on other sites More sharing options...
Pixel Posted September 8, 2017 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 65 Reputation: 39 Joined: 11/15/11 Last Seen: 21 hours ago Share Posted September 8, 2017 8 hours ago, Elysium said: Can anyone provide a working diff? =) that would be appreciated. Update your emulator for the latest version of Git. version 1.9.5 [08-09-2017].diff Quote Link to comment Share on other sites More sharing options...
mhielo12 Posted September 8, 2017 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 114 Reputation: 4 Joined: 08/28/14 Last Seen: Tuesday at 08:14 AM Share Posted September 8, 2017 seems no to be working.. Pixel undefined reference to "item_vend" rathena ===================================== I successfully patch the one that provided by solid2005 but problem is i cant buy the item that is on vend.. " You dont have enought Items" even tho i have all the requirement like pods.. Quote Link to comment Share on other sites More sharing options...
Technoken Posted September 9, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: Yesterday at 03:31 AM Share Posted September 9, 2017 9 hours ago, mhielo12 said: undefined reference to "item_vend" rathena On itemdb.h find: struct s_item_vend item_vend[MAX_INVENTORY];replace: extern struct s_item_vend item_vend[MAX_INVENTORY]; On itemdb.c find: struct s_roulette_db rd;add below: struct s_item_vend item_vend[MAX_INVENTORY]; 1 Quote Link to comment Share on other sites More sharing options...
Haikenz Posted September 9, 2017 Group: Members Topic Count: 84 Topics Per Day: 0.02 Content Count: 309 Reputation: 82 Joined: 11/15/11 Last Seen: October 1, 2023 Share Posted September 9, 2017 2 hours ago, Technoken said: On itemdb.h find: struct s_item_vend item_vend[MAX_INVENTORY];replace: extern struct s_item_vend item_vend[MAX_INVENTORY]; On itemdb.c find: struct s_roulette_db rd;add below: struct s_item_vend item_vend[MAX_INVENTORY]; 100% work! thanks 1 Quote Link to comment Share on other sites More sharing options...
mhielo12 Posted September 9, 2017 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 114 Reputation: 4 Joined: 08/28/14 Last Seen: Tuesday at 08:14 AM Share Posted September 9, 2017 6 hours ago, Technoken said: On itemdb.h find: struct s_item_vend item_vend[MAX_INVENTORY];replace: extern struct s_item_vend item_vend[MAX_INVENTORY]; On itemdb.c find: struct s_roulette_db rd;add below: struct s_item_vend item_vend[MAX_INVENTORY]; Hi manage to make it work but my problem regarding "you dont have enough items" still there cant buy the item on the vend.. although i have all requirement.. Quote Link to comment Share on other sites More sharing options...
Technoken Posted September 9, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: Yesterday at 03:31 AM Share Posted September 9, 2017 9 minutes ago, mhielo12 said: Hi manage to make it work but my problem regarding "you dont have enough items" still there cant buy the item on the vend.. although i have all requirement.. Try to double check the codes that you applied. It's working fine on me. Quote Link to comment Share on other sites More sharing options...
mhielo12 Posted September 9, 2017 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 114 Reputation: 4 Joined: 08/28/14 Last Seen: Tuesday at 08:14 AM Share Posted September 9, 2017 (edited) 4 hours ago, Technoken said: Try to double check the codes that you applied. It's working fine on me. No error on map server im really lost.. you have a working sql for this? ill try to delete my sql.. EDIT: Hi Technoken I check the previous version and compare to the new version in the old diff there is this line in item_vending.txt Index: db/item_vending.txt =================================================================== --- db/item_vending.txt (nonexistent) +++ db/item_vending.txt (working copy) @@ -0,0 +1,12 @@ +// Specific items for Vending System +// Format: ItemID +// Max items is equal MAX_INVENTORY ( 100 by default ) + +// TCG Card +7227 +// Mithril Coin +674 +// Silver Coin +675 +// Bronze Coin +673 Should I remove this on the new patch? Edited September 9, 2017 by mhielo12 Quote Link to comment Share on other sites More sharing options...
mhielo12 Posted September 9, 2017 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 114 Reputation: 4 Joined: 08/28/14 Last Seen: Tuesday at 08:14 AM Share Posted September 9, 2017 1 hour ago, mhielo12 said: No error on map server im really lost.. you have a working sql for this? ill try to delete my sql.. EDIT: Hi Technoken I check the previous version and compare to the new version in the old diff there is this line in item_vending.txt Index: db/item_vending.txt =================================================================== --- db/item_vending.txt (nonexistent) +++ db/item_vending.txt (working copy) @@ -0,0 +1,12 @@ +// Specific items for Vending System +// Format: ItemID +// Max items is equal MAX_INVENTORY ( 100 by default ) + +// TCG Card +7227 +// Mithril Coin +674 +// Silver Coin +675 +// Bronze Coin +673 Should I remove this on the new patch? I removed this in the new patch still not work.. help im lost.. is it zeny cash only working? Quote Link to comment Share on other sites More sharing options...
christofereduardo Posted September 10, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 36 Reputation: 2 Joined: 06/06/13 Last Seen: May 4, 2024 Share Posted September 10, 2017 have error on skill.c skill.c: In function ‘skill_castend_nodamage_id’: skill.c:7521:17: warning: declaration of ‘i’ shadows a previous local [-Wshadow] int c = 0, i, d = 0; ^ skill.c:6072:6: warning: shadowed declaration is here [-Wshadow] int i = 0; ^ Quote Link to comment Share on other sites More sharing options...
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.