Planetfall BWEND
Planetfall BWRELEND
HomeRELENDREF
HomeBDREF
SABDREF
Planetfall Planetfall SABD
It's To-Po!


Site Games Miscellaneous /
Apr 24, 2024 7:20 ESTReply | Topic List | Forums List | Edit Profile | Help | Sign Up

Forums :: Battling Dragons :: Small AI problem

<- Prev Post   -   Next Post ->
Page:  1 
Ash10

Posts: 435
Member #3

Mar 30, 2003 17:51
Master Account Battling Dragons Endless Night's Dream R.E. League Reply w/ Quote Edit Post

  Well, it is more of, you just have to remeber. Anyway, when I set my Basilisk to use Thorn until poisned, it then clears that AI part. The problem is that, after battle, Thorn is still cleared, so I have to go and set it up to use Thorn again.
  
  So, sometimes I froget, which makes it bad cause Basilisk needs the oppenent poisned since attack doesn't do a whole lot. I am positive there are ways to fix this, it just requires some more code.
Nova Mod Team Generals Coder
Cheetarius

Posts: 353
Member #10

Mar 30, 2003 17:55
Web Site Master Account Battling Dragons Endless Night's Dream R.E. League Reply w/ Quote Edit Post

   I know this probably doesn't belong in this topic, but since this is pretty much about errors: In the BD Rpg, when I go to the Shopkeep in Taune City and try to give him a ShortSword(not equipped), I get a Javascript error. I'm not feeling very good right now, but when I get back on later, I'll try it again and post what the error popup thing says.
- Cheetarius, Saphire Leader
MintMan

Posts: 4061
Member #1

Mar 31, 2003 13:26
E-Mail Web Site Master Account Battling Dragons Shadow Aura Endless Night's Dream R.E. League Reply w/ Quote Edit Post

  Okay.... wait.....
  
  
  Lemme get this straight, Ash. You set your Basilisk to use Thorn until your enemy is poisoned, right? Then, after it does Poison the foe, the AI entry is removed, leaving it with Attack Endlessly or whatever. Am I still on the right track?
  
  Now, your battle ends, and you are just too lazy to reset your AI to use Thorn again after either challenging or being challenged although there is a link to set your AI provided on both of those pages? Please tell me that is not the case.
  
  
  
  And Cheet -- why are you giving a ShortSword to the Shopkeeper? I know that error is a problem that needs to be looked into, but it should just say something like "Won't accept the ShortSword" or something. I mean, you cannot sell items in the RPG. I makes it old-school RPG where used weapons are worthless.
  
  I'll try and look into that, tho'.
  
  EDIT: Okay, I'm away from my code right now, but I did access the RPG. Now, I do not have a Short Sword, but I did try and give the Shopkeep my Fraxinus. The RPG told me that I did not even have one! That was wierd, although not error-invoking, so then I tried to give him my Sticky Buns. That did invoke an error. Now, I have multiple Sticky Buns and only one Fraxinus, so I just wanted to know if you had more than one Short Sword or not? That would be a good reason to try and sell one...
  
  EDITEDIT: Okay, this time, I enabled scripting-error pop-ups, and it said that I used next. Whoops. That is a C/C++ statement, In JavaScript, you are supposed to use continue. I have no idea why nothing came up in debugging or why it only works for items you have multiple of (or apparently so since this happened when I tried to give him my Gold Pieces), but I shall swap next for continue when I next get home to my disks.
  
  [Editted by MintMan on Mar 31, 2003 19:35]
Ash10

Posts: 435
Member #3

Mar 31, 2003 17:14
Master Account Battling Dragons Endless Night's Dream R.E. League Reply w/ Quote Edit Post

  On Mar 31, 2003 19:27, MintMan said:
  
Lemme get this straight, Ash. You set your Basilisk to use Thorn until your enemy is poisoned, right? Then, after it does Poison the foe, the AI entry is removed, leaving it with Attack Endlessly or whatever. Am I still on the right track?
  
  Now, your battle ends, and you are just too lazy to reset your AI to use Thorn again after either challenging or being challenged although there is a link to set your AI provided on both of those pages? Please tell me that is not the case.
  [Editted by MintMan on Mar 31, 2003 19:35]
  

  
  No, I change it every time, it is just that it is kinda annoying. Well, it just annoying I have to set it, which takes like 10 seconds... Froget it. Its just that I didn't know if it was supposed to delete the entery permantly or what.
  
Nova Mod Team Generals Coder
Cheetarius

Posts: 353
Member #10

Mar 31, 2003 18:14
Web Site Master Account Battling Dragons Endless Night's Dream R.E. League Reply w/ Quote Edit Post

   Only one Short Sword, and yes, I wanted to sell it. Didn't know you were gonna be mean to us. ;P
- Cheetarius, Saphire Leader
MintMan

Posts: 4061
Member #1

Apr 1, 2003 13:48
E-Mail Web Site Master Account Battling Dragons Shadow Aura Endless Night's Dream R.E. League Reply w/ Quote Edit Post

  *whew* So it was not an AI problem, just wanting a sort of AI favorites. Yeah, I have been kicking around the idea of a favoured AI, although it would not be able to just set instantly. You would need to check some box or something to store the AI as being set before every battle until you manually unset it.
  Most people do fight the same way every battle, so such a thing would be worthwhile.
  
  As for the Giving thing, I uploaded the script but have not tested it yet; it should work tho'. And the problem with my Fraxinus was that I had it equipped. I have really got to get a better messaging system in there.
<- Prev Post   -   Next Post ->
Page:  1 
Apr 24, 2024 7:20 ESTReply | Topic List | Forums List | Edit Profile | Help | Sign Up


Copyright © 1999-2022