[Solved] Why cant i get it to work

Go down

[Solved] Why cant i get it to work

Post by ggilir on Mon Dec 27, 2010 10:45 am

INSERT INTO gossip_scripts (id, delay, command, datalong, datalong2, dataint, x, y, z, o)
VALUES (9000104, 0, 6, 0, 0, 0, 4581.82, -3820.52, 979.184, 5.69632);

i am trying to make one to Hyjal but it wont work:S
it like it dont go to the info i put it on as



ggilir

Viestien lukumäärä : 2
Join date : 2010-12-27

Back to top Go down

Re: [Solved] Why cant i get it to work

Post by Rochet2 on Tue Dec 28, 2010 2:56 am

Are you trying to get to the unaccessable hyjal near darkshore and felwood or the instance?

Does the option to teleport show up ingame?
Did you restart your server after adding / modifying the teleport?

I assume the problem is that when you click the option, you are not teleported to hyjal, but to somewhere else, like near ghostlands.
This is caused by the mapID being wrong or by the co.ordinates being wrong.

avatar
Rochet2
Admin

Viestien lukumäärä : 196
Join date : 2010-02-04

http://emuproject.bbflash.net

Back to top Go down

Re: [Solved] Why cant i get it to work

Post by ggilir on Tue Dec 28, 2010 3:37 am

Yeas i can Press to the levelroad but i get to near ghost land:S

and the map id is 616:/ to hyjal
when i press .gps

ggilir

Viestien lukumäärä : 2
Join date : 2010-12-27

Back to top Go down

Re: [Solved] Why cant i get it to work

Post by Rochet2 on Tue Dec 28, 2010 4:22 am

Found the problem.

The mapID is put to datalong column and the map ID is really 1 for hyjal (near felwood).

The 616 is ZONE and / or AREA id, not mapID.

For the classic zones (not instances) the map ID should always be 1 or 0.

So here is the right SQL / teleport script(s):

Code:
INSERT INTO gossip_scripts (id, delay, command, datalong, datalong2, dataint, x, y, z, o) VALUES
(9000104, 0, 6, 1, 0, 0, 4581.82, -3820.52, 979.184, 5.69632);

To delete the old script you might need to use this:

Code:
DELETE FROM gossip_scripts WHERE id=9000104 AND command=6;
avatar
Rochet2
Admin

Viestien lukumäärä : 196
Join date : 2010-02-04

http://emuproject.bbflash.net

Back to top Go down

Re: [Solved] Why cant i get it to work

Post by Rochet2 on Tue Dec 28, 2010 10:42 am

I created a creator for teleports so things like this wont happen :3

http://the-isy.co.uk/project-code/?section=Download
avatar
Rochet2
Admin

Viestien lukumäärä : 196
Join date : 2010-02-04

http://emuproject.bbflash.net

Back to top Go down

Re: [Solved] Why cant i get it to work

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum