Command:nSm@Crit
n:d6を振る個数
m:d6で目指す目標値(m以下)
Crit:Crit以下を出すと、d6を2個追加
特殊裁定 最初に振ったnd6の目がすべて1だった場合、スペシャルとし、n*3を成功数とする
# HG changeset patch | |
# Parent fde93adeda8d91c54211d002010c4476c27e8dcc | |
# Parent 04bb907f937cefc1a013ccdaa2e54569944b57a8 | |
implement 'transparency' for Windows GUI | |
diff --git a/src/gui_w32.c b/src/gui_w32.c | |
--- a/src/gui_w32.c | |
+++ b/src/gui_w32.c | |
@@ -50,6 +50,13 @@ static int gui_mswin_get_menu_height(int | |
# define gui_mswin_get_menu_height(fix_window) 0 |
$LOAD_PATH << File.dirname(__FILE__) # require_relative対策 | |
require 'net/irc' | |
require 'configBcDice.rb' | |
require 'bcdiceCore.rb' | |
require 'ArgsAnalizer.rb' | |
require 'IniFile.rb' | |
require 'diceBot/DiceBotLoader' | |
$LOAD_PATH << File.dirname(__FILE__) + "/irc" | |
require 'ircLib.rb' |
Command:nSm@Crit
n:d6を振る個数
m:d6で目指す目標値(m以下)
Crit:Crit以下を出すと、d6を2個追加
特殊裁定 最初に振ったnd6の目がすべて1だった場合、スペシャルとし、n*3を成功数とする
#================================================================================= | |
#【アプリ名】 ニコ生アラート(本家)のAPIを用いたTwitterBot | |
#【著作権者】 raa0121 | |
#【対応環境】 | |
# Linux Mac | |
# gem install twitter_oauth | |
# gem install mechanize | |
# 後は ruby nicolivealert.rb で起動が可能です。 | |
#【開発環境】 Cygwin (WindowsVista SP2 32bit) | |
#【開発言語】 Ruby(1.9.2-p180)(DL元:http://www.artonx.org/data/asr/ ) |
diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak | |
index 9bb26aa..e5c9933 100644 | |
--- a/src/Make_cyg_ming.mak | |
+++ b/src/Make_cyg_ming.mak | |
@@ -444,7 +444,11 @@ endif | |
endif | |
ifdef LUA | |
+ifeq (yes, $(LUAJIT)) | |
+CFLAGS += -I$(LUA)/include/$(LUAJIT_VER) -DFEAT_LUA |
#include <iostream> | |
#include <string> | |
#include <gmpxx.h> | |
enum { BASE = 10 }; | |
mpz_class fib(mpz_class n) { | |
if (0 == n) { | |
return 0; | |
} else if(1 == n){ |
*** glibc detected *** vim: munmap_chunk(): invalid pointer: 0x0000000002686e60 *** | |
======= Backtrace: ========= | |
vim(screenclear+0x12)[0x53e732] | |
vim(set_shellsize+0xb7)[0x582f57] | |
vim[0x50b968] | |
vim[0x50d6e4] | |
vim(mch_inchar+0xa3)[0x50f873] | |
vim(ui_inchar+0xc5)[0x5873c5] | |
vim(inchar+0x1d6)[0x4a7266] | |
vim[0x4a9122] |
Uploading source package... <!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css"> | |
html, body, iframe { margin: 0; padding: 0; height: 100%; } | |
iframe { display: block; width: 100%; border: none; } | |
</style> | |
<title>Application Error</title> | |
</head> | |
<body> |
puts "a" |
clang version 3.4 (198054) | |
Target: i686-pc-mingw32 | |
Thread model: posix | |
Selected GCC installation: | |
"C:\LLVM\bin\clang.exe" -cc1 -triple i686-pc-mingw32 -S -disable-free -main-file-name main.cpp -mrelocation-model static -mdisable-fp-elim -fmath-errno -mconstructor-aliases -target-cpu pentium4 -v -resource-dir "C:\\LLVM\\bin\\..\\lib\\clang\\3.4" --std=c++11 -fdeprecated-macro -fno-dwarf-directory-asm -fdebug-compilation-dir "C:\\cygwin64\\home\\raa0121" -ferror-limit 19 -fmessage-length 0 -mstackrealign -fno-use-cxa-atexit -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-slp -o "C:\\Users\\raa0121\\AppData\\Local\\Temp\\main-193ca5.s" -x c++ main.cpp | |
clang -cc1 version 3.4 based upon LLVM 3.4 default target i686-pc-mingw32 | |
ignoring nonexistent directory "C:\LLVM\bin\..\lib\clang\3.4/../../../include/c++/4.5.0" | |
ignoring nonexistent directory "C:\LLVM\bin\..\lib\clang\3.4/../../../include/c++/4.5.0/x86_64-w64-mingw32" | |
ignoring nonexistent directory "C:\LLVM\bin\..\lib\clang |