DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • July 31, 2010, 04:12:47 AM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: [1]   Go Down
  Print  
Author Topic: cellar  (Read 1296 times)
0 Members and 1 Guest are viewing this topic.
cdragon
Guest
« on: March 04, 2004, 06:32:50 AM »

I've uploaded my first mod. its an addon to any inn or pub  you go into the cellar to look for wine. I'm still creating the goodies in it. but its not bad for my first try and you can change it around any way you want.
Logged
Arune
Member
Mod God
*****
Offline Offline

Posts: 718


Arune Vai - khatfield


View Profile WWW
« Reply #1 on: March 04, 2004, 09:23:24 AM »

I like the idea behind it, very good starting point. I did find several errors in the code causing it to not work or work correctly.

Small Errors like $session[user][defense[+=15;

I didn't mess with the wording or the scripting of the PHP I just corrected it to make it work. Here is a working copy.

http://dragonprime.cawsquad.net/users/khatfield/cellar.zip

Also, as a suggestion I wouldn't allow infinite searches because this could quickly become overpowering. I would add a search entry to your accounts mysql file, and make it use up searches per nav or per "look around".
« Last Edit: March 04, 2004, 09:33:49 AM by khatfield » Logged
robert
Old Dog
Moderator
Mod God
*****
Offline Offline

Posts: 1009


LoGD Buff!


View Profile WWW
« Reply #2 on: March 04, 2004, 02:04:14 PM »

I too had some fun with this file today - altering a few things to see what can become of it and noticed it offers a lot of potential.

I do agree the infinite search needs to be curbed, I did one with a turns check that worked well.
Also:
 - > sent the player to shades for being too tired to find their way out
 - > player died while traveling due to a a beam breaking and the falling rubble killed them
 - > player found the almighty Thor Hammer and it became their weapon
 - > player found a keg of Ale, drinks, gets drunk and passes out
 - > player fell into a pit, injured, got out but lost his pouch
 - > player found an old chest with womens/mens clothing, tried them on, when suddenly Violet/Seth appears and see's how silly they look wearing the womens/mens undergarments, lost charm
 - > player stumbles into a rats nest, got hurt.
 - > player gets attacked by a bat.
 - > player finds a torch to make the journey easier

- like I said, I had fun today! Feel free to add some of these if you think they are worthy.  Wink

Looking foward to seeing the updated version !!
Logged

cdragon
Guest
« Reply #3 on: March 05, 2004, 06:01:01 AM »

woooo I like those ideas...
as I said it was a starting point. I appologize for those stupid typo errors.. comes from creating it at 2am after working all day....
eyes and fingers arent up to 100%  Embarrassed
I looked at the one I had going and the more I fixed it the worse it got.
I appreciate all the help and ideas. will take a look at the new --FIxed copy and the ideas ...see what we can do with it.
 Grin
Logged
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #4 on: March 11, 2004, 08:24:52 PM »

found a pretty bad bug Grin

when violet catches you, and you give her 10 gold the code actually sets the gold to '-10' rather than just subtracting 10 gold Shocked

thought it was funny, a user lost 2k  Smiley

so just switch the =- to -=
Logged

phofire
Guest
« Reply #5 on: March 12, 2004, 06:44:50 AM »

for some reason the version im running of this refuses to update ANY of the rewards or penalties
Logged
Arune
Member
Mod God
*****
Offline Offline

Posts: 718


Arune Vai - khatfield


View Profile WWW
« Reply #6 on: March 12, 2004, 06:38:21 PM »

Well I severely modified it for my server and it seems to work great now...

And yep....I just got a petition like 5 minutes ago a user lost 6k rofl...

Thanks for the bug fix! Keeps me from having to search for it =)
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


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

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