Jump to content

Recommended Posts

  • Replies 604
  • Created
  • Last Reply

Top Posters In This Topic

Posted
i didnt have this problem, sometime they get disconected when leaving vehicle. but never at enter

When some player enters a vehicle, all players which are standing about get client crash.

Posted

Hola ansonic, te conozco de algun foro? La primera vez k veo a un Español o por lo menos alguien k hable español por aki xD.

Rastkizzz, when you are going to modify the patch to Mangos 3.1.3, please. ;)

Posted

I am attempting to port the falling sand game onto the Wii, through the use of C source code I found... Anyone willing to help me?

Custom Elements and items can be added, but it takes a while... trust me

Posted

yeah i want to update it to 3.1.3 but this needs some time, it will be in few days updated, because i dont have so much time.

do not use it now, it will not work, or you will crash server/client, becase i want to rewrite some thinghs in better way.

i am still not sure where to put vehicle id in relation to creature, to creature_template, creature_addon, to new table..

Posted

How does this patch do exactly? I've tested some of the vehicle spells and doesnt work, I don't know what I'm doing wrong, but the patch is applied, in sql i've the vehicle data etc...

Posted

Thanks rastikzzz but with linux i have error when i want compiling ...

../../../src/game/DBCStores.cpp:467:   instantiated from here
../../../src/game/DBCStores.cpp:190: warning: format '%d' expects type 'int', bu                                       t argument 5 has type 'size_t'
../../../src/game/DBCStores.cpp:190: warning: format '%d' expects type 'int', bu                                       t argument 5 has type 'size_t'
In file included from ../../../src/game/debugcmds.cpp:22:
../../../src/game/Vehicle.h:87: error: ISO C++ forbids declaration of 'VehicleDa                                       taStructure' with no type
../../../src/game/Vehicle.h:87: error: expected ';' before 'const'
../../../src/game/Vehicle.h:88: error: expected `;' before 'uint32'
../../../src/game/Vehicle.h:94: error: ISO C++ forbids declaration of 'VehicleDa                                       taStructure' with no type
../../../src/game/Vehicle.h:94: error: expected ';' before 'const'
../../../src/game/Vehicle.h: In member function 'uint32 Vehicle::GetVehicleFlags                                       ()':
../../../src/game/Vehicle.h:88: error: 'm_VehicleData' was not declared in this                                        scope
../../../src/game/debugcmds.cpp: In member function 'bool ChatHandler::HandleDeb                                       ugGetItemState(const char*)':
../../../src/game/debugcmds.cpp:558: warning: format '%d' expects type 'int', bu                                       t argument 3 has type 'size_t'
../../../src/game/debugcmds.cpp:564: warning: format '%d' expects type 'int', bu                                       t argument 3 has type 'size_t'
../../../src/game/debugcmds.cpp:573: warning: format '%d' expects type 'int', bu                                       t argument 3 has type 'size_t'
../../../src/game/debugcmds.cpp:579: warning: format '%d' expects type 'int', bu                                       t argument 3 has type 'size_t'
make[3]: *** [debugcmds.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/Creature.Tpo .deps/Creature.Po
mv -f .deps/DBCStores.Tpo .deps/DBCStores.Po
make[3]: Leaving directory `/home/SERVEURS/locale8039/mangos/objdir/src/game'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/SERVEURS/locale8039/mangos/objdir/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/SERVEURS/locale8039/mangos/objdir'
make: *** [all] Error 2

...

Posted
Thanks rastikzzz but with linux i have error when i want compiling ...

