Unlock map limit 255

C++:
Lib_Engine\DxOctree
DxLandDef.h

enum  EMLANDMAN
{
//    MAXLANDSID        = 32,
    MAXLANDMID        = 512,  
    MAXLANDSID        = 256, // change this to 512 1024 anything you want
    MAXLANDNAME        = 128,
};

then rebuild to test mapediter more 256+

have fun
how to itemmix stone limit 255?
 
how to itemmix stone limit 255?
 - Unlock map limit 255 - RaGEZONE Forums


on GLItemMix.h on the structure of ITEMIX_DATA just change the BYTE nNum to WORD or DWORD since BYTE can only hold upto 255 max value.
 
i change all nNum to DWORD and tool (EditorItemMixDlg.cpp) still not wokring can you give me some advice thanks

View attachment 266016


the advice already have said up there. you just need to apply them on your source code properly as you told that still not works? maybe you forgot to change the type of WORD/DWORD from define logic code. if your tool code have itemmix.nStoneValue (BYTE) then change it to WORD , include in your logic code nStoneValue as well. if there state BYTE change to WORD.
 
GLItemMix.h
WORD nNum;

EditorItemMixDlg.cpp
sITEMMIX.sResultItem.nNum = (WORD)GetWin_Num_int
sITEMMIX.sMeterialItem[0].nNum = (WORD)GetWin_Num_int
 
Back