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 - M

Pages: 1 2 [3]
31
Help / Datablock loading crash - unknown cause
« on: March 01, 2009, 02:17:36 AM »
Okay, this is really strange. On some servers, I just crash a little from the end of datablock loading. There doesn't seem to be any particular cause for it.

Here's the last entered function before Blockland freezes up, with trace enabled:
Code: [Select]
Entering onDataBlockObjectReceived(925, 969)
   Entering onPhase1Progress(0.954592)
   Leaving onPhase1Progress() - return
And without trace, the last thing is;
Code: [Select]
Could not locate texture: Add-Ons/Weapon_Sniper_Rifle/yellow (will attempt to download)
Could not locate texture: Add-Ons/Weapon_Shotgun/yellow.png (will attempt to download)
Could not locate texture: Add-Ons/Weapon_Shotgun/red.png (will attempt to download)
This is on Slicksilver555's server, although it happens on others.

Does this happen to others, is it a known bug that I don't know of, etc. but most important, does anyone know how I would fix or prevent it?

32
Add-Ons / Client Event Saver
« on: February 22, 2009, 06:01:17 PM »
Event Saver
Yes, you heard right.

Description
That's right, a clientsided event saver.

Sick of remaking your custom door? I am, and if you are too, this is just for you!

Features:
- Controls located at bottom of events GUI
- Save and load your events from ingame
- Load events onto the end of your current events
- Browse the list of saved events
- Warns if overwriting an existing save:
  - Change $EventSaver::OverwriteAuto to 1 to disable this
- Simple as hell to use

