Teleporter and a Jukebox for Trinity, Arcemu and Mangos

The problem here is that there is no way currently to make it do that without c++, which I do not wish to use.

(It will add more functions, but makes it harder to install and modify)

Sure if you find a way to make a way to check if the player is in combat I might use it, but currently there is no such condition.

Rochet2, I am so glad you put that reply in the pinned TeleNPC thread. I had looked for other custom npc’s of this type when that one wasn’t working, and somehow missed this. This is an excellent transporter, and this thread should definitely be pinned. Also, the jukebox on your site was very cool too. Thanks so much for both!

Quick question though, what exactly is the Stormwind WMO thing? I didn’t exactly understand what it is or does, so did not insert it.

Thanks again!

Mylavelia

PS I gave you another well-deserved +1 rep.

PPS Bump!

Thnx, totally needed.

I dont bump threads really as there are no real updates at all and bumping for nothing seems kinda … well … you know, bumping.

I have tuned the teleporter a lot with some ingame visual things like that you dont get the teleporting window stucked if you teleport from stormwind to stomrwind etc, but usually ppl just miss the little details.

The WMO is just nothing really …

Its just a gameobject with the stormwind modelID (full stormwind), but I had set its type to 11, which is a transport, so if you see it once on the map, it shouldnt disappear from sight.

That means you can walk from other side of the gameobject to the other without it disappearing in the middle like usually.

So basically its just a way to go around the usual stuff ppl do when trying to use the full stormwind WMO. (as it does clip from the middle cause of gameobjects disappearing when you go far enough)

Well I have no problem bumping when it should be pinned anyway. Not to knock the TeleNPC, as any contributions are always appreciated and now it works great, but yours has so many other “little things” that make it a much more elegant solution. Using gossip scripts making it much easier to understand and customize (for me anyway), pre-made spawns for all the major cities, only showing level/race appropiate options, and the general coolness of the way it looks make this an awesome customization that everyone should check out. And the jukebox, well that’s just frickin’ cool! And there’s nothing else similar to it on here. Seriously, thanks again so much for both of them!

And would some mod please pin this thread already! I’m sure there are many others who have somehow managed to miss this jewel in the past, just as I did.

Mylavelia

I totally agree on the gossip scripts … why they going to remove them .___.?

Well … if they do, I guess I need to do it the other way : /

I think I will try to finish up my new site, translations and new arcemu and trinity versions of the teleporter this summer.

nonblizzlike, better implementation via SAI and more. all _script tables are up for review atm

Hmh… I am feeling like the SAI isnt really blizzlike either.

But yeah, as I said, guess I need to create a new version when they are removed or disabled.

Until then, it should somewhat work if nothing changes. ~Ofc it does not work perfectly on the newest cores since something has gone wrong on the core side.

Ok, I have now succesfully converted the teleporter to smartai scripts.

You can just download the NPC like normally from the site.

(this release should remove the bug with the menus not working correctly)

Could you add an option to pay for teleport?

it could be awesome !

eh … maybe later, I need to fix the jukebox, teleport option creator, my new website etc.

Here is a temporary SQL you can run to do that:

[CODE]SET

@Menu_id := 50000 – The main menu’s menu_id. By default it is 50000 when you download the teleporter

;

SET – replace the 0 with the desired cost in copper.

@MAIN := 0, – main menu teleports

@Eastern := 0, – Eastern kingdoms teleports

@Kalimdor := 0, – Kalimdor teleports

@Outland := 0, – Kalimdor teleports

@Northrend := 0, – Kalimdor teleports

@Classic := 0, – Classic Dungeon teleports

@BC := 0, – BC Dungeon teleports

@Wrath := 0, – Wrath Dungeon teleports

@Raid := 0; – Raid Teleports

– Do not change anything below –

UPDATE gossip_menu_option SET box_money = @MAIN where menu_id = @Menu_id;

UPDATE gossip_menu_option SET box_money = @Classic where menu_id = @Menu_id+1;

UPDATE gossip_menu_option SET box_money = @BC where menu_id = @Menu_id+2;

UPDATE gossip_menu_option SET box_money = @Wrath where menu_id = @Menu_id+3;

UPDATE gossip_menu_option SET box_money = @Raid where menu_id = @Menu_id+4;

UPDATE gossip_menu_option SET box_money = @Eastern where menu_id = @Menu_id+5;

UPDATE gossip_menu_option SET box_money = @Kalimdor where menu_id = @Menu_id+6;

UPDATE gossip_menu_option SET box_money = @Outland where menu_id = @Menu_id+7;

UPDATE gossip_menu_option SET box_money = @Northrend where menu_id = @Menu_id+8;

UPDATE gossip_menu_option SET box_money = 0 where menu_id BETWEEN @Menu_id AND @Menu_id+8 AND option_icon IN (3, 7, 9) AND action_menu_id BETWEEN @Menu_id AND @Menu_id+8;[/CODE]

“I will hopefully be able work on a new SmartAI version soon”

2 hours later:

“Bam! Here it is…”

“Sorry, I don’t have time right now to add transport charges to the teleporter”

2 seconds later

“But this here will do exactly what you want…”

lol, Rochet2, you are the frickin’ man!

Mylavelia

What do you expect? Its summer time /emoticons/default_cool.png

The conversion went better than expected. All needed was a notepad, an excel (openoffice calc) and a mysql database.

Btw. I also converted Jukebox last night.

I am not sure though how to get it play songs only to one person, so atm everyone near the jukebox can hear the song and no one can stop it without relogging etc.

so you can spam it. If someone wants to help and knows how to use smartAI to play songs only to one person, please tell :3 (I am either blind or unfortunate)

I will translate again to Spanish /emoticons/default_biggrin.png

I currently have all translations of the city names, but … starting to apply them … I kinda push it forward all the time :3

Btw, thnx for the spanish translations. Spanish does not have all translations in wowwiki, so those will be handy.

Here is the translation file if someone wants it.

http://filebeam.com/f0e0ab915f1010dea10d698c5c4d1dbd

There is some problems with the chinese etc characters though…

I am not sure how to. (will they work just like that or do they need something special? Arcemu also needs some kind of support with those)

Lol, now that I look at yours, I realise that I used “main” and xxx too /emoticons/default_tongue.png

I wrote it as xxx, but I tested it before posting, so it ended up being 0… got to edit that xxx out.

Well … thats using update and not just going stright to the insert so not that much same :3

The cost code in here is now updated not to add cost to the back buttons or upper menu buttons.

The SQL code is now changed due to a DB structure change in gossip_menu_option table.

Thanks for Waffles007 for reporting.

No problem, Rochet2.

Thanks for the awesome scripts!

Keep up the good work.

Waffles

Localization is now avaliable for MaNGOS and Trinity.

http://projectcode.zzl.org/Download/Portal%20Master/Localization.php

After running:

Open the realmlist table and set the timezone to your language number: http://udbwiki.no-ip.org/index.php/Realmlist#timezone

Then open mangos.conf or worldserver.conf. Find line with RealmZone = 1 and change the value to your language number: http://udbwiki.no-ip.org/index.php/Realmlist#timezone

I feel that this is now broken for Trinity. I feel this because i have tried, tried, tried, to get it working for me now and it just fails… Sorry bro to break the news… It worked before my last pull update…