|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum) |
08-24-2008, 06:50 AM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
Can probably just export the IsGrouped() and IsRaidGrouped() functions to the perl interface so you'd be able to tell between the two with a simple if else check in code.
|
08-24-2008, 08:32 AM
|
|
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
Ahh, gotcha! That should work
|
08-28-2008, 03:39 AM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
Have raids running on PEQ atm. Still pretty rough and needs a lot of work, I put in some very sloppy code at parts that needs to be fixed... im sure any professional coder would cringe at it. And some features are NYI, bugged and/or need optimization... but it's functional.
|
|
|
|
08-31-2008, 05:45 PM
|
|
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
So, are raids in the 1128 code? I see that the SVN seems to be working again now. I am running the version that Derision released here:
http://www.eqemulator.net/forums/showthread.php?t=26049
which seems to be an even newer version than 1128 according to the change log that it includes (compared to the change log on the download page for 1128 ).
Running that version of code, I can't seem to get raids to work at all yet. Also, for some reason the empty corpse code doesn't seem to be working either. I see that the empty corpse code is definitely in that version of the source, but it isn't actually working. I set the rule to 2000 (ms) and it still makes empty corpses rott for 20 minutes. Maybe I just need to wait for the next SVN update and just use that. But, the code that should be in Derision's version has some nice additions to it that I would like to use without having to add them all in manually.
Last edited by trevius; 09-01-2008 at 02:21 AM..
|
|
|
|
08-31-2008, 06:03 PM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
No they're not in official source yet.
|
09-18-2008, 12:46 PM
|
Hill Giant
|
|
Join Date: Sep 2007
Posts: 117
|
|
KLS,
Is this the database structure you plan on using for raids? (atleast for a while)
Code:
CREATE TABLE `raid_members` (
`raidid` int(4) NOT NULL,
`charid` int(4) NOT NULL,
`groupid` int(4) NOT NULL,
`_class` int(4) NOT NULL,
`level` int(4) NOT NULL,
`name` varchar(64) NOT NULL,
`isgroupleader` tinyint(1) NOT NULL,
`israidleader` tinyint(1) NOT NULL,
`islooter` tinyint(1) NOT NULL,
PRIMARY KEY (`raidid`, `charid`)
)
ENGINE = InnoDB;
CREATE TABLE `raid_details` (
`raidid` int(4) NOT NULL,
`loottype` int(4) NOT NULL,
`locked` tinyint(1) NOT NULL,
PRIMARY KEY (`raidid`)
)
ENGINE = InnoDB;
I am asking because I am getting ready to write the quest function for handing out instance flags to a raid. I will really only be using the raidid and charid field. I just want to be certain I write code that works with your implementation of raids.
Thank you
|
09-18-2008, 04:53 PM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
What is used at the moment. I'll actually get raids sourced in after I get some time and do some smaller stuff.
Code:
Required SQL:
CREATE TABLE `raid_members` (
`raidid` int(4) NOT NULL,
`charid` int(4) NOT NULL,
`groupid` int(4) NOT NULL,
`_class` int(4) NOT NULL,
`level` int(4) NOT NULL,
`name` varchar(64) NOT NULL,
`isgroupleader` tinyint(1) NOT NULL,
`israidleader` tinyint(1) NOT NULL,
`islooter` tinyint(1) NOT NULL,
PRIMARY KEY (`charid`)
)
ENGINE = InnoDB;
CREATE TABLE `raid_details` (
`raidid` int(4) NOT NULL,
`loottype` int(4) NOT NULL,
`locked` tinyint(1) NOT NULL,
PRIMARY KEY (`raidid`)
)
ENGINE = InnoDB;
|
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 10:01 AM.
|
|
|
|
|
|
|
|
|
|
|
|
|