Author Topic: RTB Development  (Read 385328 times)

Perfect thanks, this is the same issue Chrono reported.

Try this, it should fix it: http://dl.dropbox.com/u/925054/files/System_ReturnToBlockland.zip

Code: [Select]
getSubStr(...): error, starting position and desired length must be >= 0: ("<us",1, -2)
BackTrace: ->RTBCC_Socket::onLine->XMLParser::bufferData
What the hell is this?



Yeah guys the IRC is awesome


Any news on if Badspot will add support for MOUSE5 so Mod Manager can use MOUSE4/5 for back and forth?


Could we eventually have personalized friend requests, specifically, a custom message sent with the request? I get friend requests from random people I'm not sure if I know, and accepting it just so I can ask why they sent it is a bit annoying.

It would also be nice to have some way of knowing if someone accepts messages from non-friends before I actually send them one.

Quote from: System_ReturnToBlockland/modules/client/infoTips.cs
$RTB::MCIT::Tip[$RTB::MCIT::Tips++] = "Did you know that you can double-click a person's name in the IRC to have a private chat with them?";
$RTB::MCIT::Tip[$RTB::MCIT::Tips++] = "Did you know you can type /me to perform an action in the IRC? For example /me gives a tip would be *Infomaniac gives a tip.";

Needs a little, tiny bit of updating.

Code: [Select]
//rtb functions.cs

//- isInt (determines whether or not a string contains an integer)
function isInt(%string)
{
%numbers = "0123456789";
for(%i=0;%i<strLen(%string);%i++)
{
%char = getSubStr(%string,%i,1);
if(strPos(%numbers,%char) $= -1)
return 0;
}
return 1;
}

Code: [Select]
===>echo(isint(-5));
0

aaaaaaaaaaaa

Code: [Select]
//not_rtb.cs
function isint(%x)
{
if(%x $= mfloor(%x))
return 1;
return 0;
}

Code: [Select]
==>echo(isint(-5));
1

Now that's more like it

Negative numbers are integers

edit:
also strings like 5.000
« Last Edit: November 06, 2011, 08:53:53 PM by Nexus »

Could we eventually have personalized friend requests, specifically, a custom message sent with the request? I get friend requests from random people I'm not sure if I know, and accepting it just so I can ask why they sent it is a bit annoying.

It would also be nice to have some way of knowing if someone accepts messages from non-friends before I actually send them one.
Yeah I would like this to, I get random requests. I'd like a reason :p

God damnit. Once again my RTB add-on groups have deleted themselves.

I still can't replicate a case that causes the groups to get deleted. It seems to be really obscure. Did you modify the groups recently prior to the deletion?

We the community should make up a bunch of stuff for then Infomaniac to say, that'd be awesome, we would have like 300 tips!