Thread: #repop force
View Single Post
  #5  
Old 06-22-2009, 06:07 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Moving this to the bugs section so it can be fixed.

BTW, if you ran that SQL, you undid some new changes that need to be in that table. Here is the additional SQL to run if you ran the SQL in the post above:

Code:
ALTER TABLE `respawn_times` ADD `instance_id` SMALLINT DEFAULT '0' NOT NULL AFTER `duration`;
ALTER TABLE `respawn_times` DROP PRIMARY KEY, ADD PRIMARY KEY (`id`, `instance_id`);
For anyone else, don't run any of this SQL. Just run what you would normally run for updates from the changelog and the sql/svn folder.

Also worth noting is that the repop delays aren't working either. The #repop command is supposed to be able to either take a "force" option to force all timers to clear and repop the whole zone, or to be able to take a delay option in seconds. So, if you set it to #repop 5, it should repop the zone in 5 seconds, but instead, it is repopping it instantly no matter what delay is set.

I am pretty sure this has something to do with the addition of instances, but I can't see anything that looks wrong in the code for it.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!

Last edited by trevius; 06-22-2009 at 02:33 PM..
Reply With Quote