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)

Big Bad Bot

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 75
    • View Profile
Trinity WLK - Limits on Factions?
« on: May 29, 2016, 07:18:14 pm »
Hello everyone. I need to create a lot of new factions (like 60 new ones) without delete the old ones. I haven't any issue creating the first ten editing Faction.dbc and FactionTemplate.dbc but after the IDs 1170 and 1192 of the first DBC and 2245 and 2267 from the second one, the server start to crash.

Do you know if there's a limit of factions?
it's possible to "break" this limit messing with the core or adding more entries in a SQL table?]


PS: All the factions are the same with a few fields changed.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Trinity WLK - Limits on Factions?
« Reply #1 on: May 30, 2016, 12:44:02 am »
Be more specific about the crash. Best attach a crash log with debug.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Big Bad Bot

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 75
    • View Profile
(No subject)
« Reply #2 on: May 30, 2016, 04:52:20 am »
Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   worldserver.exe
  Application Version:   0.0.0.0
  Application Timestamp:   4e0950f4
  Fault Module Name:   worldserver.exe
  Fault Module Version:   0.0.0.0
  Fault Module Timestamp:   4e0950f4
  Exception Code:   c0000005
  Exception Offset:   0000d9cd
  OS Version:   6.1.7601.2.1.0.272.7
  Locale ID:   1033
  Additional Information 1:   0cd4
  Additional Information 2:   0cd433d4615af718ba90b11f461dad53
  Additional Information 3:   9489
  Additional Information 4:   94892a3496359438aa9a1235c0486e79

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid= ... cid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:Windowssystem32en-USerofflps.txt
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Makpptfox

  • Contributors
  • Loreweaver
  • *****
  • Posts: 103
    • View Profile
Re: Trinity WLK - Limits on Factions?
« Reply #3 on: May 30, 2016, 08:33:35 am »
I had to change factions and had a crash when I reached a certain numbers of new custom faction.
I can't help you more than that, but I'm pretty sure there is a limitation.

(You can try to changes the factions with OLD or UNUSED tag on it btw, that's how I've tricked the limitation.)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
For support, send your Discord's ID by PM.

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Trinity WLK - Limits on Factions?
« Reply #4 on: May 30, 2016, 09:03:16 am »
There is a file in your ServerCrashlog folder. It's a .txt file.

Can you upload it's content to a pastebin and post it here ?
« 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 #5 on: May 30, 2016, 09:35:46 am »
Are you guys really sure that you have done everything correctly? Those numbers which you have taken as IDs are pretty low, I quite doubt thats something what would be able to cause crashes. I have also habit of starting everything from higher number, my custom factions are 3200+, so your assumption is most likely incorrect.

Show me some examples of your data in your DBCs.
« 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

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Trinity WLK - Limits on Factions?
« Reply #6 on: May 30, 2016, 09:45:49 am »
Factions are used in bitmasks, so there suddenly being some 2^n/8 wouldn't be too surprising.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Scytheria23

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 49
    • View Profile
Re: Trinity WLK - Limits on Factions?
« Reply #7 on: May 30, 2016, 09:57:34 am »
I had the exact same problem myself (first dozen or so new factions worked fine, then POP!).  In the end I just reused the redundant ones.
« 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 #8 on: May 30, 2016, 10:18:07 am »
Quote from: "schlumpf"
Factions are used in bitmasks, so there suddenly being some 2^n/8 wouldn't be too surprising.
Reputations. Not factions. Thats why I want to see their DBCs. 256 is still much more than WotLK uses, and he spoke only about 60 custom ones. So if max isn't 128 (meh, signed again???), its still quite strange issue.
« 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 #9 on: May 30, 2016, 11:15:36 am »
Quote from: "Scytheria23"
I had the exact same problem myself (first dozen or so new factions worked fine, then POP!).  In the end I just reused the redundant ones.

I tried it once replacing the CTF - Flag - Horde 2 reputation (ID=1160) and doesn't work, but puttin the exact same one on ID 1164 works without issues -but I have other custom faction I need in that ID-

Quote from: "Ascathos"
There is a file in your ServerCrashlog folder. It's a .txt file.

Can you upload it's content to a pastebin and post it here ?


I don't have the option to save crashlogs active, the last one was from 2014 LOL. Con you tell me how to turn it on?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Trinity WLK - Limits on Factions?
« Reply #10 on: May 30, 2016, 11:25:05 am »
Quote from: "Big Bad Bot"
Quote from: "Scytheria23"
I had the exact same problem myself (first dozen or so new factions worked fine, then POP!).  In the end I just reused the redundant ones.

I tried it once replacing the CTF - Flag - Horde 2 reputation (ID=1160) and doesn't work, but puttin the exact same one on ID 1164 works without issues -but I have other custom faction I need in that ID-

Quote from: "Ascathos"
There is a file in your ServerCrashlog folder. It's a .txt file.

Can you upload it's content to a pastebin and post it here ?


I don't have the option to save crashlogs active, the last one was from 2014 LOL. Con you tell me how to turn it on?
Crashlogs are ALWAYS generated if worldserver crashes. The only useful ones are from Debug, though. RelWithDebug is "meh", but might be a pointer already.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Trinity WLK - Limits on Factions?
« Reply #11 on: May 30, 2016, 01:42:17 pm »
If not and you use a repack there are options for logs in the config file(s).
Perhaps they are turned of.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Big Bad Bot

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 75
    • View Profile
Re: Trinity WLK - Limits on Factions?
« Reply #12 on: May 30, 2016, 11:32:55 pm »
For some kind of strange reason, I found the new crash logs! I think I was totally sleepy when I see the folder the first time  :|

Crashes/Worldserver.exe

Quote
Revision: TrinityCore Rev: 0 Release Hash: Archive (Win32, little-endian)
Date 30:5:2016. Time 2:49
//=====================================================

*** Operation System ***
Windows Vista or Windows Server 2008 Server 4.0 Service Pack 1 (Version 6.1, Build 7601)

//=====================================================
Exception code: C0000005 ACCESS_VIOLATION
« 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 #13 on: May 31, 2016, 08:55:01 am »
Nah, can you just show me screenshot of your faction.dbc custom entries?
« 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 #14 on: May 31, 2016, 12:24:45 pm »
Here's the two versions: The one wich works having a few new factions and the one with one line more wich doesn't work:
« Last Edit: January 01, 1970, 01:00:00 am by Admin »