Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored a bit of the instance modes
* Follow up to c97be60. * Added some safety measures when sending the instance name to the client. * Adjusted the stored maps of instances to dynamic arrays to conserve memory. - Max amount of possible maps increased to 255. * Removed Map1 from the instance_db as the EnterMap is always the same value. * Instances will now be destroyed even if the owner cannot be found. * Corrected the return value when entering an instance when a character, party, or guild does not have an instance. * Corrected a few script commands to properly stop the script engine on failures for instance script commands. * Removed the instance name lookup for when entering an instance as instance_id is now passed. - Adjusted script command instance_enter to no longer require the instance name. * Adjusted script command instance_create to keep backwards compatibility. * Cleaned up script command instance_warpall. * Updated script documentation to reflect changes. * Updated instance_db to reflect changes.
- Loading branch information
Showing
10 changed files
with
223 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
// Instance Database | ||
// | ||
// Structure of Database: | ||
// ID,Name,LimitTime,IdleTimeout,EnterMap,EnterX,EnterY,Map1,Map2,Map3,Map4,Map5,Map6,Map7,Map8 | ||
|
||
// ID,Name,LimitTime,IdleTimeOut,EnterMap,EnterX,EnterY,Map2,Map3,Map4,Map5,Map6,Map7,Map8,Map9,Map10 | ||
// | ||
// EnterMap is considered as Map1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
// Instance Database | ||
// | ||
// Structure of Database: | ||
// ID,Name,LimitTime,IdleTimeout,EnterMap,EnterX,EnterY,Map1,Map2,Map3,Map4,Map5,Map6,Map7,Map8 | ||
// ID,Name,LimitTime,IdleTimeOut,EnterMap,EnterX,EnterY,Map2,Map3,Map4,Map5,Map6,Map7,Map8,Map9,Map10 | ||
// | ||
// EnterMap is considered as Map1 | ||
|
||
1,Endless Tower,14400,300,1@tower,50,355,1@tower,2@tower,3@tower,4@tower,5@tower,6@tower | ||
2,Sealed Catacomb,7200,300,1@cata,100,224,1@cata,2@cata | ||
3,Orc's Memory,3600,300,1@orcs,179,15,1@orcs,2@orcs | ||
4,Nidhoggur's Nest,14400,300,1@nyd,32,36,1@nyd,2@nyd | ||
1,Endless Tower,14400,300,1@tower,50,355,2@tower,3@tower,4@tower,5@tower,6@tower | ||
2,Sealed Catacomb,7200,300,1@cata,100,224,2@cata | ||
3,Orc's Memory,3600,300,1@orcs,179,15,2@orcs | ||
4,Nidhoggur's Nest,14400,300,1@nyd,32,36,2@nyd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
// Instance Database | ||
// | ||
// Structure of Database: | ||
// ID,Name,LimitTime,IdleTime,EnterMap,EnterX,EnterY,Map1,Map2,Map3,Map4,Map5,Map6,Map7,Map8 | ||
// ID,Name,LimitTime,IdleTimeOut,EnterMap,EnterX,EnterY,Map2,Map3,Map4,Map5,Map6,Map7,Map8,Map9,Map10 | ||
// | ||
// EnterMap is considered as Map1 | ||
|
||
1,Endless Tower,14400,300,1@tower,50,355,1@tower,2@tower,3@tower,4@tower,5@tower,6@tower | ||
2,Sealed Catacomb,7200,300,1@cata,100,224,1@cata,2@cata | ||
3,Orc's Memory,3600,300,1@orcs,179,15,1@orcs,2@orcs | ||
4,Nidhoggur's Nest,14400,300,1@nyd,32,36,1@nyd,2@nyd | ||
5,Mistwood Maze,7200,300,1@mist,89,29,1@mist | ||
6,Culvert,3600,300,1@pump,63,98,1@pump,2@pump | ||
7,Octopus Cave,3600,300,1@cash,199,99,1@cash | ||
8,Bangungot Hospital 2F,3600,300,1@ma_h,40,157,1@ma_h | ||
9,Buwaya Cave,3600,300,1@ma_c,35,57,1@ma_c | ||
10,Bakonawa Lake,7200,300,1@ma_b,64,51,1@ma_b | ||
11,Wolfchev's Laboratory,14400,300,1@lhz,45,148,1@lhz | ||
12,Old Glast Heim,3600,300,1@gl_k,150,20,1@gl_k,2@gl_k | ||
13,Eclage Interior,1200,300,1@ecl,60,50,1@ecl | ||
1,Endless Tower,14400,300,1@tower,50,355,2@tower,3@tower,4@tower,5@tower,6@tower | ||
2,Sealed Catacomb,7200,300,1@cata,100,224,2@cata | ||
3,Orc's Memory,3600,300,1@orcs,179,15,2@orcs | ||
4,Nidhoggur's Nest,14400,300,1@nyd,32,36,2@nyd | ||
5,Mistwood Maze,7200,300,1@mist,89,29 | ||
6,Culvert,3600,300,1@pump,63,98,2@pump | ||
7,Octopus Cave,3600,300,1@cash,199,99 | ||
8,Bangungot Hospital 2F,3600,300,1@ma_h,40,157 | ||
9,Buwaya Cave,3600,300,1@ma_c,35,57 | ||
10,Bakonawa Lake,7200,300,1@ma_b,64,51 | ||
11,Wolfchev's Laboratory,14400,300,1@lhz,45,148 | ||
12,Old Glast Heim,3600,300,1@gl_k,150,20,2@gl_k | ||
13,Eclage Interior,1200,300,1@ecl,60,50 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.