DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • June 21, 2018, 02:32:33 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1] 2 3 ... 9   Go Down
  Print  
Author Topic: The Quarry by DaveS V5.27  (Read 34951 times)
0 Members and 1 Guest are viewing this topic.
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« on: September 26, 2005, 06:56:42 PM »

Module Name:  quarry.php
Category:  Village
Worktitle:  Quarry
Author:  DaveS
Date: September 10, 2005
Required Modules:
None

Additional Modules for full function:
lostruins.php*, alignment.php, masons.php, orchard.php (XL version)
*if lostruins is not installed, the quarry will automatically appear and never run out of blocks
Module should function without their installation

Credits:
Thanks to Sixf00t4 for the module concept.

Description:
Fight Rock Lobsters, Bears, Fossil Dinosaurs...
This is a somewhat involved module that allows players to quarry stone.
The module works as a standalone with the stone sold at a setting price.
However, additional modules may be linked for other uses of the stone.

Every so often the Quarry is beseiged by Stone Giants.  This requires players to
fight off Stone Giants until the Quarry can be re-opened.

The Quarry will either appear automatically in the Village and never disappear (if lostruins is NOT installed)
or it will appear when it is "discovered" in the Lost Ruins and will eventually run out of stones and
disappear again.

In addition, Players may become members of the Secret Order of Masons with incorporation of masons.php.

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

Wiki Address:
http://wiki.dragonprime.net/index.php?title=Quarry
« Last Edit: April 03, 2008, 11:59:31 AM by DaveS » Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #1 on: October 10, 2005, 07:54:48 AM »

Okay, New Version 3.11:

I finally decided to conserve energy in the world by trying to transition my module into quarry folder utilization... so this one was the next to fall under the axe.

Also, I made some adjustments to the program to add more settings:

1.  Reset turns in the quarry only on server-generated game day as an option
2.  Reduce pay for a Block of Stone based on a player's level as an option
(both thanks to DAHZL for writing them)

These are defaulted to off, so unless you want to use them you'll have to change the settings.

Also, made my functions "Kendaer approved" by naming them:
function quarry_dothis ()

ALSO, deleted some free-range $session['user']['specialinc'] = "" code that just was hanging around for no particular reason.

Phew.

Please let me know if there are any problems.

DaveS
« Last Edit: October 24, 2005, 08:29:07 PM by DaveS » Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
umk
Member
Militia
**
Offline Offline

Posts: 97


PHP Student


View Profile WWW
« Reply #2 on: October 27, 2005, 10:55:02 PM »

i'm getting a white screen sometimes when i use this?
Logged

DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #3 on: November 17, 2005, 10:57:35 PM »

Version 3.12

Bad Call to error for a function...

You see, when I updated the functions, I kinda messed up a little with a find/replace...

Anyway, this should solve that.

Sorry!!

Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #4 on: December 02, 2005, 09:56:22 AM »

V3.13

You see, I made a mistake when I fixed the mistake.

Don't ask.  Just realize I messed up and upload new version.

« Last Edit: December 02, 2005, 10:09:00 AM by DaveS » Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
Dannic
Guest
« Reply #5 on: December 02, 2005, 04:25:49 PM »

do you have the date set wrong on your computer? File shows last updated on 1/1/2006
Logged
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #6 on: December 02, 2005, 09:49:56 PM »

Ah man.. you figured out the trick I use to test newday_runonce... I just change the date on my computer.

whoops!  Is that going to be a problem?
« Last Edit: December 02, 2005, 09:53:39 PM by DaveS » Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
Dannic
Guest
« Reply #7 on: December 03, 2005, 04:59:02 AM »

not that I know of.  Just always check the dates before I install updated files.
« Last Edit: December 03, 2005, 04:59:40 AM by Dannic » Logged
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #8 on: February 06, 2006, 08:52:02 PM »

V3.14

Small missing line of code added.
Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #9 on: March 03, 2006, 08:16:56 AM »

v3.15

Added option to use quarry without being found in Lost Ruins even if Lost Ruins is installed.
Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #10 on: March 30, 2006, 08:32:39 AM »

V3.16

I'm very sorry about this... this was a mistake from my playtesting.  The random event generator was essentially turned off.  I have repaired it.

Here's what it used to say on line 162:
Code:
switch(e_rand(30,30)){

Obviously, it should say:
Code:
switch(e_rand(1,30)){
Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #11 on: May 05, 2006, 01:42:55 PM »

V3.5

This is a new upgrade that was required to integrate with the Orchard XL that I have released.  If you will use the Orchard XL you will need this version for full operation.
Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #12 on: May 20, 2006, 07:33:27 PM »

V3.51

This module was in desperate need for cleaning up for translation.
Also, I added a Stat Display for players to choose with the default on.
Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
SexyCook
Codemeister
****
Offline Offline

Posts: 430



View Profile WWW
« Reply #13 on: July 07, 2006, 01:37:25 PM »

Another great module, DaveS.

Here's a typo/bug:

in quarry.php
Quote
         output("`n`%The `^F`Qossil `^D`Qinosaur`% crumbles before your might! You complete work on the `)Block`% and suddenly notice `b4 gems`b that
            constituted the heart of the monster!`n");
         output("`n`@`bYou've gained `#%s experience`@.`b`n`n",$expgain);
         $session['user']['gems']+=3;
You notice 4 gems but get only 3?

Logged
Talisman
Administrator
Mod God
*****
Offline Offline

Posts: 5479



View Profile WWW
« Reply #14 on: July 07, 2006, 01:56:11 PM »

Technically, it only says you 'notice' 4 gems...not that you pick them all up!   Tongue
Logged

Play the latest beta version here on DragonPrime
Pages: [1] 2 3 ... 9   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
53 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search