This file contains hidden or 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
| diff --git a/src/channel_server/lua/lua_scriptable.cpp b/src/channel_server/lua/lua_scriptable.cpp | |
| index bb6cbd6..cfd12cd 100644 | |
| --- a/src/channel_server/lua/lua_scriptable.cpp | |
| +++ b/src/channel_server/lua/lua_scriptable.cpp | |
| @@ -176,6 +176,7 @@ auto lua_scriptable::initialize() -> void { | |
| expose("useItem", &lua_exports::use_item); | |
| // Player | |
| + | |
| expose("deletePlayerVariable", &lua_exports::delete_player_variable); |
This file contains hidden or 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
| INSERT INTO `mcdb`.`user_shop_data` (`shopid`,`npcid`,`recharge_tier`) VALUES | |
| (5450000, 9090000, 1); | |
| INSERT INTO `mcdb`.`user_shop_items` (`shopid`, `itemid`, `quantity`, `price`, `sort`) VALUES | |
| (5450000, 2000002, 1, 100, 24), | |
| (5450000, 2000006, 1, 200, 23), | |
| (5450000, 2002017, 1, 5000, 22), | |
| (5450000, 2002018, 1, 5000, 21), | |
| (5450000, 2002020, 1, 2800, 20), | |
| (5450000, 2002021, 1, 2800, 19), |
This file contains hidden or 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
| // app/styles/app.scss | |
| @import "materialize"; | |
| // From http://materializecss.com/templates/starter-template/css/style.css | |
| .icon-block { | |
| padding: 0 15px; | |
| } | |
| .icon-block .material-icons { |
This file contains hidden or 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
| package controllers | |
| import javax.inject.{Inject, Singleton} | |
| import play.api.libs.json.Json | |
| import play.api.mvc.{Action, Controller} | |
| @Singleton | |
| class HomeController @Inject() () extends Controller with PrettyJsonOutput { | |
| def index = Action { implicit request => |
This file contains hidden or 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
| // app/serializers/application.js | |
| import DS from 'ember-data'; | |
| import Ember from 'ember'; | |
| import coerceId from "ember-data/-private/system/coerce-id"; | |
| var get = Ember.get; | |
| export default DS.JSONSerializer.extend({ | |
| extractId(modelClass, resourceHash) { | |
| var primaryKey = get(this, 'primaryKey'); |
This file contains hidden or 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
| // app/adapters/application.js | |
| import DS from 'ember-data'; | |
| // Note: In order to allow the Location header to be seen through CORS requests, | |
| // include 'Access-Control-Expose-Headers: Location' header in your API response. | |
| export default DS.RESTAdapter.extend({ | |
| _ajaxRequest(hash) { | |
| let originalSuccess = hash.success; | |
| let originalError = hash.error; |
This file contains hidden or 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
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle' | |
| }); |
This file contains hidden or 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
| #include <idc.idc> | |
| static main (void) { | |
| auto ea = ScreenEA(); | |
| auto xt; | |
| auto r = RfirstB(ea); | |
| Message("Function\tCall\tOpcodeAddr\tOpcode\tOpcodeHex\n"); | |
| while (r != -1) { | |
| xt = XrefType(); |
This file contains hidden or 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
| enum QR { | |
| MonsterBook = 1047, | |
| SAVE_EXP_BUFF = 1062, | |
| WeddingDivorce = 1103, | |
| WeddingVows30days = 1125, | |
| WeddingVows100days = 1126, | |
| RecommendPartyQuestSave = 1216, | |
| MonsterCarnival = 1301, | |
| MonsterCarnivalS2 = 1302, | |
| BeastFormWing_On_Off = 1544, |
This file contains hidden or 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
| using System; | |
| using System.Diagnostics; | |
| using System.Drawing; | |
| using System.Drawing.Imaging; | |
| using System.IO; | |
| using System.Windows.Forms; | |
| namespace qnd_png_conversion | |
| { | |
| class Program |