[dini2]Bugs appeared
#3

Quote:
Originally Posted by CantBeJohn
View Post
I’m going to assume everything was working properly before converting to Dini2. If there’s any issues with anything not saving or loading, it’d have to do with the includes’ default defines. There’s more than just “DINI_MAX_FIELDS”, take a look at what’s not saving/loading and then take a look at these and define them to the appropriate values that fit your code:

PHP Code:
if !defined DINI_MAX_FILES
    
#define DINI_MAX_FILES \
        
16
#endif
#if !defined DINI_MAX_FILE_NAME
    #define DINI_MAX_FILE_NAME \
        
128
#endif
#if !defined DINI_MAX_FIELDS
    #define DINI_MAX_FIELDS \
        
64
#endif
#if !defined DINI_MAX_FIELD_NAME
    #define DINI_MAX_FIELD_NAME \
        
32
#endif
#if !defined DINI_MAX_FIELD_VALUE
    #define DINI_MAX_FIELD_VALUE \
        
256
#endif 
Should i define these before
Code:
#include <dini2>
as i was told from Gammix to define max fields?
Reply


Messages In This Thread
[dini2]Bugs appeared - by Mike861 - 11.03.2018, 09:11
Re: [dini2]Bugs appeared - by CantBeJohn - 11.03.2018, 09:35
Re: [dini2]Bugs appeared - by Mike861 - 11.03.2018, 09:52
Re: [dini2]Bugs appeared - by Mike861 - 11.03.2018, 10:10
Re: [dini2]Bugs appeared - by Mike861 - 12.03.2018, 12:21

Forum Jump:


Users browsing this thread: 1 Guest(s)