| 
   | 
   | 
  
 
    | 
    | 
    | 
  
 
    | 
   | 
    | 
  
 
    | 
   | 
    | 
  
 
    | 
   | 
    | 
  
 
   | 
  
	
		
   
   
      | Support::Windows Servers Support forum for Windows EQEMu users. | 
    
    
   
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				07-07-2010, 09:11 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 The Solo Server 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2007 
					
					
					
						Posts: 416
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
				 
				Forage Issues
			 
			 
			
		
		
		
		Example: In Firiona Vie, you only get the basic forages. (water/roots/berries/etc) 
 
No one is getting the special forage like the Rose of Firiona. 
 
I checked my table to make sure it isn't corrupted and has the rows.  It does. 
 
Not sure what is going on...any tips in researching this? 
		
	
		
		
		
		
		
		
			
				__________________ 
				OP of Irreverent Server (The Solo Server)
 Our Forums
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				07-07-2010, 09:16 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 The Solo Server 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2007 
					
					
					
						Posts: 416
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		ok researched a couple other issues with parchment/spell turn ins...the LAST one on the list of the random generator isn't getting rewarded on a list. 
 
Was there a change to the way random numbers are generated? (in code or perl?) 
		
	
		
		
		
		
		
		
			
				__________________ 
				OP of Irreverent Server (The Solo Server)
 Our Forums
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				07-07-2010, 09:44 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 The Solo Server 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2007 
					
					
					
						Posts: 416
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		Found it!  It was a change in the code!! 
Just so many things started going wrong.  Dyanmic/random mobs weren't working anymore...turnins that have an array, the last one wasn't being selected....
 
could this be it?
 
	Code: 
	==06/22/2010==
gaeorn: replaced calls to rand() with calls to MakeRandomInt() 
  
		
	
		
		
		
		
		
		
			
				__________________ 
				OP of Irreverent Server (The Solo Server)
 Our Forums
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				07-08-2010, 12:47 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Developer 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Apr 2009 
					Location: USA 
					
					
						Posts: 478
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		
	Quote: 
	
	
		
			
				
					Originally Posted by  Irreverent
					 
				 
				Found it!  It was a change in the code!! 
 
Just so many things started going wrong.  Dyanmic/random mobs weren't working anymore...turnins that have an array, the last one wasn't being selected....
  
			
		 | 
	 
	 
 Do you have evidence of the random mobs not working? From my experience, they do work as intended, but I'm happy to investigate a problem you are seeing if you have more specific information.
 
In regards to turnins, considering I can get ALL items from repeatedly doing a turnin that has an array of possible items, I'm quite certain that is not misbehaving as you say.
 
Foraging had some very strange logic in place that may have had a problem. I replaced that logic with more tried and true logic found elsewhere in the code to select an item from a list based on its chance to be selected.  
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				07-08-2010, 01:01 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 The Solo Server 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2007 
					
					
					
						Posts: 416
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		Sure, no problem! 
I used this code:
 
	Code: 
	sub EVENT_SAY {  
	if($text=~/Hail/i) {quest::say("Hi");  }  
	if($text=~/Test/i) 
	{
	    	quest::say(quest::ChooseRandom(1,2,3,4,5));
	    	quest::say(quest::ChooseRandom(1,2,3,4,5));
	    	quest::say(quest::ChooseRandom(1,2,3,4,5));
	    	quest::say(quest::ChooseRandom(1,2,3,4,5));
	    	quest::say(quest::ChooseRandom(1,2,3,4,5));
	    	quest::say(quest::ChooseRandom(1,2,3,4,5));
	    	quest::say(quest::ChooseRandom(1,2,3,4,5));
	    	quest::say(quest::ChooseRandom(1,2,3,4,5));
	    	quest::say(quest::ChooseRandom(1,2,3,4,5));
	    	quest::say(quest::ChooseRandom(1,2,3,4,5));
	    	quest::say(quest::ChooseRandom(1,2,3,4,5));
	    	quest::say(quest::ChooseRandom(1,2,3,4,5));
	    	quest::say(quest::ChooseRandom(1,2,3,4,5));
	    	quest::say(quest::ChooseRandom(1,2,3,4,5));
	}  
}
 And got these results:    
		
	
		
		
		
		
		
		
			
				__________________ 
				OP of Irreverent Server (The Solo Server)
 Our Forums
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				07-08-2010, 01:06 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
			
				
				
				 Developer 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Mar 2003 
					
					
					
						Posts: 1,500
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		Are you sure you are using the latest? We had this issue resolved I believe. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				07-08-2010, 01:08 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 The Solo Server 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2007 
					
					
					
						Posts: 416
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		Yup, using the one that is a binary off the compiled link.  1535. 
		
	
		
		
		
		
		
		
			
				__________________ 
				OP of Irreverent Server (The Solo Server)
 Our Forums
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				07-08-2010, 01:10 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Developer 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Apr 2009 
					Location: USA 
					
					
						Posts: 478
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		
	Quote: 
	
	
		
			
				
					Originally Posted by  Irreverent
					 
				 
				Yup, using the one that is a binary off the compiled link.  1535. 
			
		 | 
	 
	 
 That is the latest precompiled version. That is not the latest. The latest is revision 1586.
 
The problem you are experiencing was resolved in revision 1547.  
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				07-08-2010, 01:12 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 The Solo Server 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2007 
					
					
					
						Posts: 416
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		Makes sense...can someone repost the windows binaries then...Please!    
		
	
		
		
		
		
		
		
			
				__________________ 
				OP of Irreverent Server (The Solo Server)
 Our Forums
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				07-08-2010, 04:17 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Dragon 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2009 
					Location: Milky Way 
					
					
						Posts: 539
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				07-08-2010, 01:08 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Developer 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Apr 2009 
					Location: USA 
					
					
						Posts: 478
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		Yes, what revision are you running that on? Because all evidence is that it works properly in my testing on PEQ. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				07-08-2010, 01:09 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 The Solo Server 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2007 
					
					
					
						Posts: 416
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		I'm using the 1535 binaries posted.  I'm sure PEQ compiles their own...perhaps they were compiled differently? 
		
	
		
		
		
		
		
		
			
				__________________ 
				OP of Irreverent Server (The Solo Server)
 Our Forums
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
 
	
		
	
	
	
	
	| Thread Tools | 
	
 
	| 
	
	
	
	 | 
	
 
	| Display Modes | 
	
 
	
	
	
	
		
		  Hybrid Mode 
		
	 
	
	 | 
	
	
 
 
	
		
	
		 
		Posting Rules
	 | 
 
	
		
		You may not post new threads 
		You may not post replies 
		You may not post attachments 
		You may not edit your posts 
		 
		
		
		
		
		HTML code is Off 
		 
		
	  | 
 
 
	 | 
	
		
	 | 
 
 
All times are GMT -4. The time now is 08:23 AM. 
 
		 
	 
 
 
     | 
     | 
    
   
      | 
     | 
      | 
    
   
     | 
      | 
     | 
    
   
       | 
      | 
       | 
     
    
    
  | 
   |