Jump to content

Recommended Posts

Posted
rastikzzz's repository still does not update for the new revision of Mangos,

but there is nothing difficult to update vehicle-patch only, to work with revision 8632 of Mangos source code

download from here: http://filebeam.com/33361f1d6ef96215a53d421d39c392fd

for 'msysgit' (Git on Windows) use the command:

patch -p1 < name.patch

and if you see any FAILED, then you need to fix it, before to compile the core.

thanks 'rastikzzz'

Thank you very much for that patch!!! :D:D:lol::lol:

I needed it at the 75XX version, so... thanks.

And for those questioning about how to patch it

$ patch -d . -p1 < name_of_the_patch.patch

  • Replies 604
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Got the following on latest 8649 commit

root@cyrex:~/mangos# git apply ../vehicle.patch
error: patch failed: src/game/Object.cpp:258
error: src/game/Object.cpp: patch does not apply
error: patch failed: src/game/ReactorAI.cpp:116
error: src/game/ReactorAI.cpp: patch does not apply

Posted

yes it comes with the new dbcs =)

Drako can you pls upload the new patch from mangos.ru work 8648+

http://getmangos.ru/forum/attachment.php?attachmentid=10247&d=1255620156

Pls =)

and this is fixx for 8649

diff --git a/src/game/Object.cpp b/src/game/Object.cpp

index 2ebfbf7..5a9dafa 100644

--- a/src/game/Object.cpp

+++ b/src/game/Object.cpp

