DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • February 20, 2019, 01:55:27 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: temple of the gods  (Read 4427 times)
0 Members and 1 Guest are viewing this topic.
Romulus
Guest
« on: April 12, 2004, 10:49:46 AM »

my first try to add something completly own programmed to my logd...

it's a temple in the forest, where people can give gold for the renovation of this old temple. this amount of gold ist saved in the database. the admin sets a value, how much gold is needed to give altogether for getting an answer from the gods.

English version:
http://dragonprime.cawsquad.net/users/Romulus/temple.zip

German original-version: http://dragonprime.cawsquad.net/users/Romulus/tempel.zip
« Last Edit: April 14, 2004, 10:18:08 AM by Romulus » Logged
Romulus
Guest
« Reply #1 on: April 14, 2004, 10:19:36 AM »

OK, i tried to translate the temple into english. My enlish is not very good, so I hope, someone will overlook my file and get the text right. Cheesy
Logged
FW Viper
Guest
« Reply #2 on: April 18, 2004, 06:00:13 AM »

Code:
ALTER TABLE `accounts` ADD `tempelgold` INT( 30 ) DEFAULT '0' NOT NULL ;

your SQL qurry in the eng verson is a tad buggy. it don't look it at first glance and it took me a bit to find out why heh. I posted the corrct one above.
Logged
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #3 on: April 18, 2004, 10:56:43 AM »

you need a semi colon on line 54.   great work!
Logged

FW Viper
Guest
« Reply #4 on: April 19, 2004, 01:55:24 AM »

erm which verson? cuse I can't find it in the english one.
Logged
Romulus
Guest
« Reply #5 on: April 19, 2004, 03:29:44 AM »

Thanks for your replies. I fixed these things and at the moment I'm uploading the bugfixed version. The missing semicolon was only in the english file which I didn't test, because the onl changes were in text. But this Navigation title does not appear in the german version  Roll Eyes
Logged
lsgworldl
Guest
« Reply #6 on: April 26, 2004, 05:17:09 PM »

when I donate it shows the php code in the browser?

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

Posts: 5483



View Profile WWW
« Reply #7 on: April 26, 2004, 05:18:54 PM »

Ye're not having much luck with the mods this day, are ye!
Logged

Play the latest beta version here on DragonPrime
lsgworldl
Guest
« Reply #8 on: April 26, 2004, 05:19:35 PM »

nope  Roll Eyes
Logged
Romulus
Guest
« Reply #9 on: April 28, 2004, 05:13:29 AM »

when I donate it shows the php code in the browser?

 Shocked

You have to update your database:
Code:
ALTER TABLE `accounts` ADD `tempelgold` INT( 30 ) DEFAULT '0' NOT NULL ;
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
32 Guests, 1 User
Raeshi
Home Forums News Downloads Login Register Advanced Search