Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - TheBlackParrot

Pages: 1 2 3 4 5 6 [7] 8 9 10 11 12 ... 27
91
If you find anything, mention it
(ok other than Blockland events)

Monstercat subreddit has been well, lobstered
Toontown subreddit is interesting to say the least
Android subreddit was bought out by Apple
CM12 nightlies are being upgraded to Windows
Google Maps has a Pacman mode
[Nal] Today, I forgeted up has forgeted up, today.
[.:FancyPants:.] Tumblr's ExecutiveSuite 2016 proves to be extremely efficient.
[kevin 51l] League of Legends subreddit is ok.
[.:FancyPants:.] Smartbox by Inbox by Gmail by Google
Weasyl and eggs
[Kobewarrior] Nintendo subreddit is going green, it's pretty tingly.
The Nintendo Direct stream [3PM PDT] isn't a joke.
[.:FancyPants:.] DeviantArt's Stylus IRL
[Masterlegodude] SFM Lab replaced their homepage with a message saying that the site has been seized by the government
Apple's subreddit has been bought out by Andr- wait a minute.
Google registered the first domain name on their .google TLD
[Flatflyer] The Warframe subreddit went purple for Waluigi Day
[Daswiruch] /r/magicTCG is now /r/yugioh
[Daswiruch] /r/yugioh is now /r/magicTCG
[Daswiruch] Blep blep blep
[Daswiruch] /r/pcmasterrace is now /r/cynicalbrit
[Daswiruch] /r/cynicalbrit is now /r/pcmasterrace
[Daswiruch] The Borderlands subreddit is now the Farming Simulator subreddit
Amazon Dash. Amazon denies it's a joke, however.
Google Panda, why is this so cute
[Refticus] JelloApocalypse - Welcome To Steam!
[Masterlegodude] Garrysmods is charing $2.50 per download
[snot2] Payday 2 went full Pokemon
[LeetZero] Humble Bundle Ballyhoo
[pefu19] TweakTown bringing in the obligatory HL3 post
[halonerfer29] Game Jolt is making its own gaming distribution platform
[halonerfer29] MSDOS Mobile
[halonerfer29] The University of Leicester expected to change name to King Richard University
[halonerfer29] Tesco is introducing trampoline aisles
[halonerfer29] The card reader has been upgraded at Cambridge to incorporate voice commands
[halonerfer29] CERN researches confirm the existance of The Force
[Masterlegodude] SteamXXX, oh baby
YouTube has added a music button to videos that plays a portion of Sandstorm on click
[snot2] Imgur plays Imgur
[Alternative] /r/flashtv is now /r/shield
[Alternative] /r/shield is now /r/flashtv
[Nymph] osu!coins! - new osu currency
[TheScout] /r/airsoft has went full meme
[Blocky943] Notepad++ has been hacked by the Chameleon Liberation Front
[Blocky943] Imgur now has collaborations
[Blocky943] /r/nerdcubed has mattophobia
[TheScout] Harmonix is making a dating game!
Google Fiber introduces Dial-Up mode
[Flatflyer] Binding of Issace coming to the 3DS, WiiU, and Xbox One
[Flatflyer] /r/DestinyTheGame's banner is beautiful
[Flatflyer] Warframe has a new potential threat: the Stocker
[Flatflyer] Mojang released the "Love and Hugs" snapshot
Kappa emotes on Twitch have been "removed," they're now GreyFace
[Rockinboy2000] Doorkickers seems to be coming out with a sweet sequel
[Epicduke] Insurgency announces a new way to gain popularity with other means.
[Rockinboy2000] SUPERQOT - Superhot for Quake [somewhat serious]
Darude announces 24/7 Sandstorm on his Twitch channel
[Georges] Tesla announced their anti-parking ticket feature on the Model S.
[Georges] Motorola's #MotoSelfieStick
[MegaScientifical] Korean MapleStory announced a Pink Bean class, where you play as a stylized version of Pink Bean boss
[MegaScientifical] Global MapleStory announced new Chef class, where you play as a Chef with a suggested intricate backstory. (source needed)
[MegaScientifical] Global MapleStory announced No EXP Events, where you don't get any experience from monsters. (source needed)
[MegaScientifical] Basil Market (Major MapleStory fan site) announced a switch to the title "Bro Market" - all about Bros. (source needed)
[Masterlegodude] KnowYourMeme has an illuminati cursor
[SpongeCraft1212] Roblox subreddit currently has a Blockland theme
[Masterlegodude] A new Strong Bad video appeared
[Wesley Williams] Google's Actual Cloud Platform
[Wesley Williams] YouTube suggests "Darude - Sandstorm" when searching for music
[Wesley Williams] Google's Self-browsing Chromebook
[SpongeCraft1212] ROBLOX mentioned the old 2006-2007 era graphics
[MegaScientifical] Maple.FM (MapleStory site for tracking ingame trade market) changed all item icons to Arrows
[Jubel] World of Warships is changing course with game direction to something which might be more successful than simple WW1-WW2 naval action

92
I'm working on a Hide and Seek gamemode and I'm at a loss for finding good saves to use. All I've got right now is ACM City and Afghan DM.

I'd prefer builds that use default add-ons, colorset doesn't matter.

93
Modification Help / XPM Exporting (xpm2 format) [v0.3.4-1]
« on: March 25, 2015, 11:53:37 PM »
From the X PixMap Wikipedia entry:
Quote
X PixMap (XPM) is an image file format used by the X Window System, created in 1989 by Daniel Dardailler and Colas Nahaboo working at Bull Research Center at Sophia Antipolis, France, and later enhanced by Arnaud Le Hors.

It is intended primarily for creating icon pixmaps, and supports transparent pixels. Derived from the earlier XBM syntax, it is a plain text file in the XPM2 format or of a C programming language syntax, which can be included in a C program file.

Quote
ACDSee, Amaya, CorelDRAW, GIMP, ImageMagick, IrfanView (formats plugin), PaintShop Pro, Photoshop (plugins), and XnView among others support XPM. Gravatar and picons also support XPM.

I stumbled upon this and took note of the syntax (notably XPM2), and was curious if I could possibly add some sort of exporter to this format.
This, obviously, is well suited for pixel art, and possibly maps of servers later on down the line.



https://github.com/TheBlackParrot/blockland-xpm
https://github.com/TheBlackParrot/blockland-xpm/raw/master/System_XPMSupport.zip

