Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-06-2003, 11:55 AM
dcl
Sarnak
 
Join Date: Jun 2003
Posts: 71
Default Faction and Aggro

Got a couple of questions, that I hope someone can answer.

On Faction:

Looking at the Faction Table in the database, I see that there is a base faction and many mods. Does anyone know what the acceptable range for base faction is? (ie. what number is going to represent KOS?). The mods are labeled as Mod_c1 - Mod_c15 (presumably class modifiers) Mod_r1 - Mod_r14 (presumably racial modifiers) Then several nonsequential Mod_r## (which I assume are religious modifiers). Does anyone have a list of what specific class/race/religion each of these represent?

On Aggro:

Are mobs supposed to be assisting one another? Because on my server they are not. I can walk up to a group of mobs, and as long as I'm not KOS to them, I can fight one in the middle of the group and the others will stand by and do nothing. I thought that was what the Social entry in the NPC Table was for. Is there something I need to do to turn this on, or is it not implemented yet?

Thanks for any help.
Reply With Quote
  #2  
Old 07-06-2003, 01:18 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

Drwade did the work for ya, the first line of his faction_list.txt file
Code:
#INSERT INTO faction_list VALUES (1,'Faction',0Default,0War,0Clr,0Pal,0Rng,0Shd,0Dru,0Mnk,0Brd,0Rog,0Shm,0Nec,0Wiz,0Mag,0Enc,0Bst,0Hum,0Barb,0Erud,0WElf,0HElf,0DElf,0HlfElf,0Dwf,0Trl,0Ogr,0Half,0Gnm,0Were,0Skel,0Elem,0Zomm,0Wolf,0Iks,0Vah,0IksSkel,0Agn,0Bertox,0Brell,0Cazic,0Errol,0Bristle,0Karana,0Innor,0Mithan,0Prexus,0Quell,0Rallos,0Nife,0Solusek,0Tribun,0Tunare,0Veeshan);
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote
  #3  
Old 07-06-2003, 01:43 PM
dcl
Sarnak
 
Join Date: Jun 2003
Posts: 71
Default

Ah... I missed that.

Thanks
Reply With Quote
  #4  
Old 07-12-2003, 07:56 AM
Guest
 
Posts: n/a
Default can someone explain?

Unfortunately I am not at my computer to test this. How does this change to the database effect aggro?
Reply With Quote
  #5  
Old 07-12-2003, 08:02 AM
Guest
 
Posts: n/a
Default edited...

Unfortunately I can't edit my last post. Let me rephrase my question. Is the faction setting the only setting in the database that affects aggro?

Also, I haven't figured out all the secrets to moving mobs along more than one way point yet. So perhaps someone can tell me, does the emulator also allow for bad aggro between spawns? If set up appropriately, will they fight each other if in close contact?
Reply With Quote
  #6  
Old 07-12-2003, 10:00 AM
tcsmyworld's Avatar
tcsmyworld
Discordant
 
Join Date: Feb 2002
Posts: 452
Default

A while back there was code to set up npc vs npc , not sure if it can still be added into current code or not.
I'll dig around and see if I can find it again.
Reply With Quote
  #7  
Old 07-12-2003, 10:13 AM
Bigpull
Discordant
 
Join Date: Feb 2003
Posts: 305
Default

Yes an npc will attack another npc with a conflicting faction.
Reply With Quote
  #8  
Old 07-13-2003, 05:32 PM
Guest
 
Posts: n/a
Default What version?

What version of Eqemu was this implemented?

I ran a test by truncating my npc and faction databases completely. I created two factions called the Hatfields and McCoys. One faction was a dark elf hater and the other was a dwarf hater. I set a dwarf and dark elf on the same waypoint patrol, each assigned to their corresponding faction. The dwarf and dark elf had identical stats apart from race. They passed each other on their patrols without conflict.

However, I could create a character with identical stats and change my race to one or the other, and they would attack me accordingly.
Reply With Quote
  #9  
Old 07-13-2003, 06:42 PM
dcl
Sarnak
 
Join Date: Jun 2003
Posts: 71
Default

For the life of me, I haven't been able to get NPC's to assist either.
Reply With Quote
  #10  
Old 07-14-2003, 09:10 AM
Guest
 
Posts: n/a
Default Assisting...

Well... They only way they assist each other, based on my limited experiementation, is by individual faction checks. If your character fits the bill as the creature's most wanted, they will attack you individually -- so they never to truely assist each other as a separate checksum. (Which would be nice if they included that in the newest release.) Unless someone could prove me wrong with some insight, I didn't see any checksums for NPC -vs- NPC either. My upcomming server story-line will depend on that heavily. It's nice that they'll have the source code available too, just in case.
Reply With Quote
  #11  
Old 07-14-2003, 09:44 AM
dcl
Sarnak
 
Join Date: Jun 2003
Posts: 71
Default

I had assumed that was what the social field was for in the DB...
Reply With Quote
  #12  
Old 07-14-2003, 04:51 PM
tcsmyworld's Avatar
tcsmyworld
Discordant
 
Join Date: Feb 2002
Posts: 452
Default

Not sure if anyone remembers way back when Malevolent created an AI addition that used npc bosses and had it fixed so that you could have different npc's under different bosses fight for territory.
I'm trying to find the source from that , I archived it on CD somewhere , I'll post the source files when I find them , might be able to pick thru it and come up with something that would work for this.
Reply With Quote
  #13  
Old 07-14-2003, 05:56 PM
Guest
 
Posts: n/a
Default thanks!

I would really like to see that, TCS. Thanks!

I experimented with the socials and didn't turn up anything. However, your suggestion has given me reason to re-examine some more possiblities.

Now I am only assuming that the social is either turned off or on, '0 or 1' respectivly. So using the database from my earlier experiement above, I could create two Hatfields with the social of 1. Next, I switch my character to a neutral race with the #race command. Lastely I would attack one hatfield. The other hatfield being well in aggro radias should then come to the other's aid, pending I understood this correctly. Maybe someone could edjucate me otherwise.

Though, having the NPC's making checksums against themselves away from any 'city defined zone' would give the GM great versitility in carrying through story-based events. I can't wait to see TCS's code.

Although this opens another question for me. How does City Defense concure with NPC's that might be stationed in zones that contained more than one city area such as Greater Faydark? There would have to be 'bubbles', so to speak, in the database that defined city areas and NPC's that were stationed in them. Or perhaps there is a flag in the NPC setup that I have overlooked that gives direction to NPC's flagged in the CityDefense database?
Reply With Quote
  #14  
Old 07-14-2003, 06:03 PM
tcsmyworld's Avatar
tcsmyworld
Discordant
 
Join Date: Feb 2002
Posts: 452
Default

City defense only works on Guildwars servers.
The old source I have (when I find it , archived a bunch of stuff when HDD got full) sets up a completely different aspect of AI.
Was really cool when he made it, was early days when AI wasn't quite working , I'll look for it and see about getting it posted somewhere for you .
Reply With Quote
  #15  
Old 07-15-2003, 08:31 AM
Guest
 
Posts: n/a
Default One more thing...

Unfortunately, I haven't had a chance to check out the server code yet, but does someone know off hand what overall values trigger Friend, Foe, allie, ect?
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 10:52 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3