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

Pages: [1]   Go Down
  Print  
Author Topic: Lost Sorceress  (Read 5506 times)
0 Members and 1 Guest are viewing this topic.
shadowblack
Guest
« on: September 26, 2005, 04:15:42 AM »

Lost Sorceress

This is the first module I have ever completed. I tested it and corrected all problems I found, so it should work fine.

Things to be changed/added in future modules:
1) You can be under the effects of both Strength Potion and Weakness Potion. I intend to make it so that each potion cancels the effect of the other
2) I might make it so that if Alignment Events is installed your choice what to do with the sorceress affects your alignment
3) Add a requirment for the Cities module to be installed before this one can be installed
4) Add a few more rewards - some that can be obtained only if you help her and others only if you rob her

If you find any problems with the module, let me know and I'll try to correct them.


By the way, can anyone tell me how to do this:
Change the player's location from one of the villages (such as Romar) to the capital AND move the player from the forest to the city square in Degolburg (or whatever the capital's name).
« Last Edit: September 26, 2005, 04:40:34 AM by shadowblack » Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #1 on: September 26, 2005, 04:21:49 AM »

By the way, can anyone tell me how to do this:
Change the player's location from one of the villages (such as Romar) to the capital AND move the player from the forest to the city square in Degolburg (or whatever the capital's name).

Without messing around with Icky SQL, no. Even then, it is needlessly complicated and not really needed, to say the least.

To change a person's location (from current to capital):
Code:
$session['user']['location'] = getsetting("villagename", LOCATION_FIELDS);
Please post your submissions in the .zip format, as well. Some do not have handlers for the compression type. .zip is just a common standard.

Also, lines 79, 89, 223, 233 are not translation ready. This contradicts what it says at the top of your file. *laughs* Smiley
« Last Edit: September 26, 2005, 04:26:19 AM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #2 on: September 26, 2005, 04:25:28 AM »

Without messing around with Icky SQL, no. Even then, it is needlessly complicated and not really needed, to say the least.
Why not simply set the location as described by you and after that:
Code:
redirect("village.php");

Don't forget to reset the specialinc before doing this... Wink
Logged

Running for more than three years now:
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #3 on: September 26, 2005, 04:27:13 AM »

Ah, forgot about redirect. Sorry, it is really early in the morning and I just missed the shuttle to school. So yeah, kinda flustered.
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #4 on: September 26, 2005, 04:31:08 AM »

With some explanative text also an addnav() followed by a page_footer() would do the necessary... Wink

* XChrisX hands Sichae two cans of dark, black liquid... Hot and steamy... Full of coffeine...

* XChrisX  hopes that helps
Smiley
« Last Edit: September 26, 2005, 04:31:29 AM by XChrisX » Logged

Running for more than three years now:
shadowblack
Guest
« Reply #5 on: September 26, 2005, 04:50:17 AM »

Originally part of the code was:
Code:
$session['user']['location'] = getsetting("villagename", LOCATION_FIELDS);
However, it only changes the location to the capital - the character stays in the forest. So I removed that and added the last few lines of text saying that you find yourself back in the forest.

I've uploaded the module in .zip format and changed the link to point to it.

About the translation thing - I removed the "Translation ready" line - it was copied along with a few other lines from another module and I had forgotten to remove it, actually. Ooops...

Thank you all for the help.


By the way, the version is actually 1.0, not 0.5 - I forgot to change it before uploading.
Logged
shadowblack
Guest
« Reply #6 on: October 02, 2005, 01:57:51 AM »

New version, same link as before.

Changes:
Added color for the text
Added two more possible loots (though one of the two is actually several things)
The module should be translation ready now (unless I overlooked something again)

I found no problems during the testing. If you find any errors, let me know.
Logged
shadowblack
Guest
« Reply #7 on: December 27, 2005, 01:29:43 AM »

Version 2.0:
1. Added logs for some of the outcomes
2. Changed one of the possible outcomes - it used to reduce max hit points by 5-10; now it reduces max hit points by 1 if the player's max hit points are below a certain amount, and by 5-10 if they are above it
3. Alignment can now be affected by the player's choice:
- admins can decide whether or not the event affects aligment
- admins can set the alignment points gained/lost
- "Leave her" will affect alignment if the player is NOT neutral. Good players will have their alignment decreased while evil ones will have it increased
4. Made a small change to the text, so that a few small parts change if the cities module is not active
5. Added "vertxtloc"

This version is most likely NOT Translation Ready.

If you have any comments, spot any mistakes, find any problems, etc., please let me know.

Same link as before.
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
58 Guests, 1 User
Megan|SaraBeth
Home Forums News Downloads Login Register Advanced Search