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: [SOLVED] New reputation  (Read 4705 times)

hyakkimaru

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 128
    • View Profile
    • http://mc-revolution.fr
[SOLVED] New reputation
« on: November 22, 2012, 03:13:19 pm »
Hello Modcraft !

I've a little problem with my core when I create a new reputation on the side of DBC everything goes as it should, but at server start, here's what the log gives me:

Creature (Entry: 69001) has non-existing faction_A template (1202).
Creature (Entry: 69001) has non-existing faction_H template (1202).

I know what it means, but I don't understand how I can fix that.

DBC are on serverside and client side, is that I also have to change something in the core so that it takes into account the new reputation ?

Thank for your help :)
« Last Edit: November 23, 2012, 09:43:17 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: New reputation
« Reply #1 on: November 22, 2012, 04:09:29 pm »
The server also has faction templates in the database, I guess. And as it tells you, it is missing for faction 1202.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

hyakkimaru

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 128
    • View Profile
    • http://mc-revolution.fr
Re: New reputation
« Reply #2 on: November 23, 2012, 08:58:49 am »
Just in the DB ? It's strange, I've not found any table about reputation... It can't be in the core ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: New reputation
« Reply #3 on: November 23, 2012, 09:08:43 am »
http://d.pr/i/IFKl+
That took me longer to upload than to search.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

hyakkimaru

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 128
    • View Profile
    • http://mc-revolution.fr
Re: New reputation
« Reply #4 on: November 23, 2012, 09:13:46 am »
I've already fill this DBC, faction.dbc + factiontemplate.dbc are ok, it's why I need your help :p !

Ok, it's solved, I'm a very very big noob... Shame on me...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Scrainzo

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 1
    • View Profile
    • http://modcraft.superparanoid.de
Re: [SOLVED] New reputation
« Reply #5 on: January 09, 2013, 10:01:49 pm »
maybe tell us what was wrong?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [SOLVED] New reputation
« Reply #6 on: January 09, 2013, 10:21:57 pm »
Probably forgot to put files on server, forgot to restart or took the wrong id. Can't be much more if he "edited the dbc right".
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

LordAres

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 60
    • View Profile
Re: [SOLVED] New reputation
« Reply #7 on: January 09, 2013, 10:35:47 pm »
Hyakki

You should place your fix so if people run into a problem like this in the future they can reference your fix.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Sunset Blood Development - filmed everyday randomly between 0900 - 1330 PST
https://new.livestream.com/accounts/244 ... ts/1785527

Lets create our own game using wow resources! Sunset Blood!
 http://sunsetgaming.net/forums/index.php

Daweo

  • Registred Member
  • Race Changer
  • *****
  • Posts: 39
    • View Profile
Re: [SOLVED] New reputation
« Reply #8 on: August 15, 2013, 01:19:38 pm »
Hello, I am so sorry that i bring this solved topic alive again, but I try to create my own factions and I have problems. Can Someone who knows something about new reputations help me?

I added to Faction.dbc new line and filled with data by information from WowDev. Game works well and core too, but only before I log in. Then I give this core error:
Code: [Select]
.../Source/src/server/shared/PacketsByteBuffer.h:394 in ByteBuffer::append ASSERTION FAILED:
  size() < 10000000
[0x24d4e2]
[0xfd685]
[0x21d2c2]
[0x47534]
[0x49113]
[0x1bf8d]
[0x1cc84]
[0x5d89]
[0x2fd1f0]
ACE_OS_Thread_Adapter::invoke()+0x74 [0x0]
endthreadex()+0x3a [0x0]
endthreadex()+0xe4 [0x0]
BaseThreadInitThunk()+0x12 [0x0]
RtlInitializeExceptionChain()+0xef [0x0]
RtlInitializeExceptionChain()+0xc2 [0x0]

I dont have the new reputation used anywhere yet.
I tried to "hack" this error by adding another zero to condition, but it doesnt work. I tried to rewrite my Faction.dbc so many times and it still doestn work... :(

This is my new faction line...
Code: [Select]
10000,200,1791,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,1118,0.000000,0.000000,5,5,"Name",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16712190,"description",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16712190

Can You help me please? Some advice or example of new faction.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [SOLVED] New reputation
« Reply #9 on: August 15, 2013, 02:58:09 pm »
Out of generally looking it over, 0x2 as reputationflag1 seems weird. Try a different one, e.g. one that is covered in other factions already. Else, try adding a flag instead of a number for the localization masks.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Daweo

  • Registred Member
  • Race Changer
  • *****
  • Posts: 39
    • View Profile
Re: [SOLVED] New reputation
« Reply #10 on: August 15, 2013, 03:19:08 pm »
Thanks for respond.

I have typed it in DBC like flag, but DBC>CSV converter writes it like number. I tried many flags or zero flag too. I really dont know where error can be....:/

Do I need some other lines in FactionTeplate.dbc too or It is required only for connections between factions?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [SOLVED] New reputation
« Reply #11 on: August 16, 2013, 06:39:41 am »
@ Daweo

1. The numbers it's converting to is just the decimal equivalent of the hexidecimal. It should convert it back when needed. It's the same think it was, just read differently. Different programs will read it differently too (MyDBCEditor will read the hexidecimal, Taliis will read the decimal equivalent.

2. The error you got was a buffer overflow/overload (I don't know the technical terms). Not exactly sure where you said you put the extra 0, but adding it to the buffer should work (and has in my experience before all this table emphasis of trinitycore).

3. However, you are using the ID 10000? That's ridiculously high considering the current list is only about 2000. A THEORY to why it's not working is the ID at 10000 read as a hexidecimal (dunno why it would do that) would equal 65536 decimal, which to my memory in a lot of table data the limit is  65535. Not even joking, you could be 1 too high lol. Try a lower number.

4. Just a warning, you are only at the tip of the iceberg for the annoyance that is the reputation system... The reputation system is very very touchy and not something I recommend fiddling with unless you are really good at problem solving WoW modding.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Daweo

  • Registred Member
  • Race Changer
  • *****
  • Posts: 39
    • View Profile
Re: [SOLVED] New reputation
« Reply #12 on: August 16, 2013, 11:52:55 am »
@ XxXGenesisXxX

I solved my problem. It was high number of unique ID for rep point gaining (2nd Column). Core doesnt crash...

And to explaining our misunderstanding....

1. I work in MyDBCEditor. All things that dont need much work, many lines...If I rework many lines(like spell.dbc) I convert it and import to Excel. I used converter to show you my line... I know all You wrote in first point...:)

2. Yes, I added the zero to buffer...

3. So high number? It is because I have a little bit different system, I created for my server. It is really complicated, but it works...

4. Wow modding is like Iceberg... I fully agree with You... I do "massive" customization of wow about three years and I know problems, because there are always some problems...:D

I really thank You all for help...
Now I have problem that reputation doesnt increase, but it is like you said only tip of iceberg...:)


EDIT: Problem solved... You have to set some rep flag to show in rep tab and after use of .modify rep command You have to relog then it works..
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Daweo

  • Registred Member
  • Race Changer
  • *****
  • Posts: 39
    • View Profile
Re: [SOLVED] New reputation
« Reply #13 on: August 16, 2013, 01:45:57 pm »
And to fully close this topic.... The error which had hyakkimaru was, that he used for NPC faction ID from Faction.dbc instead of FactionTemplate.dbc. :)

Once again, Thanks for help everyone...:)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »