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

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 02-19-2006, 06:49 AM
SolarPower19
Fire Beetle
 
Join Date: Feb 2006
Posts: 3
Default factions (again)

Hey everyone..new here, but a friend of branks (the guy that revamped all those aa's) and we've kind of gotten re-interested in making a pretty highly customized server. He's working with the code 6.0-DR3 (I don't know C from Yiddish), and I've been working on the DB..mobs, grids, spells, etc. For the server we're building, we've totally deleted the following tables using MySQL:
npc_types
npc_factions
npc_faction_entries
faction_list

+ others but those are not important for this question (I think).

So we want 2 opposing (fighting) factions in one zone, and I can't get the advice in either of these threads to work properly.

http://www.eqemulator.net/forums/showthread.php?t=17076

http://www.eqemulator.net/forums/showthread.php?t=15894

So far in the npc_types table, i have all mobs on npc_faction_id 1 or 2, social set to 1 (want them to assist each other), and npc_aggro set to 1.

in the faction lists table (format is id / name / base /) I have
1 / Blue Team / 1000 and
2 / Red Team / -1000 (so players con warmly to blue and KOS to red)

not using the other entries in this table as they're for setting race/class/diety modifiers, which I don't need.

On to the npc_faction table - format is id / name[MEMO] / primary faction -here I have:
1 / Blue_Team / 1
2 / Red_Team / 2

I don't really get why the old db had different values for faction and primary faction, so I tried changing the primary faction codes to 4 digit numbers (1001, 2001) -it didn't seem to change/help anything

ok, the npc_faction_entries table -I think this where I'm messing up. Format is npc_faction_id / faction_id / value / npc_value - and here is what I put in
1 / 1 / 0 / 1
1 / 2 / 0 / -1
2 / 2 / 0 / 1
2 / 1 / 0 / -1

as I understand it, the "value" column only affects how much of a faction hit players get by killing either sides mobs. and the npc_value column is (1=assist /0=nuetral/ -1=aggro). This is obviously way wrong, as when i log in the mobs are "aggro" at each other, but don't attack..and my cleric mobs heal/buff the wrong team. The mobs will try to nuke the opposing team but have no effect, and warrior/rogue mobs will kick and backstab for damage, but can't seem to perform regular attacks against each other. Any help would be greatly appreciated. And remember, I'm a total newb to all of this. . . so, baby steps =).
Reply With Quote
  #2  
Old 02-19-2006, 07:22 AM
SolarPower19
Fire Beetle
 
Join Date: Feb 2006
Posts: 3
Default

Also, i can't find a valid link to the guidebook v1.3, or that spell editing/viewing tool everyone was crazy over for awhile. If you have either and wouldn't mind, I could really use them. Please email em to solarpower19@yahoo.com
Reply With Quote
  #3  
Old 02-19-2006, 07:49 AM
Belfedia
Demi-God
 
Join Date: Jan 2005
Posts: 1,109
Default

You're joking about guidebook1.3 ?
there are 2 Right links on the wiki
__________________
__________________________________________________ _____________________________________
I speak english like a spanish cow..., I speak spanish like a english pudding...
But I try to speak good french !!! (Non au langage SMS sur forum)
http://eqfroggy.new.fr : Froggy French Server Website.
Reply With Quote
  #4  
Old 02-19-2006, 08:11 AM
SolarPower19
Fire Beetle
 
Join Date: Feb 2006
Posts: 3
Default

umm...good possibility i was drunk/blind/in the wrong house or something when looking for the guidebook. I just found it in about 15 seconds of looking. =p
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:40 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