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

Pages: [1] 2   Go Down
  Print  
Author Topic: Lady Erwin  (Read 7540 times)
0 Members and 1 Guest are viewing this topic.
Nightborn
Guest
« on: September 01, 2005, 08:14:24 AM »

Well, I wrote a module dedicated to a beloved pet of mine... and here it is.

Basically, it's not something big... you just have the chance to gain/lose gold, gain gems, gain/lose forest fights.
If you try to harm her,  you have to fight against her protector.

I have many things to be set by a preference... so you can take some control of the module and weaken/strenghten the effects a bit...

Some things cannot be changed though. Smiley

V1.03
Lady Erwin - The White Rat

http://dragonprime.net/users/Nightborn/ladyerwin.zip

PS: please report bugs or wrong grammar
PPS: I am working on a German translation (I am German) and as soon as I have finished it, it'll be included in the zip-file.
« Last Edit: September 01, 2005, 08:15:45 AM by Nightborn » Logged
Nightborn
Guest
« Reply #1 on: September 01, 2005, 10:00:15 AM »

Thanks to Elessa I fixed some grammar mistakes Smiley

Now V1.04

and I added a translations.sql file where the INSERT with the German translations is included.

Have fun Smiley
Logged
Nightborn
Guest
« Reply #2 on: September 02, 2005, 12:00:13 AM »

fixed a bug with the temporary/permanent hitpoints (forgot a setting)...sorry

now V1.05 Smiley

link as above.
Logged
Elessa
Faerie
Mod God
*****
Offline Offline

Posts: 3598


short, sweet and to the point


View Profile
« Reply #3 on: September 02, 2005, 09:10:44 PM »

i would like to say i found this to be a fun little module.  

thank ye, nightborn.
Logged

Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
Nightborn
Guest
« Reply #4 on: September 03, 2005, 12:44:10 AM »

<--starts to blush


 Cheesy Cheesy thank you very much.

I really appreciate if you like my small little module.
(my pet would have liked that too)
Logged
Nightborn
Guest
« Reply #5 on: April 06, 2006, 03:46:34 PM »

fix:

user did not gain gems from her.

please download again.
Logged
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #6 on: April 18, 2006, 10:43:14 PM »

gunna want a
Code:
require_once("modules/alignment/func.php");

on line 108 and 279 so that align() is defined.
Logged

Nightborn
Guest
« Reply #7 on: April 18, 2006, 11:07:23 PM »

thx, did not update all =)
Logged
MarcTheSlayer
Mod God
*****
Offline Offline

Posts: 1747


View Profile
« Reply #8 on: March 14, 2008, 08:30:51 PM »

I've been helping sixf00t4 fix bugs and stuff on his legend of six server and he asked me to post any fixes in the module thread.
Code:
#
#-----[ FILE ]-----
#
modules/ladyerwin.php

#
#-----[ FIND ]-----
#
# Line: 138
#
    output("Somehow, she rolls `^%s`@ %s towards you! You must be in luck because she seems to like you very much!",$gemgain,$gemtext);

#
#-----[ AFTER, ADD ]-----
#
    $session['user']['gems']+=$gemgain;

#
#-----[ END ]-----
#
Logged

Check My Modules for the latest versions.
MarcTheSlayer
Mod God
*****
Offline Offline

Posts: 1747


View Profile
« Reply #9 on: March 14, 2008, 08:33:24 PM »

Couldn't see a MrBlack thread.
Code:
#
#-----[ FILE ]-----
#
modules/mrblack.php

#
#-----[ FIND ]-----
#
# Line: 141
#
            output("Somehow, he rolls `^%s`@ %s towards you! You must be in luck because he seems to like you very much!",$gemgain,$gemtext);

#
#-----[ AFTER, ADD ]-----
#
            $session['user']['gems']+=$gemgain;

#
#-----[ END ]-----
#
Logged

Check My Modules for the latest versions.
Elessa
Faerie
Mod God
*****
Offline Offline

Posts: 3598


short, sweet and to the point


View Profile
« Reply #10 on: March 14, 2008, 09:30:35 PM »

Couldn't see a MrBlack thread.


ye mean this thread?  Wink
Logged

Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
Nightborn
Guest
« Reply #11 on: March 15, 2008, 01:39:40 AM »

Lady Erwin:

            case 2:
               output("`$ Lady Erwin`@ is obviously pleased... and something strange happens.`n`n");
               $gemgain=e_rand(1,get_module_setting("maxgems"));
               $gemtext=($gemgain==1? translate_inline("gem"):translate_inline("gems"));
               $session['user']['gems']+=$gemgain;
               output("Somehow, she rolls `^%s`@ %s towards you! You must be in luck because she seems to like you very much!",$gemgain,$gemtext);

<-- it is there, is not?

Mr. Black:

         case 2:
         output("`)Mr. Black`@ is obviously pleased... and something strange happens.`n`n");
         $gemgain=e_rand(1,get_module_setting("maxgems"));
         $gemtext=($gemgain==1? translate_inline("gem"):translate_inline("gems"));
         output("Somehow, he rolls `^%s`@ %s towards you! You must be in luck because he seems to like you very much!",$gemgain,$gemtext);
         $session['user']['gems']+=$gemgain;
         break;


am I doing a mistake? I have the $gemgain added to the users gems?
Logged
MarcTheSlayer
Mod God
*****
Offline Offline

Posts: 1747


View Profile
« Reply #12 on: March 15, 2008, 04:50:51 AM »

Yes you already have it. Could that possibly be the fix in reply #2? heh

Maybe sixf00t4 just had an older version on his server... shame on him. Smiley

Nightborn, I downloaded the Mr.Black module from the link in the thread Elessa just posted and it's missing that $gemgain line. Sad

ye mean this thread?  Wink
Yes that one. The search in this forum doesn't work well. Sad

Oh, the download link in the 1st post doesn't work, anychance you could edit it with the correct url? Smiley
Logged

Check My Modules for the latest versions.
Smooth
Guest
« Reply #13 on: March 15, 2008, 04:54:46 AM »

Download area.  Grin

http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=232
Logged
Nightborn
Guest
« Reply #14 on: March 15, 2008, 04:54:52 AM »

I'll see to it.

Erm, yes, well, your fix is the line I might have forgotten... so yes, I did that probably a year or more ago.
Logged
Pages: [1] 2   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
48 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search