mleo1 36 Posted January 12, 2014 autotrade persistency yey, good job hercules team, and thanks Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted January 13, 2014 Amazing. The most awaited features are now on Hercules (@at persistent and 4billion array limit.) Quote Share this post Link to post Share on other sites
jaBote 438 Posted January 13, 2014 By the way, I don't know if you guys have realised yet, but this means you won't ever need an external plugin to make a vending database work! Quote Share this post Link to post Share on other sites
安赫尔 9 Posted January 13, 2014 Great Hercules! Great Ind yommy All of you. And another things. I have a Chinese RO server, It support autotrade recovery for a long times. I found the developer use many SQL table to remember items. It seemed every Item had a Serial Number themselves. When server restart or Physical server reboot the autotraders will Reopen the vending. And the Process will be displayed in the console interface. But I have not Source code. I just bought the Release version. Did you need to Reference about it? maybe some helpful? Quote Share this post Link to post Share on other sites
AnnieRuru 957 Posted January 14, 2014 (edited) great ! no more the ugly 127 index in an array next -> 2 dimensional array ! .array[1][0] <-- like this is this possible ? then no more ugly setd/getd stuff like setd ".party"+ getcharid(1) +"data["+ .@i +"]", value; if possible, please make it support at least 3 dimension I have made a custom utility script that runs on 3 dimensional loop Edited January 14, 2014 by AnnieRuru Quote Share this post Link to post Share on other sites
Mystery 594 Posted January 14, 2014 Nicely done ! Thank you to those who've supported ! Quote Share this post Link to post Share on other sites
Naevus 0 Posted January 16, 2014 Nice Patch Hercules Team Quote Share this post Link to post Share on other sites
Neo-Mind 264 Posted January 16, 2014 great ! no more the ugly 127 index in an array next -> 2 dimensional array ! .array[1][0] <-- like this is this possible ? then no more ugly setd/getd stuff like setd ".party"+ getcharid(1) +"data["+ .@i +"]", value; if possible, please make it support at least 3 dimension I have made a custom utility script that runs on 3 dimensional loop already going 3D eh Quote Share this post Link to post Share on other sites
Zezicla 2 Posted January 28, 2014 does this mean we shortly can get 147b zeny or just 4 ? mby even higher value ? i have a npc banker who can achieve like bilions bilions Quote Share this post Link to post Share on other sites
KeyWorld 87 Posted February 8, 2014 [*]Magnificent Array Improvement (to all variable types) [*]Size limit modified from 127 to ...4 billion! In fact it's limited to 2 billion index max : since the script engine use integer (and not unsigned integer) to store variables and numbers. But still a great improvement Quote Share this post Link to post Share on other sites
Nameless2you 97 Posted February 8, 2014 [*]Magnificent Array Improvement (to all variable types) [*]Size limit modified from 127 to ...4 billion! In fact it's limited to 2 billion index max : since the script engine use integer (and not unsigned integer) to store variables and numbers. But still a great improvement eh? Where do you see the signed int part? A bit of searching for "max_arraysize" brought me to script.h #define SCRIPT_MAX_ARRAYSIZE (UINT_MAX - 1) Looks like an unsigned int to me. script.h imports cbasetypes.h which has #define UINT_MAX 0xffffffff Which is: 4294967295 Quote Share this post Link to post Share on other sites
KeyWorld 87 Posted February 9, 2014 eh? Where do you see the signed int part? A bit of searching for "max_arraysize" brought me to script.h #define SCRIPT_MAX_ARRAYSIZE (UINT_MAX - 1)Looks like an unsigned int to me. script.h imports cbasetypes.h which has #define UINT_MAX 0xffffffffWhich is: 4294967295 Basically: https://github.com/HerculesWS/Hercules/blob/master/src/map/script.c#L1105 https://github.com/HerculesWS/Hercules/blob/master/src/map/script.c#L3011 https://github.com/HerculesWS/Hercules/blob/master/src/map/script.c#L3425 Number in script are integer, supported from -2147483647 to 2147483647, else it lead to overflow error. So if you can't create a number greater than this value, you will never be able to select an index superior than 2147483647 in an array. 3 Patskie, Ind and AnnieRuru reacted to this Quote Share this post Link to post Share on other sites
Ind 945 Posted February 10, 2014 indeed, I'll update the documentation accordingly. Thank you! Quote Share this post Link to post Share on other sites
Cabrera 10 Posted February 12, 2014 OMG D: this patch just made me chain myself to hercules xD awesome Ind D: too good <3 Quote Share this post Link to post Share on other sites
dungpt8782 0 Posted August 13, 2014 i'm using lastest GIT Hercules, and in my server, auto login vending online in case of crash map only. If i closed and re-open, its not work. How to make it work pls! Quote Share this post Link to post Share on other sites
JulioCF 105 Posted August 14, 2014 i'm using lastest GIT Hercules, and in my server, auto login vending online in case of crash map only. If i closed and re-open, its not work. How to make it work pls! http://herc.ws/board/tracker/ Quote Share this post Link to post Share on other sites
dungpt8782 0 Posted August 15, 2014 i'm using lastest GIT Hercules, and in my server, auto login vending online in case of crash map only. If i closed and re-open, its not work. How to make it work pls! http://herc.ws/board/tracker/ What you mean? Is this bug? Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted August 15, 2014 i'm using lastest GIT Hercules, and in my server, auto login vending online in case of crash map only. If i closed and re-open, its not work. How to make it work pls! http://herc.ws/board/tracker/ What you mean? Is this bug? If you feel its a bug, please post it there, so developers can see. and the way to reproduce with the emulator version you use(rA emulator bugs should be posted on rathena forum's bug tracker), but if you want to have support , you are free to open topic. Quote Share this post Link to post Share on other sites
lakasmonk123 2 Posted August 30, 2014 SO GOOOD!!! The auto trade and overhaul of the char and account is indeed very nice Two thumps up for me Quote Share this post Link to post Share on other sites
karazu 33 Posted August 31, 2014 Every time someone bumped this Thread, I always got a HEART ATTACKIND PLEASE 2 Ridley and Edgar reacted to this Quote Share this post Link to post Share on other sites
grobyczen 3 Posted February 4, 2015 Hi to everyone, i'm new to Hercules. Quick Question, Is this patch still working as of today's (feb 4th 2015) Hercules version? Because in the Hercules wiki (http://herc.ws/wiki/Variables) it sti'll says that Account Variavles doesn't support arrays. Thanks in advance. (PS. Where can I check what version of Hercules i'm currently using?) Quote Share this post Link to post Share on other sites
evilpuncker 503 Posted February 4, 2015 Hi to everyone, i'm new to Hercules. Quick Question, Is this patch still working as of today's (feb 4th 2015) Hercules version? Because in the Hercules wiki (http://herc.ws/wiki/Variables) it sti'll says that Account Variavles doesn't support arrays. Thanks in advance. (PS. Where can I check what version of Hercules i'm currently using?) yes it is still working, someone need to update the wiki 1 grobyczen reacted to this Quote Share this post Link to post Share on other sites