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 04-18-2004, 05:47 AM
Richardo
Banned
 
Join Date: Oct 2003
Location: Mattmecks Basement
Posts: 546
Default Lost Dungeons of Norrath Points System

I was wondering if anyone knew how to set points to a mob, so when killed you receive LDoN points?...

Is this the script to it? If so, how do I change how many points it gives per mob?

Quote:
else if (!strcmp(strlwr(command),"setldonpoint")) {
if (mob && mob->IsClient())
mob->CastToClient()->UpdateLDoNPoints(atoi(arglist[0]),atoi(arglist[1]));
}
Reply With Quote
  #2  
Old 04-18-2004, 10:52 AM
Monrezz's Avatar
Monrezz
Dragon
 
Join Date: Mar 2003
Location: #loc
Posts: 745
Default

You mean quest script? That's C++ for the source, do you want the function you use in a quest.pl file?
__________________

kRPG Profile
Reply With Quote
  #3  
Old 04-18-2004, 01:10 PM
dmal0807
Fire Beetle
 
Join Date: Apr 2003
Posts: 13
Default

we have ldon points working on Iron Tower. in client.cpp the way ldon points are written is wrong.
Reply With Quote
  #4  
Old 04-19-2004, 06:26 AM
cofruben
Old-EQEmu Developer
 
Join Date: Oct 2002
Location: Spain
Posts: 323
Default

I have done the ldon stuff in my source,it working,I just use my quest function setldonpoint in EVENT_DEATH to make that when I kill a mob I get points from him,It will work,but,in the normal source,points are not saved in DB,so you will need to make the code to update it.I will post a howto any day to make this thing.
Reply With Quote
  #5  
Old 04-19-2004, 09:32 AM
Richardo
Banned
 
Join Date: Oct 2003
Location: Mattmecks Basement
Posts: 546
Default

Quote:
Originally Posted by cofruben
I have done the ldon stuff in my source,it working,I just use my quest function setldonpoint in EVENT_DEATH to make that when I kill a mob I get points from him,It will work,but,in the normal source,points are not saved in DB,so you will need to make the code to update it.I will post a howto any day to make this thing.
Cool, whenever you get a chance, id love to know how to make ldon points save into DB Thank you...
Reply With Quote
  #6  
Old 05-08-2004, 05:29 AM
Cripp's Avatar
Cripp
Discordant
 
Join Date: Oct 2003
Location: The Shire
Posts: 474
Default

how would you make it so it tells you when and how many points you get in yellow text after receiving points.
__________________
Nug Blazers - ServerOP / founder
^^comming... later!

www.nugblazers.com
Reply With Quote
  #7  
Old 05-08-2004, 09:34 AM
cofruben
Old-EQEmu Developer
 
Join Date: Oct 2002
Location: Spain
Posts: 323
Default

Code:
else if (!strcmp(strlwr(command),"setldonpoint")) { 
	if (mob && mob->IsClient()) {
   mob->CastToClient()->UpdateLDoNPoints(atoi(arglist[0]),atoi(arglist[1])); 
   mob->CastToClient()->Message(15,"You won %i points!",atoi(arglist[0])); 
	}
}
this should work,haven't tested it.
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 11:44 AM.


 

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