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
  #1  
Old 06-16-2005, 09:09 PM
SuedeWorthey
Sarnak
 
Join Date: Jan 2005
Posts: 64
Default

Quote:
Originally Posted by Hatrack
Could you look into why weapon procs and worn effects such has haste don't seem to work? Have tried the PEQ and Cavedude's database with many versions of 6.1(Nice getting rid of petstruct error!) and in none of them will a weapon proc for a PC or haste items like FBSS work. If you pick the procing weapon or haste item up and #itemfinfo they all have generic 65535 spellID, 0 proc level , and 0x00 EffectType like a mundane item. The item link shows info right such as what level it procs and info about the proc effect.

Right clickable items like Journeyman's Boots do work and show all the right info on #iteminfo, and strangely if an NPC has a procing weapon equipped it seems to work. A tentacle terror with a Tentacle whip will proc the lifetap, but if you take the whip and #iteminfo it the info is generic and the weapon will never proc for you. Any ideas?
If that't the case it looks mor elike a DB problem than anything. Especially if it has the wrong spell id, etc... I will see what I can do though. I have a couple other projects along the side as well as this one now, so it may be a while until I get a fix or proper answer. I will be looking into it though.
__________________
-Suede Worthey-
http://www.wortheysoft.com
http://www.steelpsychos.com
Reply With Quote
  #2  
Old 06-17-2005, 03:53 AM
sonicintuition
Hill Giant
 
Join Date: Jan 2005
Posts: 124
Default

Hey,

Just wanted to send a BIG THANK YOU for all of your hard work on these issues - it's a Godsend for those of us who lack the coding skills to figure it out for ourselves. You've been entirely unselfish and helpful in this venture, and we all appreciate it bigtime. Thank you again!

Unfortunately, however I did find a few things. I figured I'd ask, not to sound unappreciative but I'm just wondering why Windows throws an error at me when I close zone.exe? This started on 6.0 DR3 and continues to this day. I realize this isn't a big deal, however it kind of is when you consider I get kicked out of EQ to close these stupid error windows.

Another question I have, or something I noticed, was that when using #zsave, I get "Config for somezone NOT saved!" ...can't figure that one out. Any ideas?

Again, I don't mean to sound unnappreciative, just a couple things that were kinda getting to me. Any comments on this, whether or not they can be fixed, are welcome. Thanks again for all your hard work

Regards,
Sonic
Reply With Quote
  #3  
Old 06-17-2005, 08:46 PM
arigo
Fire Beetle
 
Join Date: May 2005
Posts: 20
Default

To fix procing, haste and a few other commands first replace
Code:
GetProcChances(ProcChance, ProcBonus);
Around line 2387 in mob.cpp with
Code:
ProcChance = GetProcChances(ProcChance, ProcBonus);
Around line 213 in bonuses.cpp replace

Code:
      if(common.ProcChance > 0) {
		newbon->ProcChance += common.(I forgetwhat was here);
	         }
with

Code:
if(common.ProcRate > 0) {
		newbon->ProcChance += common.ProcRate;
	}
in command.cpp around line 4142/3 replace
Code:
c->Message(0, "  Magic: %i  SpellID: %i  Proc Level: %i DBCharges: %i  CurCharges: %i", item->Common.Magic, item->Common.Click.Effect, item->Common.Click.Level, item->Common.MaxCharges, inst->GetCharges());
With
Code:
c->Message(0, "  Magic: %i  SpellID: %i  Proc Level: %i DBCharges: %i  CurCharges: %i", item->Common.Magic, item->Common.Proc.Effect, item->Common.Proc.Level, item->Common.MaxCharges, inst->GetCharges());
AND Replace
Code:
c->Message(0, "  EffectType: 0x%02x  CastTime: %.2f", (int8) item->Common.Click.Type, (double) item->Common.CastTime/1000);
with
Code:
c->Message(0, "  EffectType: 0x%02x  CastTime: %.2f", (int8) item->Common.Proc.Type, (double) item->Common.CastTime/1000);
Around lines 182/183 in bonuses.cpp replace
Code:
if(common.Click.Type == ET_WornEffect) {
		if(newbon->haste < (sint8)item->Common.Haste)
			newbon->haste = item->Common.Haste;
WITH
Code:
if(newbon->haste < (sint8)item->Common.Haste){
			newbon->haste = item->Common.Haste;
I have the feeling I'm forgetting something but I don't know what. I want to find the opcode for /assist, but I don't know how to start.

Last edited by arigo; 06-18-2005 at 04:53 AM..
Reply With Quote
  #4  
Old 06-18-2005, 02:29 AM
SuedeWorthey
Sarnak
 
Join Date: Jan 2005
Posts: 64
Default Awesome Work

Awesome Work Arigo. I have incorporated your changes into my build, and released the update_zone.rar on my website. Well, gimme 10 mins... It's up on the Steel Psychos site. I am going to revamp the site a bit to make it more EMU-Oriented...
__________________
-Suede Worthey-
http://www.wortheysoft.com
http://www.steelpsychos.com

Last edited by SuedeWorthey; 06-18-2005 at 11:11 AM..
Reply With Quote
  #5  
Old 06-18-2005, 03:20 AM
sonicintuition
Hill Giant
 
Join Date: Jan 2005
Posts: 124
Default

Argh,

An addendum to my above post...

I cannot log into my server when using your ZonePerl.exe. I can create a character but when I go to log in, it freezes up and I have to reset the computer. The non-perl verison works fine. I can't figure out why other people are getting success with this and I am not. I will download Perl from your list on your site and see if I'm just using the wrong version of perl or something...it's the only thing I haven't tried to get this to work. Both Cavedude's and PEQ's databases give the same result with ZonePerl.exe. Any other ideas? This is perplexing. An eqemu server without quests is ...boring. Thanks in advance.

EDIT - Leaving this post up in case anyone else runs into the same issue. It DOES matter what version of Perl that you use. I used the version posted up on SteelPhychos site and I can now log in fine.

Regards,
Sonic

Last edited by sonicintuition; 06-18-2005 at 11:48 AM..
Reply With Quote
Reply

Thread Tools
Display Modes

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 04:29 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3