Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name ChatForFree Fix Resizing (Langerz31)
// @description This fixes the ChatForFree Chat Site by re-sizing the window to be within the window.
// Tested on FireFox 33.1.1.
// Chrome 39.0.2171.65
// If it's broken send me an e-mail: jdoe090910@gmail.com or
// message me on cff Langerz31.
// @namespace Langerz.ChatForFree
// @include http://mobile.chatforfree.org/index.php?do=/desktop-chat/
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// ==UserScript==
// @name ChatForFree Fix Resizing (Langerz31)
// @description This fixes the ChatForFree Chat Site by re-sizing the window to be within the window.
// Tested on FireFox 33.1.1.
// Chrome 39.0.2171.65
// If it's broken send me an e-mail: jdoe090910@gmail.com or
// message me on cff Langerz31.
// @namespace Langerz.ChatForFree
// @include http://mobile.chatforfree.org/index.php?do=/desktop-chat/
// @version 1.4.1
@Langerz82
Langerz82 / socialwindow.cpp
Created March 24, 2015 02:16
Manaplus - Social Window - Slowlogic made faster
/*
* The ManaPlus Client
* Copyright (C) 2010 The Mana Developers
* Copyright (C) 2011-2015 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@Langerz82
Langerz82 / localplayer.cpp
Created March 25, 2015 11:15
XP Level Notification Fix + Level Up + Encumbered: src/being/localplayer.cpp , src/being/localplayer.h
/*
* The ManaPlus Client
* Copyright (C) 2004-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
* Copyright (C) 2011-2015 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
"//ID"," Name"," Jname"," LV"," HP"," SP"," EXP"," JEXP"," Range1"," ATK1"," ATK2"," DEF"," MDEF"," STR"," AGI"," VIT"," INT"," DEX"," LUK"," Range2"," Range3"," Scale"," Race"," Element","Mode"," Speed"," Adelay"," Amotion","Dmotion","Drop1id","Drop1per","Drop2id","Drop2%"," Drop3id","Drop3%"," Drop4id","Drop4%"," Drop5id","Drop5%"," Drop6id","Drop6%"," Drop7id","Drop7%"," Drop8id","Drop8%"," Item1"," Item2"," MEXP"," ExpPer"," MVP1id"," MVP1per","MVP2id"," MVP2per","MVP3id"," MVP3per","mutationcount","mutationstrength"
1002," Maggot"," Maggot",5,50,0,0,1,1,5,10,0,5,1,1,1,0,6,5,1,1,1,3,21,129,800,1872,672,480,505,800,501,150,518,400,533,150,502,70,522,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1046," TameScorpion"," TameScorpion",5,50,0,0,2,1,7,10,0,5,1,1,1,0,15,5,1,1,1,3,20,129,2000,1872,672,480,507,700,510,100,509,50,518,700,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1050," HouseMaggot","
"//ID"," Name"," Jname"," LV"," HP"," SP"," EXP"," JEXP"," Range1"," ATK1"," ATK2"," DEF"," MDEF"," STR"," AGI"," VIT"," INT"," DEX"," LUK"," Range2"," Range3"," Scale"," Race"," Element","Mode"," Speed"," Adelay"," Amotion","Dmotion","Drop1id","Drop1per","Drop2id","Drop2%"," Drop3id","Drop3%"," Drop4id","Drop4%"," Drop5id","Drop5%"," Drop6id","Drop6%"," Drop7id","Drop7%"," Drop8id","Drop8%"," Item1"," Item2"," MEXP"," ExpPer"," MVP1id"," MVP1per","MVP2id"," MVP2per","MVP3id"," MVP3per","mutationcount","mutationstrength"
1011," FireGoblin"," FireGoblin",20,220,0,0,4,1,15,20,0,5,1,1,1,0,6,30,1,1,1,3,23,129,800,1872,672,480,505,800,501,150,518,800,502,150,521,70,522,10,701,500,0,0,0,0,0,0,0,0,0,0,0,0,2,30
1017," Bat"," Bat",20,150,0,0,3,1,5,25,0,5,1,1,1,0,20,25,1,1,1,3,24,129,800,1872,672,480,505,800,501,150,518,400,533,150,521,70,522,1,753,3000,754,2000,0,0,0,0,0,0,0,0,0,0,2,40
1131,"
@Langerz82
Langerz82 / CarSmashEm.htm
Created July 7, 2015 11:31
Phaser - Mini Game - Car Smash Em
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Phaser - Template</title>
<script type="text/javascript" src="js/phaser.min.js"></script>
<style type="text/css">
body {
margin: 0;
}
function capitalizeFirstLetter(string) {
if (string)
return string.charAt(0).toUpperCase() + string.slice(1);
else
return null;
}
/* global Types */
define(['text!../../shared/data/mobs.json', 'mob'], function(MobsJson, Mob) {
var Items = {},
_ = require("underscore"),
Types = require("../../shared/js/gametypes"),
ItemsJson = require("../../shared/data/items.json");
module.exports = Items;
var ItemData = {};
_.each( ItemsJson, function( value, key ) {
ItemData[key.toLowerCase()] = {
var Items = {},
_ = require("underscore"),
Types = require("../../shared/js/gametypes"),
ItemsJson = require("../../shared/data/items.json");
module.exports = Items;
var ItemData = {};
_.each( ItemsJson, function( value, key ) {
ItemData[key.toLowerCase()] = {