Sample exports:
https://dl.dropboxusercontent.com/u/182376391/test.xpm
https://dl.dropboxusercontent.com/u/182376391/test2.xpm
https://dl.dropboxusercontent.com/u/182376391/test3.xpm
(save: https://dl.dropboxusercontent.com/u/182376391/xpmtest.bls)

It adapts to the colorset chosen, since you can define whatever you want for the colors.



COMMANDS:
  • /setXPMStart - sets the start position of the XPM export area (e.g. top-left corner)
  • /setXPMEnd - sets the end position of the XPM export area (e.g. bottom-right corner)
  • /saveXPMFile [filename] - exports the selected area to XPM (e.g. config/image.xpm)



video because w/e
https://www.youtube.com/watch?v=p234qansP3c



TO DO:
  • [FEATURE] Detect if the user is doing vertical (X/Z, Y/Z) or horizontal (X/Y) art, right now it's only horizontal (flat on the ground)
  • [FEATURE] Add in a client/server handshake instead of this being purely server-sided (hence System) [v0.2]
  • [FEATURE] Switch the method to have 1 1x1 block represent 1 pixel [v0.3]
  • [BUG] Only export used colors, not all 64 slots [v0.1.2]
  • [FEATURE] Allow for non-existant bricks in a specified export area to represent the background [v0.1.3]
  • [FEATURE] Allow the user to specify their own background color
  • [FEATURE] Allow the user to specify a scale for the image (e.g. 1x1 represents 1 pixel, 2, 3, 4, etc.)
  • [FEATURE] Darken lower z-depths if generating a map (maybe????)
  • [FEATURE] Add a couple of header comments (e.g. owner, generator version, date/time, etc.) [v0.3.2]
  • [BUG] Allow for simultaneous saving between players (IDs in global vars?)
  • [BUG] Work around some strange 256 character limit in commandToClient [v0.3.1]
  • [BUG] Round numbers if they have some odd decimal value, e.g. 4.99999 or 5.00001 [v0.3.3]
  • [FEATURE] Allow colors to be scaled depending on the lighting of the server (off by default)
  • [FEATURE] Allow for switching to XPM1 and XPM3 upon request
  • [FEATURE] Help command via /xpmhelp [v0.3.4]

94

I've tried stripping out anything I don't need, and it's still incredibly slow.
I've reached out to Greek with no response, and Glass only tells me to use 16x bricks, which I'd rather not do considering Greek's seemingly works fine with larger bricks.

http://pastebin.com/pf1tQe6B
findSmallBrick is what's lagging really bad, line 501. Any way I can optimize it?

edit: in case of linkrot
Code: [Select]
function findSmallBrick(%brick,%Pos,%wantBrick)
{
%time = getRealTime();
%DBName = %brick.getDatablock().getName();
if(%wantBrick $= "brick2xCubeDirtData")
{
%increment = 1;
switch$(%DBName)
{
case "brick64xCubeDirtData":
%Min = -15.5;
%Max = 15.5;
case "brick32xCubeDirtData":
%Min = -7.5;
%Max = 7.5;
case "brick16xCubeDirtData":
%Min = -3.5;
%Max = 3.5;
case "brick8xCubeDirtData":
%Min = -1.5;
%Max = 1.5;
case "brick4xCubeDirtData":
%Min = -0.5;
%Max = 0.5;
case "brick2xCubeDirtData":
return %brick.getPosition();
default:
return;
}
}
else if(%wantBrick $= "brick4xCubeDirtData")
{
%increment = 2;
switch$(%DBName)
{
case "brick64xCubeDirtData":
%Min = -15;
%Max = 15;
case "brick32xCubeDirtData":
%Min = -7;
%Max = 7;
case "brick16xCubeDirtData":
%Min = -3;
%Max = 3;
case "brick8xCubeDirtData":
%Min = -1;
%Max = 1;
case "brick4xCubeDirtData":
return %brick.getPosition();
case "brick2xCubeDirtData":
return 0 TAB %brick.getPosition();
default:
return;
}
}
else if(%wantBrick $= "brick8xCubeDirtData")
{
%increment = 4;
switch$(%DBName)
{
case "brick64xCubeDirtData":
%Min = -14;
%Max = 14;
case "brick32xCubeDirtData":
%Min = -6;
%Max = 6;
case "brick16xCubeDirtData":
%Min = -2;
%Max = 2;
case "brick8xCubeDirtData":
return %brick.getPosition();
default:
return;
}
}
else if(%wantBrick $= "brick16xCubeDirtData")
{
%increment = 8;
switch$(%DBName)
{
case "brick64xCubeDirtData":
%Min = -8;
%Max = 8;
case "brick32xCubeDirtData":
%Min = -4;
%Max = 4;
case "brick16xCubeDirtData":
return %brick.getPosition();
default:
return;
}
}
else if(%wantBrick $= "brick32xCubeDirtData")
{
%increment = 16;
switch$(%DBName)
{
case "brick64xCubeDirtData":
%Min = -8;
%Max = 8;
case "brick32xCubeDirtData":
return %brick.getPosition();
default:
return;
}
}
for(%x = %Min;%x <= %Max;%x += %increment)
{
for(%y = %Min;%y <= %Max;%y += %increment)
{
for(%z = %Min;%z <= %Max;%z += %increment)
{
%rot = getWord(%brick.rotation,3);
%smallPos = vectorAdd(%brick.getPosition(),%x SPC %y SPC %z);
%Distance = vectorDist(%Pos,%smallPos);
if(%Smallest $= "" || %Distance < %Smallest)
{
%SmallestPos = %smallPos;
%Smallest = %Distance;
}
%count++;
}
}
}
talk("Task completed in" SPC getTimeString((getRealTime()-%time)/1000) SPC "with" SPC %count SPC "loops");
return %SmallestPos;
}

95
Add-Ons / [GUI] Minesweeper
« on: March 14, 2015, 05:25:57 AM »
I made this back in early 2013, but it was coded really bad and I haven't seen anything like this put out recently.
I went and patched it up, and added a couple of things I must've left out the first time.





You can customize the game and area scale in the Settings menu within the GUI.
To bring up the GUI, bind it to a key in your controls.

GitHub repository || Download

96
Suggestions & Requests / Allow numbers in Gamemodes
« on: March 08, 2015, 08:24:15 PM »
Code: [Select]
ERROR: Invalid add-on 'Gamemode_Crumbling_Arena_2' specified for game mode 'Add-Ons/Gamemode_Crumbling_Arena_2/gamemode.txt'
BackTrace: ->ServerSettingsGui::clickLaunchGame->createServer->onServerCreated->loadGameModeAddOns

It works fine when "2" is changed to "Two"

>:(

97
General Discussion / Blockland Speedrunning (gamemode 4-v21)
« on: March 06, 2015, 06:06:03 AM »
http://www.speedrun.com/Blockland_Retail

I set this up tonight, gamemode needed and all.

I attempted to get rules as close as possible to what I've seen in other games on SDA - no outside modifications, nothing except defaults (and the gamemode for verification purposes). That way we know no one's cheating.
Can we mention the launcher override?

Leaderboards will be updated there, and run submissions go there as well.
The required gamemode is on the Resources page.



CATEGORIES
  • v21 Tutorial Any%: Beat the tutorial.
  • v21 Tutorial Any% No OoB: Beat the tutorial, but stay inside the walls.
  • v20 Tutorial Any%: Beat the tutorial (v20).
  • v20 Tutorial Any% No OoB: Beat the tutorial, but stay inside the walls (v20).

(v20 doesn't have the addon yet, I'll get around to it.)

RULES
  • Do NOT use the F7/F8 warp.
  • Use a CLEAN, DEFAULT INSTALLATION of Blockland. (I need to figure something out for you Steam users, I think)

GAMEMODE CRC: 702621873
https://dl.dropboxusercontent.com/u/263344104/Gamemode_Tutorial_Speedrun.zip



If you guys have any decent challenge saves, I can add those in as individual level categories as well.

(I'm gonna do some attempts when I wake up and stuff, it's late and I need sleep)

98
Modification Help / TheBlackParrot's Add-ons [free / open-source]
« on: March 06, 2015, 01:37:41 AM »
http://theblackparrot.github.io/
I'd update this more than the old OP, figured I'd replace it.



Available for use:
  • Brickochet
  • Chat Customizer
  • Cloud Preferences
  • Crumbling Arena 2
  • Custom Master Server Support
  • Custom Server Command System
  • IRC Bridge
  • Minesweeper GUI
  • Mining / Mining GUI
  • Music Player GUI
  • Qbe
  • XPM Support



5/22/15 17:43 - Crumbling Arena 2 now has a dev branch, starting at version 0.3.2-2
5/22/15 01:42 - added Qbe at version 1.0.0-1, some of these have approximate versions, but I do believe they were all stable enough to consider beyond a v0 version
5/22/15 01:26 - added the chat customizer at version 1.0.0-1, remains unchanged from the Bitbucket source files.
5/22/15 01:00 - added the music player i'm unfortunately known for, at version 1.0.0-1. remains unchanged from the version on Swollow's RTB archive.
5/22/15 00:34 - added the IRC bridge to the project list, at version 0.0.7-1. still heavily in development.
5/21/15 23:20 - currently pulling older projects out of git backups, like the chat customizer, IRC bridge, etc.

99
Creativity / Non-BL/game programming projects
« on: March 05, 2015, 02:23:36 AM »
I'm curious to see some of the things you guys have made; I couldn't find a megathread for stuff like this.
Post some non-game projects, or game addons you've made or are actively working on. Full games go to the game design megathread.

I'll throw in a couple of my own things
I mostly have an idea as to what I'm doing, if the code looks bad I'm sorry D:

pos7d is/was an attempt at creating my own forum software. I'll give a link to a demo through PM to avoid advertising it and other bad things/etc.

Simple Starbound bookmarker; it's intended for local use. (like don't host this on a public facing address)

I wanted to make a file explorer as nginx (iirc) doesn't come with one by default. (PM for demo)

I wanted to attempt to see if I could replicate a Blockland master server, but I'm not sure I should link it here. If it's safe I'll edit this post.

One of my first huge projects was to replicate and add some of my own twists to an image booru. 3_126 is the result of that. I don't host a demo for it unfortunately.
found a screenshot before I abandoned it for whatever reason (warning: SFW furries)

Also forgot Strimmer, a project my boyfriend and I have been working on for a while now. It's a collaborative internet radio stream that uses cloud services (SoundCloud, Jamendo, etc.).
We both actively use it, I'll give links to everything via PM.

100
Code: [Select]
if(!$Platforms::HasInit) {
new SimGroup(BrickGroup_Platforms : BrickGroup_888888);
mainBrickGroup.add(BrickGroup_Platforms);
}

function loadLayout(%which) {
// blockland pls
// let me set commands to simsets
// pls
%this = PlatformLayouts;

PlatformAI.loadingLayout = 1;
%group = BrickGroup_Platforms;
%group.deleteAll();
messageAll('',"\c4AI: \c6Loading a new layout...");

if(!%which) {
if(%this.currentLayout $= "") {
%this.currentLayout = 0;
} else {
%this.currentLayout++;
}
if(%this.currentLayout > %this.getCount()) {
%this.currentLayout = 0;
}
%which = %this.currentLayout;
}
$LoadingBricks_BrickGroup = BrickGroup_Platforms;
$LoadingBricks_Client = -1;
$LoadingBricks_ColorMethod = 3; //should always be 3
$LoadingBricks_FileName = %this.getObject(%which).file;
$LoadingBricks_Silent = true;
$LoadingBricks_StartTime = getSimTime();
ServerLoadSaveFile_Start(%this.getObject(%which).file);
}

package FallingPlatformsLayoutPackage {
function fxDTSBrick::onLoadPlant(%this) {
parent::onLoadPlant(%this);

if(PlatformAI.loadingLayout) {
BrickGroup_Platforms.add(%this);
}
}

function ServerLoadSaveFile_End() {
parent::ServerLoadSaveFile_End();

if(!$Platforms::HasInit) {
gatherLayouts();
loadLayout(getRandom(0,PlatformLayouts.getCount()-1));
if(isFile("config/server/Platforms/leaderboard.cs")) {
exec("config/server/Platforms/leaderboard.cs");
}
$Platforms::HasInit = 1;
return;
}
if(PlatformAI.loadingLayout) {
PlatformAI.loadingLayout = 0;
PlatformAI.schedule(200,reset);
}

echo("GETTING PLATFORM BRICKS");
gatherPlatformBricks();
echo("GETTING PROJECTILE BRICKS");
schedule(500,0,gatherProjectileBricks);
}
};
activatePackage(FallingPlatformsLayoutPackage);

With in-game hosting, this works fine.
Dedicated servers however, bricks loaded through this on the first time it's called are put into BrickGroup_888888, even though I explicitly said to put them into BrickGroup_Platforms (the game reacts fine to this, again it works perfectly fine if it's not dedicated).

PlatformAI.loadingLayout during this time is 1, I've made sure.
BrickGroup_Platforms does exist the first time it's called.
Layouts are loaded after the initial loading of save.bls.

EDIT 1: BrickGroup_Platforms isn't added to mainBrickGroup, delaying it to the next frame also does nothing.
EDIT 2: Making sure BrickGroup_Platforms is added to mainBrickGroup before loading does nothing to help, but it's now in mainBrickGroup.

101
Modification Help / I need help figuring out a way to thwart a bot
« on: February 25, 2015, 12:57:07 PM »
So I've got a player on my Falling Platforms server that has coded a bot, and I'd like to be able to not blacklist them, ban them, etc. Killing them is what I want to do upon detection of a bot being used.

  • Not sending the color tag with the message indicating the color will not work, they can still grab the word
  • Using a different word and a color will not work as some indication will still need to be sent. They can grab that and detect what color was actually chosen
  • Hiding random numbers and symbols in the center print will not work, there's no alpha for <color:xxxxxx>
  • Firing a function at the start of each round a few times to detect linearity of rotation will not work, as they can randomize their rotation to seem human-like
  • Firing a function at the start of each round a few times to detect when they start rotating or moving will not work, as they can delay their movements
  • Seeing how fast a player looks at a plate will not work, they don't have to look at one.

Any other ideas I could try?

102
Music / boredom loop dump [added 8 feb. 25]
« on: February 19, 2015, 11:31:44 PM »
Dumping here the music I loop when I have nothing better to do. I'll take requests too, I suppose.

All loops are OGG VBR Q0 @ 32kHz with aoTuV patches to allow for slightly better quality at lower bitrates.

#
Link
Date
1
https://dl.dropboxusercontent.com/u/263344104/loops/Deadmau5_-_I_Remember_(Dave_All_The_Rave_Remix).ogg
[2/19]
2
https://dl.dropboxusercontent.com/u/263344104/loops/gorestuff_-_fine_night.ogg
[2/19]
3
https://dl.dropboxusercontent.com/u/263344104/loops/gorestuff_-_looming_shadow_of_a_tree_long_gone.ogg
[2/19]
4
https://dl.dropboxusercontent.com/u/263344104/loops/gorestuff_-_o'er_the_flood.ogg
[2/19]
5
https://dl.dropboxusercontent.com/u/263344104/loops/gorestuff_-_the_nature_of_dying.ogg
[2/19]
6
https://dl.dropboxusercontent.com/u/263344104/loops/gorestuff_-_how_things_went_wrong.ogg
[2/19]
7
https://dl.dropboxusercontent.com/u/263344104/loops/KSGR_x_LETS_JAKK_-_Where's_The_Love.ogg
[2/19]
8
https://dl.dropboxusercontent.com/u/263344104/loops/Madeon_-_Cut_The_Kid.ogg
[2/19]
9
https://dl.dropboxusercontent.com/u/263344104/loops/Madeon_-_Icarus.ogg
[2/19]
10
https://dl.dropboxusercontent.com/u/263344104/loops/Madeon_-_Imperium.ogg
[2/19]
11
https://dl.dropboxusercontent.com/u/263344104/loops/Madeon_-_Technicolor.ogg
[2/19]
12
https://dl.dropboxusercontent.com/u/263344104/loops/Madeon_feat_Kyan_-_You're_On.ogg
[2/19]
13
https://dl.dropboxusercontent.com/u/263344104/loops/MNEK_-_The_Rhythm_(Tontario_Remix).ogg
[2/19]
14
https://dl.dropboxusercontent.com/u/263344104/loops/OMFG_-_Hello.ogg
[2/19]
15
https://dl.dropboxusercontent.com/u/263344104/loops/44000_-_the_good_kids.ogg
[2/21]
16
https://dl.dropboxusercontent.com/u/263344104/loops/44000_-_Turn-Up_Tagaq.ogg
[2/21]
17
https://dl.dropboxusercontent.com/u/263344104/loops/44000_-_WHITE_BALLS.ogg
[2/21]
18
https://dl.dropboxusercontent.com/u/263344104/loops/44000_-_pumpmycrunkbeetz.ogg
[2/21]
19
https://dl.dropboxusercontent.com/u/263344104/loops/44000_-_S_O_O_S.ogg
[2/21]
20
https://dl.dropboxusercontent.com/u/263344104/loops/MDK_ft_Nick_Sadler_-_Phoenix_(Rocket_entrepreneur _Remix).ogg
[2/21]
21
https://dl.dropboxusercontent.com/u/263344104/loops/Hans_Zimmer_-_Interstellar_(Paul_Oakenfold_Remix).ogg
[2/21]
22
https://dl.dropboxusercontent.com/u/263344104/loops/Odesza_-_All_We_Need_(Haywyre_Remix)_(pre-drop).ogg
[2/21]
23
https://dl.dropboxusercontent.com/u/263344104/loops/Subtact_-_My_Heart.ogg
[2/21]
24
https://dl.dropboxusercontent.com/u/263344104/loops/Coyote_Kisses_-_Revive.ogg
[2/21]
25
https://dl.dropboxusercontent.com/u/263344104/loops/Coyote_Kisses_-_Sunny_Day.ogg
[2/21]
26
https://dl.dropboxusercontent.com/u/263344104/loops/Fox_Stevenson_-_High_Five_(Guillotine_Remix).ogg
[2/21]
27
https://dl.dropboxusercontent.com/u/263344104/loops/Deadmau5_-_Some_Chords_(Valzugg_and_Elect_Remix).ogg
[2/21]
28
https://dl.dropboxusercontent.com/u/263344104/loops/Verest_-_With_You.ogg
[2/21]
29
https://dl.dropboxusercontent.com/u/263344104/loops/Jack_Howes_-_Break_Again.ogg
[2/21]
30
https://dl.dropboxusercontent.com/u/263344104/loops/Gramatik_-_Straight_Off_The_Block.ogg
[2/21]
31
https://dl.dropboxusercontent.com/u/263344104/loops/Au5_-_Reiteration.ogg
[2/25]
32
https://dl.dropboxusercontent.com/u/263344104/loops/Markus_Hakala_-_Fallen_Leaves.ogg
[2/25]
33
https://dl.dropboxusercontent.com/u/263344104/loops/Middle_-_Girl.ogg
[2/25]
34
https://dl.dropboxusercontent.com/u/263344104/loops/kitty_-_MISS_U_(Jai_Wolf_Remix).ogg
[2/25]
35
https://dl.dropboxusercontent.com/u/263344104/loops/Phoebe_Ryan_-_Mine_(Illenium_Remix).ogg
[2/25]
36
https://dl.dropboxusercontent.com/u/263344104/loops/Elenne_-_Ruthless_Bloom.ogg
[2/25]
37
https://dl.dropboxusercontent.com/u/263344104/loops/SirensCeol_x_Aloma%20Steele_x_Al_-_405.ogg
[2/25]
38
https://dl.dropboxusercontent.com/u/263344104/loops/Darude_-_Sandstorm_(Didrick_Remix).ogg
[2/25]

