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

Pages: [1]   Go Down
  Print  
Author Topic: Color World by DaveS V5.2  (Read 2573 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: November 05, 2006, 02:29:40 PM »

Colorworld is a color store that allows players to change their name and title color but with limits.

1. The color is solid throughout their name; you can't alternate and customize the colors.
2. The color choice is limited to the classic 1.0.6 colors
3. You can limit color changes to only once per dk
4. You can start charging gold/gems for changing the colors at any point based on a setting.
5. You can cause the price to incrementally get more expensive as players dk.  This can eventually force high dk players to have to use the lodge to change the color of their name/title if wanted.
6. The title color will not change if the player has a lodge-customized title.

Available for Download At:
http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=1135
« Last Edit: February 03, 2007, 06:35:26 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
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #1 on: February 03, 2007, 06:35:47 PM »

V5.2

New version that allows you to use the Allprefs Editor to make user management much easier.

Allprefs Editor Available for Download Here:
http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=1190
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
DarkDevine
Guest
« Reply #2 on: August 07, 2007, 02:11:11 PM »

Woah, no post for over 120 days xD

Okay, here is an error:

PHP Warning: "Division by zero"
in /usr/export/www/vhosts/funnetwork/hosting/legendsofkinata/modules/colorworld/colorworld.php at 24.
PHP Warning: "Division by zero"
in /usr/export/www/vhosts/funnetwork/hosting/legendsofkinata/modules/colorworld/colorworld.php at 25.

YES, I use a Funpic server for build the server first and then put it on a .de server !

*EDIT:
Ehm..hehe...how should I fix this Bug? It appears in the mainwindow of the colorshop (Maintown->Nav:Colorshop)
Logged
backflip
Codemeister
****
Offline Offline

Posts: 278


om nom nom


View Profile WWW
« Reply #3 on: August 08, 2007, 06:17:43 AM »

Make sure the "x = How many dks between increase in price for changing the name?" option in the module configuration is not null, zero, or false. If it still doesn't work, you should add the module name parameter to every get_module_setting() line in colorworld/colorworld.php, e.g.
Code:
$dkncostx=get_module_setting("dkncostx");
to
Code:
$dkncostx=get_module_setting("dkncostx","colorworld");
... but I don't think this is necessary.

For the module: Maybe change those settings from "int" to "range" so they can't be 0.
« Last Edit: August 08, 2007, 06:19:47 AM by backflip » Logged

Bruce Schneier's functions don't have parameters. They have arguments, and they always win them.
Frodolin LoGD
DarkDevine
Guest
« Reply #4 on: August 08, 2007, 06:24:21 AM »

Ah, yes thx, now it works^^
Logged
Pages: [1]   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
22 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search