LCKB
Options showing up as 0 - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep4 Support (https://lckb.dev/forum/forumdisplay.php?fid=128)
+----- Thread: Options showing up as 0 (/showthread.php?tid=4769)

Pages: 1 2


- yanharazra2 - 06-01-2021


Hello everyone!.

I have a problem where if I add more options it shows up as 0 in game but takes effect. specifically once it passes level 36

so any option I use that is above the 5k stat it will show up as 0 but takes effect. same thing on all other options after level 36 for them. how to fix that?

/monthly_2021_06/stat.png.46020b24f043632915491cedddee9b74.png" />

 




- rondo157 - 06-01-2021


need to up option from 36 to 999 and tool recompile with it values . Client: Common\header\def_option.h

#define DEF_OPTION_MAX_LEVEL 999

 




- yanharazra2 - 06-01-2021



6 hours ago, rondo157 said:




need to up option from 36 to 999 and tool recompile with it values . Client: Common\header\def_option.h




#define DEF_OPTION_MAX_LEVEL 999


 




if I do that and re-build it's an error log once the game loads to the login page




- Vladi - 06-02-2021



1 hour ago, yanharazra2 said:




if I do that and re-build it's an error log once the game loads to the login page




rebuild the entire solution




- yanharazra2 - 06-02-2021



22 minutes ago, Vladi said:




rebuild the entire solution




I do and this is what I get when I replace all files

2

 




- rondo157 - 06-02-2021


try to

#define DEF_OPTION_MAX_LEVEL 100
#define DEF_RAREOPTION_MAX 10

 




- zzHashira - 06-02-2021


Just to be clear my default the options file exports at the max value from def_option.h you need to change the value in the export tool and rebuild the tool. Usually, after doing this your problem of seeing "0" will be fixed.




- Scura - 06-02-2021



2 hours ago, zzHashira said:




Just to be clear my default the options file exports at the max value from def_option.h you need to change the value in the export tool and rebuild the tool. Usually, after doing this your problem of seeing "0" will be fixed.




+1 100% the problem is the export file, the tool can not read the defined value in the gameserver (so is probably setted as the max value directly as a constant), so you have to rebuild the tools with the new options value. As I know should be available on github the DevPack by /index.php?/profile/20606-damona/&do=hovercard" data-mentionid="20606" href="/index.php?/profile/20606-damona/" rel="">@DamonA hosted by /index.php?/profile/2167-dethunter12/&do=hovercard" data-mentionid="2167" href="/index.php?/profile/2167-dethunter12/" rel="">@dethunter12




- zzHashira - 08-23-2021


Currently it I have issues exporting I rebuild export file 




- kravens - 08-23-2021


option.lod error, you need to change the loop to 999