| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Sajim of EVOS 
 
 
 
 Joined: 25 Jun 2007
 Posts: 13
 
 
 | 
			
				|  Posted: Sun Mar 09, 2008 6:46 pm    Post subject: problem with plotscr.hsd |   |  
				| 
 |  
				| i dont know if this has been answered, or even experienced by anyone other than myself, but everytime i compile a script through hspeak i get a message saying.... 
 WARNING: in line 507 of script inputstring in C:/OHRRPGCE/plotscr.hsd
 variable(done, key, show,c)
 local variable c is never used
 
 
 i'm sort of inebriated right now, but the EVOS team usually is, so that might be part of the problem. heh. But anyone's help is greatly appreciated.
 _________________
 Writer.Plotscripter for the team "EVOS Creations"
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Onlyoneinall Bug finder
 
 
 
 
 Joined: 16 Jul 2005
 Posts: 746
 
 
 | 
			
				|  Posted: Sun Mar 09, 2008 6:57 pm    Post subject: |   |  
				| 
 |  
				| Are you using the latest .hsd file? I already reported this and it should have been fixed already. bis_senchi in the thread below has also made note of the problem you're pointing out. In any case, I don't think it has any actual effect on your plotscript files. _________________
 http://www.castleparadox.com/gamelist-display.php?game=750 Bloodlust Demo 1.00
 
 
  |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Sajim of EVOS 
 
 
 
 Joined: 25 Jun 2007
 Posts: 13
 
 
 | 
			
				|  Posted: Sun Mar 09, 2008 7:21 pm    Post subject: |   |  
				| 
 |  
				| well that problem is now fixed but i spot something else. 
 WARNING: in line ** of script ** in c:/etc. etc.
 wait for text box
 hard-coded function waitfortextbox has 1 more arguments than it needs
 _________________
 Writer.Plotscripter for the team "EVOS Creations"
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| msw188 
 
 
 
 Joined: 02 Jul 2003
 Posts: 1041
 
 
 | 
			
				|  Posted: Sun Mar 09, 2008 7:33 pm    Post subject: |   |  
				| 
 |  
				| Are you trying to tell the script what text box to wait for, like this: 
 ? 	  | Code: |  	  | wait for text box (245) | 
 
 You don't have to tell the script what textbox to wait for; just the line
 
 will automatically wait until there is no textbox present on the screen, regardless of which textboxes they are.
 _________________
 My first completed OHR game, Tales of the New World:
 http://castleparadox.com/gamelist-display.php?game=161
 
 This website link is for my funk/rock band, Euphonic Brew:
 www.euphonicbrew.com
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Sajim of EVOS 
 
 
 
 Joined: 25 Jun 2007
 Posts: 13
 
 
 | 
			
				|  Posted: Sun Mar 09, 2008 7:37 pm    Post subject: |   |  
				| 
 |  
				| i am only saying: 
 wait for text box
 
 ...nothing else
 
 i have many other scripts what say it, but for some reason only this script is saying i have too many arguments for it..weird
 _________________
 Writer.Plotscripter for the team "EVOS Creations"
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| TMC On the Verge of Insanity
 
 
 
 
 Joined: 05 Apr 2003
 Posts: 3240
 Location: Matakana
 
 | 
			
				|  Posted: Sun Mar 09, 2008 8:48 pm    Post subject: |   |  
				| 
 |  
				| It sounds like you're doing something wrong on the next line then, which I'm guessing starts with a begin or bracket. If not, post a few lines around the one where the warning is raised. _________________
 "It is so great it is insanely great."
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Sajim of EVOS 
 
 
 
 Joined: 25 Jun 2007
 Posts: 13
 
 
 | 
			
				|  Posted: Sun Mar 09, 2008 9:13 pm    Post subject: |   |  
				| 
 |  
				| heres my script 
 script,snaregrowl,begin
 suspend player
 suspend npcs
 show text box (15)
 wait for text box
 show text box (16)
 wait for text box
 show text box (46)
 wait for text box
 (if (check tag(
  ) then (show text box (47),wait for text box)
 else (show text box (4
  ,wait for text box)) show text box (9)
 wait for text box
 (if (check tag(4))
 then (show text box (10),wait for text box, (bogartsdeath))
 else (show text box (12),wait for text box))
 resume npcs
 resume player
 end
 
 it was written a long ass time ago, giving people a choice, actually 2 choices in a row.  It's pretty basic, but it hasnt been updated since about 2002 or 2003.  Wherever you see a "wait for test box" command is where it's giving me an error.  maybe something has changed where i need to update it.
 
 I appreciate everyone's help.  Generously.
 _________________
 Writer.Plotscripter for the team "EVOS Creations"
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Newbie_Power 
 
 
  
 Joined: 04 Sep 2006
 Posts: 1762
 
 
 | 
			
				|  Posted: Sun Mar 09, 2008 9:17 pm    Post subject: |   |  
				| 
 |  
				|  	  | Quote: |  	  | script,snaregrowl,begin suspend player
 suspend npcs
 show text box (15)
 wait for text box
 show text box (16)
 wait for text box
 show text box (46)
 wait for text box
 (if (check tag(Cool)
 then (show text box (47),wait for text box)
 else (show text box (4Cool,wait for text box))
 show text box (9)
 wait for text box
 (if (check tag(4))
 then (show text box (10),wait for text box, (bogartsdeath))
 else (show text box (12),wait for text box))
 resume npcs
 resume player
 end
 | 
 
 Bolded areas are where I think you should look out for your error.  There is no need to put the beginning of an if statement in parenthesis like that, and it makes the compiler think that wait for text box is being passed arguments.
 _________________
 
   TheGiz>	Am I the only one who likes to imagine that Elijah Wood's character in Back to the Future 2, the kid at the Wild Gunman machine in the Cafe 80's, is some future descendant of the AVGN?
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Sajim of EVOS 
 
 
 
 Joined: 25 Jun 2007
 Posts: 13
 
 
 | 
			
				|  Posted: Sun Mar 09, 2008 9:33 pm    Post subject: |   |  
				| 
 |  
				| you guys rock!! all problems solved.  Thank you so much. 
 I've been learning plotscripting since 2002-ish, but i probably don't even compare to some of you.  I'm in and out of RPG making quite often, lol.  I'm gonna try to get back into it after a break since september/november 2007.
 
 The EVOS team, composed of Corak and Sajim (myself), will be updating Stenmele Osmium in the near future.  Hopefully within the next couple months (because we are lazy, Corak is in the Army, and I am finishing my fourth year in college).  *hic* hopefully all this consumption of alcohol won't hinder us too *hic* much.
 _________________
 Writer.Plotscripter for the team "EVOS Creations"
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| bis_senchi 
 
 
  
 Joined: 08 Jun 2004
 Posts: 460
 Location: Reims, France
 
 | 
			
				|  Posted: Sat Mar 15, 2008 12:27 am    Post subject: Hsd file that comes with the Wip is working! |   |  
				| 
 |  
				| I confirm that the hsd file that comes with the Wip works and is needed to solve the problem. 
 To prevent other game maker to complain about this I think that it would be a good to ask that the hsd file that comes with the wip should be copied and pasted into the non-wip package so that those who (re) download the non wip package won't have this problem anylonger.
 
 Who should I mail/ send a PM / to ask for this?
 _________________
 It's time to make games!
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |