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

Pages: [1]   Go Down
  Print  
Author Topic: Coins  (Read 2784 times)
0 Members and 1 Guest are viewing this topic.
R4000
Guest
« on: July 17, 2005, 09:17:19 AM »

REMOVED!
See other topic!
http://dragonprime.net/index.php?board=17;action=display;threadid=2614;start=0#lastPost

Now a village module and updated to version 2

(MODS: Please delete)
« Last Edit: July 21, 2005, 09:03:53 AM by R4000 » Logged
Turock
Guest
« Reply #1 on: July 19, 2005, 08:26:03 PM »

Haven't tested this yet but looking through the well code:
Code:
include("wellenutorf/battle.php");

This is not included in your distibution.
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #2 on: July 20, 2005, 01:27:50 PM »

It seems that this module has parts that can not function, without another script. So, you have two options:

1) Make it require the other modules, on installation:
Code:
//Put this into the moduleinfo array
"requires"=>array(
"wellenutorf"=>"1.1|Enhas,http://dragonprime.net/users/Enhas/wellenutorf.txt",
),
2)Make the part work only if the other modules is active:
Code:
if (is_module_active("wellenutorf")){
//run code that should need other script
}else{
// run alternate code
}
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #3 on: July 21, 2005, 12:32:16 AM »

Heh... would seem a better route, then having redundant distributions of the same code... but, whatever floats your boat.

As well, there is nothing preventing you from placing that battle code into your script, as it is not large enough to warrant a split file distribution.
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

R4000
Guest
« Reply #4 on: July 21, 2005, 09:04:45 AM »

DELETED AND MOVED TO "COMPLETED MODULES" NO LONGER JUST A FOREST MODULE!

SEE FIRST POST!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

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