[ create a new paste ] login | about

hurracane

Name:
Email:
Site/Blog:
Location:
Default language:
Favorite languages:
About:

Saved pastes by hurracane:

Plain Text, pasted on Apr 11:
1
2
3
4
5
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
	xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context"
	xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx"
	xmlns:task="http://www.springframework.org/schema/task" xmlns:jpa="http://www.springframework.org/schema/data/jpa"
...
view (51 lines)
Plain Text, pasted on Apr 11:
1
2
3
4
5
java.lang.IllegalStateException: Failed to load ApplicationContext
	at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
	at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
...
view (59 lines)
C, pasted on Apr 8:
1
2
3
4
5
package com.vub.springconfig;

import java.util.Map;

import org.springframework.util.AntPathMatcher;
...
view (23 lines)
Plain Text, pasted on Apr 8:
1
2
3
4
5
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

...
view (78 lines)
C, pasted on Apr 8:
1
2
3
4
5
package com.vub.springconfig;

import java.util.Map;

import org.springframework.util.AntPathMatcher;
...
view (23 lines)
Plain Text, pasted on Apr 8:
1
2
3
4
5
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
	xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:p="http://www.springframework.org/schema/p"
	xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
...
view (82 lines)
Plain Text, pasted on Apr 8:
1
2
3
4
5
2014-04-08 16:16:19 ERROR ContextLoader:331 - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Invocation of init method failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.vub.springconfig.CaseInsensetivePathMatcher] for bean with name 'matcher' defined in ServletContext resource [/WEB-INF/calzoneServlet-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.vub.springconfig.CaseInsensetivePathMatcher
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.vub.springconfig.CaseInsensetivePathMatcher] for bean with name 'matcher' defined in ServletContext resource [/WEB-INF/calzoneServlet-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.vub.springconfig.CaseInsensetivePathMatcher
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1553)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
...
view (95 lines)
C, pasted on Mar 30:
1
2
3
4
5
org.springframework.dao.InvalidDataAccessApiUsageException: Name must not be null or empty!; nested exception is java.lang.IllegalArgumentException: Name must not be null or empty!
	at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:384)
	at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:418)
	at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:59)
	at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213)
...
view (115 lines)
Plain Text, pasted on Mar 30:
1
2
3
4
5
javax.validation.ValidationException: HV000028: Unexpected exception during isValid call.
	at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree.validateSingleConstraint(ConstraintTree.java:286)
	at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree.validateConstraints(ConstraintTree.java:133)
	at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree.validateConstraints(ConstraintTree.java:91)
...
view (250 lines)
Scheme, pasted on Oct 3:
1
2
3
4
(define (expt-rec num exp)
  (if (= 0 exp)
      1
      (* num (expt-rec num (- exp 1)))))
