Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

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

Reply
 
Thread Tools Display Modes
  #16  
Old 08-24-2008, 06:50 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

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.
Reply With Quote
  #17  
Old 08-24-2008, 08:32 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Ahh, gotcha! That should work
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #18  
Old 08-28-2008, 03:39 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

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.
Reply With Quote
  #19  
Old 08-31-2008, 05:45 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

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.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!

Last edited by trevius; 09-01-2008 at 02:21 AM..
Reply With Quote
  #20  
Old 08-31-2008, 06:03 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

No they're not in official source yet.
Reply With Quote
  #21  
Old 09-18-2008, 12:46 PM
Rocker8956
Hill Giant
 
Join Date: Sep 2007
Posts: 117
Default

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
Reply With Quote
  #22  
Old 09-18-2008, 04:53 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

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;
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:56 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3