Custom jump locations for GM command

Share files with other Dawn of Light users

Moderator: Support Team

Custom jump locations for GM command

Postby ontheDOL » Wed May 17, 2017 6:42 pm

This is a script i found buried here on the forums that I revamped for the latest core. I've found it quite handy.

Basically its like the /jump command, but you can add custom port locations where ever you like and they are stored in the database for easy porting. So you can port to a name instead of x y z r locations. I removed a "port to player" feature in the command as we already have this with /jump

usage:
Extract folder into your GameServerScripts folder,
Run server, the new database table will be added on server init. ( No harm will be done but i recommend backing up your DB prior to this as I want no resposibility here!)

ingame type /jp
that will display the command options.
/jp add <name> - this will add a jump destination into the database with selected name at your current position.
/jp remove <name> - remove the DB entry
/jp list - list all the jump destinations from database
/jp port to <name> - port you to the jump destination linked to that name

I find it nice to add some custom locations, as the *j command is fixed locations in the client as far as i'm away (could be wrong)
enjoy.
Attachments
JumpPoints.zip
command and dbtable file
(3.34 KiB) Downloaded 260 times
- Unty -
Model Showroom and DOL guides
http://losojos-001-site1.btempurl.com
User avatar
ontheDOL
Developer
 
Posts: 311
Joined: Fri May 20, 2016 4:21 am
Location: Australian abroad

Re: Custom jump locations for GM command

Postby bsnow16 » Wed May 17, 2017 9:29 pm

Thanks for this :)
User avatar
bsnow16
DOL Initiate
 
Posts: 23
Joined: Wed Mar 28, 2007 12:10 am
Location: Canada

Re: Custom jump locations for GM command

Postby PlanarChaosRvrtwo » Thu May 18, 2017 8:54 am

You could add it to sourcecode i think
DOL dint only gaved me the data to start my server,
it also gaved me 16 amazing years with nice peeps,
and now its on me to return the favor.
User avatar
PlanarChaosRvrtwo
Database Team
 
Posts: 517
Joined: Thu Jul 07, 2016 6:21 am

Re: Custom jump locations for GM command

Postby ontheDOL » Thu May 18, 2017 5:45 pm

You could add it to sourcecode i think
I thought about adding it straight into the /jump command .... but got lazy :oops:
- Unty -
Model Showroom and DOL guides
http://losojos-001-site1.btempurl.com
User avatar
ontheDOL
Developer
 
Posts: 311
Joined: Fri May 20, 2016 4:21 am
Location: Australian abroad

Re: Custom jump locations for GM command

Postby Graveen » Sun May 21, 2017 4:02 pm

Yes would be the best, else in GSS. In GSS, the important thing is where the code is store and have a self explain in the header to allows everyone to understand.

TY onTheDOL ! :)
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


Return to “%s” User Files

Who is online

Users browsing this forum: No registered users and 1 guest