putting restrictions on /bind areas?

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

putting restrictions on /bind areas?

Postby ontheDOL » Sun Apr 23, 2017 9:16 pm

HI

I want to put a level restriction at a bind area. Eg; if you are over level 10, you cannot bind at certain place, but 10 and under is ok.

Is there currently a way to do this? or would it require another table column in say, "bindpoint" or "area" for a level entry, and a level check in the /bind code?

thanks
- 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: putting restrictions on /bind areas?

Postby PlanarChaosRvrtwo » Sun Apr 23, 2017 11:22 pm

Currently there is no way for it but the question is if you really need that function couse if you have an bindpoint in a low level region like Muire Tomb and the cap level of muire would be level 15 you can bind with level 18 to muire and if you log in you are ported out couse to high so the bind in that region is worthless for you maybe that solve the issue allready for ya.
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: putting restrictions on /bind areas?

Postby ontheDOL » Mon Apr 24, 2017 1:06 am

yeah , the bind would be out in the mainland... so i'll have to look at other options. I think i will put a column in "bindpoint" table, and have the method "IsAllowedToBind" run a check to player level for that bind area
- 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: putting restrictions on /bind areas?

Postby PlanarChaosRvrtwo » Mon Apr 24, 2017 1:53 am

It may be an bad idea but what i understood on your server idea you could also do an teleporter for a few teleport locations with restrictions on level.
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: putting restrictions on /bind areas?

Postby ontheDOL » Mon Apr 24, 2017 1:37 pm

It may be an bad idea but what i understood on your server idea you could also do an teleporter for a few teleport locations with restrictions on level.
possibly an idea :)
- 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: putting restrictions on /bind areas?

Postby Graveen » Mon Apr 24, 2017 3:00 pm

It is a good idea. Although i don't see the need in the way you expose it, i think a general BindPointManager would be nice:
- forbid low level to bind in highlevel zones
- make bindpoint availables by quest only (thinbk obelisks, catacombs)

And i'm pretty sure there is something related to obelisk in the code.
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: putting restrictions on /bind areas?

Postby PlanarChaosRvrtwo » Mon Apr 24, 2017 3:58 pm

Btw Bnds if you release in rvr zones you are moved to portal keeps but since a few patches release bring you to relic towns but that dont work somehow i just mention if you find the reason while looking into that stuff if you look.
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: putting restrictions on /bind areas?

Postby ontheDOL » Mon Apr 24, 2017 4:33 pm

i imagine its this code here in gameplayer
Code: Select all
case eReleaseType.RvR: { foreach (AbstractGameKeep keep in GameServer.KeepManager.GetKeepsOfRegion(CurrentRegionID)) { if (keep.IsPortalKeep && keep.OriginalRealm == Realm) { relRegion = keep.CurrentRegion.ID; relX = keep.X; relY = keep.Y; relZ = keep.Z; } } //if we aren't releasing anywhere, release to the border keeps if (relX == 0) { relRegion = CurrentRegion.ID; GameServer.KeepManager.GetBorderKeepLocation(((byte)Realm * 2) / 1, out relX, out relY, out relZ, out relHeading); } break; }
- 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: putting restrictions on /bind areas?

Postby PlanarChaosRvrtwo » Tue Apr 25, 2017 12:54 am

cool thanks
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: putting restrictions on /bind areas?

Postby ontheDOL » Tue Apr 25, 2017 3:35 pm

It is a good idea. Although i don't see the need in the way you expose it, i think a general BindPointManager would be nice:
- forbid low level to bind in highlevel zones
- make bindpoint availables by quest only (thinbk obelisks, catacombs)

And i'm pretty sure there is something related to obelisk in the code.
i'm not too familiar with anything catacomb related tbh. I wasn't sure if there is any need for this feature really apart from my own custom needs? Thats why i went for the quick n nasty level check in table :oops:

In my case, i have a key objective near a town, and can't have high levels binding there for balance reasons
- 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


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 1 guest