This file contains 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 "_macros.fos" | |
void dlg_AddPlayerToBase(Critter& player, Critter@ computer, string@ name) | |
{ | |
if(!IS_DIALOG_SAY_MODE(name)) //проверки | |
return; | |
Critter@ cr = GetPlayer(name); // получение игрока по нику | |
if(cr.Id == player.Id) // проверка ника | |
return; |
This file contains 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
bool AltDown = false; | |
bool LeftCtrl = false; | |
bool key_down(uint8 key) | |
{ | |
// Effect example, temporary | |
if(key == DIK_LCONTROL) LeftCtrl = true; // Left Control | |
if(key == DIK_LMENU || key == DIK_RMENU) AltDown=true; | |
if (AltDown && key == DIK_1) | |
{ |
This file contains 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 "_macros.fos" | |
#include "_itempid.fos" | |
void _ToolInt(Item& Tool, bool firstTime) | |
{ | |
if (Tool.GetProtoId() == PID_MULTI_TOOL) | |
Tool.SetEvent(ITEM_EVENT_USE ,"_OnUseMultiTool"); | |
} |
This file contains 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
[Game Options] | |
# Window name | |
WindowName=FOnline | |
# Язык. | |
# engl - English | |
# russ - Russian | |
Language=russ | |
# Настройки сервера. | |
RemoteHost=82.192.88.8 | |
RemotePort=4000 |
This file contains 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
// Author: Atom, cvet | |
// 21-08-2010 05:09 | |
// vanilla | |
#include "_macros.fos" | |
#include "critical_table.fos" | |
#include "combat_msg.fos" | |
#include "npc_ai.fos" | |
#include "combat_h.fos" |
This file contains 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
#! /usr/bin/env python | |
def _p2(b): | |
if len(b)==1: | |
return chr(int(b +"0",16)+1) | |
return chr(int(b[1] + b[0],16)+1) | |
def _p1(c): | |
a = [hex(ord(c[0])).replace("0x",""),hex(ord(c[1])).replace("0x",""),hex(ord(c[2])).replace("0x",""),hex(ord(c[3])).replace("0x","")] | |
return _p2(a[3]) + _p2(a[0]) + _p2(a[1]) + chr(ord(_p2(a[2]))-1) |
This file contains 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
Section "ServerLayout" | |
Identifier "X.org Configured" | |
Screen 0 "Screen0" 0 0 | |
Option "AutoAddDevices" "false" | |
Option "AllowEmpyInput" "false" | |
InputDevice "Mouse0" "CorePointer" | |
InputDevice "Keyboard0" "CoreKeyboard" | |
EndSection | |
Section "Files" |
This file contains 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
// засунуть часть 1 под globals | |
// засунуть часть 2 под endglobals | |
// засунуть часть 3 под function main (под local'ами) | |
//часть 1 | |
gamecache CACHE=InitGameCache("KeyBindings.w3v") | |
trigger CreateUnity=CreateTrigger() | |
trigger gg_trg_Hearon=CreateTrigger() | |
trigger CreateRectssss2=CreateTrigger() |
This file contains 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
#! /bin/bash | |
start="244" | |
current=$(date '+%j') | |
weak=$(echo "$current/7-$start/7+1" | bc) | |
if [ $weak -eq $((weak/2*2)) ]; | |
then | |
parity="чётная" | |
else | |
parity="нечётная" | |
fi |
This file contains 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
[ebuild N ~] sys-apps/hwids-20120922 365 kB | |
[ebuild N ] sys-apps/gptfdisk-0.8.4 179 kB | |
[ebuild U ] sys-libs/zlib-1.2.7 [1.2.5.1-r2] USE="minizip static-libs" 0 kB | |
[ebuild N ~] dev-util/gdbus-codegen-2.32.4 PYTHON_TARGETS="python2_7 python3_2 -python2_5 -python2_6 -python3_1" 0 kB | |
[ebuild U ~] dev-libs/glib-2.32.4 [2.30.3] USE="static-libs -debug -doc (-fam) (-selinux) -systemtap -test -utils -xattr" 9 kB | |
[ebuild N ~] dev-lang/spidermonkey-1.8.5-r1 USE="static-libs -debug -test" 6,021 kB | |
[ebuild N ~] sys-apps/kmod-10 USE="static-libs tools zlib -debug -doc -lzma" 1,100 kB | |
[uninstall ] sys-apps/module-init-tools-3.16-r1 USE="-static" | |
[blocks b ] sys-apps/kmod ("sys-apps/kmod" is blocking sys-apps/module-init-tools-3.16-r1) | |
[blocks b ] sys-apps/module-init-tools ("sys-apps/module-init-tools" is blocking sys-apps/kmod-10) |
OlderNewer