Other:
If you want to save your events to somewhere other than config/client/eventSaves/, you can change $EventSaver::SavePath to another path (ie, you could change it to just "events/" to save in */Blockland/events/.

Credit to Truce for giving me the variables where event lists are stored clientside. Couldn't have done it without that.

Enjoy.

Screenshots

Download
Client_EventSaver.zip (Last Updated: Mon Feb 23, 2009 9:59 am)

Installation
Put Client_EventSaver.zip into the Add-Ons folder in your Blockland folder.

Click Here to view this file on the RTB Download Manager

33
Modification Help / Clientside Event Serialization
« on: February 19, 2009, 01:42:04 PM »
Well, I'm working on a clientside event saver (Me? Something useful?) and I've been thinking on this a lot...

I've done a few bits and pieces on it, and unless I can find some way to serialize the event on the client side, I don't think I'll be able to make any way to load them back into the dialog.

The basic synopsis is that I'm getting the values of all the parts of the event dialog; that is,
Code: [Select]
WrenchEvents_Box.getObject(eventid).getObject(0-x);In the order of Enabled, Delay, Input, Target, NT (if applicable), Output, and output parameters.

I need a way to convert those parameters into the format that clientcmdaddevent takes, on the client side. I know that the brick calls SerializeEvent(index) to send the event, but I won't be able to do that online.

Does anyone know of a way to find the event indexes from the names? I know all input and output events are stored in a list, but I'm unable to find that list - I found its count/s but cannot find the actual list.
I believe this list IS sent to clients, as I get errors occasionally of events already being registered when I open the event dialog.

If anyone knows where the event lists are, etc. then that would be very appreciated. I already have most other things done.

34
Modification Help / onPlant event - WHAT INSANITY IS THIS
« on: February 16, 2009, 12:02:03 AM »
Edit: I'm dumber than I thought, outputs need a client value to work.

I could solve this by passing a random client, or the host, or get the client from the brick's brickgroup - but then if I do it that way, onPlant events are only really called on bricks of people who are in the game when it's loaded. Hm. But that way is probably the best idea.

So, as it stands now:
Code: [Select]
package PlantEvent
{
function fxDTSBrick::onPlant(%brick)
{
Parent::onPlant(%brick);
%brick.schedule(33,"processInputEvent","onPlant",0);
}
function fxDTSBrick::processInputEvent(%brick,%event,%client)
{
if(%event $= "onPlant")
{
$inputTarget_Self = %brick;
%client = getBrickGroupFromObject(%brick).client;
}
Parent::processInputEvent(%brick,%event,%client);
}
};
ActivatePackage(PlantEvent);
registerInputEvent(fxDTSBrick,"onPlant","Self fxDTSBrick");

And while we're here, see if anyone can figure out HOW this is useful. I know how it is; can anyone else follow my somewhat deranged train of thought?

Also, in my mind:
33ms delay is to let the brick initiate it's events.
Defining $inputTarget_Self in the parented ::processInputEvent is so that it's calling the right brick.
Defining the client then is also to ensure that it's got the right values.

35
Ghostbuster
Who you gonna call?

Description
That's right, Ghostbusters is who you gonna call.

A handy little script that I felt was needed. Automatically removes a player's tempbrick X seconds (you can modify that) after they place/move/plant it.

If you don't use RTB on your server:
$Ghostbusters::Called - 0 or 1, whether or not to auto-clear tempbricks.
$Ghostbusters::Delay - 10-60 recommended. Delay in seconds.
If you use the RTB Server Control, the prefs are accessible in there.

It also adds /clearallghosts, which removes all ghost bricks (you need to be admin to use it).

New in V2:
 - Fixed a serious issue (breaking movement, this took ages for anyone else to notice and I can't believe I missed it) //Thanks Space Guy & Truce for pointing this out
 - Refreshes your brick timeout when you change bricks //Thanks Ephialtes for pointing this out

Download
Script_Ghostbuster.zip (Last Updated: Mon Feb 09, 2009 4:07 am)

Installation
Put Script_Ghostbuster.zip into the Add-Ons folder in your Blockland folder.

Click Here to view this file on the RTB Download Manager

36
Add-Ons / Agile Playertype
« on: January 26, 2009, 12:04:18 PM »
Agile Player
Walljump and wallclimb in MY Blockland? It's more likely than you think.

Description
The Agile Player is like a Parkour player; you can climb up and jump off walls, with simple controls and no clientside code.

How to use it:
Blah blah enable.
To use a wall, you need to be facing it, and very close to it.
Hold in your Jet button.
Jump. If you're facing more up than down, you'll climb up the wall. If you're facing more down than up, you'll jump off the wall.
It's not limited how many times you can climb up a wall, or how many times you can walljump. You can tictac from wall to wall infinitely and climb as high as you want.

It's also datablock extendable; to set it so your datablock can climb, use these three values:
canClimb - Whether or not this datablock can use the wallclimb/walljump functions.
wallJumpVel - the velocity your player jumps off a wall with, horizontally.
wallClimbVel - The velocity your player moves up a wall with, when climbing or jumping.

Enjoy. I hope to see some interesting use for this, although I doubt I will.

Changes in v2:
 - onClimb and setClimbable events. Please note that climbability won't save; you'll have to make it refresh what is not climbable manually.
 - Changed the location that the wall check is made from. Much easier to climb.
 - Added hold; left click while able to climb a wall and you will stay there until you release jet, or left click again (or climb on the wall). Yes, you can use tools while holding.

If you downloaded from the alternate download, please download from here again to reacquire the RTB datafile; I forgot to add it in the alternate version.

Download
Player_Agile.zip (Last Updated: Fri Jan 30, 2009 12:38 am)

Installation
Put Player_Agile.zip into the Add-Ons folder in your Blockland folder.

Click Here to view this file on the RTB Download Manager

37
Gallery / The Basin
« on: January 24, 2009, 05:14:00 AM »
A landscape build. Uhh, another one.


Uses the 2x Cube custom brick. That's all I think.



Time spent: Like four hours
Duplicator: On the trees, nothing else obviously
LSG: forget no
Other Credits:
 - Paradox, for miscellaneous help, the tree and some other stuff. (Sorry I removed your house)

IMEGS

The waterfall.


The entrance to the tunnel.


The top of the mountain (You can see the stairs :O)



Overview from the top of the mountain.

Other images:
http://users.d2k5.com/Theorem/files/Basin_2.png
http://users.d2k5.com/Theorem/files/Basin_3.png
http://users.d2k5.com/Theorem/files/Basin_4.png
http://users.d2k5.com/Theorem/files/Basin_6.png
http://users.d2k5.com/Theorem/files/Basin_7.png
http://users.d2k5.com/Theorem/files/Basin_8.png
http://users.d2k5.com/Theorem/files/Basin_9.png
http://users.d2k5.com/Theorem/files/Basin_11.png
http://users.d2k5.com/Theorem/files/Basin_12.png
http://users.d2k5.com/Theorem/files/Basin_13.png
http://users.d2k5.com/Theorem/files/Basin_14.png
http://users.d2k5.com/Theorem/files/Basin_16.png

Don't ASK if you can rate. Don't rate without saying why either. I really don't care about your opinion unless you present some valid points.

Oh, it's like 10800 bricks or something, I forget. Started it on Tezuni's server and did a bit of work on it in Singleplayer. And those glowing red rounds on poles are Hookshot targets - they have an OnPlayerTouch->Player->SetVelocity[0 0 -1] event on them to help stop you from bouncing off.

Oh, and yes, this is Clockturn (ID 4332) from ingame, not that M guy. M is my OLD name from like my first two weeks.

38
Okay, well I'm BASICALLY whining about this. I don't often so bear with me, I dunno if I'll seem amateurish.

First thing's first - the name. Now using a clan tag for an ingame-only clan (yeah, I did some research, since Cucumberdude is always afk ingame) is kind of pointless. And the tag itself, when it comes to CityRP, is deceptive. iB? iBan. Well, IBan or Iban or whatever the forget his capitalization is. I thought it was his until I realized that Quality was misspelled.

Now, onto the first things I realized when I joined it.
EVERY. loving. VEHICLE. EVER. Helicopters. A bus. All sorts of stuff. Spells. The Penetrator. So many mods. I was expecting to download some 22 songs as well but I thought that it might be worth the wait... because of the welcome message. Something to do with "build artfully".

So, I went and got me a sammich. (it was loving delicious by the way). When I came back, I was about to start loading objects, so I sat down and was looking forward to seeing maybe some nice architecture or unique buildings. And what did I get? well, the first thing I noticed when I spawned was the lack of architecture. In fact the spawn house was a plain white house with a 1x4x5 window every 4 bricks. Of course those four bricks were 1x1x5s. Then I moved and suddenly my chat is being spammed at a million miles an hour with "Camera in Static Mode. Press the light key to exit camera mode."

Now I don't know if that was a badly installed mod, but that seems unlikely. The other choice is that the spawn house actually has an event to forget your chat over. And it doesn't end there. When you activate your light it teleports you back to the damn spawn. Okay, no biggie, just leave the spawn hut, right? Wrong!! No, you attempt to open the door, but it doesn't open. You touch it and it repeatedly burns and tumbles you.

Well, some kind soul, or poor soul, depending on your perspective. Maybe he was there from before. Anyway he busted me and someone else out of the spawn hut using his tank, and practically nothing had any variance. There was a 2x1x1 hut, a longass highway, and apparently some kind of player-deleting road or something. All I know is that it did that hall of mirrors effect and then I left.

The only other thing is the tick rate. In the time I spent walking between two cities along the road, I accumulated $240. That's 6 ticks. I believe that would put the tickrate at 30 seconds or 1 minute.

So. Quality? I think not. Cucumberdude, I expect you to read this. Clean your server up man, it's worse than Zuul's. I can tell you're not an idiot from the quality of your forum posts. It's a pity your server isn't of that caliber.

Also:
OH LAWWW-DEE.

39
Modification Help / Checking to see if a string is a hex code?
« on: October 22, 2008, 05:08:15 AM »
Is there any way to see if a string is a valid hex code, ie. contains only 0-9 A-F? It's not really something that bears a great deal of explanation.

RE-loving-ZOLVED.

40
Gallery / Clock's RotB App - Ascetic's Home (update 1)
« on: September 16, 2008, 02:27:32 PM »
First off, no, I do not know the exact meaning of the word Ascetic nor do I really care, it just sounds cool but is probably wrong for this. That having been said I will now proceed to post about five megs of pictures followed by some random statistics and stuff.

Newer pictures are available.
Here


Front from outside. I don't really like the door color, I'd like a slightly more light-brown than cream, but this is on the default colorset.

Exterior, one back corner.

Exterior, other back corner and yard.

Interior, entrance hall and bookcase.

Interior, stairs and table.

Interior, living area from kitchen.

Interior, bedroom with bed that I realized while taking the screenshot looks like crap and I will probably wand it when I wake up and make it better. Or something, I dunno, but I just had a caffeine crash that was like a punch to the temple.

Interior, shrine to something-or-other. Probably PHP tags but I lacked space to put in <?php and /?> or whatever they were...

Interior, stairs from top.

Exterior, useless roof view I took by accident.

All screenshots are 800x600 resolution (what I play at) on medium-low settings, taken as a 2x Megashot and resampled from 1600x1200 back to 800x600.
Brick counts: 2602 unfurnished, 2974 furnished (372 total bricks of furniture)
Total time spent: About two hours, including a break for snacks and time spent sitting on top of it talking to people.

The house itself is based off a previous design I made while bored and I'll probably add an apple tree to this one like I did with the last (my very first srs tree) - somewhere on that giant empty stretch of green in front of the door, along with maybe a little path and some other stuff like a vine in the yard and a canvas over the balcony area, or something... it'll get worked on, either way, regardless of acceptance.
I'll be off to the dedicated to clear and reload it then (since Slick forgot to remove my auto-super >_> I cleaned all other stuff out of the save) before I go and pass out.


Feel free to rate, since saying "LIEK OMGMG DUN RATE I CANT TAKE CRITIZICM" is basically throttling your right to have an opinion.


Giant rant entirely unplanned. Best regards, Clockturn (BLID 4332, if it's needed).


Oh, and what happened to Reformist's beach on the Dedicated? It got eated D:

41
So, how would that be done? Is there a variable for the datablock of the client's tempbrick?
(What's the bet that it's %client.tempbrick and my lack of effort to start BL is causing a useless topic)

42
Modification Help / Function for when the server closes?
« on: July 30, 2008, 06:48:55 AM »
Topic explains it all. What function would I parent to make it do something when the server closes?
I've looked through a few things and found pretty much nothing :(

43
Off Topic / helol I'm absolutely delirious.
« on: June 17, 2008, 04:40:47 PM »
Hey, you'd be pretty screwed too if you hadn't slept since the 14th, and had been eating nothing but jam sandwiches and cornflakes for three weeks.
Being poor sucks.
Don't do it.
Ever.

Pages: 1 2 [3]