New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hunter's pet #311

Closed
Magnifikator opened this Issue Nov 16, 2012 · 3 comments

Comments

Projects
None yet
3 participants
@Magnifikator

Magnifikator commented Nov 16, 2012

In my world-error.log if have a lot of records of this error:

[11-16-2012][16:00][Arcemu] [ERR] E:\Arcemu_LoE_Source\code\src\arcemu-world\Object.cpp:1527 Object::_setFaction Unit does not have a valid faction. It will make him act stupid in world. Don't blame us, blame yourself for not checking :P, faction 0 set to entry 1201

That's a snow leopard. The database is well with faction 66.

I ask in-game if somebody is making somthing with a snow leopard. And a player answered that he is hunter and has now a snow leopard as a pet.

So, I think there is something wrong with hunter.

@jackpoz

This comment has been minimized.

Show comment
Hide comment
@jackpoz

jackpoz Nov 16, 2012

Member

"The database is well with faction 66."

please post the MySQL data about that specific entry.

Member

jackpoz commented Nov 16, 2012

"The database is well with faction 66."

please post the MySQL data about that specific entry.

@Magnifikator

This comment has been minimized.

Show comment
Hide comment
@Magnifikator

Magnifikator Nov 18, 2012

You can check it here:
http://landofelves.net/index.php?p=shownpc&id=1201

This link reads directly from our db.

And here the sql export:

INSERT INTO creature_proto (entry, minlevel, maxlevel, faction, minhealth, maxhealth, mana, scale, npcflags, attacktime, attacktype, mindamage, maxdamage, can_ranged, rangedattacktime, rangedmindamage, rangedmaxdamage, respawntime, armor, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, combat_reach, bounding_radius, auras, boss, money, invisibility_type, walk_speed, run_speed, fly_speed, extra_a9_flags, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8, spell_flags, modImmunities, isTrainingDummy, guardtype, summonguard, spelldataid, vehicleid, rooted) VALUES
(1201, 7, 8, 66, 137, 156, 0, 1, 0, 2000, 0, 20, 28, 0, 0, 0, 0, 180000, 306, 0, 0, 10, 0, 0, 0, 1.275, 0.67575, '', 0, 0, 0, 2.5, 8, 14, 0, 16828, 1742, 2649, 14916, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13378, 0, 0);

INSERT INTO creature_names (entry, `name`, subname, info_str, flags1, `type`, family, rank, killcredit1, killcredit2, male_displayid, female_displayid, male_displayid2, female_displayid2, unknown_float1, unknown_float2, leader, questitem1, questitem2, questitem3, questitem4, questitem5, questitem6, waypointid) VALUES
(1201, 'Snow Leopard', '', '', 1, 1, 2, 0, 0, 0, 954, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 100);

-- 77 entries, but similar to this one
INSERT INTO creature_spawns (id, entry, map, position_x, position_y, position_z, orientation, movetype, displayid, faction, flags, bytes0, bytes1, bytes2, emote_state, npc_respawn_link, channel_spell, channel_target_sqlid, channel_target_sqlid_creature, standstate, death_state, mountdisplayid, slot1item, slot2item, slot3item, CanFly, `phase`) VALUES
(9036, 1201, 0, -5818.510, -587.567, 398.420, 2.78763, 1, 954, 66, 0, 16777472, 0, 4097, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);


Magnifikator commented Nov 18, 2012

You can check it here:
http://landofelves.net/index.php?p=shownpc&id=1201

This link reads directly from our db.

And here the sql export:

INSERT INTO creature_proto (entry, minlevel, maxlevel, faction, minhealth, maxhealth, mana, scale, npcflags, attacktime, attacktype, mindamage, maxdamage, can_ranged, rangedattacktime, rangedmindamage, rangedmaxdamage, respawntime, armor, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, combat_reach, bounding_radius, auras, boss, money, invisibility_type, walk_speed, run_speed, fly_speed, extra_a9_flags, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8, spell_flags, modImmunities, isTrainingDummy, guardtype, summonguard, spelldataid, vehicleid, rooted) VALUES
(1201, 7, 8, 66, 137, 156, 0, 1, 0, 2000, 0, 20, 28, 0, 0, 0, 0, 180000, 306, 0, 0, 10, 0, 0, 0, 1.275, 0.67575, '', 0, 0, 0, 2.5, 8, 14, 0, 16828, 1742, 2649, 14916, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13378, 0, 0);

INSERT INTO creature_names (entry, `name`, subname, info_str, flags1, `type`, family, rank, killcredit1, killcredit2, male_displayid, female_displayid, male_displayid2, female_displayid2, unknown_float1, unknown_float2, leader, questitem1, questitem2, questitem3, questitem4, questitem5, questitem6, waypointid) VALUES
(1201, 'Snow Leopard', '', '', 1, 1, 2, 0, 0, 0, 954, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 100);

-- 77 entries, but similar to this one
INSERT INTO creature_spawns (id, entry, map, position_x, position_y, position_z, orientation, movetype, displayid, faction, flags, bytes0, bytes1, bytes2, emote_state, npc_respawn_link, channel_spell, channel_target_sqlid, channel_target_sqlid_creature, standstate, death_state, mountdisplayid, slot1item, slot2item, slot3item, CanFly, `phase`) VALUES
(9036, 1201, 0, -5818.510, -587.567, 398.420, 2.78763, 1, 954, 66, 0, 16777472, 0, 4097, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);


@dfighter1985

This comment has been minimized.

Show comment
Hide comment
@dfighter1985

dfighter1985 Dec 17, 2012

Member

Lol, I've accidentally reproduced this.
It happens when summoning an already tamed pet.

Member

dfighter1985 commented Dec 17, 2012

Lol, I've accidentally reproduced this.
It happens when summoning an already tamed pet.

Artox pushed a commit to Artox/arcemu that referenced this issue Mar 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment