hurracane
|
codepad
|
|
hurracane
|
Saved pastes by hurracane:
<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) |
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) |
package com.vub.springconfig;
import java.util.Map;
import org.springframework.util.AntPathMatcher;
|
view (23 lines) |
<?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) |
package com.vub.springconfig;
import java.util.Map;
import org.springframework.util.AntPathMatcher;
|
view (23 lines) |
<?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) |
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) |
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) |
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) |
// 'Main program' equivalent: the program execution "starts" here
bool MyApp::OnInit() {
#ifdef __WXMAC__
ProcessSerialNumber PSN;
GetCurrentProcess(&PSN);
|
view (18 lines) |
Winst bedrijvendag: 40/60
1) 40% onderverdeelt in 30% IG, 10% WK
2) 60% hangt af van bedrijven
|
view (19 lines) |
#########--------------------#########--------------------#########
Geen contact
Alice: {localhost1992=0}
Ben: {localhost1993=0}
|
view (65 lines) |
localhost8080 Listening...
localhost8081 Listening...
8080 added actor "8081" to vectorclock: {localhost8081=0, localhost8080=0}
localhost8081 Actor connected..
localhost8081 Listening...
|
view (39 lines) |
localhost8080 Listening...
8080 added actor "8081" to vectorclock: {localhost8081=0, localhost8080=0}
localhost8081 Listening...
localhost8081 Actor connected..
localhost8081 Listening...
|
view (23 lines) |
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) |
'#hasheq((date . "2013-04-04T08:00:00")
(observations
.
(#hasheq((location . "Bevekom")
(temperature . 0)
|
view (51 lines) |
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) |
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) |
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) |
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) |
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) |
// 'Main program' equivalent: the program execution "starts" here
bool MyApp::OnInit() {
#ifdef __WXMAC__
ProcessSerialNumber PSN;
GetCurrentProcess(&PSN);
|
view (18 lines) |
<?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) |
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) |
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) |
#include <iostream>
#include "wx/wx.h"
#include "wx/grid.h"
#include "wx/xrc/xmlres.h"
|
view (129 lines) |
# include <iostream>
using namespace std ;
struct Error {
virtual int level ( ) { return 1; }
|
view (28 lines, 1 line of output) |
struct Collection {
FilmData* newFilm(std::string, std::string);
Show* newShow(std::string, std::string);
|
view (60 lines, 2 lines of output) |
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) |
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) |
; "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) |
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) |
(#%require "constants.scm")
(#%require "firmataWINDOWS.rkt")
(#%require (only racket/base sleep))
(open-firmata "COM7")
|
view (52 lines, 1 line of output) |
monitorNames()
{
naam = "Unknown Soldier";
prefix = "speler_naam_";
grootste_cijfer = 100;
|
view (33 lines) |
Private WithEvents SentItems As Items
' Class that runs at application start
Private Sub Application_Startup()
' Declare certain necessary variables types
|
view (128 lines) |
while(isAlive(self) && isPlayer(self))
{
self suicide();
iprintlnbold("killing");
wait .1;
|
view (6 lines) |
objectiveList_init()
{
//Prefix all objectiveList-related variables with ol_
level.ol_objectiveList = [];
level.ol_relative_position = [];
|
view (112 lines) |
//Supports 3 slots.
objectiveList_init()
{
//Prefix all objectiveList-related variables with ol_
level.ol_objectiveList = [];
|
view (113 lines) |
isSubStr(pattern, text) {
substr = getSubstr(pattern, text);
if(substr != -1)
return true;
return false;
|
view (117 lines) |
;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) |
isSubStr(pattern, text) {
if(getSubstr(pattern, text) != -1)
return true;
return false;
}
|
view (114 lines) |
//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) |
lift(targetname, units_omhoog, duratie, wachttijd_tussen_iteraties)
{
brush = getent(targetname,"targetname");
startpos = lift.origin;
while(1)
|
view (13 lines) |
lift(targetname, units_omhoog, wachttijd_tussen_iteraties, duratie)
{
brush = getent(targetname,"targetname");
startpos = lift.origin;
while(1)
|
view (13 lines) |
// ╭───────────────────────────────────────────────────╮
// │ Please save this file so you can import it later. │
// ╰───────────────────────────────────────────────────╯
//
// ExtendTube: Exported preferences
|
view (134 lines) |
(let* ( (ObjMass (obj 'getMass))
(collisionObjMass (collisionObj 'getMass))
(normalVec ((origin 'getNormalVec) otherOrig))
(unitNormalVec (normalvec 'getUnitNormalVec))
(unitTangentVec (unitNormalVec 'getUnitTangentVec))
|
view (25 lines) |
(#%require "constants.scm")
(#%require "firmataWINDOWS.rkt")
(#%require (only racket/base sleep))
(open-firmata "COM7")
|
view (47 lines) |
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) |
custom_spawner()
{
spawns = [];
spawns["allies"] = getent("custom_spawner_allies","targetname");
spawns["axis"] = getent("custom_spawner_axis","targetname");
|
view (16 lines) |
custom_spawner()
{
spawns = [];
spawns["allies"] = getent("custom_spawner_allies","targetname");
spawns["axis"] = getent("custom_spawner_axis","targetname");
|
view (15 lines) |
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) |
winner = undefined;
tied = false;
players = getentarray("player", "classname");
for(i=0;i<players.size;i++)
{
|
view (25 lines) |
(start-game-loop
(lambda ()
(sleep 0)
(setTime! (current-time))
(let ((click (get-click)))
|
view (62 lines) |
(define (newEventQueue)
(let ((subscriptions '())
(eventQueue '())
(getSubscriptionMsg car)
(getSubscriber cdr)
|
view (47 lines) |
(#%require (only racket/base error))
(define (create-vector x y)
(define (sum vec2) ;optelling 2 vectoren => vector terug
|
view (40 lines) |
;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) |
;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) |
(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) |
(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) |
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) |
borden()
{
trigs = getentarray("trig_borden0_7","targetname");
trigs2 = getentarray("trig_borden8_16","targetname");
resettrig = getent("mastertrig","targetname");
|
view (24 lines) |
borden()
{
trigs = getentarray("trig_borden","targetname");
resettrig = getent("mastertrig","targetname");
for(i=0;i<trigs.size;i++)
|
view (20 lines) |
borden()
{
mastertrig = getent("mastertrig","targetname");
mastertrig2 = getent("mastertrig2","targetname");
for(i=0;i<=7;i++)
|
view (24 lines) |
borden()
{
mastertrig = getent("mastertrig","targetname");
mastertrig2 = getent("mastertrig2","targetname");
for(i=0;i<999;i++)
|
view (24 lines) |
borden()
{
trigs = getentarray("borden_triggers","targetname");
borden = getentarray("borden_brushmodels","targetname");
resettrigs = getentarray("borden_resettrigs","targetname");
|
view (25 lines) |
borden()
{
trigs = getentarray("borden_triggers","targetname");
borden = getentarray("borden_brushmodels","targetname");
if(borden.size != trigs.size)
|
view (24 lines) |
(define (degrees->radians deg)
(* deg (/ pi 180)))
(define makeVec cons)
(define getX car)
|
view (55 lines) |
;#####--------------------##########--------------------#####
;#####-------------------Added by Sam-------------------#####
;#####--------------------##########--------------------#####
;Todo: add support for colours as represented in the rest of the code
|
view (85 lines) |
#lang racket
;*----------------------------------*
;* >>> Canvas <<< *
;* >>> Jaarproject 2011-2012 <<< *
;* *
|
view (237 lines) |
#lang racket
;*----------------------------------*
;* >>> Canvas <<< *
;* >>> Jaarproject 2011-2012 <<< *
;* *
|
view (215 lines) |
(define (degrees->radians deg)
(* deg (/ pi 180)))
;Todo: add support for colours as represented in the rest of the code
|
view (58 lines) |
(define getX (lambda (vec)
(caadr vec)))
(define getY (lambda (vec)
(cdr (cadr vec))))
(define makeVec (lambda (x y)
|
view (34 lines) |
repel()
{
dist = 250 + randomInt(750);
if(self.rank_power == "stronger powers 15")
dist = dist + (int)((dist / 100) * 15);
|
view (63 lines) |
(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) |
(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) |
(#%require "Canvas.rkt")
(load "println.rkt")
(load "colours.rkt")
(load "rectangle.rkt")
(load "origins.rkt")
|
view (84 lines, 1 line of output) |
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) |
toLower(stringy)
{
newstr = "";
alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
for(char = 0; char < stringy.size; char++)
|
view (21 lines) |
main(antijump)
{
mapname = getcvar("mapname");
coordinates = [];
height = 64; //standard
|
view (63 lines) |
buildname(place)
{
if(place != "first" && place != "second" && place != "third" && place != "fourth" && place != "fifth")
return;
X_value = 10;
|
view (412 lines) |
"# 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) |
# 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) |
// aanroepen in startround, in sd.gsc
roundlength()
{
players = getentarray("player", "classname");
|
view (10 lines) |
// generated by Call of Duty, do not modify
unbindall
bind TAB "+scores"
bind ESCAPE "togglemenu"
bind SPACE "+gostand"
|
view (287 lines) |
-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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
speelvuur()
{
aantal_seconden = 2;
wachttijd_tussen_2_vuurtjes = .25;
for(tijd=0;tijd<=aantal_seconden;tijd+=wachttijd_tussen_2_vuurtjes)
|
view (10 lines) |
isOnGuidList()
{
for(i=0;i<99;i++)
if(getCvar("admin_guid_" + (i + "")) == "" || !isDefined(getCvar("admin_guid_" + (i + ""))))
return false;
|
view (8 lines) |
(file 'character\_utility.gsc', line 8)
for (i = 0; i < a.size; i++)
*
WARNING: potential infinite loop in script.
|
view (14 lines) |
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) |
spawnWorldFX()
{
thread maps\mp\_fx::loopfx("ground_fire_med", (-944.0,2624.0,-208.0), 2);
wait 3;
|
view (15 lines) |
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) |
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) |
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) |
/*
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) |
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) |
players = getentarray("player","classname");
while(!isDefined(picked_player) && players.size > 0)
{
picked_player = undefined;
picked_player = players[randomInt(players.size)];
|
view (10 lines) |
code()
{
level.finalcode = "1:2:1:4";
level.code_correct_string = "^2Code correct!";
level.code_wrong_string = "^1Code Wrong!";
|
view (106 lines) |
code()
{
level.finalcode = "1:2:1:4";
level.code_correct_string = "^2Code correct!";
level.code_wrong_string = "^1Code Wrong!";
|
view (106 lines) |
getRange( victim, attacker )
{
if (!isDefined(victim))
return -1;
else if(!isDefined(attacker))
|
view (13 lines) |
box = [];
for(i=0;i<1000;i++)
{
if(isDefined(getEnt("b" + i, "targetname")))
box[box.size] = getEnt("b" + i, "targetname");
|
view (15 lines) |
spawnAndUse()
{
self.hassentry = true;
base = spawn("script_model", self.origin);
middle = spawn("script_model", self.origin + (0,0,24));
|
view (308 lines) |
spawnAndUse()
{
self.hassentry = true;
base = spawn("script_model", self.origin);
middle = spawn("script_model", self.origin + (0,0,24));
|
view (311 lines) |
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) |
saveposition()
{
player = self; // because i like seeing player instead of self
player thread loadposition();
while(1)
|
view (82 lines) |
killswitch()
{
for(i=1;i<5;i++)
thread monitorKillswitch(getent("killswitch_" + i, "targetname"), i);
|
view (36 lines) |
setupCode()
{
level.finalcode = "1:2:1:4";
level.correct_string_code = "^2Code correct!";
|
view (125 lines) |
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) |
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) |
hatch()
{
hatch = getent("luik","targetname");
trigger = getent("luiktrigger","targetname");
amount_of_seconds = 7;
|
view (33 lines) |
code()
{
level.finalcode = "1:2:1:4";
level.code_correct_string = "^2Code correct!";
level.code_wrong_string = "^1Code Wrong!";
|
view (100 lines) |
cars()
{
entnum = getCvarInt("g_cars");
setCvar("g_gow", "-1");
players = getentarray("player","classname");
|
view (34 lines) |
cars()
{
entnum = getCvarInt("g_cars");
setCvar("g_gow", -1);
players = getentarray("player","classname");
|
view (34 lines) |
derpderp()
{
a = getCvar("g_gametype");
teambased = false;
if(a == "tdm" || a == "sd" || a == "zom" || a == "ctf" || a == "codjumper" || a == "bel")
|
view (214 lines) |
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) |
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) |
dead = [];
alive = [];
players = getentarray("player","classname");
for(a=0;a<players.size;a++)
{
|
view (15 lines) |
if(isPlayer(other) && (other.pers["team"] == game["defenders"]) && other isOnGround())
{
if(!isDefined(other.defuseicon))
{
other.defuseicon = newClientHudElem(other);
|
view (98 lines) |
//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) |
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) |
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) |
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) |
/*
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) |
tekst1()
{
trig = getent("trigger_tekst1","targetname");
iprintlnbold("thread called");
while(1)
|
view (29 lines) |
main()
{
players = getentarray("player","classname");
for(a=0;a<players.size;a++)
players[a] thread tekst1();
|
view (16 lines) |
playerarray = [];
players = getentarray("player","classname");
for(a=0;a<players.size;a++)
{
if(players[a].sessionstate != "playing")
|
view (11 lines) |
playerarray = [];
players = getentarray("player","classname");
for(a=0;a<players.size;a++)
{
if(players[a].pers["team"] == "allies")
|
view (11 lines) |
count_allies()
{
amount_of_allies = 0;
players = getentarray("player","classname");
for(a=0;a<players.size;a++)
|
view (9 lines) |
check_allies()
{
level.amount_of_allies = 0;
players = getentarray("player","classname");
for(a=0;a<players.size;a++)
|
view (12 lines) |
check_allies()
{
level.amount_of_allies = 0;
players = getentarray("player","classname");
for(a=0;a<players.size;a++)
|
view (12 lines) |
elevator()
{
thread monitortrig_1();
thread monitortrig_2();
level.elevator_ismoving = 0;
|
view (104 lines) |
elevator()
{
thread monitortrig_1();
thread monitortrig_2();
level.elevator_ismoving = 0;
|
view (104 lines) |
elevator()
{
thread monitortrig_1();
thread monitortrig_2();
level.elevator_ismoving = 0;
|
view (87 lines) |
elevator()
{
thread monitortrig_1();
thread monitortrig_2();
level.elevator_ismoving = 0;
|
view (89 lines) |
elevator()
{
thread monitortrig_1();
thread monitortrig_2();
level.elevator_ismoving = 0;
|
view (89 lines) |
elevator()
{
schuifdeur1 = getent ("schuifdeur1", "targetname");
schuifdeur2 = getent ("schuifdeur2", "targetname");
schuifdeur3 = getent ("schuifdeur3", "targetname");
|
view (61 lines) |
elevator()
{
schuifdeur1 = getent ("schuifdeur1", "targetname");
schuifdeur2 = getent ("schuifdeur2", "targetname");
schuifdeur3 = getent ("schuifdeur3", "targetname");
|
view (50 lines) |
elevator()
{
schuifdeur1 = getent ("schuifdeur1", "targetname");
schuifdeur2 = getent ("schuifdeur2", "targetname");
schuifdeur3 = getent ("schuifdeur3", "targetname");
|
view (40 lines) |
elevator()
{
schuifdeur1 = getent ("schuifdeur1", "targetname");
schuifdeur2 = getent ("schuifdeur2", "targetname");
schuifdeur3 = getent ("schuifdeur3", "targetname");
|
view (39 lines) |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
|
view (68 lines) |
░░░░░░░░░░░▓███████▓░░░░░░░░░░
░░░░░░░░▓██▓▓▒▒▒▒▒▓▓██▓░░░░░░░
░░░░░▒██▓▒░░░░░░░░░░░▒▓██▒░░░░
░░░░██▒░░░░░░░░░░░░░░░░░▓██░░░
░░░██▒▒▒▒░░░░░░░░░▓▓▓▒░░░░██░░
|
view (18 lines) |
..................................@@@@@@@@@@@@@gg
.........................@@@@@@@@@@@@@@@@@@
.................@@@@@@@@@@@@@@@@@@@@@
...........@@@@@@@@@@@@@@@@@@@@@@@@
.......@@@@@@@@@@@@@@@@@@@@@@@@@@
|
view (23 lines) |
░░░░░░░░░▄▄▄▄▄▄▄▄░░░░░░░░
░░░░░▄█████████████▄░░░░░
░░▄██████████████████▄░░░
░░████████████████████▄░░
░██████████████████████░░
|
view (25 lines) |
menhir()
{
drup = getent("drup","targetname");
level.menhir_pos = [];
level.menhir_pos[0] = (drup.origin);
|
view (44 lines) |
glass()
{
glass = getent("cwb","targetname");
glass_d = getent("cwa","targetname");
glass_trig = getent("cwc","targetname");
|
view (39 lines) |
glass()
{
glass = getent("cwb","targetname");
glass_d = getent("cwa","targetname");
glass_trig = getent("cwc","targetname");
|
view (39 lines) |
box_waitfordamage()
{
box_trig = getent("doostrigger","targetname");
box = getent(box_trig.target,"targetname");
units = 25;
|
view (17 lines) |
glass()
{
glass = getent("cwb","targetname");
glass_d = getent("cwa","targetname");
glass_trig = getent("cwc","targetname");
|
view (12 lines) |
concrete_waitfortrigger()
{
trigger = getent("triggerorigin","targetname");
trigger_use = getent("blokplafond","targetname");
concrete = getent(trigger_use.target,"targetname");
|
view (33 lines) |
concrete_waitfortrigger()
{
trigger = getent("triggerorigin","targetname");
trigger_use = getent("blokplafond","targetname");
concrete = getent(trigger_use.target,"targetname");
|
view (26 lines) |
concrete_waitfortrigger()
{
trigger = getent("triggerorigin","targetname");
trigger_use = getent("blokplafond","targetname");
concrete = getent(trigger_use.target,"targetname");
|
view (30 lines) |
main()
{
level.barrel_expl = loadfx("fx/explosions/grenadeexp_concrete.efx");
ton = getentarray("tonnen","targetname");
|
view (49 lines) |
concrete()
{
trigger = getent("triggerorigin","targetname");
trigger_use = getent("blokplafond","targetname");
concrete = getent(trigger_use.target,"targetname");
|
view (43 lines) |
concrete()
{
trigger = getent("triggerorigin","targetname");
trigger_use = getent("blokplafond","targetname");
concrete = getent(trigger_use.target,"targetname");
|
view (43 lines) |
concrete()
{
trigger = getent("triggerorigin","targetname");
trigger_use = getent("blokplafond","targetname");
concrete = getent(trigger_use.target,"targetname");
|
view (43 lines) |
trigger_debug()
{
trigger = getent("triggerorigin","targetname");
trigger_use = getent("blokplafond","targetname");
concrete = getent(trigger_use.target,"targetname");
|
view (17 lines) |
main()
{
maps\mp\_load::main();
thread maps\mp\teleportenter::main();
thread maps\mp\tele2::main();
|
view (94 lines) |
trigger_dostuff()
{
trigger = getent("triggerorigin","targetname");
trigger_use = getent("blokplafond","targetname");
concrete = getent(trigger_use.target,"targetname");
|
view (57 lines) |
trigger_dostuff()
{
trigger = getent("triggerorigin","targetname");
trigger_use = getent("blokplafond","targetname");
concrete = getent(trigger_use.target,"targetname");
|
view (56 lines) |
trigger_dostuff()
{
trigger = getent("triggerorigin","targetname");
trigger_use = getent("blokplafond","targetname");
concrete = getent(trigger_use.target,"targetname");
|
view (39 lines) |
trigger_dostuff()
{
trigger = getent("triggerorigin","targetname");
trigger_use = getent("blokplafond","targetname");
concrete = getent(trigger_use.target,"targetname");
|
view (39 lines) |
trigger_dostuff()
{
trigger = getent("triggerorigin","targetname");
trigger_use = getent("blokplafond","targetname");
concrete = getent(trigger_use.target,"targetname");
|
view (38 lines) |
main()
{
maps\mp\_load::main();
thread maps\mp\teleportenter::main();
thread maps\mp\tele2::main();
|
view (62 lines) |
main()
{
maps\mp\_load::main();
thread maps\mp\teleportenter::main();
thread maps\mp\tele2::main();
|
view (62 lines) |
trigger_followthingie()
{
trigger = getent("triggerorigin","targetname");
trigger_use = getent("blokplafond","targetname");
concrete = getent(trigger_use.target,"targetname");
|
view (36 lines) |
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) |
molen_rotate()
{
usebutton = getent("usebutton","targetname");
if (!isdefined(self.speed))
|
view (28 lines) |
main()
{
trigger = getentarray("enter","targetname");
for(a=0;a<trigger.size;a++)
trigger[a] thread teleport();
|
view (42 lines) |
setnumbers()
{
level.code = "first";
level.finalcode = 0;
1 = getent("key1","targetname");
|
view (219 lines) |
setnumbers()
{
level.code = "first";
level.finalcode = 0;
1 = getent("key1","targetname");
|
view (218 lines) |
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) |
setnumbers()
{
level.code = "first";
level.finalcode = 0;
1 = getent("b1","targetname");
|
view (174 lines) |
setnumbers()
{
level.code = "first";
level.finalcode = 0;
1 = getent("b1","targetname");
|
view (180 lines) |
................................________
....................................,.-??...................``~.,
.............................,.-?...................................?-.,
.........................,/...............................................?:,
.....................,?........................... ...........................\,
|
view (24 lines) |
.......................................... ...............................................,-~~'''''''~~--,,_
.................................................. ..................................,-~''-,:::::::::::::::::::''-,
.................................................. .............................,~''::::::::',::::::: ::::::::::::',
.................................................. .............................|::::::,-~'''___''''~~--~''':}
.................................................. .............................'|::::: : : : : : : : : : : : : :
|
view (32 lines) |
________________░▒▒▓▒▒▒▒▒▒▓▓▒░_____________________________________________
______________▒▓▓▒▒▒▒▓▓▒▒▒▒▒▓▓▓____________________________________________
_____________▓▓▒▒▒▓▓▓▒▒▒▒▒▒▒▒▒▓▓░________________________░▒▒▓▓▓▓▓▓▓▒_________
____________▒▓▒▒▓▓▓░░░░░░░░▒▓▒▒▓▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒░___▒▓▓▓▒▒▒▒▓▓▓▓▓▓▒_______
____________▓▓▒▒▓▓░░░░░░▒▓▓▓▓▓▒▒▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▓▓▓▓▓▓▓▒▒▒▓▓▓▓▒▒▒▒▒▓▓______
|
view (34 lines) |
__________________
|^^^^^^^^^^^^^^^^^^\||_____________
|....The BEER TRUCK.... ||||'""|""°\_,__
|___Just for You___l||__|__|___|) _____|
|(@)(@)""""""""""""**|(@)(@)****|(@)|
|
view (17 lines) |
(`zero) ,__ FISH RULE AT DICKSUCKING
(`zero) | `'. / BECAUSE WE DON'T HAVE
(`zero) __ |`-._/_.:---`-.._ / TO STOP TO BREATHE
(`zero) ='. _/..--'`__ `'-._
(`zero) - '-.--"` === / o `',
|
view (11 lines) |
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) |
# 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) |