../../../src/game/DBCStores.cpp:467:   instantiated from here
../../../src/game/DBCStores.cpp:190: warning: format '%d' expects type 'int', bu                                       t argument 5 has type 'size_t'
../../../src/game/DBCStores.cpp:190: warning: format '%d' expects type 'int', bu                                       t argument 5 has type 'size_t'
In file included from ../../../src/game/debugcmds.cpp:22:
../../../src/game/Vehicle.h:87: error: ISO C++ forbids declaration of 'VehicleDa                                       taStructure' with no type
../../../src/game/Vehicle.h:87: error: expected ';' before 'const'
../../../src/game/Vehicle.h:88: error: expected `;' before 'uint32'
../../../src/game/Vehicle.h:94: error: ISO C++ forbids declaration of 'VehicleDa                                       taStructure' with no type
../../../src/game/Vehicle.h:94: error: expected ';' before 'const'
../../../src/game/Vehicle.h: In member function 'uint32 Vehicle::GetVehicleFlags                                       ()':
../../../src/game/Vehicle.h:88: error: 'm_VehicleData' was not declared in this                                        scope
../../../src/game/debugcmds.cpp: In member function 'bool ChatHandler::HandleDeb                                       ugGetItemState(const char*)':
../../../src/game/debugcmds.cpp:558: warning: format '%d' expects type 'int', bu                                       t argument 3 has type 'size_t'
../../../src/game/debugcmds.cpp:564: warning: format '%d' expects type 'int', bu                                       t argument 3 has type 'size_t'
../../../src/game/debugcmds.cpp:573: warning: format '%d' expects type 'int', bu                                       t argument 3 has type 'size_t'
../../../src/game/debugcmds.cpp:579: warning: format '%d' expects type 'int', bu                                       t argument 3 has type 'size_t'
make[3]: *** [debugcmds.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/Creature.Tpo .deps/Creature.Po
mv -f .deps/DBCStores.Tpo .deps/DBCStores.Po
make[3]: Leaving directory `/home/SERVEURS/locale8039/mangos/objdir/src/game'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/SERVEURS/locale8039/mangos/objdir/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/SERVEURS/locale8039/mangos/objdir'
make: *** [all] Error 2

...

i have asked people with linux, they dont have problems

in your crash log lines arent matching to actual rev, so you are using probably older one, try to update

How does this patch do exactly? I've tested some of the vehicle spells and doesnt work, I don't know what I'm doing wrong, but the patch is applied, in sql i've the vehicle data etc...

you need a vehicle id, insert it into creature_template_addon

for inspiration how to add vehicles look at vvv_vehicle_test_data.sql

Posted

Thanks for this fast answer ^^

I try to recompile now for see ...

EDIT:

Sorry but I have still the error ...

I use last rev, not patch, I do just:

git clone git://github.com/mangos/mangos.git
cd mangos
git pull git://github.com/rastikzzz/mangos/ master

Then, i have error:

../../../src/game/DBCStores.cpp:190: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
../../../src/game/DBCStores.cpp:190: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
In file included from ../../../src/game/debugcmds.cpp:22:
../../../src/game/Vehicle.h:87: error: ISO C++ forbids declaration of 'VehicleDataStructure' with no type
../../../src/game/Vehicle.h:87: error: expected ';' before 'const'
../../../src/game/Vehicle.h:88: error: expected `;' before 'uint32'
../../../src/game/Vehicle.h:94: error: ISO C++ forbids declaration of 'VehicleDataStructure' with no type
../../../src/game/Vehicle.h:94: error: expected ';' before 'const'
../../../src/game/Vehicle.h: In member function 'uint32 Vehicle::GetVehicleFlags()':
../../../src/game/Vehicle.h:88: error: 'm_VehicleData' was not declared in this scope
../../../src/game/debugcmds.cpp: In member function 'bool ChatHandler::HandleDebugGetItemState(const char*)':
../../../src/game/debugcmds.cpp:558: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
../../../src/game/debugcmds.cpp:564: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
../../../src/game/debugcmds.cpp:573: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
../../../src/game/debugcmds.cpp:579: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
make[3]: *** [debugcmds.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/Creature.Tpo .deps/Creature.Po
mv -f .deps/DBCStores.Tpo .deps/DBCStores.Po
make[3]: Leaving directory `/home/SERVEURS/testt/mangos/objdir/src/game'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/SERVEURS/testt/mangos/objdir/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/SERVEURS/testt/mangos/objdir'
make: *** [all] Error 2

...

Posted

ok thanks for reporting, its fixed now

Hello,

I want to use this cannon : http://fr.wowhead.com/?npc=27894

I modify the tables vehicles_data, creature_addon and npc_spellclicks_spells(the vehicle is 999 in my tables)

But I don't know what I have to put in vehicles_data_seat...

Sorry for very very bad english...

you have to look at vehicle.dbc and use REAL vehicle id (this is required to avoid client crash)

and then look at fields 7-14 that are vehicle seat ids

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