Skip to content

Instantly share code, notes, and snippets.

#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;
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)
{
#include "_macros.fos"
#include "_itempid.fos"
void _ToolInt(Item& Tool, bool firstTime)
{
if (Tool.GetProtoId() == PID_MULTI_TOOL)
Tool.SetEvent(ITEM_EVENT_USE ,"_OnUseMultiTool");
}
[Game Options]
# Window name
WindowName=FOnline
# Язык.
# engl - English
# russ - Russian
Language=russ
# Настройки сервера.
RemoteHost=82.192.88.8
RemotePort=4000
// 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"
#! /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)
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"
// засунуть часть 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()
#! /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
[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)