Skip to content

Instantly share code, notes, and snippets.

@maybecryptic
maybecryptic / giftless_christmas_event.cs
Last active January 12, 2019 11:18
Aura Christmas Event
//--- Aura Script -----------------------------------------------------------
// The Giftless Christmas Event
//--- Description -----------------------------------------------------------
// 2016 Christmas Event by Cryptic (xCryptic)
//---------------------------------------------------------------------------
public class GiftlessChristmasEventScript : GameEventScript
{
private int goblins;
@maybecryptic
maybecryptic / life_shop_event_2016.cs
Created June 21, 2016 17:36
Life Skills NPC Shop Event
//--- Aura Script -----------------------------------------------------------
// Life Skills NPC Shop Event
//--- Description -----------------------------------------------------------
// http://mabinogi.nexon.net/News/Announcements/1/00IwD
//---------------------------------------------------------------------------
public class LifeShopEvent2016Script : GeneralScript
{
[On("ErinnDaytimeTick")]
public void OnErinnDaytimeTick(ErinnTime now)
//--- Aura Script -----------------------------------------------------------
// Halloween Event Rewards
//--- Description -----------------------------------------------------------
// 2015 Halloween Event Rewards coded by Cryptic (xCryptic)
//---------------------------------------------------------------------------
[ItemScript(91417)]
public class HalloweenGiftBox : ItemScript
{
public override void OnUse(Creature cr, Item i, string param)
//--- Aura Script -----------------------------------------------------------
// Halloween Event
//--- Description -----------------------------------------------------------
// 2015 Halloween Event coded by Cryptic (xCryptic)
//---------------------------------------------------------------------------
public class SimpleHalloweenEventScript : GameEventScript
{
public override void Load()
{
@maybecryptic
maybecryptic / app.js
Created October 16, 2015 14:56
app.js
var express = require('express'),
app = express(),
port = Number(process.env.PORT || 3000),
io = require('socket.io').listen(app.listen(port)),
colors = require('colors'),
mongoose = require('mongoose'),
moment = require('moment'),
serverMsg = '<font color="#5E97FF"><b>[Server]</b> ',
serverLeaveMsg = '<font color="#4E7ACC"><b>[Server]</b> ',
cmdServerMsg = '[Server] '.white.bold,
@maybecryptic
maybecryptic / noDonate.js
Last active September 15, 2015 15:16
noDonate Booklet for 1080p Resolution
javascript:var%20donateBox%20=%20document.getElementById('donate-box');%20if%20(donateBox)%20{%20donateBox.remove();%20%20}%20%20$("#chat-messages").removeClass("show-donate");%20%20%20document.getElementById('chat-messages').setAttribute("style","height:%20750px");
@maybecryptic
maybecryptic / noDonate.user.js
Created September 15, 2015 00:52
noDonate
// ==UserScript==
// @name noDonate
// @namespace 9000
// @description Removes donate button from plug.dj
// @include https://plug.dj/*
// @version 1
// @grant none
// ==/UserScript==
var url = document.location.href;
var express = require('express'),
app = express(),
port = Number(process.env.PORT || 3000),
io = require('socket.io').listen(app.listen(port)),
colors = require('colors'),
mongoose = require('mongoose'),
server = '[Server] '.white.bold,
error = '[Error] '.red.bold,
users = {},
admins = {},
var express = require('express'),
app = express(),
http = require('http').Server(app),
io = require('socket.io')(http),
port = Number(process.env.PORT || 3000),
colors = require('colors'),
server = '[Server]'.white.bold,
users = [];
app.use('/images', express.static('images'));
//--- Aura Script -----------------------------------------------------------
// Bryce
//--- Description -----------------------------------------------------------
// Banker
//---------------------------------------------------------------------------
public class BryceScript : NpcScript
{
public override void Load()
{