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

Pages: 1 ... 244 245 246 247 248 [249] 250 251 252 253 254 ... 780
3721
Off Topic / Re: Had a bad day today
« on: December 11, 2013, 07:00:30 PM »
Unless you have medically diagnosed sleep disorders, this is a product of your sleep schedule slowly shifting.

The simple solution is to go to sleep half an hour or an hour earlier every night until it's fixed. If you find you can't do it, do something exhaustive like exercise a few hours before.

I personally get 6-7 hours of sleep a night. I've never fallen asleep in class, though I've come close a few times. Just show her you're paying attention and you want to learn. She will be willing to offer you some catch-up then.

3722
Off Topic / Re: Someone called the cops on my girlfriend just now
« on: December 09, 2013, 11:42:35 PM »
yes, keeping people from ending their lives irrationally is stupid.

3723
Off Topic / Re: Google Glasses came, and I got 3 invites. Raffle timee!
« on: December 09, 2013, 09:04:49 PM »
sounds cool. can you make it do stuff with your eyes?

3724
i've used OBS a little bit. it seems to work well.

3725
looks like an s2.

the price is pretty unbelievable. i got a used t-mobile nexus 4 for like $225, and that was the cheapest I could get it. It has a crack on the back (the back is some sort of glass) but I have a case so it doesn't really matter. Good phone, but I don't recognize the one from the picture.

3726
Actually, cat 5 cables have a cap of 100mb/s I believe, and they are considered low end.

3727
backup all your important data. if you missed it, you will have the option to reinstall windows

3728
General Discussion / Re: Wrecking Ball- Blockland Parody
« on: December 05, 2013, 10:13:23 PM »
vfx could have been better. i think you could have managed some better physics, too.

3729
Help / Re: Blockland sounds disproportionately louder than others
« on: December 05, 2013, 12:23:31 AM »
Perhaps there's some sort of way to have Windows normalize audio before sending it off to your headphones? I'm not really sure how computers handle sound/what the soundcard is for

3730
Add-Ons / Re: RTB ID Lookup
« on: December 04, 2013, 05:29:23 PM »
more planned changes:
change isDigit to utilize mFloor
Name History

thank you sentry and advanced bot

3731
Add-Ons / Re: RTB ID Lookup
« on: December 04, 2013, 12:22:32 AM »
Your main code does messageAll, it tells EVERYONE on the server.
Okay. I'll add a pref to switch between messaging all/client who triggered.
you need to put in timeouts

i dont give a stuff who can run it, it needs timeouts for everyone except maybe the host himself.

literally just like 5 seconds by default with preferences to make it custom lengths

also i've never heard of "isDigit" before. is it default?
okay, okay. i will add that as well. isDigit is something i wrote. the name is a bit off; it basically checks if the passed value is entirely numerical.

edit: how to i rtb prefs

3732
Add-Ons / Re: RTB ID Lookup
« on: December 03, 2013, 09:47:10 PM »
Why is it nested? Does it still execute?
+ Server_idLookup > Server_idLookup


Seeing from part of the code, this can be spammed.

EDIT:

Forgot -You can set timeouts on the command and the chat, using a main function.

Something like this can help:

function serverCmdMessageSent(%client,%message)
{
   if(getWord(%message,0) $= "id" && %client.isSuperAdmin)
   {
      RTB_LookUpID(%client,getWord(%message,1));
      $nameFound = 0;
   }
   return Parent::serverCmdMessageSent(%client,%message);
}

function serverCmdLookupId(%client,%id)
{
   RTB_LookUpID(%client,%id)
}

function RTB_LookUpID(%client,%ID)
{
   if(!isObject(%client)) return; //Does it exist?
   if(%client.getClassName() !$= "GameConnection") return; //Is it a client?
   if(%ID=mFloor(%ID) <= 0) return; //Is it even a full number?
   if(!%client.lastLookUp) //Does the var even exist?
      %client.lastLookUp = getSimTime();
   else if((getSimTime() - %client.lastLookUp) <= 3000) //1000ms = 1s : 3 seconds
      return messageClient(%client,'',"\c6You can't lookup an ID that fast!");
   %client.lastLookUp = getSimTime();
   messageAll('',%client.getPlayerName() @ "\c6 has looked up an ID. (" @ %ID @ ")");
   httpPage.get("http://forum.returntoblockland.com/list.php?cmd=view&id=" @ %ID);
}

in reply to your edit, i felt i didn't need to add a timeout for it checks if you are superadmin. hopefully your chat isnt being spammed by your own admins. also, it already checks if it's a full number with isDigit

3733
Add-Ons / Re: RTB ID Lookup
« on: December 03, 2013, 09:37:55 PM »
oh shoot, it's nested? let me fix it and rehost it
edit: fixed

3734
Add-Ons / Re: RTB ID Lookup
« on: December 03, 2013, 08:41:52 PM »
fair enough then. client-sided is cancelled!

3735
Add-Ons / Re: RTB ID Lookup
« on: December 03, 2013, 07:57:03 PM »
It does? Woops. Link?


Pages: 1 ... 244 245 246 247 248 [249] 250 251 252 253 254 ... 780