DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • July 19, 2018, 01:39:28 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Well of Enutorf (Updated!)  (Read 8260 times)
0 Members and 1 Guest are viewing this topic.
Enhas
Guest
« on: July 16, 2005, 10:43:07 PM »

I don't know if I should have made another thread, but the other one is so cluttered up with junk that nobody might notice my updates.

http://dragonprime.net/users/Enhas/wellenutorf.txt

Version 1.3, also most likely the final version unless any bugs pop up.  I've tested it pretty extensively so it's not likely.

Features:

- Can throw 1, 2, or 3 gems into the well, with varying results.  Generally, the more you throw, the better likelihood of something good and better results.
- Can throw the Rare Gold Coin (from the salesman in the Inn, finally, a use for it!) into the well, if you have it.

Admin Configurable:

- Whether some, all, or none of the buffs that can be gained from this event survive newday
- Whether donor points can be gained from this event
- How many points can be gained by throwing gems into the well (donorenabled must be set to yes for any effect)
- How many points can be gained by throwing the rare gold coin into the well (donorenabled must be set to yes for any effect)

EDIT - I know that Fortune backwards should be 'Enutrof', it is intentional that I spelled it 'Enutorf' because I think that sounds better. Roll Eyes

I've done a lot of work on this module, and I'm pretty satisfied at the results.  Enjoy!
« Last Edit: July 18, 2005, 09:28:53 AM by Enhas » Logged
R4000
Guest
« Reply #1 on: July 17, 2005, 03:50:30 AM »

NICE WORK !!!!!!! Smiley

As usual im gonna bug pick this, then im gonna add my battle code and other stuff and spit it out the other end Smiley
Logged
R4000
Guest
« Reply #2 on: July 17, 2005, 03:53:00 AM »

1st bug: no wellenutorf_run() function!

(might not be required but none of my modules run without it!)
Logged
R4000
Guest
« Reply #3 on: July 17, 2005, 05:48:12 AM »

http://dragonprime.net/users/R4000/wellenutorf.txt

Added:
  • Battle (admin configurable)
  • Can turn off.
  • Can set {badguy} name.
  • Can set {badguy} weapon.
  • Added support for my new "coins" module. (See topic title Coins)
  • Now upto 100 outcomes!

You MUST follow the last two steps in This document.

If you enable the battle.
« Last Edit: July 17, 2005, 09:18:25 AM by R4000 » Logged
Enhas
Guest
« Reply #4 on: July 17, 2005, 07:43:50 AM »

OKay, I added the well_enutorf_run() function back, though I don't think I needed it but I'll include it there for completeness.

I'm keeping my module as-is, and not adding anything else to it.
« Last Edit: July 17, 2005, 07:54:46 AM by Enhas » Logged
R4000
Guest
« Reply #5 on: July 17, 2005, 08:01:41 AM »

ok Tongue

my addons are there if people want them though Smiley
Logged
Mayhem
Guest
« Reply #6 on: June 07, 2007, 12:36:08 PM »

I keep hitting a white screen when I click on the "Fight The Troll" link when it appears at the well.
Logged
ZenaSilverwinds
Guest
« Reply #7 on: June 10, 2007, 06:14:23 PM »

That's because you haven't configured the battle settings...The link to the document isn't loading though...Does anybody know where I can find out how to configure the battle settings?
Logged
Elessa
Faerie
Mod God
*****
Offline Offline

Posts: 3598


short, sweet and to the point


View Profile
« Reply #8 on: June 10, 2007, 09:23:58 PM »

download link

http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=246

modifications by R4000 download link

http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=1024
« Last Edit: June 10, 2007, 09:25:36 PM by Elessa » Logged

Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
Iori
Mod God
*****
Offline Offline

Posts: 832


View Profile WWW
« Reply #9 on: June 10, 2007, 10:07:12 PM »

That's because you haven't configured the battle settings...The link to the document isn't loading though...Does anybody know where I can find out how to configure the battle settings?

The reason is that the download for this module is missing a file (wellenutorf/battle.php).
Logged

Mayhem
Guest
« Reply #10 on: June 13, 2007, 06:34:30 AM »

Is there anywhere to gain the battle.php or is it just a broken module?
Logged
Haleth
Militia
**
Offline Offline

Posts: 38


View Profile
« Reply #11 on: January 30, 2010, 10:43:21 AM »

Hello,

my game-version is 1.1.1 and I'm using this module with its changes (Peter Corcoran). It's working fine .. most time. But sometimes I get a white page. I was looking thoroughly, what the reason could be and found something, I don't understand. There are exactly 100 cases. Some are undefined, means, nothing is coded in these cases. Other miss completely, for example there are no cases 5-8.

One random for example ist defined in this way:
   $chancefortune=(e_rand(1,14));

What would happen, if this random goes to 5, which is not even mentioned in this module?

Could someone please explain me, why one could not just numerize the defined cases one by one? What sense does ist have, to not even mention some? And, could there be a correlation to my white pages?

Haleth
Logged
robert
Old Dog
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« Reply #12 on: January 30, 2010, 11:05:05 PM »

......................
Other miss completely, for example there are no cases 5-8.

One random for example ist defined in this way:
   $chancefortune=(e_rand(1,14));

What would happen, if this random goes to 5, which is not even mentioned in this module?
....................

If case 5 and/or other are not defined, then you would get the error.
IF it is missing from the file itself, you could edit it, to include it.
Logged

Haleth
Militia
**
Offline Offline

Posts: 38


View Profile
« Reply #13 on: February 01, 2010, 04:47:55 AM »

Yes, there are missing cases, in the original module and also in the modified. For interested or people with the same problem: Missing are the following cases:

   5-8; 26-28; 48-49; 70; 73; 76; 82; 84; 86; 90-94;

Thanks for your answer, Robert. I did what you suggested and white pages are more seldom, but I had at least one after my changes.

Another Question. 'Default' is defined as 'Nothing happens' in this module.  Just for being sure, the empty but mentioned cases are 'default'-cases?

Haleth

P.S.
I've found the reason for white page. In the modified version at lines 411 and 601 is written 'random' instead of 'e_rand'. Changing this, white pages are gone Smiley
« Last Edit: February 01, 2010, 06:45:28 AM by Haleth » Logged
robert
Old Dog
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« Reply #14 on: February 03, 2010, 01:39:04 AM »

Well of Enutorf
Version 1.31a

This version corrects the errors mentioned in previous posts.
This only corrects the original authors file: Enhas
 - NOT the one made by R4000
 - NOT the one made by Peter Corcoran

The file download link has not changed
Download Link:
http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=246
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

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