VG Factions
Re: VG Factions
[quote="zingtastic"]Do spawn packets of npc/mobs contain what faction ID they have?
And as most faction changes actually employ more then a couple + and - changes, how is that figured?[/quote]
Server side, most stuff like that is going to be calculated in the server so it's not something that's going to be in packets. You kill a spawn, the server knows to increase/decrease faction appropriately and just sends the messages saying your faction changed to the client. I see that faction id is sent in spawn packets from Xen/Xinux's posts but haven't verified if it's actually used (accurate).
And as most faction changes actually employ more then a couple + and - changes, how is that figured?[/quote]
Server side, most stuff like that is going to be calculated in the server so it's not something that's going to be in packets. You kill a spawn, the server knows to increase/decrease faction appropriately and just sends the messages saying your faction changed to the client. I see that faction id is sent in spawn packets from Xen/Xinux's posts but haven't verified if it's actually used (accurate).
Re: VG Factions
Ok, so getting as much info about even factions is going to be needed for the server side of factions. Wow.
- John Adams
- Retired
- Posts: 4583
- Joined: Wed Aug 28, 2013 9:40 am
- Location: Phoenix, AZ.
- Contact:
Re: VG Factions
As foof said, we'll get most faction info from parsing packets. Faction changes we can likely calculate after we see how a few work (I doubt Sigil/SOE went into each and every mob and set a unique faction up/down value). Could be something as simple as level/diff/your race multiplied by some factor. Don't sweat having to kill everything in game to get a faction hit
Re: VG Factions
Add "Pantheon Visitors" to the list. It isn't one seen often and as the GM's learned, killing merchants and other random guys in the PotA "lobby" will quickly earn unresettable KOS standings. Will try and get an ID on it as well.
Re: VG Factions
[quote="theFoof"][quote="zingtastic"]Do spawn packets of npc/mobs contain what faction ID they have?
And as most faction changes actually employ more then a couple + and - changes, how is that figured?[/quote]
Server side, most stuff like that is going to be calculated in the server so it's not something that's going to be in packets. You kill a spawn, the server knows to increase/decrease faction appropriately and just sends the messages saying your faction changed to the client. I see that faction id is sent in spawn packets from Xen/Xinux's posts but haven't verified if it's actually used (accurate).[/quote]
You are correct, faction_id is sent in the npc bitstream packets (typically when the channel is first opened). I just checked one of my collects against the list and 289 is City of Khal. The NPC's I collected where outside Khal but close, so it seems that the list is accurate.
And as most faction changes actually employ more then a couple + and - changes, how is that figured?[/quote]
Server side, most stuff like that is going to be calculated in the server so it's not something that's going to be in packets. You kill a spawn, the server knows to increase/decrease faction appropriately and just sends the messages saying your faction changed to the client. I see that faction id is sent in spawn packets from Xen/Xinux's posts but haven't verified if it's actually used (accurate).[/quote]
You are correct, faction_id is sent in the npc bitstream packets (typically when the channel is first opened). I just checked one of my collects against the list and 289 is City of Khal. The NPC's I collected where outside Khal but close, so it seems that the list is accurate.
Re: VG Factions
Here is my struct for this based off the info you guys provided.
"is_prestige_faction" being set to 1 if the faction is a prestige faction. If it is a prestige faction, the value is also the percentage number rounded to the nearest tenth * 10. For non-prestige factions the normal signed value is sent.
Code: Select all
<Struct Name="WS_ServerFaction" OpcodeName="OP_ServerFaction">
<Data ElementName="faction_name" Type="VGO_StringWide" />
<Data ElementName="faction_id" Type="uint32" />
<Data ElementName="faction_value" Type="int32" />
<Data ElementName="is_prestige_faction" Type="uint8" />
</Struct>Re: VG Factions
Do you think this will also encompass city factions also? Those that are used for the city faction quest lines, and city mounts.
Re: VG Factions
[quote="zingtastic"]Do you think this will also encompass city factions also? Those that are used for the city faction quest lines, and city mounts.[/quote]
Do they show up as different lists in the faction window? That last element could be considered a faction type instead if so, I've only seen the normal factions + prestige.
Do they show up as different lists in the faction window? That last element could be considered a faction type instead if so, I've only seen the normal factions + prestige.
Re: VG Factions
I will see about capturing some city faction events in a log for you to crunch.