This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Trinity WLK - Limits on Factions?  (Read 3176 times)

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: Trinity WLK - Limits on Factions?
« Reply #15 on: May 31, 2016, 02:32:19 pm »
OK, that confirms my and schlumpfs theory, sadly, its even worse than I feared. Value in row #2, reputationIndex, has apparently max value 2^7-1 (127). This index is used in at least one bit mask, so its max range in reality probably can't be changed at all. If DBC with 128 index causes crashes, here you go, 128 is too high value for system.

So you will most likely need to overwrite some old and for you useless reputation indexes.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Big Bad Bot

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 75
    • View Profile
Re: Trinity WLK - Limits on Factions?
« Reply #16 on: May 31, 2016, 04:32:17 pm »
You're right. I try to add more lines in the faction.dbc but now with the -1 value in that field and works perfectly. It isn't what I looking for, but is totally usefull; from 104 to 127 it's possibly to create factions without delete or overwrite anything, so is 23 factions for free!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Kaev

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 308
    • View Profile
Re: Trinity WLK - Limits on Factions?
« Reply #17 on: May 31, 2016, 09:34:13 pm »
That would be a cool information in the wowdev wiki, if it isn't already there! :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: Trinity WLK - Limits on Factions?
« Reply #18 on: June 01, 2016, 09:49:14 am »
I have added it there immediately.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

calabasa3

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 8
    • View Profile
Re: Trinity WLK - Limits on Factions?
« Reply #19 on: July 30, 2016, 06:57:51 am »
BUT, WHAT IS THE ESPECIFIC SOLUTION?
I WANNA INSERT MORE THAN 60 FACTIONS DIFERENTS.
:/
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: Trinity WLK - Limits on Factions?
« Reply #20 on: July 30, 2016, 10:50:10 am »
That caps lock...

You can have up to 127 factions you can obtain reputation with. Every single one must have unique reputationIndex in faction.dbc. You can set reputationIndex of some blizzlike faction to -1 and use it for your custom faction, that should work, at least for most of factions.

If you want to increase that limit of 127, you would need to change database, core and would have to really hope that you would not need to also change something what is hardcoded in client. So changing that limit itself is very unlikely.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz