You are (again) 100% right. There is some corruption in the LUA code that changes the country string (pointer) by one byte.Quote:
Originally Posted by lunapark [Only registered and activated users can see links. Click Here To Register...]
works.Code:MODEL.address.search.support_streetsearch_in_state("_BEL")
crashes (real crash).Code:MODEL.address.search.support_streetsearch_in_state("BEL")
Now I need to find why the address that is correct right before the function containing the code gets increased by one byte. I already solved a similar issue whether a function was missing a "self" argument.
These are probably delicate locations where LUA code calls C-code.
Will get there ... eventually. Thanks for all the help and the tip on sc_InfoMessageBox (very useful).