DragonPrime - LoGD Resource Community

Modules, Themes and other customizations for your game => v0.9.7 Modification Discussions => Topic started by: bapenguin on May 04, 2004, 07:29:43 AM



Title: Bridge of DOOOOOOOM!
Post by: bapenguin on May 04, 2004, 07:29:43 AM
Real simple, add a nav for the bridge.  You can jump off.  You have a SLIGHT chance of survival.  Who knows, sometimes people just feel like dieing.  You don't lose any expierence because of it.

http://dragonprime.cawsquad.net/users/bapenguin/bridgeofdoom.zip (http://dragonprime.cawsquad.net/users/bapenguin/bridgeofdoom.zip)


Title: Re:Bridge of DOOOOOOOM!
Post by: Excalibur on May 04, 2004, 12:40:37 PM
Actually line 39 of your script is:
Code:
output("`@You climb back up the side of the cliff, on your way you find `$10 GEMS!!! `@in the rocks`n`n");

you should change to:
Code:
output("`@You climb back up the side of the cliff, on your way you find `\$10 GEMS!!! `@in the rocks`n`n");

The difference is from `$10 to `\$10 else PHP take it as a variable.

Rgds Excalibur


Title: Re:Bridge of DOOOOOOOM!
Post by: FW Viper on May 04, 2004, 12:59:51 PM
10 gems is kind of high I changed it to random 1-10.

also the life gain from the fall is kind of high.
+250! from falling? what kind of water is down there!


Title: Re:Bridge of DOOOOOOOM!
Post by: blackhat on May 04, 2004, 01:21:05 PM
*edited* Life gain?


Title: Re:Bridge of DOOOOOOOM!
Post by: FW Viper on May 04, 2004, 01:30:52 PM
Code:
     else{
      output("`!You jump......`n`nYou fall........`n`nYou`@ LIVE!`n`n");
      $session[user][hitpoints]+=250;

just calling at I see it.


Title: Re:Bridge of DOOOOOOOM!
Post by: Talisman on May 04, 2004, 02:10:02 PM
Those hitpoints are temporary, although it might be better as a percentage of maxhitpoints.


Title: Re:Bridge of DOOOOOOOM!
Post by: FW Viper on May 04, 2004, 11:18:51 PM
yes but think about it, how do yoin gain health from falling? one would think it would be hazerdis to the heath, so I ask again what kind of water is down there! and can I bottle it!


Title: Re:Bridge of DOOOOOOOM!
Post by: DeThroned on May 25, 2004, 07:05:06 PM
Hmm problems here ... I died and now I'm stuck  :D

Nothing in the navigation menu and when I try to refresh i get the badnav.php at the top of the screen.  What am I doing wrong?  Or how (now that my admin character is stuck!) get him out so I can get back menu navigations?

BTW, No editting of the file.  Ok, I DID edit the file first but then put it back.  I accidentally commented out the addnav button but put it back and re-uploaded the file.

HELP!


Title: Re:Bridge of DOOOOOOOM!
Post by: Excalibur on May 26, 2004, 06:25:16 AM
Create another char, and in MyPHPAdmin make it admin too (set superuser field in DB = 3). Then go to grotto, user editor, name of your "real" admin, fix broken nav ... et voil :D

I suggest you ti have at least two SuperUser lvl 3, for this kind of problems ;)

Cheers Excalibur


Title: Re:Bridge of DOOOOOOOM!
Post by: DeThroned on May 26, 2004, 07:27:22 PM
Unique fix to the problem ... went into the settings area through the DB file and set new days per real day to 50 ... reset the day, I was back alive :D


© 2017 DragonPrime - LoGD Resource Community
Email Talisman: talisman -at- gmail.com
&oeXs)2U7=V BmܲV.U e=;p\}eG )Jj} C5EH7ˤH=j } mo|*Ŋw{drV_@IV>/- TFQJ׀̀Ve}l1,V O iNYx͘$e$;
Forums: Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines