-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #789 from Logg-y/master
Treasure map update, stats database migration and performance tweaks
- Loading branch information
Showing
39 changed files
with
1,720 additions
and
160 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
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
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
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
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,6 +1,24 @@ | ||
#include "nui_playerstats" | ||
#include "inc_treasuremap" | ||
#include "inc_loot" | ||
|
||
void main() | ||
{ | ||
ShowPlayerStatsUI(GetFirstPC()); | ||
|
||
int nStart = GetMicrosecondCounter(); | ||
object oMap = SetupProgenitorTreasureMap(12, GetArea(OBJECT_SELF), 1); | ||
CopyTierItemToObjectOrLocation(oMap, OBJECT_SELF); | ||
SendDebugMessage("time = " + IntToString(GetMicrosecondCounter() - nStart)); | ||
|
||
/* | ||
sqlquery sql = SqlPrepareQueryCampaign("areadistances", "EXPLAIN QUERY PLAN SELECT areadest from areadists " + | ||
"WHERE areasource = @areasource AND distance <= @distance;"); | ||
SqlBindString(sql, "@areasource", GetTag(GetArea(GetFirstPC()))); | ||
SqlBindInt(sql, "@distance", 1000); | ||
SqlStep(sql); | ||
SpeakString(SqlGetString(sql, 0)); | ||
SpeakString(SqlGetString(sql, 1)); | ||
SpeakString(SqlGetString(sql, 2)); | ||
SpeakString(SqlGetString(sql, 3)); | ||
*/ | ||
|
||
} |
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.