Custom /realm cmd.

Share files with other Dawn of Light users

Moderator: Support Team

Custom /realm cmd.

Postby Galroth » Fri Aug 15, 2014 7:08 pm

Hello!

Wanted to share a modified version of /realm command.

You can change the region to whatever RvR zone you are using. It will display a list of keeps etc.

In addition - It will how "Under Siege!" if the keep/tower is being attacked.

I thought this were good information, for i50 servers, who wanted the players to see where the action were.


Image

Replace the realm.cs command in

GameServer\commands\playercommands

My first upload. - Hope it will be at some use.
Attachments
realm.cs
Modified Realm command
(4.67 KiB) Downloaded 126 times
Last edited by Galroth on Mon Aug 18, 2014 9:53 am, edited 1 time in total.
Insane PvP - Admin & Creator

The Ministry - Old Frontiers
Galroth
DOL Apprentice
 
Posts: 25
Joined: Sat Mar 10, 2007 7:29 pm

Re: Custom /realm cmd.

Postby Graveen » Mon Aug 18, 2014 12:18 am

Thank you :)
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12519
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Custom /realm cmd.

Postby shanegru63624 » Fri Oct 24, 2014 4:33 am

i run a i50 server.. you have a version of this.. for like molvik? or how to show molvik/towers :)..
shanegru63624
DOL Novice
 
Posts: 70
Joined: Tue Jan 28, 2014 10:31 am

Re: Custom /realm cmd.

Postby Xanth » Thu Oct 30, 2014 1:32 pm

shane if u want to do a server u need to understand what the code does,... thats why galroth also commented it, so ppl understand, what the programmer is doing.. So if u look in the code u see this...

Code: Select all
//Change GetKeepsOfRegion to the zone you are using. 200 is old emain.
         ICollection<AbstractGameKeep> keepList = GameServer.KeepManager.GetKeepsOfRegion(200);


you just need to change the 200 to the rvr zone u want to have..

best regards
User avatar
Xanth
DOL Acolyte
 
Posts: 141
Joined: Tue Sep 30, 2014 7:01 pm
Location: Germany

Re: Custom /realm cmd.

Postby shanegru63624 » Sat Nov 01, 2014 8:45 pm

thanks.. ya i seen that but didnt know if it would work for the bg's thanks
shanegru63624
DOL Novice
 
Posts: 70
Joined: Tue Jan 28, 2014 10:31 am

Re: Custom /realm cmd.

Postby shanegru63624 » Sun Nov 02, 2014 12:29 am

ok got it working..i noticed.. if dont show who owns a tower in molvik.. if its not claim..
also i recompiled and i think it broke.. /on or /online command...
just so ya know
shanegru63624
DOL Novice
 
Posts: 70
Joined: Tue Jan 28, 2014 10:31 am


Return to User Files

Who is online

Users browsing this forum: No registered users and 1 guest