Question about Teleporter

Go down

Question about Teleporter

Post by Calm on Thu Jun 02, 2011 1:58 am

I have downloaded the portal sql for Trinity.

Now i wanted to make 1 custom place for my server and i have downloaded a sql with this information.


/*
Portal Master Option
By Rochet2
Downloaded from http://projectcode.zzl.org/
Bugs and contact with E-mail: Rochet2@post.com
*/

SET
@BIG := (SELECT id FROM gossip_menu_option WHERE menu_id='50000' ORDER BY id DESC LIMIT 1),
@SMALL := (SELECT id FROM gossip_menu_option WHERE menu_id='50000' ORDER BY id ASC LIMIT 1),
@START := 1 + 1;

UPDATE gossip_menu_option
SET id = @BIG + id + @START
WHERE menu_id='50000';

UPDATE gossip_menu_option
SET id = id - @BIG - 1
WHERE menu_id='50000';

UPDATE conditions
SET SourceEntry = @BIG + SourceEntry + @START
WHERE SourceTypeOrReferenceId = 15 and SourceGroup = '50000';

UPDATE conditions
SET SourceEntry = SourceEntry - @BIG - 1
WHERE SourceTypeOrReferenceId = 15 and SourceGroup = '50000';

SET @ID := (SELECT id FROM gossip_scripts ORDER BY id DESC LIMIT 1);
INSERT INTO gossip_menu_option (menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_script_id, box_money, box_text) VALUES
('50000', @SMALL, '9', 'Grindzone', 1, 1, '50000', @ID+1, '1000', 'Are you sure?');

INSERT INTO gossip_scripts (id, delay, command, datalong, x, y, z, o) VALUES
(@ID+1, 0, 6, '1', '3610.320313', '-2806.137207', '177.086548', '0.582067');

/*
Portal Master Option
By Rochet2
Downloaded from http://projectcode.zzl.org/
Bugs and contact with E-mail: Rochet2@post.com
*/


But its not showing up in the portal , any idea whats going wrong ?

Calm

Viestien lukumäärä : 6
Join date : 2011-06-02

Back to top Go down

Re: Question about Teleporter

Post by Rochet2 on Thu Jun 02, 2011 2:47 am

Did you restart your server?

You used 50000 as your menu_id in the new teleport option, is that an exsisting menu (menu_id) in your current teleporter?

I myself tested and found nothing wrong in it, worked like a charm..
There might have been an error when executing it, make sure it got executed right.

There should be a new row in the gossip_menu_option table with 50000 as menu_id and 1 as id named Grindzone
and a new row in gossip_scripts with the ID number found from the action_script_id column in the new row in gossip_menu_option.
avatar
Rochet2
Admin

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

http://emuproject.bbflash.net

Back to top Go down

Re: Question about Teleporter

Post by Calm on Sun Jun 05, 2011 12:46 pm

Ok got it working, but trinity keeps saying, cant load teleporter bc no spawn id, i go ingame and do .npc add 32514 and its showing this npc, just the teleporter who have same looks like 32514 keeps saying wrong display id lol. drives me nuts. What a Face

Calm

Viestien lukumäärä : 6
Join date : 2011-06-02

Back to top Go down

Re: Question about Teleporter

Post by Rochet2 on Sun Jun 05, 2011 7:01 pm

Hmm .. I didnt get it fully ..
So the ready spawns error, but the one you spawn ingame works just fine?
avatar
Rochet2
Admin

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

http://emuproject.bbflash.net

Back to top Go down

Re: Question about Teleporter

Post by Calm on Fri Jun 24, 2011 1:23 pm

Hello again Smile Meight found the problem and i cannot fix it Wink

I have made a small chillout zone in the dancing troll village, but when i login with a Horde player and teleport to the zone, my game freezes and i need to reload client, any idea how to fix this? Smile

Calm

Viestien lukumäärä : 6
Join date : 2011-06-02

Back to top Go down

Re: Question about Teleporter

Post by Rochet2 on Fri Jun 24, 2011 7:43 pm

No idea ..

Either you have bad coords, the teleport is created in some buggy way or the problem is not with the teleporter.
It can also be some gameobject or similar in that place causing such problem.
avatar
Rochet2
Admin

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

http://emuproject.bbflash.net

Back to top Go down

Re: Question about Teleporter

Post by Calm on Sun Jun 26, 2011 9:43 am

Oh well time to find a neutral place then , so both factions can use the teleportal =) Thnx anyway

Calm

Viestien lukumäärä : 6
Join date : 2011-06-02

Back to top Go down

Re: Question about Teleporter

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