DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • December 03, 2016, 07:55:56 PM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: [1] 2 3   Go Down
  Print  
Author Topic: NPC - Dag  (Read 6286 times)
0 Members and 1 Guest are viewing this topic.
lonnyl
Guest
« on: October 24, 2004, 08:24:55 AM »

NPC module for Dag Durnik.....

http://www.pqcomp.com/modules/mydownloads/visit.php?cid=3&lid=41
« Last Edit: January 31, 2005, 05:51:10 AM by lonnyl » Logged
Jim
Guest
« Reply #1 on: October 24, 2004, 10:30:40 AM »

Oh I really like these! Thank you very much lonnyl!   Cheesy
Logged
Jim
Guest
« Reply #2 on: October 24, 2004, 10:35:50 AM »

I've seen people like you before, but I had to pay admission! *purple*

*purple*?
Logged
lonnyl
Guest
« Reply #3 on: October 24, 2004, 07:11:00 PM »

Install emoticons... hehehe..... it's for a purple emoticon face... although emoticons are not needed to run this... (thinks maybe he should change the purple one)
Logged
AndyMC
Guest
« Reply #4 on: October 25, 2004, 05:43:01 PM »

Hey Lonnyl, if I make my own NPC by using your file as a template (not changing any code, just altering names/phrases) would you need me to send you a copy or post it in the forums?  I was sure to leave your name in the copyright field of the module, I'm not 100% how situations like this are supposed to work.

Also, another question, I haven't checked the code for this area yet, but it appears that the NPC's "log on" whenever a real player logs on.  If this is true (ignore this question if it's not) could there be a way to randomize this so they are only logging in periodically throughout the day?  This would give people a chance to attempt to PvP the NPCs, which would be cool.

Also having an option to "move" the npc to different cities throughout the day (as if it was travelling around) would be neat, I think maybe that can be accomplished by having the city setting randomized at different times.

I could be way off on these questions, as I'm not 100% sure how they work completely until I examine the code closer.  Very impressive from what i've seen so far, and if you're cool with me using your code as a template i may make some more for my own use, full credit to you of course.  The one i've made already is "Farmboy Westley" who likes to say "As you wish" and "I'll most likely kill you in the morning" Smiley
Logged
lonnyl
Guest
« Reply #5 on: October 25, 2004, 05:56:31 PM »

Well... first off the license requires you to make it available.... so the source being available on your server should be enough.   And I expected them to be used as a template.. however make good notes of your changes as the next release of the NPC code will be an optimized version, and should be a bit more efficient.   As for randomizing where they go, so as to make them wander.. that is planned for a future release, however for the standard NPC's I like them to hang out in the village next to the inn as that is where they are featured in the game.  I actually plan on releasing an NPC that is strictly a template so as to make it easier for converting into your game.  However on my server, the NPC's are creating a commentary issue.  When an NPC is active and you post a new comment either nothing happens (firefox) or if you are running IE a server not found page is returned (also Zero-Size error on squid proxied setups).  So be sure to check this on your game, however I think you should be ok, I have a sneaking suspicion that I have more mods installed (123 active) than the game can handle (or my combination of Apache and PHP versions) and it is creating some strange situations.  So I have no gotten too terribly far on advancing the NPC's outside of db-prefix compatability, and translation readiness....
« Last Edit: October 25, 2004, 06:02:37 PM by lonnyl » Logged
lonnyl
Guest
« Reply #6 on: October 25, 2004, 05:57:41 PM »

Oh and the download link can simply point to the original NPC that you edited yours from.
Logged
Kendaer
Guest
« Reply #7 on: October 25, 2004, 06:12:23 PM »

Oh and the download link can simply point to the original NPC that you edited yours from.

Actually the download link *should* point to the code they are running.
Pointing to the original code is less than helpful when someone wants to look at the modifications.
Logged
lonnyl
Guest
« Reply #8 on: October 25, 2004, 06:36:14 PM »

Oh.... My Bad...  Grin
Logged
AndyMC
Guest
« Reply #9 on: October 25, 2004, 09:26:50 PM »

Thanks a lot Lonnyl, and I can't wait for the next version, I like the mods you make you do a good job
Logged
Excalibur
Member
Mod God
*****
Offline Offline

Posts: 573


I'm a newbie, plz forgive me!


View Profile WWW
« Reply #10 on: October 26, 2004, 01:02:27 AM »

@ Andy: the link at your modified NPC doesn't work, it opens a blank page. Could you please fix it ?

Excalibur
Logged

Spock: Random chance seems to have operated in our favor.
McCoy: In plain, non-Vulcan English, we've been lucky.
Spock: I believe I said that, Doctor.
lonnyl
Guest
« Reply #11 on: October 26, 2004, 05:39:54 AM »

Updated to Ver 1.1 streamlined code... db-prefix... translation compat....
Logged
AndyMC
Guest
« Reply #12 on: October 26, 2004, 08:38:05 AM »

you're right i skrewed that url up, sorry.  It's based off 1.0 code tho, I'll put up a corrected link after I make a new one now that Lonnyl improved the code to 1.1
« Last Edit: October 26, 2004, 08:48:38 AM by AndyMC » Logged
WebPixie
Guest
« Reply #13 on: October 31, 2004, 10:51:37 PM »

Dumb question... how do I get the npc's to logon automaticly? I have them installed and activated but they don't do anything Sad Did I break something?

How do they work exactly?
Logged
lonnyl
Guest
« Reply #14 on: November 01, 2004, 05:08:35 AM »

download them again copy them to your modules folder and click re-install.....

I had moved the addhook statement in the process of playing with the install and the placement of it was not productive to the update process....
Logged
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Who's Online
46 Guests, 0 Users
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search