Non-Player Race Types

EQ2Emulator Development forum.

Moderator: Team Members

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Non-Player Race Types

Post by Jabantiz » Mon Mar 31, 2014 6:29 pm

Committed the code I have, basically just to load the stuff from the DB, commented out for now until a table is decided on, currently I just renamed John's and added a field

Code: Select all

CREATE TABLE `race_types` (
	`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
	`category` VARCHAR(64) NULL DEFAULT NULL COLLATE 'latin1_general_ci',
	`subcategory` VARCHAR(64) NULL DEFAULT NULL COLLATE 'latin1_general_ci',
	`model_type` INT(10) UNSIGNED NOT NULL,
	`model_name` VARCHAR(250) NULL DEFAULT NULL COLLATE 'latin1_general_ci',
	`race_id` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
	PRIMARY KEY (`id`),
	INDEX `NewIndex1` (`model_type`)
)
COLLATE='latin1_general_ci'
ENGINE=InnoDB
ROW_FORMAT=DYNAMIC
CHECKSUM=1;
Haven't put it or the data on the patcher until we determine a table. FYI, only info the code uses from the table is model_type and race_id

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: Non-Player Race Types

Post by John Adams » Mon Mar 31, 2014 7:29 pm

That's fine, my table is only for eq2 DB editor stuff. it can remain a project-only table and we use yours.

Do you need Download Enabled on that race data?

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Non-Player Race Types

Post by Jabantiz » Mon Mar 31, 2014 8:12 pm

Yea, this data will be mostly static I think, just getting it all set up correctly in the first place is going to suck.

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Non-Player Race Types

Post by Jabantiz » Tue Apr 01, 2014 3:21 pm

Added the table in my last post to the DB patcher, no data yet though. Also added all 3 of the lua functions.

User avatar
thefoof
Retired
Posts: 630
Joined: Wed Nov 07, 2012 7:36 pm
Location: Florida

Re: Non-Player Race Types

Post by thefoof » Tue Apr 01, 2014 5:32 pm

woot :)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests