Problem with entering
#3

Quote:
Originally Posted by Calgon
Посмотреть сообщение
You probably need to increase the size of the following defines:
  • MAX_HOUSES
  • MAX_BIZZ
  • MAX_ENTRANCES
The problem with your code is that if a player tries to enter a house, business or entrance that has a higher ID than the define, it will just ignore it and they won't be able to enter.

For example, if you create a house and its ID is 504, but if MAX_HOUSES is 503, every house up to 503 will be checked, but anything higher will just be ignored.
Yes, but I defined my MAX_HOUSES and others to the actual size of hosues and bizzes and others that I have in my db... And I added +1 to that define also...

EDIT: I deleted about 50 bizz'es and about 100 hosues from my db, and now its working perfectly. But it cant be that way, because I need more houses and other stuff...
Reply


Messages In This Thread
Problem with entering - by Universal - 26.12.2011, 07:38
Re: Problem with entering - by Calgon - 26.12.2011, 07:44
Re: Problem with entering - by Universal - 26.12.2011, 07:46
Re: Problem with entering - by Calgon - 26.12.2011, 07:50
Re: Problem with entering - by Universal - 26.12.2011, 07:56
Re: Problem with entering - by Universal - 26.12.2011, 08:23

Forum Jump:


Users browsing this thread: 1 Guest(s)