Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Plugins & Mods

Quests::Plugins & Mods Completed plugins for public use as well as modifications.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-27-2014, 02:19 AM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

Township does work with me directly, if his plugin didn't make sense from a practicality/use standpoint I would have been straight open and honest about it before it found its way here.

The DB field in npc_types only affects the inital spawn, this is only to scale on the fly via script to set the key for my scaling system.

It is a simple addition, to use or not to use is up to the end user.
Reply With Quote
  #2  
Old 01-17-2018, 05:02 PM
Aardil
Fire Beetle
 
Join Date: Jan 2018
Location: Mississippi
Posts: 27
Default

I am looking for a way to scale only certain NPC's. I dont want to scale the whole zone.

Is it possible?
if so how?

Aardil
Reply With Quote
  #3  
Old 01-17-2018, 06:31 PM
Splose's Avatar
Splose
Discordant
 
Join Date: Apr 2014
Posts: 280
Default

Quote:
Originally Posted by Aardil View Post
I am looking for a way to scale only certain NPC's. I dont want to scale the whole zone. Note that stats will stay the same unless using Akka's scaling system or adding a bit more code.

Is it possible?
if so how?

Aardil
yeah.. you can use default.pl to control any npc in the zone provided they don't already have their own script.

Here is a very simple example of doing that.

quests/zonesn/default.pl

Code:
sub EVENT_SPAWN {
	$nn = $npc->GetCleanName();	
	
	if($nn=~/skeleton/i) {
		$npc->SetLevel(60);		#:: Set all npcs in the zone with 'skeleton' in their name to level 60
	}
	
	if($nn eq "Fippy Darkpaw") {
		$npc->SetLevel(75);		#:: Set any npc with the name 'Fippy Darkpaw' to level 75
	}
}
Reply With Quote
  #4  
Old 01-17-2018, 06:55 PM
Splose's Avatar
Splose
Discordant
 
Join Date: Apr 2014
Posts: 280
Default

Quote:
Originally Posted by Aardil View Post
I am looking for a way to scale only certain NPC's. I dont want to scale the whole zone.

Is it possible?
if so how?

Aardil
yeah.. you can use default.pl to control any npc in the zone provided they don't already have their own script. Note that stats will stay the same unless using Akka's scaling system or adding a bit more code.

Here is a very simple example of doing that.

Code:
sub EVENT_SPAWN {
	$nn = $npc->GetCleanName();	
	
	if($nn=~/skeleton/i) {
		$npc->SetLevel(60);		#:: Set all npcs in the zone with 'skeleton' in their name to level 60
	}
	
	if($nn eq "Fippy Darkpaw") {
		$npc->SetLevel(75);		#:: Set any npc with the name 'Fippy Darkpaw' to level 75
	}
}
Reply With Quote
  #5  
Old 01-18-2018, 01:23 PM
Aardil
Fire Beetle
 
Join Date: Jan 2018
Location: Mississippi
Posts: 27
Default

If Akk's scaling system would work for only certain NPC's then that would be what I need.

This is a special event so the NPC's in question are only spawned during the event.

NPC's are all named A_Thief
no other NPC's contain that name.
So the above script could work IF I could get Akk's leveling system to work.

I have dug around a bit and the links to Akk's leveling system seem broken, I keep getting error 404..

Another issue is he posted that it wont work with some DB.

I guess what I need is a walk through on how to install the system on my DB
I am not a super coder, I know perl but not alot else.

Aardil
Reply With Quote
  #6  
Old 01-18-2018, 02:17 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

Yeah my scaling system is definitely out of date - I can look at refreshing the documentation tonight or tomorrow potentially
Reply With Quote
  #7  
Old 01-18-2018, 02:22 PM
Aardil
Fire Beetle
 
Join Date: Jan 2018
Location: Mississippi
Posts: 27
Default

That would be great!

Thank you
Reply With Quote
  #8  
Old 01-25-2018, 04:59 PM
Aardil
Fire Beetle
 
Join Date: Jan 2018
Location: Mississippi
Posts: 27
Default

Not trying to sound pushy but any progress on this?

Aardil
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 03:08 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