Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Bugs

Archive::Bugs Archive area for Bugs's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-25-2004, 07:53 AM
wize_one
Dragon
 
Join Date: Jan 2004
Location: LasShithole, NV
Posts: 520
Default 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.
__________________
Reply With Quote
  #2  
Old 01-25-2004, 08:35 AM
Shawn319
Demi-God
 
Join Date: Jan 2002
Posts: 2,073
Default

#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
--------------------------
Reply With Quote
  #3  
Old 01-25-2004, 08:39 AM
wize_one
Dragon
 
Join Date: Jan 2004
Location: LasShithole, NV
Posts: 520
Default

after typeing /summon am getting
That 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.
__________________
Reply With Quote
  #4  
Old 01-25-2004, 12:31 PM
kathgar
Discordant
 
Join Date: May 2002
Posts: 434
Default

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
__________________
++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<
+++++>-]<+.+++++++..+++.>>+++++[<++++++>-]<+
+.<<+++++++++++++++.>.+++.------.--------.>+.
Reply With Quote
  #5  
Old 01-25-2004, 12:39 PM
wize_one
Dragon
 
Join Date: Jan 2004
Location: LasShithole, NV
Posts: 520
Default

#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.
__________________
Reply With Quote
  #6  
Old 05-18-2004, 02:38 PM
Swampdog
Hill Giant
 
Join Date: May 2004
Posts: 106
Default

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.
Reply With Quote
  #7  
Old 05-19-2004, 06:31 AM
m0oni9
Hill Giant
 
Join Date: Dec 2003
Posts: 166
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:41 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3