EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Bugs (https://www.eqemulator.org/forums/forumdisplay.php?f=622)
-   -   Spawned Races (https://www.eqemulator.org/forums/showthread.php?t=5238)

Solaris 02-15-2003 06:59 PM

Spawned Races
 
I have noticed that EQEmu will not properly spawn any race from any database that is over #race 255. Any spawns over this limit is started over back at 1. Example - In Plane of Storms the giants on the zone in side should be race 309 Air Golem but instead the emu reads them as race 53 Minotaur (309-256=53). Is there any way this can be fixed?

fnemo 02-15-2003 08:56 PM

its not minus 256 but 2 times minus 128. result is same .... but earlier :(

killspree 02-15-2003 09:11 PM

Looks to me like it's being caused by base_race being set as int8 in the code.

Tugurce 02-16-2003 09:41 AM

Well, yeah, having an 8-bit var would cause that, considering an 8-bit anything can only hold 256 different values :D . Maybe making it a 16-bit integer in one of the up and coming releases would be a good idea.

fnemo 02-16-2003 06:42 PM

its int8, not unsigned int8 ... so its from -128 to 127, no 0 to 255.

just my 2 copper ;)


All times are GMT -4. The time now is 04:48 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.