@@ -258,6 +258,8 @@ void Object::_BuildMovementUpdate(ByteBuffer * data, uint16 flags, uint32 flags2

case TYPEID_UNIT:

{

flags2 = ((Creature*)this)->isInFlight() ? (MOVEMENTFLAG_FORWARD | MOVEMENTFLAG_LEVITATING) : MOVEMENTFLAG_NONE;

+ if(((Creature*)this)->GetVehicleGUID())

+ flags2 |= (MOVEMENTFLAG_ONTRANSPORT | MOVEMENTFLAG_FLY_UNK1);

}

break;

case TYPEID_PLAYER:

@@ -272,6 +274,9 @@ void Object::_BuildMovementUpdate(ByteBuffer * data, uint16 flags, uint32 flags2

// remove unknown, unused etc flags for now

flags2 &= ~MOVEMENTFLAG_SPLINE2; // will be set manually

+ if(((Unit*)this)->GetVehicleGUID())

+ flags2 |= (MOVEMENTFLAG_ONTRANSPORT | MOVEMENTFLAG_FLY_UNK1);

+

if(((Player*)this)->isInFlight())

{

WPAs

By Waldemar

Posted

there is a single problem :P

I am neither registered at getmangos.ru nor am I able to do that.

Also with google translation I was not able to answer these stupid questions :-(

Posted

Oh well the questions themselves were not difficult to me, the difficult part was figuring out what google (or babelfish) translation is trying to tell you...it's like putting all unique words into a dice cup, shake good and hope you get something that looks like a complete sentence :D

Anyway, that patch linked by salja does not load vehicle.dbc from what i can tell...all converted to DB tables.

Posted

I realized that as well...

I downloaded this file:

rastikzzz's repository still does not update for the new revision of Mangos,

but there is nothing difficult to update vehicle-patch only, to work with revision 8649 of Mangos source code

download from here: http://filebeam.com/1aa27f331393b94d03458bf60b2fccd2

for 'msysgit' (Git on Windows) use the command:

patch -p1 < name.patch

Do not use the command: git apply ...

and if you see any FAILED, then you need to fix it, before to compile the core.

thanks 'rastikzzz'

also this patch:

and this is fixx for 8649

diff --git a/src/game/Object.cpp b/src/game/Object.cpp

index 2ebfbf7..5a9dafa 100644

--- a/src/game/Object.cpp

+++ b/src/game/Object.cpp

@@ -258,6 +258,8 @@ void Object::_BuildMovementUpdate(ByteBuffer * data, uint16 flags, uint32 flags2

case TYPEID_UNIT:

{

flags2 = ((Creature*)this)->isInFlight() ? (MOVEMENTFLAG_FORWARD | MOVEMENTFLAG_LEVITATING) : MOVEMENTFLAG_NONE;

+ if(((Creature*)this)->GetVehicleGUID())

+ flags2 |= (MOVEMENTFLAG_ONTRANSPORT | MOVEMENTFLAG_FLY_UNK1);

}

break;

case TYPEID_PLAYER:

@@ -272,6 +274,9 @@ void Object::_BuildMovementUpdate(ByteBuffer * data, uint16 flags, uint32 flags2

// remove unknown, unused etc flags for now

flags2 &= ~MOVEMENTFLAG_SPLINE2; // will be set manually

+ if(((Unit*)this)->GetVehicleGUID())

+ flags2 |= (MOVEMENTFLAG_ONTRANSPORT | MOVEMENTFLAG_FLY_UNK1);

+

if(((Player*)this)->isInFlight())

{

WPAs

is already included in the file :P

rgds Drako

PS.: yeah, google translation sucks xD

Posted

ok, this is not really a problem, but I wanted to tell it ;-)

on trinity (yeah you hate it) and I think also on the original blizz servers the mouse icon becomes a green arrow when it is dragged over a vehicle...

why doesn't this happen with this patch here?

with this patch on my server the mouse icon becomes a yellow/golden gear...

like at usable GOs...

also I'd like to know if there's still someone working on the vehicle patch...

especially on the DBC support.

regards

Drako

Posted
ok, this is not really a problem, but I wanted to tell it ;-)

on trinity (yeah you hate it) and I think also on the original blizz servers the mouse icon becomes a green arrow when it is dragged over a vehicle...

why doesn't this happen with this patch here?

with this patch on my server the mouse icon becomes a yellow/golden gear...

like at usable GOs...

It's only DB problem

UPDATE `creature_template` SET `IconName` = 'vehichleCursor' WHERE `entry` = XXXXX;

Posted

ok Just tried to Complile rev 8697 for the 3rd time thinking I made an error in patching some how but it patched correctly and I keep getting 2 errors on compile,

1) Not a world object.

2) missing map.

I don't fully understand the code since I'm working from a patch file so I can't begin to fix.

Posted

the patch conflicts with the new revs anyway so wait a little til someone got the patch errors fixed and then you should be ok

EDIT: I took the time an got the applyerrors fixed for latest rev i think will test it now an upload the patchfile here when it's working once again

EDIT2: here comes the link :D didn't yet compile it but now it once more applys smoothly to a clean git repo off the master branch

EDIT3: Ok, i got builderror with none delcare function "vehicle" in "WorldObject" and will look into it now anyone else got this error or is it only me who's seeing it?

EDIT4: Ok got the error.missing/wrong liniecount in the object.h-file patch part so the function really wasn't declared :D fixed it and again uploaded it to this link

I'm not the author of this patch i got it form this topic and just fixed it for newest rev

Posted
link has already been posted
As said befor the links were there but maybe not visible enough.now it should be easier to find the link :D

Sorry but as I stated before as soon as I see a download link I'll try it but like before this is the message at the download link I get,

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404

tamrael.de

Thu Oct 22 19:29:31 2009

Apache/2.2.12 (Unix) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k PHP/5.3.0 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 :eek:

Posted

link changed in the last hour due to the changes in the core the patch again was broken an now it is once again healthy applying download here

EDIT: Ok the latest changes in Objectaccessors cause this patch to throw compile errors i will try to fix them an then repost here

Posted

Ok here is what I got when compiled for x86 and x64 builds

if (!v->Create(objmgr.GenerateLowGuid(HIGHGUID_VEHICLE), map, entry, id, m_session->GetPlayer()->GetTeam()))

..\\..\\src\\game\\debugcmds.cpp(629) : error C2660: 'Vehicle::Create' : function does not take 5 arguments

this is in /src/game/debugcmds, otherwise looks good sofar.

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