DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • November 19, 2018, 03:21:17 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1] 2 3 4   Go Down
  Print  
Author Topic: Greystone Chapel v1.12  (Read 15518 times)
0 Members and 1 Guest are viewing this topic.
rax
Guest
« on: March 03, 2004, 01:14:18 PM »

Uploaded a while back, and now posted here.    Greystone Chapel provides players with:
  • Marriage to other players
  • Divorce
  • Name change (player name only)
  • Make and announcement
  • Blessing (gain temporary effect)
  • Steal (risky, but can net some nice stuff)
All features can be disabled by editing the constant declarations at the top of the file, so you can use only the features you want on your server.  Feel free to leave feedback.  
Cool

« Last Edit: March 29, 2004, 01:28:36 PM by rax » Logged
rax
Guest
« Reply #1 on: March 29, 2004, 01:27:52 PM »

A minor update to the Chapel.     Thanks to phofire for find the "divorce bug".    

New code is here:

http://dragonprime.cawsquad.net/users/rax/GreystoneChapel-1_12.zip

Logged
robert
Old Dog
Moderator
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« Reply #2 on: March 30, 2004, 09:13:11 PM »

Same problem as before - if the solution was posted, I missed it or cant find it.

It sends out the email on a proposal to the person recieving the proposal...When they go to the chapel they don't get a "View Proposals" option and the email they recieve for the proposal has no accept/decline links in it.

I know this was asked once before, what was the solution to fix this problem?
Logged

rax
Guest
« Reply #3 on: March 30, 2004, 09:25:22 PM »

Same problem as before - if the solution was posted, I missed it or cant find it.

It sends out the email on a proposal to the person recieving the proposal...When they go to the chapel they don't get a "View Proposals" option and the email they recieve for the proposal has no accept/decline links in it.

I know this was asked once before, what was the solution to fix this problem?

Wasn't aware of this problem, but I will take a look at it and get back to you.
Logged
Sumgi
Guest
« Reply #4 on: April 02, 2004, 07:43:15 PM »

How do I tone down the prices? I tried changing the 10000 to 1000 in chapel.php but it didn't seem to effect it. At least Brother Thomas still said it would cost 10000 for a level 1 rez. Didn't actually go through with it to see if it was saying something different then it was charging.
Logged
Sumgi
Guest
« Reply #5 on: April 03, 2004, 11:22:45 AM »

Also, I have a level 3 guy with 0 charm and he's trying to marry .... anyone. Every single person I choose I get a message saying they are not good enough for me, I can do better, blah blah. Thier charm ratings are all higher then mine....

Any ideas?
Logged
rax
Guest
« Reply #6 on: April 15, 2004, 10:59:41 AM »

How do I tone down the prices? I tried changing the 10000 to 1000 in chapel.php but it didn't seem to effect it. At least Brother Thomas still said it would cost 10000 for a level 1 rez. Didn't actually go through with it to see if it was saying something different then it was charging.

Those prices are stored in the settings database table.   You'll need to go into your admin console and change them since there is no interface for the chapel.  

As for the charm thing, you can change line 189 from:

if($charmdiff > 10 && $session[user]['charm'] < 19 || $row['charm'] < 19){

to:

if($charmdiff > 10){

and it will let anyone marry someone who is within 10 charm  or:

if(true){

to just disable the entire charm checking deal.
Logged
Arune
Member
Mod God
*****
Offline Offline

Posts: 718


Arune Vai - khatfield


View Profile WWW
« Reply #7 on: April 15, 2004, 02:15:11 PM »

I actually have the same problem that robert has. They get the proposal but do not get the view proposals option when entering the chapel.

I deleted the entire marriages table and remade it with the newest version of the chapel, but still the same =/

Thanks for checking into it.
Logged
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #8 on: April 19, 2004, 01:23:35 PM »

i am also having the problem where they get the email, but no option to do anything from there.
Logged

Mr Fix It
Guest
« Reply #9 on: April 19, 2004, 02:51:49 PM »

i am also having the problem where they get the email, but no option to do anything from there.

In the database change:

suitor tinyint(4) NOT NULL default '0',
proposed tinyint(4) NOT NULL default '0',



To this:

suitor int(11) NOT NULL default '0',
proposed int(11) NOT NULL default '0',

This should fix your problem.

Logged
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #10 on: April 19, 2004, 03:10:22 PM »

that'll do it!  
Logged

Ben
Guest
« Reply #11 on: April 24, 2004, 05:13:41 AM »

Hi!

I have download the Addon and i have create the table "marriage" in mysql.
But i found the " Greystone Chapel"

Why?
Where is the error on my game?

http://lotgd.tiger4you.de/
Logged
zousug
Guest
« Reply #12 on: April 24, 2004, 09:58:34 PM »

hello,

this addon is working fine in all ways except 1..  

when i goto (i = any one) ask some one to marrie them they get this message

"I don't think (user name here) is quite up to your standards. I think you can do better." Brother Thomas suggests.


i have changed this line

if($charmdiff > 10 && $session[user]['charm'] < 19 || $row['charm'] < 19){

to:

if(true){

as its meant to disable the charm thing..

but i am still getting this message.

"I don't think (user name here) is quite up to your standards. I think you can do better." Brother Thomas suggests.


one player is level 1 and my char is level 13 and i get the message (this is an example of some players levels)

please help


---EDIT---

it also has under it this message

(Your charm is too high to marry this player)


---END EDIT---
« Last Edit: April 24, 2004, 10:00:42 PM by zousug » Logged
ATJ
Guest
« Reply #13 on: April 26, 2004, 11:42:05 PM »

I think i have the solution.

where you had

if($charmdiff > 10 && $session[user]['charm'] < 19 || $row['charm'] < 19){

change it to

if($charmdiff > 100000 && $session[user]['charm'] < 19 || $row['charm'] < 19){

that should get rid of your problem.
worked for me!
Logged
zousug
Guest
« Reply #14 on: April 27, 2004, 12:08:41 AM »

hello,

hey thanx for that atj, it seems to have fixed it Cheesy

thanx again
Logged
Pages: [1] 2 3 4   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

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