|  |  | 
 
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  | 
	
		
   
   
      | Archive::Bugs Archive area for Bugs's posts that were moved here after an inactivity period of 90 days. |  
	
	
		
	
	
	| 
			
			 
			
				01-25-2004, 07:53 AM
			
			
			
		 |  
	| 
		
			
			| Dragon |  | 
					Join Date: Jan 2004 Location: LasShithole, NV 
						Posts: 520
					      |  |  
	| 
				 DR3 bugs 
 seems the #summon command not working now..ie not able to target NPC #summon #spawnfix
 
 
 #listpetition and #delpetition not working
 
 shared band money slot not working(havent tried items yet)
 
 
 the zone_id=0 error still causing client hangs.
 
 perl questing not working(at least in the precompiled version)
 
				__________________Perfect quote from another site: it's immature pricks who refuse to read the numerous stickies in every forum pointing out what to do and what not to do that get flamed. Grow up and learn to do your fucking homework before opening your cake hole, junior. EQEmu doesn't like you anymore, and that's why you're getting errors. So go away.
 __________________
 |  
	
		
	
	
	| 
			
			 
			
				01-25-2004, 08:35 AM
			
			
			
		 |  
	| 
		
			
			| Demi-God |  | 
					Join Date: Jan 2002 
						Posts: 2,073
					      |  |  
	| 
 #summon was taken out because it is useless. use /summon
 /summon works better and has more functionality.
 
				__________________Shawn319
 Semi-Retired EQ Addict
 
 (Retired)EQEmu Lead Tester
 (Retired)EQEmu Tech Support
 
 (Retired)Host/ServerOP - [LIVE] Official EQEmu Test Server
 (Retired)Host/ServerOP - Shawn319's All-GM Dev Test Server
 (Retired)ServerOP - EQEmu Beta Server
 (Retired)ServerOP - GuildWars Server
 (Retired)ServerOP - Raid Addicts
 --------------------------
 |  
	
		
	
	
	| 
			
			 
			
				01-25-2004, 08:39 AM
			
			
			
		 |  
	| 
		
			
			| Dragon |  | 
					Join Date: Jan 2004 Location: LasShithole, NV 
						Posts: 520
					      |  |  
	| 
 after typeing /summon am gettingThat is not a valid command. Please use /help
 
				__________________Perfect quote from another site: it's immature pricks who refuse to read the numerous stickies in every forum pointing out what to do and what not to do that get flamed. Grow up and learn to do your fucking homework before opening your cake hole, junior. EQEmu doesn't like you anymore, and that's why you're getting errors. So go away.
 __________________
 |  
	
		
	
	
	| 
			
			 
			
				01-25-2004, 12:31 PM
			
			
			
		 |  
	| 
		
			
			| Discordant |  | 
					Join Date: May 2002 
						Posts: 434
					      |  |  
	| 
 You have to be #gm on, if you want perl compile it yourself. /summon, shared bank doesn't work (NOT IMPLEMENTED), #listpetition and #delpetition work 
				__________________++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<
 +++++>-]<+.+++++++..+++.>>+++++[<++++++>-]<+
 +.<<+++++++++++++++.>.+++.------.--------.>+.
 |  
	
		
	
	
	| 
			
			 
			
				01-25-2004, 12:39 PM
			
			
			
		 |  
	| 
		
			
			| Dragon |  | 
					Join Date: Jan 2004 Location: LasShithole, NV 
						Posts: 520
					      |  |  
	| 
 #listpetition brings up 
	Quote: 
	
		| ID : Character Name , Account Name |  no other info
 
#delpetition does delete is from DB..but if user tried to petition again it tells them they already have a petition in and to use /deletepetition
 
/summon does work now that #gm on done..
				__________________Perfect quote from another site: it's immature pricks who refuse to read the numerous stickies in every forum pointing out what to do and what not to do that get flamed. Grow up and learn to do your fucking homework before opening your cake hole, junior. EQEmu doesn't like you anymore, and that's why you're getting errors. So go away.
 __________________
 |  
	
		
	
	
	| 
			
			 
			
				05-18-2004, 02:38 PM
			
			
			
		 |  
	| 
		
			
			| Hill Giant |  | 
					Join Date: May 2004 
						Posts: 106
					      |  |  
	| 
 Just tested this on the server I'm building.  I created my petitions table by exporting structure only from my test database where I sourced the dr2 download.  (I am using dr3 compiled code)..
 I created a petition and then executed #listpetitions and I get ID: Character Name, Account Name with no petition information.  I pulled up the table in mySQL and it showed my petition.  I created another petition by adding a record in my SQL admin tool and once it was committed to the database, I did #listpetition again and it showed the new petition.  At first I thought it might be because the petid was 0, so I edited it to 2 and then the record I added earlier didn't show up in the list.  It seems that it is always dropping the first record in the petition table.
 
 Not really a coder or a db person but from analyzing the result, thats at least a place to look whenever one of the project guru's has a chance to peek.
 |  
	
		
	
	
 
  |  |  |  |  
	| 
			
			 
			
				05-19-2004, 06:31 AM
			
			
			
		 |  
	| 
		
			
			| Hill Giant |  | 
					Join Date: Dec 2003 
						Posts: 166
					      |  |  
	| 
				  
 Try these out. Should be in command.cpp at about lines 2938 and 1411 in command.cpp, respectively. 
	Code: void command_listpetition (Client *c, const Seperator *sep)
{
  char errbuf[MYSQL_ERRMSG_SIZE];
  char *query;
  MYSQL_RES *result;
  MYSQL_ROW row;
  unsigned int count = 0;
  query = new char[256];
  if (database.RunQuery (
    query,
    MakeAnyLenString(&query,  "SELECT petid, charname,accountname FROM petitions ORDER BY petid"),
    errbuf,
    &result) == false)
  {
    safe_delete_array (query);
    c->Message (13, "Error executing query.");
    return;
  }
  safe_delete_array (query);
  LogFile->write (EQEMuLog::Normal,
    "Petition list requested by %s", c->GetName());
  while ((row = mysql_fetch_row (result)) != NULL)
  {
    if (count++ == 0)
      c->Message (13,"  ID: Character Name, Account Name");
    c->Message (15, "  %s: %s, %s", row[0], row[1], row[2]);
  }
  if (count == 0)
    c->Message (15, "No petitions found.");
  mysql_free_result (result);
} 
	Code: void command_delpetition (Client *c, const Seperator *sep)
{
   if (sep->arg[1][0] == 0 || strcasecmp (sep->arg[1], "*") == 0)
   {
      c->Message (0, "Usage: #delpetition (petition number).");
      c->Message (0, "Type #listpetition for a list.");
      return;
   }
   if (petition_list.DeletePetition (atoi (sep->argplus[1])) == -1)
      c->Message (13, "Error deleting petition %i.", atoi (sep->argplus[1]));
   else
      c->Message (13, "Deleted petition %i.", atoi(sep->argplus[1]));
} edit: Added new delete petition function and modified list petitions.
			
			
			
			
				  |  
 
  |  |  |  |  
	
		
	
	
	
	
	| 
	|  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 01:24 AM.
 
 |  |  
    |  |  |  |  
    |  |  |  |  
     |  |  |  |  
 |  |