Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.x] Alliance - Brawlpub spawns #14642

Closed
ElleEntertainment opened this issue May 3, 2015 · 6 comments
Closed

[6.x] Alliance - Brawlpub spawns #14642

ElleEntertainment opened this issue May 3, 2015 · 6 comments

Comments

@ElleEntertainment
Copy link

http://pastebin.com/GfNw3CXy

the area is located in storwind tram area, so no need areatriggers

@MitchesD
Copy link
Contributor

MitchesD commented May 3, 2015

it cant be pushed, did you check it for double spawns? also phaseId is not valid

@ElleEntertainment
Copy link
Author

wowscrnshot_050315_111850
there are no double spawn, what should i do now?

@Kinzcool
Copy link
Contributor

Kinzcool commented May 3, 2015

SET @CGUID := (select max(guid) from creature);
SET @OGUID := (select max(guid) from gameobject);

....

(@CGUID+0, 68408, 369, 3, 1, '', -79.48066, 2462.06, -43.04464, 0.006766027, 7200, 0, 0), -- 68408 (Area: -1)
(@OGUID+0, 218206, 369, 3, 1, '', -45.40074, 2512.148, 6.988598, 1.570796, 0, 0, 1, -4.371139E-08, 7200, 255, 24), -- 0 (Area: -1)

First of all, this part is going to delete the last guid in the database; don't do that. Instead just set it manually to max guid + 1.

As of the fact of not being able to push it, you just have to remove the PhaseId field as it isn't a text one in the db and is of no matter in this case.

@ElleEntertainment
Copy link
Author

oh shit! XD I forgot to edit that! going to fix this and the orgrimmar patch (#14638)

@ghost
Copy link

ghost commented May 3, 2015

Also: Use "INSERT INTO" instead of your 3 "REPLACE INTO" commands (not used by TC). 😼

@Kinzcool
Copy link
Contributor

9ec07e0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants