Teleporter not working on custom ports

Go down

Teleporter not working on custom ports

Post by chemicallion on Sun Aug 11, 2013 2:45 pm

(Trinity 3.3.5a ) ( Trinity database .52)

 Created the teleporter which works.  but when i make a custom port it shows up ingame within the teleporter but it doesn't do anything.  just clicks



my tele sql:
/*
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';

UPDATE smart_scripts
SET event_param2 = @BIG + event_param2 + @START
WHERE entryorguid='190000' AND event_param1 = '50000';

UPDATE smart_scripts
SET event_param2 = event_param2 - @BIG - 1
WHERE entryorguid='190000' AND event_param1 = '50000';


INSERT INTO gossip_menu_option (menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, box_money, box_text) VALUES
('50000', @SMALL, '2', 'Leveling Zones', 1, 1, '50000', '0', '');

SET @SID := (SELECT id FROM smart_scripts WHERE entryorguid = '190000' ORDER BY id DESC LIMIT 1)+1;
INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment) VALUES 
('190000', 0, IFNULL(@SID, 1), 0, 62, 0, 100, 0, '50000', @SMALL, 0, 0, 62, '1424', 0, 0, 0, 0, 0, 0, 8, 0, 0, '4611.33', '-3824.63', '953.035', '6.0244', 'Teleporter script - Custom');

DELETE FROM conditions WHERE SourceTypeOrReferenceId=15 AND SourceGroup='50000' AND SourceEntry=@BIG+1;

INSERT INTO conditions (SourceTypeOrReferenceId, SourceGroup, SourceEntry, ConditionTypeOrReference, ConditionValue1, ConditionValue2, ConditionValue3, Comment) VALUES
(15, '50000', @SMALL, 6, '67', 0, 0, 'Portal Master - Custom Faction req');

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

chemicallion

Viestien lukumäärä : 3
Join date : 2013-08-11

Back to top Go down

Re: Teleporter not working on custom ports

Post by chemicallion on Wed Aug 14, 2013 3:24 pm

anyone alive here?

chemicallion

Viestien lukumäärä : 3
Join date : 2013-08-11

Back to top Go down

Re: Teleporter not working on custom ports

Post by Rochet2 on Fri Aug 16, 2013 9:34 am

Hmm, Im in the army atm so its hard to check in daily, especially when we are camping.

Anyways, you are using an invalid mapID.
avatar
Rochet2
Admin

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

http://emuproject.bbflash.net

Back to top Go down

Re: Teleporter not working on custom ports

Post by chemicallion on Fri Aug 16, 2013 4:27 pm

but its in the database. i checked before adding it.  but ok thanks

chemicallion

Viestien lukumäärä : 3
Join date : 2013-08-11

Back to top Go down

Re: Teleporter not working on custom ports

Post by Rochet2 on Fri Aug 16, 2013 8:38 pm

chemicallion wrote:but its in the database. i checked before adding it.  but ok thanks
What is in the database?
Try using .go xyz 0 0 0 mapid
to test if you can access the map. Could also check DBC if the mapID exists and so on.
But I have never seen such a mapID used and it didnt work in game.
avatar
Rochet2
Admin

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

http://emuproject.bbflash.net

Back to top Go down

Re: Teleporter not working on custom ports

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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