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.


Messages - !!hammerdwarf!!

Pages: 1 2 [3]
31
Modification Help / Re: Some questions.
« on: June 10, 2008, 08:03:16 AM »
1: $stuff::<put stuff here>
export("$stuff::*","filenameandpath"); when the server closes.

3: well, tree(); then find the datablocks would work, or %player.getdatablock().maxhealth I think.

32
Modification Help / Re: Defining?
« on: June 10, 2008, 08:00:40 AM »
You could look at the wrench events stuff, it saves it to a file.
Or, if you only want it during the time your server is up, save it in a global variable such as $playerore[%client.BL_ID]=%ore1 SPC %ore2....

Then use getword() to split it again after they rejoin.

33
Suggestions & Requests / Re: Limit of Bricks
« on: June 09, 2008, 09:37:56 PM »
Heres a potential core of the script.
If you like it, use it.

Code: [Select]
package whatever
{
    function servercmdplantbrick(%client)
    {
        if(isobject(%brick=%client.player.tempbrick)&&$pref::server::bricksCostMaterial)
        {
            if(%client.material<(%size=%brick.getdatablock().getvolume()))
            {
                messageclient(%client,"",'you need \c1"@<%size-%client.material@" \c1 more material to build this brick.");
                return;
            }
            else %client.material-=%size;
        }
        parent::servercmdplantbrick(%client);
    }
}

34
Games / Re: Join my game
« on: June 08, 2008, 05:52:43 PM »
What? you use gamemaker?
I am using plain old C!


Here, you can have it, since it is so small.



It has unresolved display code errors, but works well enough.

And just for proof, I'll throw in the source code too!
(note: compiled with mingw, controls are WASD to move, Q and E to turn, and space to jump, Z and X to look up and down)
resizing the window resizes the view padding the edges with black.
remove the .txt

35
Games / Re: The epic Project A!
« on: June 08, 2008, 05:39:11 PM »
Know what?

I have been somewhat opposed to this since before it went public. I still remember the RTB 1.045 server, talking to sigfig while sitting on a random mover...


Also, you don't need a scripter for this, you need a full team of univerity degree PROGRAMMERS to mod source.

I have semi-limited experience with single-file C, and source?
252 MB (265,174,916 bytes),3439 files, 130 folders.
And in addition to that, it is highly optimized to run faster at the cost of simplicity.


The people who made portal out of it must have been GENIUSES!


So I mark this project with the following phrase:

Abandon all hope, ye who is about to enter.

I don't remember where I heard that.

36
Off Topic / Re: Ctrl + V game.
« on: June 08, 2008, 05:23:40 PM »
 /\ |
| [||  //
 \/ |_[]__
   / _
  / / \
 /  \_/



yah, I copied it just for this post....
And view it in monospace!

37
Modification Help / Re: admin only scripting
« on: June 08, 2008, 04:56:17 PM »
You have to make sure that the uiname has been changed too.

38
Modification Help / Re: Unable to find players when killing a brick
« on: June 08, 2008, 04:54:57 PM »
I got it to work with while(isobject(%x = containerSearchNext()))
Anywhere in RTB uses while((%x = containerSearchNext()))

Try one of those.

Pages: 1 2 [3]