- /w (charactername) (message)
Send warning (message) to (charactername) - /d (inventory number)
Destroys item from (inventory number), starting from first slot (until an item is found) - /block (charactername)
Blocks (charactername)'s account from logging in - /ban (charactername)
Kick (charactername) from the channel
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/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
| 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
| 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
| private val microsoftDateWithTZ = """\/Date\(([0-9]+)([\-\+])([0-9]{2})([0-9]{2})\)\/""".r | |
| private val microsoftDateWithoutTZ = """\/Date\(([0-9]+)\)\/""".r | |
| implicit val jodaDateTimeReads = Reads[DateTime]({ | |
| case JsString(microsoftDateWithoutTZ(ticks)) => | |
| JsSuccess(new DateTime(ticks.toLong)) | |
| case JsString(microsoftDateWithTZ(ticks, upOrDown, hours, minutes)) => | |
| val hoursInt = hours.dropWhile(_ == '0').toIntOpt.getOrElse(0) | |
| val minutesInt = minutes.dropWhile(_ == '0').toIntOpt.getOrElse(0) |
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
| .featured-product { | |
| margin-bottom: 20px; | |
| .featured-product-image { | |
| background-position: center center; | |
| background-repeat: no-repeat; | |
| background-size: cover; | |
| height: 378px; | |
| position: relative; | |
| /* |
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 main | |
| import ( | |
| "encoding/hex" | |
| "flag" | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "os/exec" | |
| "path/filepath" |
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 main | |
| import ( | |
| "bytes" | |
| "encoding/binary" | |
| "encoding/hex" | |
| "errors" | |
| "flag" | |
| "fmt" | |
| "io" |
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
| // IDC script for identifying functions and such | |
| #include <idc.idc> | |
| #define RenameFunction(a, b) Message("Found %s at %a\r\n", b, a); MakeName(a, b) | |
| #define START_ADDR 0x00400000 | |
| static main() { | |
| auto addr = BADADDR; | |
| auto onMovePacket = FindAoBAndRename("25 0C FE FF FF 05 E8 03", "?OnMovePacket@CMovePath@@QAEXAAVCInPacket@@H@Z"); |