Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

bug? with getattackname()

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Rimudora
Psychopath yandere
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 26 May 2005
Posts: 335

PostPosted: Fri Nov 27, 2009 4:50 pm    Post subject: bug? with getattackname() Reply with quote

I used the following code to test the bug, using a blank .rpg file where the attacks have been given names like "Zero", "One", "Two", and so on.

Code:
plotscript,test,begin
 variable(temp)
 for(temp,-3,3) do,begin
  showvalue(temp)
  getattackname(1,temp)
  showstringat(1,0,0)
  waitforkey(usekey)
 end
end


The problem is that getattackname(1,0) gives me the name of attack #1,
getattackname(1,1) gives me the name of attack#2, and so on.
getattackname(1,-1) and earlier doesn't give me anything, so it's technically impossible to get the attack name of attack #0.
I've tried this out on both the latest nightly and xocolatl+2
Back to top
View user's profile Send private message Send e-mail
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Fri Nov 27, 2009 7:52 pm    Post subject: Reply with quote

Bug confirmed and filed: '' . bug_title('792') . ''

Thank you for reporting this!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group