Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-18-2003, 02:56 AM
Fyrre
Sarnak
 
Join Date: Jan 2003
Posts: 33
Default Leveling and skills NPCs?

I'm new to making quests, so could someone please tell me how to make an NPC that can level to 65 and another which can set skills to 252?
Reply With Quote
  #2  
Old 06-18-2003, 01:44 PM
Fyrre
Sarnak
 
Join Date: Jan 2003
Posts: 33
Default

Ok, I created a script which is supposed to make one NPC be capable of leveling and setting skills, but it doesn't work. Could someone please tell me what's wrong? I saved this file in c:\eqemu\Binary\quests\Arena\7166.qst. 7166 is the ID of the NPC in arena which is supposed to level and set skills. Are the if and say lines supposed to be seperate? Are the brachets correct?

EVENT_SAY {
if ($1- =~ "Hail") {
say("Greetings $name! Would you like me to [level] you or set your [skills]?") }
if ($1- =~ "level") {
say("Congratulations on level 65!") }
level($userid,65) }
if ($1- =~ "skills") { say("I have set your skills to 252 - enjoy!") }
addskill(0, 252) }
addskill(1, 252) }
addskill(2, 252) }
addskill(3, 252) }
addskill(4, 252) }
addskill(5, 252) }
addskill(6, 252) }
addskill(7, 252) }
addskill(8, 252) }
addskill(9, 252) }
addskill(10, 252) }
addskill(11, 252) }
addskill(12, 252) }
addskill(13, 252) }
addskill(14, 252) }
addskill(15, 252) }
addskill(16, 252) }
addskill(17, 252) }
addskill(18, 252) }
addskill(19, 252) }
addskill(20, 252) }
addskill(21, 252) }
addskill(22, 252) }
addskill(23, 252) }
addskill(24, 252) }
addskill(25, 252) }
addskill(26, 252) }
addskill(27, 252) }
addskill(28, 252) }
addskill(29, 252) }
addskill(30, 252) }
addskill(31, 252) }
addskill(32, 252) }
addskill(33, 252) }
addskill(34, 252) }
addskill(35, 252) }
addskill(36, 252) }
addskill(37, 252) }
addskill(38, 252) }
addskill(39, 252) }
addskill(40, 252) }
addskill(41, 252) }
addskill(42, 252) }
addskill(43, 252) }
addskill(44, 252) }
addskill(45, 252) }
addskill(46, 252) }
addskill(47, 252) }
addskill(48, 252) }
addskill(49, 252) }
addskill(50, 252) }
addskill(51, 252) }
addskill(52, 252) }
addskill(53, 252) }
addskill(54, 252) }
addskill(55, 252) }
addskill(56, 252) }
addskill(57, 252) }
addskill(58, 252) }
addskill(59, 252) }
addskill(60, 252) }
addskill(61, 252) }
addskill(62, 252) }
addskill(63, 252) }
addskill(64, 252) }
addskill(65, 252) }
addskill(66, 252) }
addskill(67, 252) }
addskill(68, 252) }
addskill(69, 252) }
addskill(70, 252) }
addskill(71, 252) }
addskill(72, 252) }
addskill(73, 252) }
}
Reply With Quote
  #3  
Old 06-19-2003, 01:34 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

We'll, you have about a million closing } brackets, and no opening brackets for them.

Start with one skill add, and see if that works. Your brackets should match { }
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #4  
Old 06-19-2003, 03:49 AM
Fyrre
Sarnak
 
Join Date: Jan 2003
Posts: 33
Default

I took out all of the add skill lines and fixed up the leveling part.. but whenever I say 'level' to the NPC, it delevels me to 0. I used level($userid, 65) , level(65) , level($userid,65) and all of them delevel the person to 0. I could use some help :P
Reply With Quote
  #5  
Old 06-19-2003, 05:02 AM
Bigpull
Discordant
 
Join Date: Feb 2003
Posts: 305
Default

it's level("65")
Reply With Quote
  #6  
Old 06-19-2003, 06:07 AM
just_add_water
Hill Giant
 
Join Date: Mar 2002
Location: //say $network
Posts: 138
Default

I'm pretty sure setallskill() is in (khuong put it in a few months back)

Code:
EVENT_SAY {
if ($1- =~ "Hail" ) { say("I shall grant you level and skills") level("60") setallskill("252") }
}
Reply With Quote
  #7  
Old 06-19-2003, 12:19 PM
Fyrre
Sarnak
 
Join Date: Jan 2003
Posts: 33
Default

Thanks just add water. I figured out how to make the NPC level and addskills on my own. Addskill is bugged, though. It says it sets the skills to 252, but people complain about casting skills not working, and backstab not functioning after talking to the NPC. It's probably a bug in the script?
Reply With Quote
  #8  
Old 06-21-2003, 07:11 PM
Mortenson721
Fire Beetle
 
Join Date: Apr 2003
Posts: 15
Default hehe

hehe well this is the one we have on RA, Works just fine..

this one is set so that the NPC will not give the PC it's services unless he/she is 40....

EVENT_SAY {
if($1 =~ "Hail" && $ulevel > 39){ SAY("Hello $name . Do you seek [training] or to join the [darkside] or back to the [lightside]?") }
if($1 =~ "training" && $ulevel > 39){ SAY("Well met $name . I can train you in [levels] or [skills].") }
if($1 =~ "levels" && $ulevel > 39){ setlevel(60) SAY("Use your new level wisely $name .") }
if($1 =~ "skills" && $ulevel > 39){ setallskill("240") SAY("Use your new skills wisely $name .") }
if($1 =~ "darkside" && $ulevel > 39){ pvp("on") SAY("Watch your path carefully $name .") }
if($1 =~ "lightside" && $ulevel > 39){ pvp("off") SAY("Watch your path carefully $name .") }
if($ulevel < 40){SAY("Sorry $name but you must be of at least level 40 to receive my training.") }
}
__________________

King Mortenson, SySoP Raid Addicts (Semi Legit)

Raid Addicts Website
Reply With Quote
  #9  
Old 06-27-2003, 10:44 PM
Guest
 
Posts: n/a
Default

Ahh, you see, if you are not a caster, casting skills don't work, if you're not a rogue, you can't backstab, etc. it's hardcoded into the client...
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 09:39 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