DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • May 19, 2013, 04:42:22 AM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: 1 ... 4 5 [6] 7   Go Down
  Print  
Author Topic: Marriage Expansion V5.21  (Read 15504 times)
0 Members and 1 Guest are viewing this topic.
Magpie
Codemeister
****
Offline Offline

Posts: 253


Magpie


View Profile WWW
« Reply #75 on: December 03, 2007, 10:03:42 PM »

some work, but doable.

I wrote my own marriage and it currently only has fiance after a proposal. =) but can be done more, though.



Any Chance of you releasing that Marriage  Module Nightborn?  Wink

*raises an eyebrow. mouth gets frothy. the begging begins* hehe
Logged

Nightborn
Guest
« Reply #76 on: December 04, 2007, 09:17:22 AM »

Any Chance of you releasing that Marriage  Module Nightborn?  Wink

 Cheesy virtually none.

about 40kb of OOP.

still, no marriage option, no divorce (player)

I have to put that in.

Logged
danbi
Codemeister
****
Offline Offline

Posts: 366


View Profile
« Reply #77 on: December 14, 2007, 11:17:54 PM »

I you flirt with some item that requires payment, and you don't have the money, your available flirt attempts decrease. Is this by design?
Logged
Nightborn
Guest
« Reply #78 on: December 15, 2007, 02:21:03 AM »

 Smiley yes
Logged
Magpie
Codemeister
****
Offline Offline

Posts: 253


Magpie


View Profile WWW
« Reply #79 on: January 31, 2008, 08:07:58 AM »

I run on 1.1.1 and the marriage stats are not showing up in bios that have the preferences set to show their spouse. Help?
Logged

DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #80 on: January 31, 2008, 10:48:33 AM »

I can't figure out what hte problem is with this.  I agree that it's not working.  However, it seems like the sql is not returning data. 

Here's the sql.  Can anyone see anything wrong with it?

Code:
$sql = "SELECT a.acctid as userid, a.marriedto as married, b.name as partnername,a.sex as gender FROM ".db_prefix('accounts')." as a LEFT JOIN ".db_prefix('accounts')." as b ON a.marriedto=b.acctid WHERE a.login='$char'";
$results = db_query($sql);
$row = db_fetch_assoc($results);
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
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #81 on: January 31, 2008, 12:06:17 PM »

yeah, $char is not the login anymore, it's the acctid.
Logged

DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #82 on: January 31, 2008, 10:01:44 PM »

V5.21
Updated so the Bio works for 1.1.1.

Note: This means that the Bio won't work for 1.1.0 anymore. I'm not going to maintain both versions... If you're using 1.1.0 then stick with the old version.

Thanks to sixf00t4 for the asnswer on how to do it!

Also, I stopped packaging this with all the converters... It's probably not needed anymore and can just be confusing.
« Last Edit: February 01, 2008, 10:00:08 AM 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
Magpie
Codemeister
****
Offline Offline

Posts: 253


Magpie


View Profile WWW
« Reply #83 on: February 01, 2008, 09:35:30 AM »

Thank you tons!
Logged

seekey
Codemeister
****
Offline Offline

Posts: 475


Demon to some but Angel to others


View Profile WWW
« Reply #84 on: March 21, 2008, 06:08:09 PM »

It seems that there is a problem with the drinks-check hook. I firstly thought it is a problem with cities.php, but after I have deactivated the marriage expansion, all has worked fine.

If the marriage is active, the drinks-check for the capital will not work. So a new drink, that should not be served at the inn is could be bought by a player.

I will have a look at this after easter, but maybe someone is faster.
Logged
rebeltaz
Captain of the Guard
***
Offline Offline

Posts: 117



View Profile WWW
« Reply #85 on: July 25, 2008, 11:19:24 PM »

Maybe I'm missing it, but before I try this I want to be sure.

It says that you should uninstall the old abigail module and move this abigail module to your modules folder and install it. Problem I see is that there is no abigail.php included in the marriageexp.zip file... Or am I just missing it?
Logged

---
Derek Tombrello
www.RobotsAndComputers.c om
Selenity
Guest
« Reply #86 on: August 18, 2008, 11:10:38 AM »

There is a problem on the v1.1.1 server I am techie/ing. When anyone goes to flirt with two certain players, they get this error:

Code:
Not Acceptable

An appropriate representation of the requested resource /runmodule.php could not be found on this server.
OS/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.5 Server at legendoflyrean.com Port 80

Now, when the Not Acceptable players flirt with anyone else, the anyone else can actually propose, but still no flirting.

We have tried to alter everything about the players, but nothing works.

They seem to be the only ones (so far) that are playing THAT hard to get. =/
Logged
White Knight
Mod God
*****
Offline Offline

Posts: 1030

For the truth!


View Profile
« Reply #87 on: August 18, 2008, 01:12:29 PM »

Looks like the same problem as in a thread about mod_security. Chances are, those players have something in their name/weapon name/armor name/any other text that your server thinks is malicious. You could try changing those texts for them, or you could try asking your host what it is that they are blocking. Sometimes it's as simple as having the server block the word SELECT and having a player named Selected One.
Logged

Helping you help yourself.
Michelina
Militia
**
Offline Offline

Posts: 35


Some days being me just isn't worth it.


View Profile WWW
« Reply #88 on: October 01, 2008, 08:02:45 PM »

I run on 1.1.1 and the marriage stats are not showing up in bios that have the preferences set to show their spouse. Help?

yeah, $char is not the login anymore, it's the acctid.


Can you explain this?
I am on a server running 1.1.0 and this is my only problem..spouses not showing up in bios. How do I fix the problem?
Thanks.
Logged

Don't you wish you were short like me?

AlteredState RPG


Boris735
Mod God
*****
Offline Offline

Posts: 532


View Profile
« Reply #89 on: October 02, 2008, 06:31:22 AM »

I run on 1.1.1 and the marriage stats are not showing up in bios that have the preferences set to show their spouse. Help?

yeah, $char is not the login anymore, it's the acctid.

Can you explain this?
I am on a server running 1.1.0 and this is my only problem..spouses not showing up in bios. How do I fix the problem?
Thanks.

First of all, there's a preference for each user which controls whether or not spouses are shown.  Check that your users actually have this preference enabled; it might not be a problem with the code at all.

Secondly, those comments were made about v1.1.1, with an implication that v1.1.0 was working satisfactorily (which is, in part, why I made the previous suggestion).  So they may not be appropriate to your problem.  That said, DaveS quoted an SQL query line, as below:

Code:
$sql = "SELECT a.acctid as userid, a.marriedto as married, b.name as partnername,a.sex as gender FROM ".db_prefix('accounts')." as a LEFT JOIN ".db_prefix('accounts')." as b ON a.marriedto=b.acctid WHERE a.login='$char'";

And sixf00t4 pointed out that $char is no longer the login, but the acctid.  So - if this is the cause of your difficulties - you want to change login to acctid in that query (it's right near the end):

Code:
$sql = "SELECT a.acctid as userid, a.marriedto as married, b.name as partnername,a.sex as gender FROM ".db_prefix('accounts')." as a LEFT JOIN ".db_prefix('accounts')." as b ON a.marriedto=b.acctid WHERE a.acctid='$char'";
Logged
Pages: 1 ... 4 5 [6] 7   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

Support Us
$100 raised this year
Your help is greatly appreciated!
Who's Online
26 Guests, 2 Users
Aeo , Astarael|Jack
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search