Jump to content

Vehicles (Dev)


Guest AuntieMangos

Recommended Posts

  • Replies 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

mangos 9451 No longer works Patch! Help with update please?

10>..\\..\\src\\game\\CreatureEventAI.cpp(854) : error C2039: 'ExitVehicle' : is not a member of 'Creature'

10> c:\\documents and settings\\splincha\\desktop\\mangos kore\\mangos\\src\\game\\Creature.h(385) : see declaration of 'Creature'

10>..\\..\\src\\game\\Creature.cpp(1292) : error C2039: 'Die' : is not a member of 'Vehicle'

10> c:\\documents and settings\\splincha\\desktop\\mangos kore\\mangos\\src\\game\\Vehicle.h(26) : see declaration of 'Vehicle'

10>..\\..\\src\\game\\Creature.cpp(1397) : error C2039: 'GetVehicleFlags' : is not a member of 'Vehicle'

10> c:\\documents and settings\\splincha\\desktop\\mangos kore\\mangos\\src\\game\\Vehicle.h(26) : see declaration of 'Vehicle'

10>..\\..\\src\\game\\Creature.cpp(1397) : error C2065: 'VF_CAN_BE_HEALED' : undeclared identifier

10>..\\..\\src\\game\\Creature.cpp(1900) : warning C4305: 'return' : truncation from 'double' to 'float'

10>..\\..\\src\\game\\AggressorAI.cpp(107) : error C2039: 'GetVehicleGUID' : is not a member of 'Creature'

10> c:\\documents and settings\\splincha\\desktop\\mangos kore\\mangos\\src\\game\\Creature.h(385) : see declaration of 'Creature'

10>..\\..\\src\\game\\Chat.cpp(1820) : error C2039: 'GetCreatureOrPetOrVehicle' : is not a member of 'ObjectAccessor'

10> c:\\documents and settings\\splincha\\desktop\\mangos kore\\mangos\\src\\game\\ObjectAccessor.h(79) : see declaration of 'ObjectAccessor'

10>..\\..\\src\\game\\Chat.cpp(1820) : error C3861: 'GetCreatureOrPetOrVehicle': identifier not found

Link to comment
Share on other sites

I don't understand why people state this last patch works when Skyner is correct and it clearly doesn't, I my self have tried several different ways to patch and always git "**** malformed patch at line 324: {" now as I can see the patch upload was eather bad or the patch is bad from the start considering I've even tried redowmloading it 4 different times as well as commands of patch -p1 < ... , git apply .... with the same results on various commits since as well as with and with out Playerbot, ahbot, dual spec, and totally clean. plus I've even tried to manually clean the patch my self with no success.

Link to comment
Share on other sites

Here it's for people who can not to merge MaNGOS (clean source code)

and 'Valhalla-Project' repository:

vehicle patch updated for MaNGOS rev. 9545

Link for download: http://filebeam.com/f2f694c0a9dbc9f8fba9ec1874d83768

Edit:

you can shorten the name of the patch like this: v.patch

and use this command to patching with Git

patch -p1 < v.patch

Thank You traponinet it worked like a charm! and compiled too!

Link to comment
Share on other sites

after command

make

on linux error

make[3]: Вход в каталог `/home/akustik/wowserver/vehicle-dual_spec/objdir/src/realmd'

CXX AuthSocket.o

CXX Main.o

CXX RealmList.o

CXXLD mangos-realmd

/usr/bin/ld: cannot find -ltbb

collect2: ld returned 1 exit status

make[3]: *** [mangos-realmd] Ошибка 1

make[3]: Выход из каталога `/home/akustik/wowserver/vehicle-dual_spec/objdir/src/realmd'

make[2]: *** [all-recursive] Ошибка 1

make[2]: Выход из каталога `/home/akustik/wowserver/vehicle-dual_spec/objdir/src'

make[1]: *** [all-recursive] Ошибка 1

make[1]: Выход из каталога `/home/akustik/wowserver/vehicle-dual_spec/objdir'

make: *** [all] Ошибка 2

vehicle-dual_spec branch ....... whts wrong?

Link to comment
Share on other sites

after command

make

on linux error

make[3]: Вход в каталог `/home/akustik/wowserver/vehicle-dual_spec/objdir/src/realmd'

CXX AuthSocket.o

CXX Main.o

CXX RealmList.o

CXXLD mangos-realmd

/usr/bin/ld: cannot find -ltbb

collect2: ld returned 1 exit status

make[3]: *** [mangos-realmd] Ошибка 1

make[3]: Выход из каталога `/home/akustik/wowserver/vehicle-dual_spec/objdir/src/realmd'

make[2]: *** [all-recursive] Ошибка 1

make[2]: Выход из каталога `/home/akustik/wowserver/vehicle-dual_spec/objdir/src'

make[1]: *** [all-recursive] Ошибка 1

make[1]: Выход из каталога `/home/akustik/wowserver/vehicle-dual_spec/objdir'

