DragonPrime - LoGD Resource Community

Coding Support => v0.9.7 Technical Help => Topic started by: keith on April 11, 2004, 09:17:17 PM



Title: Weird
Post by: keith on April 11, 2004, 09:17:17 PM
OK now this is realy weird  :o when I fight a lvl 17 creature it has 6 hps. it does that on every server I've played why is it doing that

           
 
You head for the section of forest which contains creatures of your nightmares, hoping to find one of them injured.
Debug: 1 lion points.
Debug: +0 attack.
Debug: +0 defense.
Debug: +5 health.

~ ~ ~ Fight ~ ~ ~
You have encountered Loneliness which lunges at you with Silence!

Level: 17
Start of round:
Loneliness's Hitpoints: 6
YOUR Hitpoints: 165
Loneliness surprises you and gets the first round of attack!

you lion fights with you

Loneliness tries to hit you with is Silence but you RIPOSTE for 21 points of damage!
What is the sound of one hand clapping?
You have slain Loneliness!
You receive 22 gold!
You receive 0 total experience!

~~ Flawless Fight! ~~
You receive an extra turn!


Title: Re:Weird
Post by: kestep on April 12, 2004, 06:45:05 AM
i have seen that as well, but only with loneliness as the creature.


Title: Re:Weird
Post by: keith on April 12, 2004, 07:34:56 AM
lonliness is the only lvl 17 creature, I talked to the people on lotgd.net and they said it was supposed to be like that.


Title: Re:Weird
Post by: anpera on April 12, 2004, 07:46:38 AM
When you find Loneliness in the forest it is about time for you to kill the dragon!

On my server the dragon comes to fight you before you get bored by loneliness. ;)
This also prevents players from becoming unbeatable playerkillers by collectng unlimited experience, attack, defence, gold, and gems.

Code:
----- Open
village.php

----- Find:
$exparray=array(1=>100,400,1002,1912,3140,4707,6641,8985,11795,15143,19121,23840,29437,36071,43930);

----- Replace with:
$exparray=array(1=>100,400,1002,1912,3140,4707,6641,8985,11795,15143,19121,23840,29437,36071,43930,55000);

----- Find:
   if ($session['user']['experience']>$expreqd && $session['user']['level']<15)
      redirect("train.php?op=autochallenge");

----- Replace with:
   if ($session['user']['experience']>$expreqd && $session['user']['level']<15){
      redirect("train.php?op=autochallenge");
   }else if ($session['user']['experience']>$expreqd && $session['user']['level']>=15){
      redirect("dragon.php?op=autochallenge");
   }


----- Open:
dragon.php

----- Find:
}else if($HTTP_GET_VARS[op]=="prologue1"){

----- Before, add:
}else if($HTTP_GET_VARS[op]=="autochallenge"){
   output("`\$ [i]Your explanation. (mischief, noises from forest, dragon attacks village .. whatever you want)[/i] ");
   addnav("Weiter...","dragon.php");

----- Save and close all files


Title: Re:Weird
Post by: Kendaer on April 12, 2004, 07:46:59 AM
Lonliness is there so that people who decide to be stupid and continue forest fighting after reaching level 15 find it a very boring experience.

The reason it had 6 HP is that you have some dragonkill buff points being added to all creatures (look at the debug output at the top and you'll see that lonliness had 5 added to it's HP to buff it to account for the buffs on your player).


Title: Re:Weird
Post by: Voratus on April 12, 2004, 02:59:21 PM
Its not really stupid to keep fighting in the forest after hitting level 15...after all, there's a chance of finding a gem when you kill a monster. ;)


Title: Re:Weird
Post by: Artte on April 12, 2004, 06:23:26 PM
Quote
Lonliness is there so that people who decide to be stupid and continue forest fighting after reaching level 15 find it a very boring experience.

And some people don't, unfortunately.

© 2019 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