Jump to content

[not working] Outdoor Pvp


Recommended Posts

  • Replies 621
  • Created
  • Last Reply

Top Posters In This Topic

Still the same errors - but i dont apply patch twice only what i have is arena patch...

And there is files like OutdoorPvPEP.cpp a and so where can i download them?

<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:Pre;overflow:auto'> then mv -f ".deps/OutdoorPvP.Tpo" ".deps/OutdoorPvP.Po"; else rm -f ".deps/OutdoorPvP.Tpo"; exit 1; fi

OutdoorPvP.cpp:737: error: redefinition of âOutdoorPvPObjective::OutdoorPvPObjective(OutdoorPvP*)â

OutdoorPvP.cpp:11: error: âOutdoorPvPObjective::OutdoorPvPObjective(OutdoorPvP*)â previously defined here

OutdoorPvP.cpp:744: error: redefinition of âbool OutdoorPvPObjective::HandlePlayerEnter(Player*)â

OutdoorPvP.cpp:18: error: âvirtual bool OutdoorPvPObjective::HandlePlayerEnter(Player*)â previously defined here

OutdoorPvP.cpp:763: error: redefinition of âvoid OutdoorPvPObjective::HandlePlayerLeave(Player*)â

OutdoorPvP.cpp:37: error: âvirtual void OutdoorPvPObjective::HandlePlayerLeave(Player*)â previously defined here

OutdoorPvP.cpp:776: error: redefinition of âvoid OutdoorPvPObjective::HandlePlayerActivityChanged(Player*)â

OutdoorPvP.cpp:50: error: âvirtual void OutdoorPvPObjective::HandlePlayerActivityChanged(Player*)â previously defined here

OutdoorPvP.cpp:2901: error: redefinition of âbool OutdoorPvP::HandleAreaTrigger(Player*, uint32)â

OutdoorPvP.cpp:723: error: âvirtual bool OutdoorPvP::HandleAreaTrigger(Player*, uint32)â previously defined here

...

...

...

...

make[2]: *** [OutdoorPvP.o] Error 1

make[2]: Leaving directory `/home/durbatuluk/MaNGOS/sources/src/game'

make[1]: *** [install-recursive] Error 1

make[1]: Leaving directory `/home/durbatuluk/MaNGOS/sources/src'

make: *** [install-recursive] Error 1

</div>

Link to comment
Share on other sites

<div class='quotetop'>QUOTE (durbatuluk @ Aug 25 2008, 08:47 AM) <{POST_SNAPBACK}></div>

Still the same errors - but i dont apply patch twice only what i have is arena patch...

And there is files like OutdoorPvPEP.cpp a and so where can i download them?[/b]

Try:

rm -rf src/game && svn up

After that apply the patch again. Because reverting the svn will not delete new unversioned files like those of the opvp patch.

Link to comment
Share on other sites

Here is a fix for the fire bomb:

<div class='sqltop'>SQL</div><div class='sqlmain'>insert into `eventai_scripts`(`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,

`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`

,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,

`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) values (1822501,18225,11,0,100,0,0,0,0,0,11,31961,0,4,0,0,0,0,0,0,0,0,'Fire Bomb Target cast Fire Bomb on Spawn'),

(1822502,18225,0,100,5000,0,5000,0,0,0,37,0,0,0,0,0,0,0,0,0,0,0,'Fire Bomb Target Despawn'); </div>

I've tested and it works.

Link to comment
Share on other sites

I've tested the quests: Hellfire Fortifications (Alliance), In Defense of Halaa, Spirits of Auchindoun (Alliance).

The first two quests work. Spirits of Auchinodoun should be fixed, you can finish it without completing the objectives.

I think these are all the daily quests for outdoor pvp.

Link to comment
Share on other sites

Quest http://www.wowhead.com/?quest=9422 can't be completed. I think we need to do same thing like that http://www.mangosproject.org/forum/index.php?showtopic=29220

Someone can write a patch for it?

sometimes get that error

2008-09-06 16:47:45 ERROR:Player::ModifyFactionReputation: Can't update reputation of Pally for unknown faction (faction template id) #609.

Link to comment
Share on other sites

Linux 6555

SD2 623

mangchat

<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:Pre;overflow:auto'>04:48:22 Aura 83 now is remove mode 1

04:48:22 Aura 83 now is in use

04:48:22 WORLD: Sending SMSG_ATTACKERSTATEUPDATE

04:48:22 Aura 16 now is remove mode 0

04:48:22 ProcDamageAndSpell: attacker flags are 0x1, victim flags 0x8002

04:48:22 WORLD: Sending SMSG_ATTACKERSTATEUPDATE

04:48:22 deal dmg:682 to health:396

04:48:22 creature 1923306 stopped attacking creature 215534

04:48:22 player 106865 stopped attacking creature 1923306

04:48:22 creature 215534 stopped attacking creature 1923306

04:48:22 Aura 68 now is remove mode 4

04:48:22 Aura 127 now is remove mode 4

04:48:22 Aura 165 now is remove mode 4

ERROR: Attempt get value from non-existed value field: 236 (count: 234) for object typeid: 3 type mask: 9

Object.h:225 ASSERTION FAILED:

index < m_valuesCount || PrintIndexError( index , false )

mangos-worldd: Object.h:225: bool Object::HasFlag(uint16, uint32) const: Assertion `"index < m_valuesCount || PrintIndexError( index , false )" &&0' failed.

04:48:22

Program received signal SIGABRT, Aborted.

[switching to Thread -1351603312 (LWP 20040)]

0xffffe410 in __kernel_vsyscall ()

#0 0xffffe410 in __kernel_vsyscall ()

No symbol table info available.

#1 0xb76fadf0 in raise () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.

#2 0xb76fc641 in abort () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.

#3 0xb76f443b in __assert_fail () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.

#4 0x08229834 in Player::IsOutdoorPvPActive (this=0x173da0b0) at Object.h:225

No locals.

#5 0x08427db3 in OutdoorPvPObjective::HandleCaptureCreaturePlayerMoveInLos (

this=0x8f32f28, p=0x173da0b0, c=0xe3609b8) at OutdoorPvP.cpp:507

cp = (class GameObject *) 0xe191a60

#6 0x08427687 in OutdoorPvP::HandleCaptureCreaturePlayerMoveInLos (

this=0x8f32eb0, p=0x173da0b0, c=0xe3609b8) at OutdoorPvP.cpp:662

No locals.

#7 0x082094f4 in OutdoorPvPMgr::HandleCaptureCreaturePlayerMoveInLos (

this=0x8ebb548, plr=0x173da0b0, c=0xe3609b8) at OutdoorPvPMgr.cpp:187

No locals.

#8 0x08432385 in OutdoorPvPObjectiveAI::MoveInLineOfSight (this=0xe15b5c8,

u=0x173da0b0) at OutdoorPvPObjectiveAI.cpp:37

No locals.

#9 0x0842781f in OutdoorPvP::HandlePlayerActivityChanged (this=0x8f32eb0,

---Type <return> to continue, or q <return> to quit---

plr=0x173da0b0) at OutdoorPvP.cpp:579

No locals.

#10 0x0828e4a5 in Aura::HandleModStealth (this=0xa7bc5fd0, apply=false,

Real=true) at SpellAuras.cpp:3303

pvp = (class OutdoorPvP *) 0x4e48

mDummyAuras = <value optimized out>

#11 0x0828c4ec in Aura::ApplyModifier (this=0xa7bc5fd0, apply=false, Real=true)

at SpellAuras.cpp:810

aura = SPELL_AURA_MOD_CHARM

#12 0x082f230b in Unit::RemoveAura (this=0x173da0b0, i=@0xaf701fe8,

mode=AURA_REMOVE_BY_DEFAULT) at Unit.cpp:4181

caster = (Unit *) 0xaf701fd0

Aur = (class Aura *) 0xa7bc5fd0

#13 0x082f275d in Unit::RemoveAura (this=0x173da0b0, spellId=24453,

effindex=0, except=0x0) at Unit.cpp:3974

iter = {_M_node = 0x940d7678}

spair = {first = 24453, second = 0 '\\0'}

#14 0x082f27d1 in Unit::RemoveAurasDueToSpell (this=0x173da0b0, spellId=24453,

except=0x0) at Unit.cpp:4084

i = 1

#15 0x082f2c98 in Unit::RemoveSpellsCausingAura (this=0x173da0b0,

auraType=SPELL_AURA_MOD_STEALTH) at Unit.cpp:424

No locals.

#16 0x082b7279 in Spell::Prepare (this=0x939c1b80, targets=0xaf7020c8,

triggeredByAura=0x0) at Spell.cpp:1951

result = 0 '\\0'

#17 0x084339d4 in PetAI::UpdateAI (this=0x173dc058, diff=190) at PetAI.cpp:294

itr = {_M_cur = 0xa0509470, _M_ht = 0xaf702168}

i = <value optimized out>

index = <value optimized out>

spellInfo = (const SpellEntry *) 0xb2e31478

spell = (Spell *) 0x939c1b80

targets = {m_srcX = 0, m_srcY = 0, m_srcZ = 0, m_destX = -1567.37585,

m_destY = 7945.84326, m_destZ = -22.6158752, m_strTarget = {

static npos = 4294967295,

_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x85b6fbc ""}},

m_targetMask = 2, m_unitTarget = 0xe909930, m_GOTarget = 0x0,

m_itemTarget = 0x0, m_unitTargetGUID = 17379391268309522708,

m_GOTargetGUID = 0, m_CorpseTargetGUID = 0, m_itemTargetGUID = 0,

m_itemTargetEntry = 0}

owner = (class Unit *) 0x17243e88

targetMap = {_M_ht = {

_M_node_allocator = {<__gnu_cxx::new_allocator<__gnu_cxx::_Hashtable_node<std::Pair<const unsigned int, Unit*> > >> = {<No data fields>}, <No data fields>}, _M_hash = {<No data fields>},

---Type <return> to continue, or q <return> to quit---

_M_equals = {<> = {<No data fields>}, <No data fields>},

_M_get_key = {<> = {<No data fields>}, <No data fields>},

_M_buckets = {<std::_Vector_base<__gnu_cxx::_Hashtable_node<std::Pair<const unsigned int, Unit*> >*,std::allocator<__gnu_cxx::_Hashtable_node<std::Pair<const unsigned int, Unit*> >*> >> = {

_M_impl = {<std::allocator<__gnu_cxx::_Hashtable_node<std::Pair<const unsigned int, Unit*> >*>> = {<__gnu_cxx::new_allocator<__gnu_cxx::_Hashtable_node<std::Pair<const unsigned int, Unit*> >*>> = {<No data fields>}, <No data fields>}, _M_start = 0x939c53f8, _M_finish = 0x939c56fc,

_M_end_of_storage = 0x939c56fc}}, <No data fields>},

_M_num_elements = 2}}

NULLtargets = {m_srcX = 0, m_srcY = 0, m_srcZ = 0, m_destX = 0,

m_destY = 0, m_destZ = 0, m_strTarget = {static npos = 4294967295,

_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x85b6fbc ""}},

m_targetMask = 0, m_unitTarget = 0x0, m_GOTarget = 0x0, m_itemTarget = 0x0,

m_unitTargetGUID = 0, m_GOTargetGUID = 0, m_CorpseTargetGUID = 0,

m_itemTargetGUID = 0, m_itemTargetEntry = 0}

#18 0x08142eab in Creature::Update (this=0x173da0b0, diff=190)

at Creature.cpp:414

No locals.

#19 0x081aba01 in VisitorHelper<MaNGOS::ObjectUpdater, Creature> (

v=@0xaf7022c8, c=@0x8f348d8) at GridNotifiersImpl.h:46

No locals.

#20 0x081aba31 in VisitorHelper<MaNGOS::ObjectUpdater, Creature, TypeList<Corpse, TypeNull> > (v=@0xaf7022c8, c=@0x8f348d8)

at ./../framework/GameSystem/TypeContainerVisitor.h:70

No locals.

#21 0x081a4dd3 in Map::UpdateCells (this=0xb4e3a338, diff=190)

at ./../framework/GameSystem/TypeContainerVisitor.h:105

cell_pair = (CellPair &) @0x940d7b38: {x_coord = 232, y_coord = 375}

cell = {data = {Part = {grid_x = 29, grid_y = 46, cell_x = 0,

cell_y = 7, nocreate = 1, reserved = 16}, All = 35064733}}

updater = {i_timeDiff = 190}

#22 0x08333d8c in MapUpdateRequest::call (this=0x940d77a8) at MapUpdater.cpp:48

No locals.

#23 0x08491fa8 in DelayExecutor::svc (this=0x8cca96c) at DelayExecutor.cpp:61

rq = (class ACE_Method_Request *) 0x940d77a8

#24 0xb7cefc62 in ACE_Task_Base::svc_run (args=0x8cca96c)

at ../../ace/Task.cpp:275

svc_status = <value optimized out>

#25 0xb7cf0998 in ACE_Thread_Adapter::invoke_i (this=0x8ebb548)

at ../../ace/Thread_Adapter.cpp:149

hook = (class ACE_Thread_Hook *) 0x6

func = (ACE_THR_FUNC) 0xb7cefc10 <ACE_Task_Base::svc_run(void*)>

arg = (void *) 0x8cca96c

---Type <return> to continue, or q <return> to quit---

status = (ACE_THR_FUNC_RETURN) 0x0

#26 0xb7cf0b76 in ACE_Thread_Adapter::invoke (this=0x8ebb548)

at ../../ace/Thread_Adapter.cpp:98

exit_hook_instance = (ACE_Thread_Exit *) 0x8e69888

exit_hook_maybe = {instance_ = 0x0}

exit_hook_ptr = <value optimized out>

#27 0xb7c52061 in ace_thread_adapter (args=0x8ebb548)

at ../../ace/Base_Thread_Adapter.cpp:124

status = (ACE_THR_FUNC_RETURN) 0x0

#28 0xb793531b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0

No symbol table info available.

#29 0xb77a057e in clone () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.</div>

Link to comment
Share on other sites

One for breakfast happy.gif

Fixed compile errors... did not test it on the run wink.gif ... Unfortunately I do not have any spare time right now to do this maybe i can get some free time this evening ... do not try with m$ anyway I think there are still linking problems with win32 not related to this patch ... if you are asked for any pw try my name wink.gif ... I am out for work now... cYa

http://filebeam.com/c46f06671d90da4d9c456850722c08eb

Regards

CodeEX

Link to comment
Share on other sites

Works for me ! Thx a lot! I ll go on testing..

Edit

works without SD2

but does not with SD2

2nd Edit

ok maybe i got a fix for it at least i got not compile errors this time but i am gonna test first

related sd2 files : sc_creature.cpp, custom_example.cpp, npc_escortAI.cpp and some Boss scripts

Link to comment
Share on other sites

little warning, this patch wont work with Rvn6562+, if this patch didn't get some attention from the creator then it will sadly die sad.gif

Edit :

RVN 6562 :* Remove: GetDistanceSq and GetDistance2dSq. Both functions were obsoleted many revisions ago (both functions were simply using their non Squared counterpart and squaring the result which is simply a waste of CPU time). Adjusted all distance defines to match. No mangosd.conf changes are required.

* Increase CONFIG_SIGHT_MONSTER and CONFIG_SIGHT_GUARDER to 50 yards. Before they were 20 yards and 25 yards respectively. This value limits the maximum distance that a creature can see regardless of level difference (through CreatureAI::IsVisible).

* Script library's VISIBLE_RANGE updated to match changes to CONFIG_SIGHT_M

GetDistanceSq function is used with Outdoorpvp patch, With it removed it wont work and will produce compile error, iam C newbie and i dont know how to get around it, Someone ?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use