103
Off Topic / I stream speedruns of Duke Nukem 3D if anyone wants to watch
« on: February 18, 2015, 03:58:06 PM »
http://twitch.tv/theblackparrot

I hold the record for 100S, which is what I run.

104
Modification Help / Crash with Vehicle::onRemove
« on: February 16, 2015, 02:53:51 AM »
Code: [Select]
package GoKartPackage {
function VehicleData::onEnterLiquid(%data, %obj, %coverage, %type) {
Parent::onEnterLiquid(%data, %obj, %coverage, %type);

if(isObject(%obj.lastTouched)) {
%selection = %obj.lastTouched;
%x = getWord(%selection.getPosition(),0);
%y = getWord(%selection.getPosition(),1);
%z = getWord(%selection.getPosition(),2);
%z_add = %z + %selection.getDatablock().brickSizeZ/6;
%rot = getWord(%obj.lastTransform,6);

%obj.setVelocity("0 0 0");
%obj.setTransform(getWords(%obj.lastTransform,0,2) SPC "0 0 1" SPC %rot);
%obj.setVelocity("0 0 0");
} else {
// something has gone wrong, just explode them.
%obj.finalExplosion();
}
}

function GameConnection::spawnPlayer(%this) {
parent::spawnPlayer(%this);
for(%i=1;%i<=42;%i++) {
%brick = "_vehicle_spawn" @ %i;
if(!%brick.isUsed) {
%brick.isUsed = 1;
%brick.setVehicle(SpeedKartclassicgtVehicle.getID());
%this.player.delete();
%this.player = %brick.vehicle;
%this.setControlObject(%brick.vehicle);
return;
}
}
}

function Vehicle::onRemove(%this) {
%this.dump();
%this.spawnBrick.isUsed = 0;
%client = %this.getControllingClient();
%client.setControlObject(%client.Camera);

parent::onRemove(%this);
}
};
activatePackage(GoKartPackage);

Upon landing in water (should default to the else part), Blockland crashes.
If everything in onRemove is commented out, minus the parent, it's fine. What's going on?

105
https://www.youtube.com/watch?v=9D3Vy_uY8Yk

I do fully plan on expanding this much more into a full-fledged gamemode, and I'll take suggestions.
https://github.com/TheBlackParrot/blockland-racing

Pages: 1 2 3 4 5 6 [7] 8 9 10 11 12 ... 27