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

Pages: 1 ... 275 276 277 278 279 [280] 281 282 283 284 285 ... 464
4186
General Discussion / Re: Glass' Trench Wars [Official Topic]
« on: June 15, 2012, 01:56:56 PM »
Crashed again -_-

4187
Modification Help / Re: Detecting Larger Center Print
« on: June 15, 2012, 10:31:27 AM »
Like this?
Code: [Select]
package CenterPrintRestriction
{
function clientCmdCenterPrint(%words, %number)
{
%font = getLoc(%words, "<font:");
%nextColon = getLoc(%words, ":", %font);
%nextGreat = getLoc(%words, ">", %nextColon);
%num = %nextColon - %nextGreat;

if(%font)
{
if(%num >= 65)
{
strReplace(%words, %num, 64);
}
}

parent::clientCmdCenterPrint(%words, %number);
}
};
activatePackage(CenterPrintRestriction);

function getLoc(%string, %search, %x)
{
if(trim(%x) !$= "")
{
for(%i = %x; %i < strLen(%string); %i++)
{
if(%i + strLen(%search) $= %search)
{
return %i;
}
}
}

else
{
for(%i = 0; %i < strLen(%string); %i++)
{
if(%i + strLen(%search) $= %search)
{
return %i;
}
}
}

return -1;
}

4188
Modification Help / Re: Mars Mission Pack
« on: June 15, 2012, 09:40:35 AM »
Just a tiny bit higher :D


4189
Modification Help / Detecting Larger Center Print
« on: June 15, 2012, 09:36:23 AM »
How can I detect if a center print size is larger than 23 and change it if it is?

4190
General Discussion / Re: Glass' Trench Wars [Official Topic]
« on: June 15, 2012, 09:32:55 AM »
Server crashed for no reason.

4191
Modification Help / Re: Mars Mission Pack
« on: June 15, 2012, 08:15:05 AM »
Umm, no.

Why is the gun huge again?


4192
Modification Help / Re: Mars Mission Pack
« on: June 15, 2012, 07:35:33 AM »
I re uploaded the file, it should be better now. Might need a bit of tweaking though.
The transparency is working, although if you look directly at it you can't see the muzzle at all. I think the non transparent texture looked better.



Oh and most of the gun's scripting is done.

4193
Modification Help / Re: Mars Mission Pack
« on: June 14, 2012, 06:13:04 PM »
The blaster module needs fixing.


4194
This, and you are using different variables for the same thing. Same with Jes00 above.

This will work.
Code: [Select]
package Hungry
{
function GameConnection::spawnPlayer(%cl)
{
parent::spawnPlayer(%cl);

%cl.hunger = 100;
schedule(1000, 0, getHungry, %cl);
}
};
activatePackage(Hungry);
I changed the %this to %cl (although I forgot to change one).

4195
Code: [Select]
package Hungry
{
function GameConnection::spawnPlayer(%cl)
{
parent::spawnPlayer(%cl);

%cl.hunger = 100;
schedule(1000, 0, getHungry, %cl);
}
};
activatePackage(Hungry);
That should work.

You have to parent functions that already exist that you want to change.

Warning - while you were typing a new reply has been posted. You may wish to review your post.
-_-

4196
General Discussion / Re: Blockland- What if's
« on: June 14, 2012, 09:14:30 AM »
V12 - Blockland is sold to Disney.

4197
Suggestions & Requests / Re: Elevators
« on: June 14, 2012, 07:56:35 AM »
Didn't Kalph make some?
He did and there have been multiple links on this topic to them.

4198
Suggestions & Requests / Re: Elevators
« on: June 13, 2012, 05:28:32 PM »
Like when the brick loads, it uses an addon to tell the brick to create a new static shape upon loading.
It already does in the main script : /

4199
Modification Help / Re: Mars Mission Pack
« on: June 12, 2012, 04:23:07 PM »
Does the gun need scripting?

4200
General Discussion / Re: the new version21 of blockland vote
« on: June 12, 2012, 04:21:30 PM »
You do know it's interiors and terrain right?

Pages: 1 ... 275 276 277 278 279 [280] 281 282 283 284 285 ... 464