Race Creation not Letting me Add my horse

Having difficulties? Ask here.
Forum rules
Do not to post anything abusive, obscene, vulgar, slanderous, hateful, threatening, or sexually-orientated.
Do not post anything negative about any player.
No advertising other games.
The management reserves the right to delete or lock threads and messages at any time.
Read the complete SIM rules and legal information.
Post Reply
User avatar
Mr. Lord Rich
Hall of Fame
Posts: 5990
Joined: 11 years ago
Location: San Diego, CA

Race Creation not Letting me Add my horse

Post by Mr. Lord Rich »

I chose all the correct qualifications for my horse, but says he is not eligible for the race:
I am trying to enter this horse https://www.simhorseracing.com/horse.ph ... D=12519344
He is a 3yo QH Mid distance colt.
The race I created is 3yo QH 400 yd for colts and geldings, see image below.

Is there a reason why my horse is not eligible for this race?


Image
A CAVAL DONATO NON SI GUARDA IN BOCCA
User avatar
The Admin
Eclipse Champion
Posts: 1073
Joined: 18 years ago

Re: Race Creation not Letting me Add my horse

Post by The Admin »

This took me forever to figure out. All my test cases worked correctly.
It turns out, you have more than 5000 racehorses that might qualify for the race. The code assumed that 5000 would be more than enough.
So your horse will be able to enter the race, but it is having trouble showing it in the preview.

I'll have to think about this one before trying to fix it.
User avatar
Mr. Lord Rich
Hall of Fame
Posts: 5990
Joined: 11 years ago
Location: San Diego, CA

Re: Race Creation not Letting me Add my horse

Post by Mr. Lord Rich »

I’m not sure that is the case, I checked my race barn, I have 60 3yo QH mid dist colts.
A CAVAL DONATO NON SI GUARDA IN BOCCA
User avatar
The Admin
Eclipse Champion
Posts: 1073
Joined: 18 years ago

Re: Race Creation not Letting me Add my horse

Post by The Admin »

Mr. Lord Rich wrote: 11 months ago I’m not sure that is the case, I checked my race barn, I have 60 3yo QH mid dist colts.
The particular internal search gets all potential racehorses without narrowing by specific age or breed. It was a convenient shortcut in the code with a random high limit of 5000. I will try to improve it sometime.
User avatar
The Admin
Eclipse Champion
Posts: 1073
Joined: 18 years ago

Re: Race Creation not Letting me Add my horse

Post by The Admin »

This should be fixed and faster now.
User avatar
Mr. Lord Rich
Hall of Fame
Posts: 5990
Joined: 11 years ago
Location: San Diego, CA

Re: Race Creation not Letting me Add my horse

Post by Mr. Lord Rich »

Thank you very much for the fix :)
A CAVAL DONATO NON SI GUARDA IN BOCCA
Post Reply