Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: lambo on December 22, 2016, 08:57:35 pm

Title: [WotLk] [QUESTION] Custom Flight Path Crashes Game
Post by: lambo on December 22, 2016, 08:57:35 pm
I followed a tutorial on here on how to make a custom flight path and it seemed to all work completely fine, until I get in game. After I followed the tutorial, I went to the flight master in game and I saw the green exclamation point over the flight master as if it was an undiscovered point. However, as soon as I clicked onto the flight master to test it out, the game crashed. I get Error #132 ACCESS VIOLATION after this. Does anyone know why this is happening? Thanks in advance.
Title: Re: [WotLk] [QUESTION] Custom Flight Path Crashes Game
Post by: Magnus on December 23, 2016, 03:18:41 pm
Custom flight paths needs some work on DBCs, client and server side.

What have you done exactly and which tutorial did you follow ?
Title: Re: [WotLk] [QUESTION] Custom Flight Path Crashes Game
Post by: stoneharry on December 23, 2016, 04:12:53 pm
Quote from: "Magnus"
Custom flight paths needs some work on DBCs, client and server side.

What have you done exactly and which tutorial did you follow ?

Well, technically, no. Flight paths can be done entirely server side. To make flight masters with the gossip menu, that requires client side edits. Transports (for example, ships) need the client side data also.
Title: Re: [WotLk] [QUESTION] Custom Flight Path Crashes Game
Post by: Magnus on December 23, 2016, 05:03:17 pm
How you are going than to fly without the flight masters gossip menu ?

Normally the client crashs if players haven't installed a proper custom patch. And the client needs the DBC data to create a visual flight map.

So, practically you need a client modification. Otherwise there is no fun.
Title: Re: [WotLk] [QUESTION] Custom Flight Path Crashes Game
Post by: stoneharry on December 23, 2016, 10:21:27 pm
Quote from: "Magnus"
How you are going than to fly without the flight masters gossip menu ?

Normally the client crashs if players haven't installed a proper custom patch. And the client needs the DBC data to create a visual flight map.

So, practically you need a client modification. Otherwise there is no fun.

You can activate flight paths through other methods than a flight master menu, just for example: http://www.wowhead.com/search?q=taxi#spells (http://www.wowhead.com/search?q=taxi#spells" onclick="window.open(this.href);return false;)
Title: Re: [WotLk] [QUESTION] Custom Flight Path Crashes Game
Post by: lambo on December 23, 2016, 10:48:52 pm
I followed this tutorial viewtopic.php?f=64&t=643 (http://modcraft.io/viewtopic.php?f=64&t=643" onclick="window.open(this.href);return false;). Thanks for the responses.
Title: Re: [WotLk] [QUESTION] Custom Flight Path Crashes Game
Post by: Magnus on December 26, 2016, 09:38:59 am
@stoneharry: I know the spell activation. In Stormwind you can get a nice harbor roundtrip in that way.

@lambo
Here some hints, may they help or not:
TaxiNodes.dbc and TaxiPath.dbc must be changed on client patch and on server.
TaxiPathNode.dbc needs to be changed on the server only.

- Trinity Core can save maximal 448 flightpoints (14x32 bit). So your taxinode ID must not exceed 447.
- Flightpath nodes (Order Number / Row 3) must start with 0 and must be continuous. Otherwise the client will crash.
  This works: 0,1,2,3,4 ...
  This crashes: 1,2,3,4... or 0,2,3,5 ...
- The core crashes also if you take a flight without nodes. (For example only the start and end point in TaxiPath, that will not work.)