Live like teleporter

Share files with other Dawn of Light users

Moderator: Support Team

Live like teleporter

Postby dcosper » Tue Dec 13, 2011 11:29 am

Ok this is live like, not 100% perfect.

This is another npc written for all realms, drop this in your customnpc dir, and restart your server.

Create the teleporter /mob create DOL.GS.Scripts.LiveTeleporter target the new mob, type /mob realm 2 for mid teleporter then /mob reload /mob realm 1 for alb 3 for hib.
Attachments
LiveTeleporter.cs
LiveLike Teleporter from Tides of War server.
(68.73 KiB) Downloaded 482 times
dcosper
 

Re: Live like teleporter

Postby dcosper » Tue Dec 13, 2011 11:59 am

I was asked whats the difference between my teleporter and DOL Base.
DOL base is a better teleporter, much more dynamic and configurable, but you have to NOT mess up your /teleport table, as the teleporters pull the locations to send players to from that database.

Well it has always given me problems, as it stand now my DOL porter in hib, works fine, but alb and mid do not, and the database has the correct info.
So i wrote this guy, all the locations are hardcoded, so as long as the region locations dont change, they should always work.
A few locations that do not work on the teleport.

ALB
I dont know the DragonSlayer area from alb so NEEDalb is what it says lol
Hib - Fine
Mid
Kolbold Undercity - I cant find a jump in loc that isnt inside a rock or something else like that.

Guild house and personal house teleports do not work on all sides, i will fix this when able, but may need a spell added to the server.

Oh and this teleporter has the format and responces of live, which is quite different.
dcosper
 

Re: Live like teleporter

Postby Graveen » Tue Dec 13, 2011 4:49 pm

Oh, did you read
http://www.dolserver.net/?page=wiki&view=24

It seems rather easy :) Thank you for your contrib :)
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Live like teleporter

Postby dcosper » Wed Dec 14, 2011 12:15 am

Yes i have, but for some reasons some entries into the teleport database do not work no matter what i try, the included teleporters work with some teleport entries and not others, it was driving me batty, so i just wrote one lol, i know kinda lazy.
dcosper
 

Re: Live like teleporter

Postby Shursan » Fri Dec 16, 2011 11:45 am

strange, all works fine with the teleport table.
Do you make extra chars in your teleport name ? if i remember correctly, you can't make a character uppercase or any others special chars like é è etc..
Origins/Genesis Administrator
Shursan
Server Representative
 
Posts: 375
Joined: Mon Jun 22, 2009 8:25 pm
Location: France

Re: Live like teleporter

Postby dcosper » Fri Dec 16, 2011 1:59 pm

Not quite sure, it has always been a headache with me, tried /teleport add "Jump Name" and /teleport add JumpName, maybe i kill my teleport table every time i set up a sever, i dunno.

All i do know is after 6 Keyboard head-bangs, i just take my crappy coding skills and make another lol
dcosper
 


Return to “%s” User Files

Who is online

Users browsing this forum: No registered users and 1 guest