DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • July 25, 2017, 09:40:14 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: 1 ... 3 4 [5] 6 7   Go Down
  Print  
Author Topic: Clan Buffs  (Read 22449 times)
0 Members and 1 Guest are viewing this topic.
Nightborn
Guest
« Reply #60 on: April 24, 2007, 01:07:00 PM »

Quote
PHP Warning: "Division by zero"

is any important value == 0?

check against other buffs you made.

I do not use the module, but check line 181 in modules/clanbuffs/clanbuffs_func.php
Logged
Horlix
Guest
« Reply #61 on: April 24, 2007, 02:32:18 PM »

I thought it wierd the value wasn't set on install.
Seems the function remake_costs needs to be called each time the values are changed (and after install) or else the % of strength is wrong, or in this case impossible.

Sorry if the topic is dead, just thought posting this might help someone who got the same result as Griswald.
Logged
Iori
Mod God
*****
Offline Offline

Posts: 832


View Profile WWW
« Reply #62 on: April 27, 2007, 03:22:33 AM »

line 140 in modules\clanbuffs.php (the main file)

Code:
             if($session['user']['clanid']!=0){

should be:

Code:
             if ($session['user']['clanid'] != 0 && $session['user']['clanrank'] > 0) {

to prevent applicants from receiving the clan buff of the clan they are applying (but not yet accept into) to.
Logged

Kalisiin
Guest
« Reply #63 on: May 14, 2007, 10:06:17 AM »

Had a friend of mine do some work on it earlier. It's working fine. Thank you.... Grin

On 1.0.6??
Logged
Craze
Guest
« Reply #64 on: May 14, 2007, 02:39:20 PM »

Had a friend of mine do some work on it earlier. It's working fine. Thank you.... Grin

On 1.0.6??

Clan buffs have always worked fine on mine, which as you know is also 1.0.6
Logged
Kalisiin
Guest
« Reply #65 on: May 14, 2007, 02:53:14 PM »

awesome!!
Logged
arieswind
Codemeister
****
Offline Offline

Posts: 388


View Profile
« Reply #66 on: June 13, 2007, 12:45:39 PM »

i think ye are not going to get anyone interested in this. 

the person who wrote the code came and went from here in a whirlwind.  i seriously doubt she will ever be heard from again.  she did leave an e-mail address in her profile, ye may wish to try contacting her directly.

2 months is hardly a whirlwind imo ~~~

i fixed that division by zero bug.. i think. i dont have a server to test on anymore
also included iori's fix
« Last Edit: June 13, 2007, 01:05:06 PM by arieswind » Logged
Elessa
Faerie
Mod God
*****
Offline Offline

Posts: 3598


short, sweet and to the point


View Profile
« Reply #67 on: June 13, 2007, 04:21:53 PM »

i think ye are not going to get anyone interested in this. 

the person who wrote the code came and went from here in a whirlwind.  i seriously doubt she will ever be heard from again.  she did leave an e-mail address in her profile, ye may wish to try contacting her directly.

2 months is hardly a whirlwind imo ~~~

i fixed that division by zero bug.. i think. i dont have a server to test on anymore
also included iori's fix

tis nice to see ye have reappeared.  to me in a span of over three years, being active for two months the way ye were is a whirlwind.  Wink

i hope ye remain as ye had some great ideas and modules.
Logged

Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
arieswind
Codemeister
****
Offline Offline

Posts: 388


View Profile
« Reply #68 on: June 13, 2007, 04:44:45 PM »

well.. i burned myself out majorly on lotgd.. for those 2 months i think i spent 14 or 16 hours coding, playing or thinking about lotgd XD
Logged
Dragon89
Guest
« Reply #69 on: June 13, 2007, 06:09:35 PM »

well.. i burned myself out majorly on lotgd.. for those 2 months i think i spent 14 or 16 hours coding, playing or thinking about lotgd XD

Are you saying that isn't normal?  Tongue
Logged
arieswind
Codemeister
****
Offline Offline

Posts: 388


View Profile
« Reply #70 on: June 13, 2007, 06:19:19 PM »

no, just that do it long enough and all of a sudden you stop caring XD
Logged
Ikkyy
Guest
« Reply #71 on: July 08, 2007, 10:43:27 AM »

PHP Warning: "Division by zero"
in /home/rpganim/public_html/modules/clanbuffs/clanbuffs_func.php at 181.
Call Stack:
2: calculate_level() called from /home/rpganim/public_html/modules/clanbuffs/clanbuffs_func.php on line 181
3: calculate_level() called from /home/rpganim/public_html/modules/clanbuffs/clanbuffs.php on line 23
4: require("/home/rpganim/public_html...") called from /home/rpganim/public_html/modules/clanbuffs.php on line 162
5: clanbuffs_run() called from /home/rpganim/public_html/runmodule.php on line 35


-----------------


how for solution this ?
Logged
Elessa
Faerie
Mod God
*****
Offline Offline

Posts: 3598


short, sweet and to the point


View Profile
« Reply #72 on: July 08, 2007, 10:59:21 AM »

what version are you running of the module?

it was fixed in v 2.1 which is downloadable from here
Logged

Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
Ikkyy
Guest
« Reply #73 on: July 08, 2007, 11:58:24 AM »

Elessa Thanks...

sorry

problem solved Cheesy
Logged
arieswind
Codemeister
****
Offline Offline

Posts: 388


View Profile
« Reply #74 on: July 09, 2007, 08:36:31 AM »

2.11 released.. fixed a few little places where it was generating needless php notices
Logged
Pages: 1 ... 3 4 [5] 6 7   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

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