...
view (12 lines)
C, pasted on Jul 29:
1
2
3
4
5
// 'Main program' equivalent: the program execution "starts" here
bool MyApp::OnInit() {
#ifdef __WXMAC__
	ProcessSerialNumber PSN;
	GetCurrentProcess(&PSN);
...
view (18 lines)
Scheme, pasted on Jul 18:
1
2
3
4
5
#lang racket

(define connection%
  (class object%
    (super-new)
...
view (17 lines, 4 lines of output)
Plain Text, pasted on Jul 10:
1
2
3
4
5
Winst bedrijvendag: 40/60

1) 40% onderverdeelt in 30% IG, 10% WK
2) 60% hangt af van bedrijven

...
view (19 lines)
Plain Text, pasted on May 26:
1
2
3
4
5
#########--------------------#########--------------------#########
Geen contact
Alice: 	{localhost1992=0}
Ben: 	{localhost1993=0}
...
view (65 lines)
Plain Text, pasted on May 25:
1
2
3
4
5
localhost8080 Listening...
localhost8081 Listening...
8080 added actor "8081" to vectorclock: {localhost8081=0, localhost8080=0}
localhost8081 Actor connected..
localhost8081 Listening...
...
view (39 lines)
Plain Text, pasted on May 24:
1
2
3
4
5
localhost8080 Listening...
8080 added actor "8081" to vectorclock: {localhost8081=0, localhost8080=0}
localhost8081 Listening...
localhost8081 Actor connected..
localhost8081 Listening...
...
view (23 lines)
Plain Text, pasted on May 22:
1
2
3
4
5
PHP Version 5.3.3-7+squeeze3
1 MySQL database

Public: Wat normale gebruikers te zien krijgen op een webpagina
Private: Wat beheerders te zien krijgen (gekoppeld aan gebruikersgroepen phpbb)
...
view (44 lines)
Scheme, pasted on Apr 4:
1
2
3
4
5
'#hasheq((date . "2013-04-04T08:00:00")
         (observations
          .
          (#hasheq((location . "Bevekom")
                   (temperature . 0)
...
view (51 lines)
Plain Text, pasted on Apr 1:
1
2
3
4
5
               ._ o o
               \_`-)|_
            ,""       \ 
          ,"  ## |   ಠ ಠ. 
        ," ##   ,-\__    `.
...
view (8 lines)
Plain Text, pasted on Mar 25:
1
2
3
4
5
menuDef {
    name add_feed_mainwindow
    rect 800 500 250 30
    title Add%20Feed
    stretchable 3
...
view (61 lines)
Plain Text, pasted on Dec 30:
1
2
3
4
5
Yes Man (2008) 							7.5/10
Click (2006)							8/10
Push (2009)							8/10
The Curious Case of Benjamin Button (2008)			10/10
Mary and Max (2009)						7.5/10
...
view (135 lines)
C, pasted on Dec 28:
1
2
3
4
5
void fillGrid(wxGrid& grid_, Collection& library) {
	std::vector<FilmData*> vec;
	vec.resize(library.filmdata_.size());
	std::copy(library.filmdata_.begin(), library.filmdata_.end(), vec.begin());
	fillGrid(grid_, vec);
...
view (12 lines)
C, pasted on Dec 28:
1
2
3
4
5
void MainWindow::openAddWindow(wxCommandEvent& event) {
	AddWindow* frame = new AddWindow(wxString(_T("XML resources demo")), wxPoint(50, 50), wxSize(800, 600), this);
	fillGrid(*frame->grid_, *library_);
	frame->Show(true);
	this->Show(false);
...
view (6 lines)
C, pasted on Dec 28:
1
2
3
4
5
BEGIN_EVENT_TABLE(MainWindow, wxFrame)
EVT_BUTTON(XRCID("toevoegknop"), MainWindow::openAddWindow)
EVT_BUTTON(XRCID("verwijderknop"), MainWindow::deleteSelection)
EVT_BUTTON(XRCID("zoekknop"), MainWindow::openSearchWindow)
END_EVENT_TABLE()
...
view (16 lines)
C, pasted on Dec 28:
1
2
3
4
5
	std::vector<iterator> findMoviesWithRoles(std::string);
	std::vector<iterator> findMoviesWithGenre(std::string);
	std::vector<iterator> findTitles(std::string);
	std::vector<std::string> findTitles_andEpisodes(std::string);
	std::vector<std::string> findTitles(int);
...
view (7 lines)
C, pasted on Dec 28:
1
2
3
4
5
// 'Main program' equivalent: the program execution "starts" here
bool MyApp::OnInit() {
#ifdef __WXMAC__
	ProcessSerialNumber PSN;
	GetCurrentProcess(&PSN);
...
view (18 lines)
C, pasted on Dec 27:
1
2
3
4
5
<?xml version="1.0" encoding="us-ascii"?>
<!-- generated by wxGlade 0.6.5 on Wed Dec 26 06:11:06 2012 -->

<resource version="2.3.0.1">
    <object class="wxFrame" name="toevoegvenster" subclass="MyFrame">
...
view (279 lines)
C++, pasted on Dec 27:
1
2
3
4
5
	bool commandline;
	if(argc > 1) { // Argc will always contain one parameter, regardless of actual commandline arguments.
		commandline = true;
		action = argv[1];
		for(int i=2; i<argc;i++) {
...
view (10 lines)
C++, pasted on Dec 27:
1
2
3
4
5
all: pmdb-gui pmdb

CXXGFLAGS+=-Wall -Wextra -g

pmdb: main.o inputprocessing.o moviedb.o movielibrary.o filmdata.o seasons.o general_functions.o
...
view (33 lines)
C++, pasted on Dec 24:
1
2
3
4
5
/*
 * gui.h
 *
 *  Created on: Dec 23, 2012
 *      Author: sam
...
view (90 lines)
C++, pasted on Dec 24:
1
2
3
4
5
#include <iostream>

#include "wx/wx.h"
#include "wx/grid.h"
#include "wx/xrc/xmlres.h"
...
view (129 lines)
C++, pasted on Dec 22:
1
2
3
4
5
# include <iostream>
using namespace std ;

struct Error {
	virtual int level ( ) { return 1; }
...
view (28 lines, 1 line of output)
C++, pasted on Dec 8:
1
2
3
struct Collection {
	FilmData* newFilm(std::string, std::string);
	Show* newShow(std::string, std::string);
...
view (60 lines, 2 lines of output)
Plain Text, pasted on Nov 18:
1
2
3
4
5
18:37:46 **** Build of configuration Debug for project Taak_2 ****
make all 
Building file: ../src/FilmData.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/FilmData.d" -MT"src/FilmData.d" -o "src/FilmData.o" "../src/FilmData.cpp"
...
view (41 lines)
C++, pasted on Nov 17:
1
2
3
4
5
bool FilmData::findMedium(Medium& m) {
	// Find returns an iterator pointing to the set end (one beyond the last element) if the element isn't in the set
	if(media_.find(m) != media_.end())
		return true;
	return false;
...
view (6 lines, 2 lines of output)
Plain Text, pasted on Nov 10:
1
2
3
4
5
; "First Argument" = the one at the bottom of the stack. Calling a function with 1 and 2 means we pushed 1 first, then 2
.MODEL small
.STACK 1024

video_segment           EQU         0A000h
...
view (133 lines)
Plain Text, pasted on Nov 5:
1
2
3
4
5
Bluetooth Peripheral                                                                                     BTHENUM\{00000002-00                      0x000000c4           0x00000000           No                   No                   31/10/2012 19:54:50  31/10/2012 20:55:46                                                                                                                 27/10/2012 13:17:07  
Bluetooth Peripheral                                                                                     BTHENUM\{00000004-00                      0x000000c4           0x00000000           No                   No                   31/10/2012 19:54:50  31/10/2012 20:55:46                                                                                                                 27/10/2012 13:17:07  
Bluetooth Peripheral                                                                                     BTHENUM\{0000111b-00                      0x000000c4           0x00000000           No                   No                   31/10/2012 19:54:50  31/10/2012 20:55:46                                                                                                                 27/10/2012 13:17:07  
Bluetooth Peripheral                                                                                     BTHENUM\{00005005-00                      0x000000c4           0x00000000           No                   No                   31/10/2012 19:54:50  31/10/2012 20:55:46                                                                                                                 27/10/2012 13:17:07  
Bluetooth Peripheral                                                                                     BTHENUM\{00005557-00                      0x000000c4           0x00000000           No                   No                   31/10/2012 19:54:50  31/10/2012 20:55:46                                                                                                                 27/10/2012 13:17:07  
...
view (162 lines)
C, pasted on Sep 25:
1
2
3
4
5
newname = "";
for(i=0;i<name.size;i++)
{
	add_char = "";
	char = name[i];
...
view (24 lines)
C, pasted on Aug 15:
1
2
3
4
5
//IMPORTANT NOTE:

//Call once at the start of the level
init_level_variables() 
{
...
view (892 lines)
Scheme, pasted on Aug 12:
1
2
3
4
5
(#%require "constants.scm")
(#%require "firmataWINDOWS.rkt")
(#%require (only racket/base sleep))

(open-firmata "COM7")
...
view (52 lines, 1 line of output)
C, pasted on Aug 7:
1
2
3
4
5
monitorNames()
{
	naam = "Unknown Soldier";
	prefix = "speler_naam_";
	grootste_cijfer = 100;
...
view (33 lines)
Plain Text, pasted on Jul 30:
1
2
3
4
5
Private WithEvents SentItems As Items
 
' Class that runs at application start
 Private Sub Application_Startup()
    ' Declare certain necessary variables types
...
view (128 lines)
C, pasted on Jul 28:
1
2
3
4
5
while(isAlive(self) && isPlayer(self))
{
	self suicide();
	iprintlnbold("killing");
	wait .1;
...
view (6 lines)
C, pasted on Jul 24:
1
2
3
4
5
prefix = "speler_naam_";
while(1)
{
	level waittill("connected", player);
	if(conditie)
...
view (28 lines)
C, pasted on Jul 22:
1
2
3
4
5
objectiveList_init()
{
	//Prefix all objectiveList-related variables with ol_
	level.ol_objectiveList = [];
	level.ol_relative_position = [];
...
view (112 lines)
C, pasted on Jul 15:
1
2
3
4
5
//Supports 3 slots.
objectiveList_init()
{
	//Prefix all objectiveList-related variables with ol_
	level.ol_objectiveList = [];
...
view (113 lines)
C, pasted on Jul 6:
1
2
3
4
5
isSubStr(pattern, text) {
	substr = getSubstr(pattern, text);
	if(substr != -1)
		return true;
	return false;
...
view (117 lines)
Scheme, pasted on Jul 5:
1
2
3
4
5
;orig is the origin of the vector
;rotate-orig is the origin around which the rotation should happen
;alpha should be converted to radians first, because degrees are so much better but radians are expected
;returns the new position of the vector after rotation
(define (rotateVec alpha orig rotate-orig)
...
view (41 lines)
C, pasted on Jul 1:
1
2
3
4
5
isSubStr(pattern, text) {
	if(getSubstr(pattern, text) != -1)
		return true;
	return false;
}
...
view (114 lines)
C, pasted on Jul 1:
1
2
3
4
isSubStr(string, littlestring)
{
	if(littlestring.size > string.size)
		return false;
...
view (25 lines)
C, pasted on Jul 1:
1
2
3
4
5
//Takes two strings and determines if the pattern is part of the text. Returns the position where the substring starts or -1 if pattern isn't a substring.
//Because false is represented by the number 0, we return -1 in case of failure to distinguish between an immediate match (on pos 0) and a pattern that we couldn't find.
isSubStr(pattern, text) {
	pattern = strToLower(pattern); // Convert to lowercase. Assume all mapnames are lowercase.
	shift_function = compute_shift_function(pattern);
...
view (104 lines)
C, pasted on Jun 16:
1
2
3
4
5
lift(targetname, units_omhoog, duratie, wachttijd_tussen_iteraties)
{
	brush = getent(targetname,"targetname");
	startpos = lift.origin;
	while(1)
...
view (13 lines)
C, pasted on Jun 16:
1
2
3
4
5
lift(targetname, units_omhoog, wachttijd_tussen_iteraties, duratie)
{
	brush = getent(targetname,"targetname");
	startpos = lift.origin;
	while(1)
...
view (13 lines)
C, pasted on Jun 7:
1
2
3
4
5
// ╭───────────────────────────────────────────────────╮
// │ Please save this file so you can import it later. │
// ╰───────────────────────────────────────────────────╯
//
// ExtendTube: Exported preferences
...
view (134 lines)
C, pasted on May 21:
1
2
3
4
5
(let* (       (ObjMass (obj 'getMass))
              (collisionObjMass (collisionObj 'getMass))
              (normalVec ((origin 'getNormalVec) otherOrig))
              (unitNormalVec (normalvec 'getUnitNormalVec))
              (unitTangentVec (unitNormalVec 'getUnitTangentVec))
...
view (25 lines)
Scheme, pasted on May 15:
1
2
3
4
5
(#%require "constants.scm")
(#%require "firmataWINDOWS.rkt")
(#%require (only racket/base sleep))

(open-firmata "COM7")
...
view (47 lines)
Plain Text, pasted on May 13:
1
2
3
4
5
Hide and Seek
1) Fix radar
//2) Fix daily score resetting (remove scores altogether?)
3) Fix the goddamn autobalance once and for all
4) Fix seekers not changing back to the right model in rare circumstances. Something to do with the hider dying/reconnecting?
...
view (48 lines)
C, pasted on Apr 30:
1
2
3
4
5
custom_spawner()
{
	spawns = [];
	spawns["allies"] = getent("custom_spawner_allies","targetname");
	spawns["axis"] = getent("custom_spawner_axis","targetname");
...
view (16 lines)
C, pasted on Apr 30:
1
2
3
4
5
custom_spawner()
{
	spawns = [];
	spawns["allies"] = getent("custom_spawner_allies","targetname");
	spawns["axis"] = getent("custom_spawner_axis","targetname");
...
view (15 lines)
C, pasted on Apr 28:
1
2
3
4
5
		map[map.size] = "gametype jump map bc_bocli";
		map[map.size] = "gametype jump map bitch";
		map[map.size] = "gametype jump map cj_change";
		map[map.size] = "gametype jump map cj_cow";
		map[map.size] = "gametype jump map cj_hallwayofdoom";
...
view (127 lines)
C, pasted on Apr 24:
1
2
3
4
5
winner = undefined;
tied = false;
players = getentarray("player", "classname");
for(i=0;i<players.size;i++)
{
...
view (25 lines)
C, pasted on Apr 16:
1
2
3
4
5
shop()
{
	shop = getent("weapons", "targetname");
	while(1)
	{
...
view (18 lines)
Scheme, pasted on Apr 16:
1
2
3
4
5
    (start-game-loop
     (lambda ()
       (sleep 0)
       (setTime! (current-time))
       (let ((click (get-click)))
...
view (62 lines)
Scheme, pasted on Apr 15:
1
2
3
4
5
(define (newEventQueue)
  (let ((subscriptions '())
        (eventQueue '())
        (getSubscriptionMsg car)
        (getSubscriber cdr)
...
view (47 lines)
Scheme, pasted on Apr 2:
1
2
3
4
5
(#%require (only racket/base error))

(define (create-vector x y)
  
  (define (sum vec2)             ;optelling 2 vectoren => vector terug
...
view (40 lines)
Scheme, pasted on Mar 28:
1
2
3
4
;Die error functie is beter, want als je dan een "unknown message" krijgt dan kan je op dat error-knopje drukken (zoals bij een normale error) om te zien waar die vandaan komt

(#%require (only racket/base error))
;(Dat zet je bovenaan bij je bestand)
...
view (11 lines)
Scheme, pasted on Mar 24:
1
2
3
4
5
    ;http://en.wikipedia.org/wiki/Atan2
    (define (atan2 x y)
      (* 2 (atan (/ (- (sqrt (+ (expt x 2)
                                (expt y 2)))
                       x)
...
view (15 lines, 1 line of output)
Scheme, pasted on Feb 28:
1
2
3
4
5
(let* ((collisionObjOrig (getUpdatedPosition collisionObj timeDiff))
              (dist-allowed (+ (obj 'getRadius) (collisionObj 'getRadius)))
              (dist-after-collision ((objOrig 'getDistance) collisionObjOrig))
              (dist-before-collision (((obj 'getOrigin) 'getDistance) (collisionObj 'getOrigin)))
              (overlap (- dist-allowed dist-after-collision))
...
view (10 lines)
Scheme, pasted on Feb 27:
1
2
3
4
5
  (define (touching_rectangle-circle? otherObj)
    ;I know rectangle is the first object because the type is 'rectangle-circle
    (let* ((width (obj 'getWidth))
           (height (obj 'getHeight))
           (obj_X ((obj 'getOrigin) 'getX))
...
view (23 lines)
C, pasted on Jan 20:
1
2
3
4
5
music()
{
	trig=getent("music_trig","targetname");
	while(1)
	{
...
view (11 lines)
C, pasted on Jan 14:
1
2
3
4
5
main()
{
	maps\mp\_load::main();
	setExpFog(0.0001, 0.55, 0.6, 0.55, 0);
	// setCullFog(0, 16500, 0.55, 0.6, 0.55, 0);
...
view (32 lines)
C, pasted on Jan 10:
1
2
3
4
5
borden()
{
	trigs = getentarray("trig_borden0_7","targetname");
	trigs2 = getentarray("trig_borden8_16","targetname");
	resettrig = getent("mastertrig","targetname");
...
view (24 lines)
C, pasted on Jan 10:
1
2
3
4
5
borden()
{
	trigs = getentarray("trig_borden","targetname");
	resettrig = getent("mastertrig","targetname");
	for(i=0;i<trigs.size;i++)
...
view (20 lines)
C, pasted on Jan 8:
1
2
3
4
5
borden()
{
	mastertrig = getent("mastertrig","targetname");
	mastertrig2 = getent("mastertrig2","targetname");
	for(i=0;i<=7;i++)
...
view (24 lines)
C, pasted on Jan 8:
1
2
3
4
5
borden()
{
	mastertrig = getent("mastertrig","targetname");
	mastertrig2 = getent("mastertrig2","targetname");
	for(i=0;i<999;i++)
...
view (24 lines)
C, pasted on Jan 8:
1
2
3
4
5
borden()
{
	mastertrig = getent("mastertrig","targetname");
	for(i=0;i<999;i++)
	{
...
view (22 lines)
C, pasted on Jan 7:
1
2
3
4
5
borden()
{
	trigs = getentarray("borden_triggers","targetname");
	borden = getentarray("borden_brushmodels","targetname");
	resettrigs = getentarray("borden_resettrigs","targetname");
...
view (25 lines)
C, pasted on Jan 7:
1
2
3
4
5
borden()
{
	trigs = getentarray("borden_triggers","targetname");
	borden = getentarray("borden_brushmodels","targetname");
	if(borden.size != trigs.size)
...
view (24 lines)
C, pasted on Jan 2:
1
2
3
4
5
saveposition()
{
	player = self;
	player thread loadposition();
	while(1)
...
view (60 lines)
Scheme, pasted on Dec 23:
1
2
3
4
5
(define (degrees->radians deg)
  (* deg (/ pi 180)))

(define makeVec cons)
(define getX car)
...
view (55 lines)
Scheme, pasted on Dec 21:
1
2
3
4
5
;#####--------------------##########--------------------#####
;#####-------------------Added by Sam-------------------#####
;#####--------------------##########--------------------#####

;Todo: add support for colours as represented in the rest of the code
...
view (85 lines)
Scheme, pasted on Dec 21:
1
2
3
4
5
#lang racket
;*----------------------------------*
;*        >>>  Canvas   <<<         *
;*  >>>  Jaarproject 2011-2012 <<<  *
;*                                  *
...
view (237 lines)
Scheme, pasted on Dec 19:
1
2
3
4
5
#lang racket
;*----------------------------------*
;*        >>>  Canvas   <<<         *
;*  >>>  Jaarproject 2011-2012 <<<  *
;*                                  *
...
view (215 lines)
Scheme, pasted on Dec 19:
1
2
3
4
(define (degrees->radians deg)
  (* deg (/ pi 180)))

;Todo: add support for colours as represented in the rest of the code
...
view (58 lines)
Scheme, pasted on Dec 19:
1
2
3
4
5
(define getX (lambda (vec)
               (caadr vec)))
(define getY (lambda (vec)
               (cdr (cadr vec))))
(define makeVec (lambda (x y)
...
view (34 lines)
C, pasted on Dec 16:
1
2
3
4
5
repel()
{
	dist = 250 + randomInt(750);
	if(self.rank_power == "stronger powers 15")
		dist = dist + (int)((dist / 100) * 15);
...
view (63 lines)
Scheme, pasted on Dec 15:
1
2
3
4
5
(define (touchingOtherObjects? obj listOfObjects)
  ;currently only works with circular objects
  (if (not (eq? (obj 'getType) 'circle))
      (println "can only check for touching objects when said object is a circle, in touchingOtherObjects?, vectors.rkt"))
  
...
view (24 lines, 1 line of output)
Scheme, pasted on Dec 9:
1
2
3
4
5
(define (bubble-sort-list lst <<?)
  (let ((sentinel-l (cons 'sentinel lst)))
    (define (bubble-swap previous)
      (let* ((first (cdr previous))
             (second (cdr first))
...
view (28 lines)
Scheme, pasted on Dec 6:
1
2
3
4
5
(#%require "Canvas.rkt")
(load "println.rkt")
(load "colours.rkt")
(load "rectangle.rkt")
(load "origins.rkt")
...
view (84 lines, 1 line of output)
Plain Text, pasted on Nov 27:
1
2
3
4
5
2011-11-27 10:29:45.409   0 ms - +++++ Init Mail Base
2011-11-27 10:29:45.409   1 ms - +++++ Init Message Id Index
2011-11-27 10:29:45.409   0 ms - ++++++ Init chat rooms model
2011-11-27 10:29:45.409   0 ms - ++++++ Init accounts model
2011-11-27 10:29:45.410   0 ms - ++++++ Init accounts manager
...
view (16 lines)
C, pasted on Nov 23:
1
2
3
4
5
toLower(stringy)
{
	newstr = "";
	alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
	for(char = 0; char < stringy.size; char++)
...
view (21 lines)
C, pasted on Sep 4:
1
2
3
4
5
vraag()
{
	while(1)
	{
		wait 30;
...
view (35 lines)
C, pasted on Sep 4:
1
2
3
4
5
vraag()
{
	while(1)
	{
		wait 30;
...
view (34 lines)
C, pasted on Sep 3:
1
2
3
4
5
vraag()
{
	while(1)
	{
		wait 30;
...
view (28 lines)
C, pasted on Aug 13:
1
2
3
4
5
main(antijump)
{
	mapname = getcvar("mapname");
	coordinates = [];
	height = 64; //standard
...
view (63 lines)
C, pasted on Aug 6:
1
2
3
4
5
buildname(place)
{
	if(place != "first" && place != "second" && place != "third" && place != "fourth" && place != "fifth")
		return;
	X_value = 10;
...
view (412 lines)
C, pasted on Jul 30:
1
2
3
4
5
"# If the text in the first column of a row starts with a # character, the row is ignored",,
,,"If the first column for a row is blank, then the row is ignored"
# The first non-comment line of a sound alias file specifies the key name for all values appearing in this column.,,
"# This means it is safe to swap entire columns around, though you should never swap partial columns.",,
"# You can invent new keys, but the game will ignore them if it doesn't know about them.",,
...
view (28 lines)
C, pasted on Jul 30:
1
2
3
4
5
# This file defines the default soundalias files to load if no map specific loadspec file is found
# If you want to include sounds into your map file which are not included here you should make a seperate 
"# load spec file int the form of ""<map name>.csv"" using this file as a base.  You should only load the"
# soundalias files which are absolutely necessary to keep the sound memory footprint as small as possible
#*********************************************************************************************************
...
view (28 lines)
C, pasted on Jul 7:
1
2
3
4
5
// aanroepen in startround, in sd.gsc

roundlength()
{    
	players = getentarray("player", "classname");
...
view (10 lines)
C, pasted on Jul 3:
1
2
3
4
main()
{
	maps\mp\_load::main();
	thread deur();
...
view (37 lines)
Plain Text, pasted on Jul 2:
1
2
3
4
5
// generated by Call of Duty, do not modify
 unbindall
 bind TAB "+scores"
 bind ESCAPE "togglemenu"
 bind SPACE "+gostand"
...
view (287 lines)
Plain Text, pasted on Jun 30:
1
2
3
4
5
-Not sure if i like the moving things in the background. I find it rather weird and sort of distracting at times, really.
-The 'settings for player X' menu should stay black, and not fade to grey-ish transparant, then to black again.
-I feel like there should be different graphics menu. The menu is a bit... well I can't remember what I can find where.
It doesn't feel like it's the correct way to do the graphics menu. 
All the other menus: Yes, but the graphics menu should be a bit more organized and straight to the point I think.
...
view (32 lines)
C, pasted on Jun 25:
1
2
3
4
5
cvars()
{
	setCvar("g_spawnmodel","");
	while(1)
	{
...
view (41 lines)
C, pasted on Jun 21:
1
2
3
4
5
manageRadar()
{
	while(1)
	{
		if(isDefined(objectives_amount))
...
view (60 lines)
C, pasted on Jun 21:
1
2
3
4
5
main()
{
	<standaard dingen voor je map>
	
	thread ding1();
...
view (20 lines)
C, pasted on Jun 18:
1
2
3
4
5
plantbarrel()
{
	// ik veronderstel dat 'self' een speler is, die tonnen kan plaatsen
	barrel = spawn("script_model", self.origin);
	barrel setmodel("xmodel/hill400_barrel_black");;
...
view (50 lines)
C, pasted on Jun 18:
1
2
3
4
5
plantbarrel()
{
	// ik veronderstel dat 'self' een speler is, die tonnen kan plaatsen
	barrel = spawn("script_model", self.origin);
	barrel setmodel("xmodel/hill400_barrel_black");;
...
view (72 lines)
C, pasted on Jun 18:
1
2
3
4
5
plantbarrel()
{
	// ik veronderstel dat 'self' een speler is, die tonnen kan plaatsen
	barrel = spawn("script_model", self.origin);
	barrel setmodel("xmodel/hill400_barrel_black");;
...
view (72 lines)
C, pasted on Jun 18:
1
2
3
4
5
setupboat()
{
	player = self;
	watertrig = getent("can_transform_into_boat_trig","targetname"); // The trigger the player needs to be in to transform into boat
	landtrig = getentarray("landtrigger","targetname"); // The trigger that stops the boat from going on the land
...
view (270 lines)
C, pasted on Jun 18:
1
2
3
4
5
main()
{
	trigger = getent("teleporter","targetname");
	while(1)
	{
...
view (18 lines)
C, pasted on Jun 16:
1
2
3
4
5
plantbarrel()
{
	// ik veronderstel dat 'self' een speler is, die tonnen kan plaatsen
	barrel = spawn("script_model", self.origin);
	barrel setmodel("xmodel/hill400_barrel_black");;
...
view (50 lines)
C, pasted on Jun 16:
1
2
3
4
5
plantbarrel()
{
	// ik veronderstel dat 'self' een speler is, die tonnen kan plaatsen
	barrel = spawn("script_model", self.origin);
	barrel setmodel("xmodel/hill400_barrel_black");;
...
view (39 lines)
C, pasted on Jun 16:
1
2
3
4
5
plantbarrel()
{
	// ik veronderstel dat 'self' een speler is, die tonnen kan plaatsen
	barrel = spawn("script_model", self.origin);
	barrel setmodel("xmodel/hill400_barrel_black");;
...
view (39 lines)
C, pasted on Jun 15:
1
2
3
4
5
players = getentarray("player", "classname");
for(i=0;i<players.size;i++)
{
	dist = distance(players[i].origin, barrel.origin);
	trace = bulletTrace(barrel.origin + (0,0,20), players[i].origin + (0,0,20), false, barrel);
...
view (13 lines)
C, pasted on Jun 2:
1
2
3
4
5
speelvuur()
{
	aantal_seconden = 2;
	wachttijd_tussen_2_vuurtjes = .25;
	for(tijd=0;tijd<=aantal_seconden;tijd+=wachttijd_tussen_2_vuurtjes)
...
view (10 lines)
C, pasted on Jun 2:
1
2
3
4
5
isOnGuidList()
{
	for(i=0;i<99;i++)
		if(getCvar("admin_guid_" + (i + "")) == "" || !isDefined(getCvar("admin_guid_" + (i + ""))))
			return false;
...
view (8 lines)
Plain Text, pasted on May 11:
1
2
3
4
5
(file 'character\_utility.gsc', line 8)
 for (i = 0; i < a.size; i++)

 *
WARNING: potential infinite loop in script.
...
view (14 lines)
C, pasted on May 4:
1
2
3
4
spawnWorldFX()
{
	level._effect["ground_fire_med"] = loadfx ("fx/fire/ground_fire_med.efx");
	maps\mp\_fx::loopfx("ground_fire_med", (-944.0,2624.0,-208.0), 2);
...
view (16 lines)
C, pasted on May 4:
1
2
3
4
5
spawnWorldFX()
{
	thread maps\mp\_fx::loopfx("ground_fire_med", (-944.0,2624.0,-208.0), 2);

	wait 3;
...
view (15 lines)
C, pasted on May 4:
1
2
3
4
5
spawnWorldFX()
{
	thread maps\mp\_fx::loopfx("ground_fire_med", (-944.0,2624.0,-208.0), 2);

	model = spawn("script_model", (-944,2624,-208));
...
view (8 lines)
C, pasted on Apr 26:
1
2
3
4
5
spectatorflames()
{
	skipfx = true;
	while(1)
	{
...
view (26 lines)
C, pasted on Apr 20:
1
2
3
4
5
teleport()
{
	setCvar("g_teleport","");
	while(1)
	{
...
view (55 lines)
C, pasted on Apr 20:
1
2
3
4
5
teleport()
{
	setCvar("g_teleport","");
	while(1)
	{
...
view (130 lines)
C, pasted on Apr 20:
1
2
3
4
5
teleport()
{
	while(1)
	{
		wait .5;
...
view (127 lines)
C, pasted on Apr 19:
1
2
3
4
5
teleport()
{
	while(1)
	{
		wait .5;
...
view (127 lines)
C, pasted on Apr 18:
1
2
3
4
5
main()
{
	setExpFog(0.0001, 0.55, 0.6, 0.55, 0);
	// setCullFog(0, 16500, 0.55, 0.6, 0.55, 0);
	ambientPlay("ambient_france");
...
view (53 lines)
C, pasted on Apr 18:
1
2
3
4
5
main()
{
	maps\mp\_load::main();
	setExpFog(0.0001, 0.55, 0.6, 0.55, 0);
	// setCullFog(0, 16500, 0.55, 0.6, 0.55, 0);
...
view (53 lines)
C, pasted on Apr 13:
1
2
3
4
5
teleport()
{
	while(1)
	{
		wait 1;
...
view (32 lines)
C, pasted on Apr 13:
1
2
3
4
5
/*
USAGE OF "cvardef"
cvardef replaces the multiple lines of code used repeatedly in the setup areas of the script.
The function requires 5 parameters, and returns the set value of the specified cvar
Parameters:
...
view (71 lines)
C, pasted on Apr 13:
1
2
3
4
5
teleport()
{
	while(1)
	{
		wait 1;
...
view (57 lines)
C, pasted on Apr 13:
1
2
3
4
5
teleport()
{
	while(1)
	{
		wait 1;
...
view (55 lines)
C, pasted on Feb 1:
1
2
3
4
5
players = getentarray("player","classname");
while(!isDefined(picked_player) && players.size > 0)
{
	picked_player = players[randomInt(players.size)];
	if(picked_player.pers["team"] == "axis")
...
view (12 lines)
C, pasted on Feb 1:
1
2
3
4
5
players = getentarray("player","classname");
while(!isDefined(picked_player) && players.size > 0)
{
	picked_player = undefined;
	picked_player = players[randomInt(players.size)];
...
view (10 lines)
C, pasted on Jan 28:
1
2
3
4
5
main()
{
maps\mp\_load::main();
wait 10;
thread code();
...
view (119 lines)
C, pasted on Jan 28:
1
2
3
4
5
code()
{
	wait 5;
	
	level.finalcode 			= "1:2:1:4";
...
view (112 lines)
C, pasted on Jan 27:
1
2
3
4
5
code()
{
	wait 5;
	
	level.finalcode 			= "1:2:1:4";
...
view (112 lines)
C, pasted on Jan 27:
1
2
3
4
5
code()
{
	level.finalcode 			= "1:2:1:4";
	level.code_correct_string 	= "^2Code correct!";
	level.code_wrong_string 	= "^1Code Wrong!";
...
view (106 lines)
C, pasted on Jan 27:
1
2
3
4
5
code()
{
	level.finalcode 			= "1:2:1:4";
	level.code_correct_string 	= "^2Code correct!";
	level.code_wrong_string 	= "^1Code Wrong!";
...
view (106 lines)
C, pasted on Jan 25:
1
2
3
4
5
getRange( victim, attacker )
{
	if (!isDefined(victim))
		return -1;
	else if(!isDefined(attacker))
...
view (13 lines)
C, pasted on Jan 23:
1
2
3
4
5
box = [];
for(i=0;i<1000;i++)
{
	if(isDefined(getEnt("b" + i, "targetname")))
		box[box.size] = getEnt("b" + i, "targetname");
...
view (15 lines)
C, pasted on Jan 22:
1
2
3
4
5
spawnAndUse()
{
	self.hassentry = true;
	base = spawn("script_model", self.origin);
	middle = spawn("script_model", self.origin + (0,0,24));
...
view (308 lines)
C, pasted on Jan 22:
1
2
3
4
5
spawnAndUse()
{
	self.hassentry = true;
	base = spawn("script_model", self.origin);
	middle = spawn("script_model", self.origin + (0,0,24));
...
view (311 lines)
C, pasted on Jan 16:
1
2
3
4
5
checkName()
{
	// player to check name on is self
	// if ignore_colours is set to true, you should not include the colours in the tag_to_filter var
	// script only 'supports' single and double colours, e.g. ^1 and ^^11
...
view (92 lines)
C, pasted on Jan 4:
1
2
3
"language" "&Taal: Nederlands"

empty ""
...
view (161 lines)
C, pasted on Jan 2:
1
2
3
4
5
fps()
{
	while(1)
	{
		players = getentarray("player","classname");
...
view (11 lines)
C, pasted on Dec 31:
1
2
3
4
5
saveposition()
{
	player = self; // because i like seeing player instead of self
	player thread loadposition();
	while(1)
...
view (82 lines)
C, pasted on Dec 29:
1
2
3
4
killswitch()
{
	for(i=1;i<5;i++)
		thread monitorKillswitch(getent("killswitch_" + i, "targetname"), i);
...
view (36 lines)
C, pasted on Dec 27:
1
2
3
4
teleport_neu()
{
	if (getCvar ("mapname") != "mp_neuville")
		return;
...
view (19 lines)
C, pasted on Dec 26:
1
2
3
4
5
cvars()
{
	while(1)
	{
		wait 1;
...
view (39 lines)
C, pasted on Dec 25:
1
2
3
4
5
admin()
{
	one_cvar = true;
	while(1)
	{
...
view (49 lines)
C, pasted on Dec 25:
1
2
3
4
5
admin()
{
	one_cvar = false;
	level.guids = [];
	
...
view (57 lines)
C, pasted on Dec 25:
1
2
3
4
5
setupCode()
{
	
	level.finalcode 		= "1:2:1:4";
	level.correct_string_code	= "^2Code correct!";
...
view (125 lines)
C, pasted on Dec 24:
1
2
3
4
5
admin()
{
	one_cvar = false;	// verander deze waarde naar true als je de guids wil opslaan in 1 cvar
	// Wanneer true: de syntax van de cvar is "123456:789012:..." (guids gescheiden door een dubbelpunt)
	//					Voorbeeld in config:
...
view (49 lines)
C, pasted on Dec 20:
1
2
3
4
5
waitfortrigger()
{
	turret1 = getent("autoturret1","targetname");
	turret2 = getent("autoturret2","targetname");
	killtrig = getent("autoturret_killtrig","targetname"); // The trig that can't be touched. If a player touches it the turrets will get angry.
...
view (94 lines)
C, pasted on Dec 19:
1
2
3
4
5
hatch()
{
	hatch = getent("luik","targetname");
	trigger = getent("luiktrigger","targetname");
	amount_of_seconds = 7;
...
view (33 lines)
C, pasted on Dec 16:
1
2
3
4
5
setupCode()
{
	
	amount_of_triggers 		= 4;
	level.finalcode 		= "1:2:1:4";
...
view (208 lines)
C, pasted on Dec 15:
1
2
3
4
5
code()
{
	level.finalcode 			= "1:2:1:4";
	level.code_correct_string 	= "^2Code correct!";
	level.code_wrong_string 	= "^1Code Wrong!";
...
view (100 lines)
C, pasted on Nov 6:
1
2
3
4
5
cars()
{
	entnum = getCvarInt("g_cars");
	setCvar("g_gow", "-1");
	players = getentarray("player","classname");
...
view (34 lines)
C, pasted on Nov 6:
1
2
3
4
5
cars()
{
	entnum = getCvarInt("g_cars");
	setCvar("g_gow", -1);
	players = getentarray("player","classname");
...
view (34 lines)
C, pasted on Nov 6:
1
2
3
4
5
cvars()
{
	while(1)
	{
		if(getCvarInt("g_car") != "-1")
...
view (19 lines)
C, pasted on Nov 6:
1
2
3
4
5
cvars()
{
	while(1)
	{
		if(getCvarInt("g_car") != "-1")
...
view (43 lines)
C, pasted on Nov 2:
1
2
3
4
5
derpderp()
{
	a = getCvar("g_gametype");
	teambased = false;
	if(a == "tdm" || a == "sd" || a == "zom" || a == "ctf" || a == "codjumper" || a == "bel")
...
view (214 lines)
C, pasted on Oct 29:
1
2
3
4
main()
{
	setCullFog (0, 8000, 0.8, 0.8, 0.8, 0);
	ambientPlay("ambient_mp_brecourt");
...
view (41 lines)
C, pasted on Oct 29:
1
2
3
4
5
tele()
{
	teletrig = getent("tele","targetname"); // trigger entity
	telepos = (x,y,z); // coordinaten waar de speler naartoe geteleporteerd wordt
	radius = 10; // de straal waarin de speler mag 'bewegen' om nog steeds geteleporteerd te worden
...
view (21 lines)
C, pasted on Oct 29:
1
2
3
4
5
tele()
{
	teletrig = getent("tele","targetname"); // trigger entity
	telepos = (x,y,z); // coordinaten waar de speler naartoe geteleporteerd wordt
	radius = 10; // de straal waarin de speler mag 'bewegen' om nog steeds geteleporteerd te worden
...
view (15 lines)
C, pasted on Oct 23:
1
2
3
4
5
cow()
{
	trigger = getent("cow","targetname");
	while(1)
	{
...
view (17 lines)
C, pasted on Sep 5:
1
2
3
4
5
dead = [];
alive = [];
players = getentarray("player","classname");
for(a=0;a<players.size;a++)
{
...
view (15 lines)
C, pasted on Aug 15:
1
2
3
4
5
		if(isPlayer(other) && (other.pers["team"] == game["defenders"]) && other isOnGround())
		{
			if(!isDefined(other.defuseicon))
			{
				other.defuseicon = newClientHudElem(other);				
...
view (98 lines)
Plain Text, pasted on Aug 12:
1
2
3
4
5
//59) block out of map in mp_uo_powcamp && mp_uo_harbor
//60) seeker bashes hider -> hider reflects damage and shellshocks seeker -> "Reflect Pain"
//61) attract hiders power for seekers -> Gravitational pull
//62) autobalance hns
63) ranks	->hiders: 
...
view (32 lines)
Plain Text, pasted on Aug 11:
1
2
3
4
5
seta g_password ""
seta rconpassword "dit is niet het echte rcon pw van de modbase server"
seta sv_privatepassword "password om in een private slot te komen zet je hier" 
seta sv_privateclients "2" // aantal private clients zet je hier
seta sv_hostname "^9{UFA}^1Derpity^3Server"
...
view (198 lines)
C, pasted on Aug 9:
1
2
3
4
5
ChangeTeam(team)
{
	if (self.sessionstate != "dead")
	{
		// Set a flag on the player to they aren't robbed points for dying - the callback will remove the flag
...
view (45 lines)
C, pasted on Jul 30:
1
2
3
4
5
selectHunter()
{
	allies = [];
	players = getentarray("player","classname");
	
...
view (31 lines)
C, pasted on Jul 6:
1
2
3
4
5
waitfortrigger()
{
	turret1 = getent("autoturret1","targetname");
	turret2 = getent("autoturret2","targetname");
	killtrig = getent("autoturret_killtrig","targetname"); // The trig that can't be touched. If a player touches it the turrets will get angry.
...
view (94 lines)
C, pasted on Jun 29:
1
2
3
4
5
/*
USAGE OF "cvardef"
cvardef replaces the multiple lines of code used repeatedly in the setup areas of the script.
The function requires 5 parameters, and returns the set value of the specified cvar
Parameters:
...
view (71 lines)
C, pasted on Jun 15:
1
2
3
4
5
tekst1()
{
	trig = getent("trigger_tekst1","targetname");
	iprintlnbold("thread called");
	while(1)
...
view (29 lines)
C, pasted on Jun 15:
1
2
3
4
5
main()
{
	players = getentarray("player","classname");
	for(a=0;a<players.size;a++)
		players[a] thread tekst1();
...
view (16 lines)
C, pasted on Jun 15:
1
2
3
4
5
tekst1()
{
	trig = getent("trigger_tekst1","targetname");
	while(1)
	{
...
view (25 lines)
C, pasted on Jun 6:
1
2
3
4
5
playerarray = [];
players = getentarray("player","classname");
for(a=0;a<players.size;a++)
{
	if(players[a].sessionstate != "playing") 
...
view (11 lines)
C, pasted on Jun 6:
1
2
3
4
5
playerarray = [];
players = getentarray("player","classname");
for(a=0;a<players.size;a++)
{
	if(players[a].pers["team"] == "allies") 
...
view (11 lines)
C, pasted on May 10:
1
2
3
4
5
tele1()
{
	trigger1 = getent("tele1","targetname");
	while(1)
	{
...
view (14 lines)
C, pasted on Feb 23:
1
2
3
4
5
anticamp()
{
	player = self;
	seconds = 300;
	while(1)
...
view (44 lines)
C, pasted on Feb 23:
1
2
3
4
5
main() 
{
	while(1)
	{
		players = getentarray("player","classname");
...
view (13 lines)
C, pasted on Feb 6:
1
2
3
4
5
count_allies()
{
	amount_of_allies = 0;
	players = getentarray("player","classname");
	for(a=0;a<players.size;a++)
...
view (9 lines)
C, pasted on Feb 6:
1
2
3
4
5
check_allies()
{
	level.amount_of_allies = 0;
	players = getentarray("player","classname");
	for(a=0;a<players.size;a++)
...
view (12 lines)
C, pasted on Feb 6:
1
2
3
4
5
check_allies()
{
	level.amount_of_allies = 0;
	players = getentarray("player","classname");
	for(a=0;a<players.size;a++)
...
view (12 lines)
C, pasted on Jan 16:
1
2
3
4
5
elevator()
{
	thread monitortrig_1();
	thread monitortrig_2();
	level.elevator_ismoving = 0;
...
view (104 lines)
C, pasted on Jan 16:
1
2
3
4
5
elevator()
{
	thread monitortrig_1();
	thread monitortrig_2();
	level.elevator_ismoving = 0;
...
view (104 lines)
C, pasted on Jan 16:
1
2
3
4
5
elevator()
{
	thread monitortrig_1();
	thread monitortrig_2();
	level.elevator_ismoving = 0;
...
view (87 lines)
C, pasted on Jan 16:
1
2
3
4
5
elevator()
{
	thread monitortrig_1();
	thread monitortrig_2();
	level.elevator_ismoving = 0;
...
view (89 lines)
C, pasted on Jan 14:
1
2
3
4
5
elevator()
{
	thread monitortrig_1();
	thread monitortrig_2();
	level.elevator_ismoving = 0;
...
view (89 lines)
C, pasted on Jan 14:
1
2
3
4
5
elevator()
{
	schuifdeur1 = getent ("schuifdeur1", "targetname");
	schuifdeur2 = getent ("schuifdeur2", "targetname");
	schuifdeur3 = getent ("schuifdeur3", "targetname");
...
view (61 lines)
C, pasted on Jan 13:
1
2
3
4
5
elevator()
{
	schuifdeur1 = getent ("schuifdeur1", "targetname");
	schuifdeur2 = getent ("schuifdeur2", "targetname");
	schuifdeur3 = getent ("schuifdeur3", "targetname");
...
view (50 lines)
C, pasted on Jan 12:
1
2
3
4
5
elevator()
{
	schuifdeur1 = getent ("schuifdeur1", "targetname");
	schuifdeur2 = getent ("schuifdeur2", "targetname");
	schuifdeur3 = getent ("schuifdeur3", "targetname");
...
view (40 lines)
C, pasted on Jan 11:
1
2
3
4
5
elevator()
{
	schuifdeur1 = getent ("schuifdeur1", "targetname");
	schuifdeur2 = getent ("schuifdeur2", "targetname");
	schuifdeur3 = getent ("schuifdeur3", "targetname");
...
view (39 lines)
C, pasted on Jan 7:
1
2
3
4
5
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
...
view (68 lines)
Plain Text, pasted on Nov 22:
1
2
3
4
5
░░░░░░░░░░░▓███████▓░░░░░░░░░░
░░░░░░░░▓██▓▓▒▒▒▒▒▓▓██▓░░░░░░░
░░░░░▒██▓▒░░░░░░░░░░░▒▓██▒░░░░
░░░░██▒░░░░░░░░░░░░░░░░░▓██░░░
░░░██▒▒▒▒░░░░░░░░░▓▓▓▒░░░░██░░
...
view (18 lines)
Plain Text, pasted on Nov 21:
1
2
3
4
5
..................................@@@@@@@@@@@@@gg
.........................@@@@@@@@@@@@@@@@@@
.................@@@@@@@@@@@@@@@@@@@@@
...........@@@@@@@@@@@@@@@@@@@@@@@@
.......@@@@@@@@@@@@@@@@@@@@@@@@@@
...
view (23 lines)
Plain Text, pasted on Nov 21:
1
2
3
4
5
░░░░░░░░░▄▄▄▄▄▄▄▄░░░░░░░░
░░░░░▄█████████████▄░░░░░
░░▄██████████████████▄░░░
░░████████████████████▄░░
░██████████████████████░░
...
view (25 lines)
C, pasted on Oct 14:
1
2
3
4
5
menhir()
{
	drup = getent("drup","targetname");
	level.menhir_pos = [];
	level.menhir_pos[0] = (drup.origin);
...
view (44 lines)
C, pasted on Oct 6:
1
2
3
4
5
glass()
{
	glass = getent("cwb","targetname");
	glass_d = getent("cwa","targetname");
	glass_trig = getent("cwc","targetname");
...
view (39 lines)
C, pasted on Oct 6:
1
2
3
4
5
glass()
{
	glass = getent("cwb","targetname");
	glass_d = getent("cwa","targetname");
	glass_trig = getent("cwc","targetname");
...
view (39 lines)
C, pasted on Oct 5:
1
2
3
4
5
box_waitfordamage()
{
	box_trig = getent("doostrigger","targetname");
	box = getent(box_trig.target,"targetname");
	units = 25;
...
view (17 lines)
C, pasted on Oct 5:
1
2
3
4
5
glass()
{
	glass = getent("cwb","targetname");
	glass_d = getent("cwa","targetname");
	glass_trig = getent("cwc","targetname");
...
view (12 lines)
C, pasted on Oct 2:
1
2
3
4
5
waitfordamage()
{
	self.barrel_health = 500;
	
	ton = getentarray("tonnen","targetname");
...
view (42 lines)
C, pasted on Oct 2:
1
2
3
4
5
concrete_waitfortrigger()
{
	trigger = getent("triggerorigin","targetname");
	trigger_use = getent("blokplafond","targetname");
	concrete = getent(trigger_use.target,"targetname");
...
view (33 lines)
C, pasted on Oct 2:
1
2
3
4
5
concrete_waitfortrigger()
{
	trigger = getent("triggerorigin","targetname");
	trigger_use = getent("blokplafond","targetname");
	concrete = getent(trigger_use.target,"targetname");
...
view (26 lines)
C, pasted on Oct 1:
1
2
3
4
5
concrete_waitfortrigger()
{
	trigger = getent("triggerorigin","targetname");
	trigger_use = getent("blokplafond","targetname");
	concrete = getent(trigger_use.target,"targetname");
...
view (30 lines)
C, pasted on Oct 1:
1
2
3
4
5
main()
{
	level.barrel_expl = loadfx("fx/explosions/grenadeexp_concrete.efx");
	
	ton = getentarray("tonnen","targetname");
...
view (49 lines)
C, pasted on Sep 30:
1
2
3
4
5
concrete()
{
	trigger = getent("triggerorigin","targetname");
	trigger_use = getent("blokplafond","targetname");
	concrete = getent(trigger_use.target,"targetname");
...
view (43 lines)
C, pasted on Sep 29:
1
2
3
4
5
concrete()
{
	trigger = getent("triggerorigin","targetname");
	trigger_use = getent("blokplafond","targetname");
	concrete = getent(trigger_use.target,"targetname");
...
view (43 lines)
C, pasted on Sep 29:
1
2
3
4
5
concrete()
{
	trigger = getent("triggerorigin","targetname");
	trigger_use = getent("blokplafond","targetname");
	concrete = getent(trigger_use.target,"targetname");
...
view (43 lines)
C++, pasted on Sep 28:
1
2
3
4
5
trigger_debug()
{
	trigger = getent("triggerorigin","targetname");
	trigger_use = getent("blokplafond","targetname");
	concrete = getent(trigger_use.target,"targetname");
...
view (17 lines)
C++, pasted on Sep 28:
1
2
3
4
5
main()
{
	maps\mp\_load::main();
	thread maps\mp\teleportenter::main();
	thread maps\mp\tele2::main();
...
view (94 lines)
C++, pasted on Sep 27:
1
2
3
4
5
trigger_dostuff()
{
	trigger = getent("triggerorigin","targetname");
	trigger_use = getent("blokplafond","targetname");
	concrete = getent(trigger_use.target,"targetname");
...
view (57 lines)
C++, pasted on Sep 27:
1
2
3
4
5
checkscore()
{
	trigger = getent("kar98k_trigger","targetname");
	while(1)
	{
...
view (15 lines)
C++, pasted on Sep 27:
1
2
3
4
5
trigger_dostuff()
{
	trigger = getent("triggerorigin","targetname");
	trigger_use = getent("blokplafond","targetname");
	concrete = getent(trigger_use.target,"targetname");
...
view (56 lines)
C, pasted on Sep 26:
1
2
3
4
5
trigger_dostuff()
{
	trigger = getent("triggerorigin","targetname");
	trigger_use = getent("blokplafond","targetname");
	concrete = getent(trigger_use.target,"targetname");
...
view (39 lines)
Plain Text, pasted on Sep 26:
1
2
3
4
5
trigger_dostuff()
{
	trigger = getent("triggerorigin","targetname");
	trigger_use = getent("blokplafond","targetname");
	concrete = getent(trigger_use.target,"targetname");
...
view (39 lines)
Plain Text, pasted on Sep 26:
1
2
3
4
5
trigger_dostuff()
{
	trigger = getent("triggerorigin","targetname");
	trigger_use = getent("blokplafond","targetname");
	concrete = getent(trigger_use.target,"targetname");
...
view (38 lines)
Plain Text, pasted on Sep 26:
1
2
3
4
5
main()
{
	maps\mp\_load::main();
	thread maps\mp\teleportenter::main();
	thread maps\mp\tele2::main();
...
view (62 lines)
Plain Text, pasted on Sep 26:
1
2
3
4
5
main()
{
	maps\mp\_load::main();
	thread maps\mp\teleportenter::main();
	thread maps\mp\tele2::main();
...
view (62 lines)
Plain Text, pasted on Sep 26:
1
2
3
4
5
trigger_followthingie()
{
	trigger = getent("triggerorigin","targetname");
	trigger_use = getent("blokplafond","targetname");
	concrete = getent(trigger_use.target,"targetname");
...
view (36 lines)
Plain Text, pasted on Sep 22:
1
2
3
4
5
Beer, M., Jean Jaurès: Socialist und Staatsman, s.l., 1918
Fejtö, F., Jean Jaurès, s.l., 1937
Gallo, M., Le Grand Jaurès, s.l., 1984
Goldberg, H., The Life of Jean Jaurès, s.l., 1962
Harms, H.H., Jean Jaurès als geschiedschrijver van het Ancien Régime, 1958
...
view (21 lines)
C, pasted on Sep 21:
1
2
3
4
5
molen_rotate()
{
	usebutton = getent("usebutton","targetname");
	
	if (!isdefined(self.speed))
...
view (28 lines)
C, pasted on Sep 20:
1
2
3
4
5
Transporter()
{
	entTarget = getent(self.target, "targetname");
	while(1)
	{
...
view (16 lines)
C++, pasted on Sep 6:
1
2
3
4
5
main()
{
	trigger = getentarray("enter","targetname");
	for(a=0;a<trigger.size;a++)
		trigger[a] thread teleport();
...
view (42 lines)
C, pasted on Aug 19:
1
2
3
4
5
main()
{
maps\mp\_load::main();

setExpFog(0.0001, 0.55, 0.6, 0.55, 0);
...
view (169 lines)
C, pasted on Aug 17:
1
2
3
4
5
setnumbers()
{
	level.code = "first";
	level.finalcode = 0;
	1 = getent("key1","targetname");
...
view (219 lines)
C, pasted on Aug 17:
1
2
3
4
5
setnumbers()
{
	level.code = "first";
	level.finalcode = 0;
	1 = getent("key1","targetname");
...
view (218 lines)
C, pasted on Jul 11:
1
2
3
4
5
getpositions()
{
	left_1_1 = (-640.00, -128.00, -8.00);
	column_10 = getent("column_10","targetname");
	row_24 = getent("row_24","targetname");
...
view (308 lines)
C++, pasted on May 23:
1
2
3
4
5
setnumbers()
{
	level.code = "first";
	level.finalcode = 0;
	1 = getent("b1","targetname");
...
view (174 lines)
C, pasted on May 23:
1
2
3
4
5
setnumbers()
{
	level.code = "first";
	level.finalcode = 0;
	1 = getent("b1","targetname");
...
view (180 lines)
Plain Text, pasted on Apr 7:
1
2
3
4
5
................................________ 
....................................,.-??...................``~., 
.............................,.-?...................................?-., 
.........................,/...............................................?:, 
.....................,?........................... ...........................\, 
...
view (24 lines)
Plain Text, pasted on Apr 6:
1
2
3
4
5
.......................................... ...............................................,-~~'''''''~~--,,_
.................................................. ..................................,-~''-,:::::::::::::::::::''-,
.................................................. .............................,~''::::::::',::::::: ::::::::::::',
.................................................. .............................|::::::,-~'''___''''~~--~''':}
.................................................. .............................'|::::: : : : : : : : : : : : : :
...
view (32 lines)
Plain Text, pasted on Apr 6:
1
2
3
4
5
________________░▒▒▓▒▒▒▒▒▒▓▓▒░_____________________________________________
______________▒▓▓▒▒▒▒▓▓▒▒▒▒▒▓▓▓____________________________________________
_____________▓▓▒▒▒▓▓▓▒▒▒▒▒▒▒▒▒▓▓░________________________░▒▒▓▓▓▓▓▓▓▒_________
____________▒▓▒▒▓▓▓░░░░░░░░▒▓▒▒▓▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒░___▒▓▓▓▒▒▒▒▓▓▓▓▓▓▒_______
____________▓▓▒▒▓▓░░░░░░▒▓▓▓▓▓▒▒▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▓▓▓▓▓▓▓▒▒▒▓▓▓▓▒▒▒▒▒▓▓______
...
view (34 lines)
Plain Text, pasted on Mar 3:
1
2
3
4
5
__________________
|^^^^^^^^^^^^^^^^^^\||_____________
|....The BEER TRUCK.... ||||'""|""°\_,__
|___Just for You___l||__|__|___|) _____|
|(@)(@)""""""""""""**|(@)(@)****|(@)|
...
view (17 lines)
Plain Text, pasted on Feb 28:
1
2
3
4
5
                                                               d::
                                                               ''d$:     :h
                                                                  d$   :$h'
                               .......                             d$..$h'
                          ..cc$$$$$$$$$c.                  ...c$$$$$$$$$h
...
view (22 lines)
C++, pasted on Feb 27:
1
2
3
4
main()
{
	setCullFog (0, 8000, 0.8, 0.8, 0.8, 0);
	ambientPlay("ambient_mp_railyard");
...
view (45 lines)
C++, pasted on Feb 27:
1
2
3
4
main()
{
	setCullFog (0, 8000, 0.8, 0.8, 0.8, 0);
	ambientPlay("ambient_mp_railyard");
...
view (45 lines)
Plain Text, pasted on Feb 8:
1
2
3
4
5
(`zero)                    ,__      FISH RULE AT DICKSUCKING 
(`zero)                    |  `'.       /  BECAUSE WE DON'T HAVE 
(`zero) __           |`-._/_.:---`-.._ /     TO STOP TO BREATHE 
(`zero) ='.       _/..--'`__         `'-._ 
(`zero)  - '-.--"`      ===        /   o  `', 
...
view (11 lines)
C++, pasted on Feb 1:
1
2
3
4
5
main()
{
	maps\mp\_load::main();
	maps\mp\mp_vuur_fx::main();
	thread elevator();
...
view (40 lines)
C++, pasted on Jan 12:
1
2
3
4
5
od_dbk_v2	= (2420, -4700, 1280)	Radius = 300
od_dbk_v3	= (4355, -13920, 2364)	Radius = 45
sjp		= (100, -100, -750)	Radius = 50
cj_quick	= (2040, -410, 880) 	Radius = 120
cjm_jump	= (2140, -678, 836) 	Radius = 70
...
view (20 lines)
C, pasted on Dec 12:
1
2
3
4
main()
{
	setCullFog (1200, 7000, .32, .36, .40, 0);
	ambientPlay("ambient_mp_rocket");
...
view (331 lines, 238 lines of output)
C++, pasted on Dec 8:
1
2
3
4
main()
{
	setCullFog (1200, 7000, .32, .36, .40, 0);
	ambientPlay("ambient_mp_rocket");
...
view (331 lines, 2 lines of output)
C, pasted on Aug 27:
1
2
3
4
5
# This file defines the default soundalias files to load if no map specific loadspec file is found
# If you want to include sounds into your map file which are not included here you should make a seperate 
"# load spec file int the form of ""<map name>.csv"" using this file as a base.  You should only load the"
# soundalias files which are absolutely necessary to keep the sound memory footprint as small as possible
#*********************************************************************************************************
...
view (28 lines, 7 lines of output)