make: *** [all] Ошибка 2

vehicle-dual_spec branch ....... whts wrong?

Link to comment
Share on other sites

Just need some update to get compatible with mangos master 9550. Having some errors with clear mangos in patch applying :)

The patch is unusable for now and must be rewritten again,

(there are so many new changes in the source code of MaNGOS)

we will have to wait until the developer 'Tasssadar' to update their repository (vehicle branch)

Link to comment
Share on other sites

Come on, do a patch test :)

Take the updated vehicle patch for MaNGOS rev.9558 (source code)

http://filebeam.com/3a9e40170b06f568984c3609276f5007

patch maked good with mangos 9559 but he create only 2 .sql

v01_vehicle_tables.sql and v02_vehicle_data.sql

with old tasssadar patch there was 2 more .sql

v03_creature_addon_tables.sql and v10_vehicle_test_data.sql is it normal?

Link to comment
Share on other sites

Come on, do a patch test :)

Take the updated vehicle patch for MaNGOS rev.9558 (source code)

http://filebeam.com/3a9e40170b06f568984c3609276f5007

i have a error

duxaquila@duxi:~/mangos$ git apply < vehicle_mangos_9558.patch
<stdin>:154: trailing whitespace.
REPLACE INTO creature_template_addon VALUES
(33062, 0, 0, 0, 0, 0, 335, NULL, NULL); 
<stdin>:155: trailing whitespace.
REPLACE INTO vehicle_data VALUES
(335, 12, 62974, 62286, 62299, 64660, 0, 0, 0, 0, 0, 0, 0); 
<stdin>:160: trailing whitespace.
REPLACE INTO creature_template_addon VALUES
(33109, 0, 0, 0, 0, 0, 338, NULL, NULL); 
<stdin>:163: trailing whitespace.

<stdin>:165: trailing whitespace.
REPLACE INTO npc_spellclick_spells VALUES
(33060, 52196, 0, 0, 0, 0); 
error: patch failed: src/game/MovementHandler.cpp:447
error: src/game/MovementHandler.cpp: patch does not apply
duxaquila@duxi:~/mangos$ 

Mangos 9561

+

ScriptDev2

I have the Error found http://github.com/mangos/mangos/commit/fcfea70b7dcde1013fccbe670a8ff5bb6c63f722

I try now the fixxes

WHo wants to test the Fixx, can download the file here

Link to comment
Share on other sites

patch maked good with mangos 9559 but he create only 2 .sql

v01_vehicle_tables.sql and v02_vehicle_data.sql

with old tasssadar patch there was 2 more .sql

v03_creature_addon_tables.sql and v10_vehicle_test_data.sql is it normal?

compacted in just 2 files as you can see in the .patch file

Link to comment
Share on other sites

and it's time for the new patch

Take the updated vehicle patch for MaNGOS rev.9562 (source code)

download link: http://filebeam.com/d3e364596ff25c7e8901f9a56eaa0e8c

Edit:

already has a double seat for 'Mammoth' and 'Salvaged Chopper'

now they will be able to ride by two players (driver and passenger).

important:

(only need to re-import the file: v02_vehicle_data.sql again).

hey thanks for the new patch...but i have a stupid problem :) i used your patch for 9558 on a clear mangos but rev 9559, all goes good with no error but now i tryed to update my mangos to the rev 9562 and i reiceved this error with git hash :

$ git pull

Updating 6486fa3..1b67e95

error: Entry 'src/game/MovementHandler.cpp' not uptodate. Cannot merge.

what can i do?

EDIT: I HAVE TRYED to Git pull again and i reiceve this error :

$ git pull

Remote: Counting object: 38, done.

Remote: Compressing objects: 100% <23/23>, done.

Remote: Total 23 <delta 21> , reused 0 <delta 0>

Unpacking objects: 100% <23/23>, done.

From git://github.com/mangos/mangos

1b67e95..407e1c8 master -> origin/master

Updating: 6486fa3..407e1c8

error: Entry 'src/game/DBCStructure.h' not uptodate. Cannot merge.

Link to comment
Share on other sites

A simple "pull" does not always work when there's significant conflicts in the code layout between two revisions. Git Pull does a fetch + merge but will abort if the merge fails.

You'll have to separately do "fetch", then try "merge". If the merge fails, you can use 'git mergetool' to resolve conflicts or just hand edit the patch into your source.

Link to comment
Share on other sites

patching file src/game/Map.h

patching file src/game/MiscHandler.cpp

patching file src/game/MovementHandler.cpp

Hunk #5 FAILED at 468.

1 out of 6 hunks FAILED -- saving rejects to file src/game/MovementHandler.cpp.r

ej

patching file src/game/Object.cpp

patching file src/game/Object.h

patching file src/game/ObjectAccessor.cpp

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