Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-27-2002, 12:16 PM
quester
Hill Giant
 
Join Date: Oct 2002
Posts: 108
Default Code for npc_profile support (and npc procs) for 3.12

Uggg.. well I had all this typed out, diffs added and everything.. but its too big to allow me to post it.

So give me a few to figure out how to get it out to you all.
Reply With Quote
  #2  
Old 11-27-2002, 12:39 PM
quester
Hill Giant
 
Join Date: Oct 2002
Posts: 108
Default

*NOTE*: These changes are made against 3.12.. I havent had the chance to upgrade to 3.13 yet, so be aware of this when applying them!

Ok attached below are the diffs for this.. I hope.

DATABASE CHANGES:
This entails a fairly in depth change to your database. If you are uncomfortable making these changes, then wait for the converter to be finished.

Create a new table named "npc_profiles":
Code:
					MakeAnyLenString(&query, "CREATE TABLE npc_profiles ("
					// start columns		
					"id MEDIUMINT(6) NOT NULL,"
					"name VARCHAR(255) NOT NULL,"
					"str VARCHAR(15) NOT NULL,"
					"sta VARCHAR(15) NOT NULL,"
					"agi VARCHAR(15) NOT NULL,"
					"dex VARCHAR(15) NOT NULL,"
					"int VARCHAR(15) NOT NULL,"
					"wis VARCHAR(15) NOT NULL,"
					"cha VARCHAR(15) NOT NULL,"
					"mr VARCHAR(15) NOT NULL,"
					"fr VARCHAR(15) NOT NULL,"
					"cr VARCHAR(15) NOT NULL,"
					"pr VARCHAR(15) NOT NULL,"
					"dr VARCHAR(15) NOT NULL,"
					"hp VARCHAR(15) NOT NULL,"
					"ac VARCHAR(15) NOT NULL,"
					"hp_regen TINYINT UNSIGNED NOT NULL,"
					"mana_regen TINYINT UNSIGNED NOT NULL,"
					"walk_speed TINYINT UNSIGNED NOT NULL,"
					"run_speed TINYINT UNSIGNED NOT NULL,"
					"proc SMALLINT UNSIGNED,"
					"spells VARCHAR(100)"
					// end columns
					")");
In your npc_types table, add the column "npc_profile", MEDIUMINT(6) NOT NULL

In your npc_types table, you can remove any overlapping columns.
Reply With Quote
  #3  
Old 11-27-2002, 12:40 PM
quester
Hill Giant
 
Join Date: Oct 2002
Posts: 108
Default

What is the point of all this?!

http://forums.eqemu.net/showthread.p...;threadid=3980
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

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


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3