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 - Fluff-is-back

Pages: 1 ... 119 120 121 122 123 [124] 125 126 127 128 129 ... 147
1846
Modification Help / Re: "/" command help
« on: January 08, 2011, 03:50:00 PM »
Code: [Select]
$remapDivision[$remapCount] = "Section Title";
$remapName[$remapCount] = "Bind Title";
$remapCmd[$remapCount] = "function";
$remapCount++;

Would make a keybind Called Bind Title under Section Title that when activated will execute the command: function();

If you wanted to add two binds to the same section:

Code: [Select]
$remapDivision[$remapCount] = "Some Section";
$remapName[$remapCount] = "Bind1";
$remapCmd[$remapCount] = "function";
$remapCount++;
$remapName[$remapCount] = "Bind2";
$remapCmd[$remapCount] = "function";
$remapCount++;

1847
Suggestions & Requests / Re: A multi mission server
« on: January 08, 2011, 04:51:27 AM »
You would still have to load both missions every switch.
It would be easier to use Xserver, No changing maps, though.

where you could actually be able to travel between the kitchen and the bedroom without leaving/joining new server.

1848
Modification Help / Re: "/" command help
« on: January 07, 2011, 01:39:03 PM »
Code: [Select]
if($variable)
{
      //code to execute
}

1849
Modification Help / Re: "/" command help
« on: January 07, 2011, 05:27:47 AM »
edit: second pages exist.

1850
Modification Help / Re: Animated logo
« on: January 07, 2011, 05:22:39 AM »
Wouldn't a for loop run too fast?

1851
Modification Help / Re: Binary Transfer Corruption
« on: January 07, 2011, 05:20:27 AM »
No, I contacted Bauklotz on MSN and he gave me the guidance.

1852
Modification Help / Re: Binary Transfer Corruption
« on: January 06, 2011, 03:19:47 PM »
I fixed the problem by switching to Binary mode after the header. Thanks, Bauklotz

1853
Modification Help / Binary Transfer Corruption
« on: January 06, 2011, 07:53:45 AM »
I am having problems transfering images from my web server to a client; they are corrupted by the HTML header. When I open up the image in notepad the header is plain to see. Is there a way I can remove this from the transfer?

1854
Modification Help / Re: Blockland iPhone/iPod App?
« on: January 04, 2011, 03:21:57 PM »
I recall that there already is an app that specifically works with SMF.

EDIT: http://www.smfiphoneapp.com/

1855
Modification Help / Re: Animated logo
« on: January 04, 2011, 03:17:11 PM »
Believe in what?

1856
Modification Help / Re: Animated logo
« on: January 04, 2011, 12:10:35 PM »

1857
Modification Help / Re: Animated logo
« on: January 01, 2011, 04:51:01 AM »
im sure thats not possible
It isn't.

1858
Modification Help / Re: How to use HTTPObjects
« on: December 28, 2010, 05:02:33 AM »
It is used like this:
for example, if I wanted to execute Google.com/example.php
Code: [Select]
.get("google.com:80","/example.php");
If you need to run a php query such as: example.php?var=var
Code: [Select]
.get("google.com:80","/example.php","var=var");

However queries contaning '&' will not work.

1859
Modification Help / While loop Crash
« on: December 20, 2010, 05:23:08 AM »
Hi,
I have recently been experimenting with text files but this bit of code, when executed, just crashes the game.

Code: [Select]
function testFO()
{
   %fo = new FileObject();
   %fo.openForRead("config/test.cs");
   
   while(!%fo.isEOF)
   {
      %line = %fo.readLine();
     
      echo(%line);
   }
   %fo.close();
   %fo.delete();
}

Could someone please explain what is wrong with this?

1860
Modification Help / Re: Why does this error keep on coming up?
« on: December 19, 2010, 02:55:03 PM »
Both errors, top and bottom, are missing a right curly bracket. Please place one of those at the end of every function.  That should help.

Hope this helps!

The console often 'Chops' off the rest of the script on error reports. I assume there is one in the actual script.

Pages: 1 ... 119 120 121 122 123 [124] 125 126 127 128 129 ... 147