[Completed] Horse - Saddle bags

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

[Completed] Horse - Saddle bags

Postby Tolakram » Tue Jun 14, 2011 12:03 pm

These are the 4 bags that go on a horse, each with 4 inventory slots. According to live docs these are granted at various champion levels. I can't get these to work, has anyone tried?
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: Horse - Saddle bags - any implementation?

Postby Tolakram » Tue Jun 14, 2011 12:09 pm

- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: Horse - Saddle bags - any implementation?

Postby Tolakram » Thu Jun 16, 2011 1:10 am

Ok, I have this working, and sending the correct bits to activate the 4 saddle bags. Thinking about how to code each of the 4 crafted bags to turn on the correct slots.
Code: Select all
public enum eHorseSaddleBag : byte
{
None = 0x00,
One = 0x01,
Two = 0x02,
Three = 0x04,
Four = 0x08
}
Code: Select all
public virtual byte ActiveSaddleBags
{
get { return DBCharacter.ActiveSaddleBags; }
set { DBCharacter.ActiveSaddleBags = value; }
}
On Live you have to /use the saddle bag (left front, left rear, etc) and it permanently activates the bag on the /mount window for you to use. You can only do this for each slot if you've passed the CL requirement first.
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: [Completed] Horse - Saddle bags

Postby Tolakram » Thu Jun 23, 2011 2:05 am

Code is finished and completed. It's up to each server admin to add the appropriate items in the DB.

You can modify your saddlebag settings using /player saddlebags and view active saddlebags as part of /player info IF the player has started Champion levels.

http://dolserver.svn.sourceforge.net/vi ... w=revision

Good luck :)
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: [Completed] Horse - Saddle bags

Postby Graveen » Thu Jun 23, 2011 8:08 am

TY Mark, excellent.
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” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest