|
|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
| Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum) |

11-22-2010, 04:03 PM
|
|
Dragon
|
|
Join Date: May 2009
Location: Milky Way
Posts: 539
|
|
I bugged derision for his diff on this, so hopefully will be able to get this functional sometime before the new year(he wasn't joking about the size the diff lol). I'm going to try to get expeditions working first as it seems less complicated and good practice for this however we are missing the SoD opcodes for shared tasks so if somebody who can get those is bored over the next while, it would help out to get those nailed down.
With the changes Ive made to the AA system, we should be able to implement monster missions once this gets working(will be able to hide the clients normal AAs and send a new table with the monster AAs, although will prob require a change to the way AAs are calculated, as presently even hidden AAs gets tallied up).
|
 |
|
 |

11-22-2010, 04:22 PM
|
|
Developer
|
|
Join Date: Feb 2004
Location: UK
Posts: 1,540
|
|
Quote:
Originally Posted by Caryatis
With the changes Ive made to the AA system, we should be able to implement monster missions once this gets working(will be able to hide the clients normal AAs
and send a new table with the monster AAs, although will prob require a change to the way AAs are calculated, as presently even hidden AAs gets tallied up).
|
I'll have to send you a diff of my Shroud/Monster mission code as well
I had it to the point where you could select a monster template from the Shroud Keeper and it would convert you into a monster and send an updated
PlayerProfile (and if IIRC, the updated AA table).
I set up my own local SVN when I was working on shrouds, so I could try things and revert easily if needed, so it will be slightly harder to produce a diff
as I will need to find out which base EQEmu revision it was forked from.
Unlike the Shared Task code, the shroud stuff is based on the SoD OPCodes.
The reason I lost interest in Monster Missions/Shrouds is because you basically need to maintain two sets of all player stats (AC, STR, HP, Mana, AAs,
Inventory, etc, etc) for their normal and shrouded forms and use the correct one based on whether they are shrouded or not ... too much re-coding for my liking 
|
 |
|
 |

11-22-2010, 04:35 PM
|
|
Dragon
|
|
Join Date: May 2009
Location: Milky Way
Posts: 539
|
|
Awesome, yea if you have some stuff already done, it would definitely help me out as this is all pretty new to me still 
|

11-22-2010, 04:42 PM
|
 |
Administrator
|
|
Join Date: Feb 2009
Location: MN
Posts: 2,072
|
|
Quote:
Originally Posted by Caryatis
Awesome, yea if you have some stuff already done, it would definitely help me out as this is all pretty new to me still 
|
I can definitely get packet collects taken care of as far as Monster Mission in EQ as it stands. Once this gets further in progression I can take care of it.
|
 |
|
 |

11-22-2010, 11:01 PM
|
|
Sarnak
|
|
Join Date: May 2010
Posts: 39
|
|
Quote:
Originally Posted by Caryatis
I bugged derision for his diff on this, so hopefully will be able to get this functional sometime before the new year(he wasn't joking about the size the diff lol). I'm going to try to get expeditions working first as it seems less complicated and good practice for this however we are missing the SoD opcodes for shared tasks so if somebody who can get those is bored over the next while, it would help out to get those nailed down.
With the changes Ive made to the AA system, we should be able to implement monster missions once this gets working(will be able to hide the clients normal AAs and send a new table with the monster AAs, although will prob require a change to the way AAs are calculated, as presently even hidden AAs gets tallied up).
|
If you need a collect for expeditions talk to KLS. Robregen collected those some time back and passed them along to her. Getting expeditions functional would be very nice.
|
 |
|
 |
 |
|
 |

11-22-2010, 11:39 PM
|
|
Dragon
|
|
Join Date: May 2009
Location: Milky Way
Posts: 539
|
|
Didn't have much time to work on this today but seems like it should be pretty straightforward, got most of the fields populated(members/status not quite right yet)...
However we seem to be missing the opcode for the lockout window, we have the structs and 1 unknown opcode which Im going to assume is for the lockout portion(underlined):
Code:
# Expedition
OP_DzQuit=0x054e
OP_DzListTimers=0x3200
OP_DzAddPlayer=0x3ba3
OP_DzRemovePlayer=0xa682
OP_DzSwapPlayer=0x0d8d
OP_DzMakeLeader=0x1caa
OP_DzPlayerList=0x74ca
OP_DzJoinExpeditionConfirm=0x1772
OP_DzJoinExpeditionReply=0x3c13
OP_DzExpeditionInfo=0x128e
OP_DzMemberStatus=0x4661
OP_DzLeaderStatus=0x226f
OP_DzExpeditionEndsWarning=0x1879
OP_DzExpeditionList=0x3657
OP_DzMemberList=0x74e4
OP_DzCompass=0x35d3
OP_DzChooseZone=0xd8a
#0x1d99 was grouped with these too but I don't really know it's purpose.
Not too vital as we can still show the lockout timers with the /dzListTimers command but for aesthetics might be nice to have them in the window.
|
 |
|
 |

11-22-2010, 11:56 PM
|
 |
Administrator
|
|
Join Date: Feb 2009
Location: MN
Posts: 2,072
|
|
Quote:
Originally Posted by Jaekob
If you need a collect for expeditions talk to KLS. Robregen collected those some time back and passed them along to her. Getting expeditions functional would be very nice.
|
Well that or what I was getting to is getting specific monster missions collected so we can extract them into database form once we get a schema and source established. Because this is going to require collects of tons of different monster profiles via AA, items etc. etc. I'm sure it's going to be quite the project.
|

04-21-2012, 05:34 PM
|
 |
Administrator
|
|
Join Date: Feb 2009
Location: MN
Posts: 2,072
|
|
Does anyone still have a diff as to where they got with this as well as identified opcodes and structs?
Derision, Caryatis?
|

04-21-2012, 05:42 PM
|
|
Developer
|
|
Join Date: Feb 2004
Location: UK
Posts: 1,540
|
|
For shared tasks ? The last few posts in this thread seem to be about Shrouds and Expeditions.
This is the diff I sent Caryatis for the work I had done on Shared Tasks a couple of years ago.
http://www.rama.demon.co.uk/sharedtasks.diff
|

04-21-2012, 05:46 PM
|
 |
Administrator
|
|
Join Date: Feb 2009
Location: MN
Posts: 2,072
|
|
Quote:
Originally Posted by Derision
For shared tasks ? The last few posts in this thread seem to be about Shrouds and Expeditions.
This is the diff I sent Caryatis for the work I had done on Shared Tasks a couple of years ago.
http://www.rama.demon.co.uk/sharedtasks.diff
|
Alright thanks.
What did you not quite like about this? Is there anything you can tell me that would help anyone who just starts going through this diff?
Edit: I also see that you have three new tables that are referenced in the Mysql portions of this diff. Do you happen to have these as well before I start guessing at what the field types were and your intentions.
`shared_task_activities`
`shared_task_members`
`shared_tasks`
Last edited by Akkadius; 04-21-2012 at 05:57 PM..
|
 |
|
 |

04-22-2012, 10:45 AM
|
|
Developer
|
|
Join Date: Feb 2004
Location: UK
Posts: 1,540
|
|
Code:
CREATE TABLE IF NOT EXISTS `shared_tasks` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`taskid` int(10) unsigned NOT NULL,
`leader` varchar(64) NOT NULL,
PRIMARY KEY (`id`),
KEY `taskid` (`taskid`,`leader`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `shared_task_activities` (
`id` int(10) unsigned NOT NULL,
`activityid` int(10) unsigned NOT NULL,
`donecount` int(10) unsigned NOT NULL,
`completed` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`,`activityid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `shared_task_members` (
`id` int(10) unsigned NOT NULL,
`member` varchar(64) NOT NULL,
`charid` int(10) unsigned NOT NULL DEFAULT '0',
`level` tinyint(3) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`,`member`),
UNIQUE KEY `member` (`member`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
EDIT: Looks like I added some columns to the tasks table:
I think sharedtype was 4 for Norrath's Keepers (Radiant crystal reward) and 5 for Dark Reign (Ebon crystals). The lockactivity column was to lock a task from adding new members after that activity was completed.
Code:
mysql> describe tasks;
+---------------+---------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------------+---------------------+------+-----+---------+-------+
| id | int(11) unsigned | NO | PRI | 0 | |
| duration | int(11) unsigned | NO | | 0 | |
| title | varchar(100) | NO | | | |
| description | text | NO | | NULL | |
| reward | varchar(64) | NO | | | |
| rewardid | int(11) unsigned | NO | | 0 | |
| cashreward | int(11) unsigned | NO | | 0 | |
| xpreward | int(10) unsigned | NO | | 0 | |
| crystalreward | int(10) unsigned | NO | | 0 | |
| sharedtype | tinyint(1) unsigned | NO | | 0 | |
| rewardmethod | tinyint(3) unsigned | NO | | 2 | |
| startzone | int(11) | NO | | 0 | |
| minlevel | tinyint(3) unsigned | NO | | 0 | |
| maxlevel | tinyint(3) unsigned | NO | | 0 | |
| repeatable | tinyint(1) unsigned | NO | | 1 | |
| minmembers | tinyint(3) | NO | | 0 | |
| maxmembers | tinyint(3) | NO | | 0 | |
| lockactivity | tinyint(3) unsigned | NO | | 100 | |
+---------------+---------------------+------+-----+---------+-------+
18 rows in set (0.00 sec)
I haven't looked at that code in over two years, but as I said in a previous post, I was trying to retrofit shared tasks into code that wasn't designed for it, and so the code felt a bit fugly and 'hackish' to me. I can't remember specifics.
Last edited by Derision; 04-22-2012 at 12:38 PM..
|
 |
|
 |
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 06:36 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |