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

Pages: 1 ... 234 235 236 237 238 [239] 240 241 242 243 244 ... 570
3571
General Discussion / Re: Where are these V20 servers coming from?
« on: November 17, 2013, 10:11:19 PM »

3572
General Discussion / Re: -noconsole bug
« on: November 17, 2013, 08:41:55 PM »
He should get rid of the -noConsole option and add one called -console.

3573
General Discussion / Re: -noconsole bug
« on: November 17, 2013, 08:33:43 PM »
whats -noconsole?
I always just put the console behind the Blockland window...

It's a command line arg that does just what it says.

It works just fine for me, OP. I'm not sure what Badspot had to fix.

3574
Modification Help / Re: I cant exec in console!
« on: November 17, 2013, 08:13:34 PM »
Plus, if you have a file named main.cs in config, it automatically executes on launch, I believe before the client add-ons load? I used it to load the mission editor but you can also have it check launch parameters and such.
Wow, that loads before the base scripts even load. It must be left over from the old -mod parameter. Thanks.

3575
Suggestions & Requests / Re: Item Drops-No longer vanish?
« on: November 17, 2013, 07:06:46 PM »
Dropped items are static shapes, right?
No, they are items.

3576
Modification Help / Re: I cant exec in console!
« on: November 17, 2013, 07:05:27 PM »
If you are changing/executing zipped files on the fly, you need to do this first:
Code: [Select]
discoverFile("Add-ons/Player_Psyche.zip");
//OR
setModPaths(getModPaths());

However, I recommend doing all of your modding work using non-zipped folders. It makes executing changes much easier.

3577
Modification Help / Re: Make it impossible to manipulate an eval command?
« on: November 17, 2013, 07:03:05 PM »
You can't use string concatenation for creating objects. However, the client's BL_ID is guaranteed to be a number and not contained "s, so you can just use...

Code: [Select]
%oldName = %brick.getName();
%brick.setName("BrickToClone");
%so = eval("return new ScriptObject(Salvage_" @ %client.bl_id @ " : BrickToClone);");
%brick.setName(%oldName);

Don't use eval for that...

Code: [Select]
%oldName = %brick.getName();
%brick.setName("BrickToClone");

new ScriptObject(tempBrickName : BrickToClone);

%brick.setName(%oldName);
tempBrickName.setName("new name" SPC $blah);

3578
Modification Help / Re: Make it impossible to manipulate an eval command?
« on: November 17, 2013, 03:44:35 PM »
It's easier to just do expandEscape(%text);

3579
Add-Ons / Re: My system add-on. Bug Fix update 11:30 am EST 17.11.2013
« on: November 17, 2013, 02:28:28 PM »
Now we'll have 500 add-ons trying to use the same port.

We should implement some kind of virtualhost setup.

3580
Modification Help / Re: Code will not add the swatch onto the gui
« on: November 17, 2013, 02:24:25 PM »
I also had to make dynamic names for GUIs at a point, I basically just set a variable equal to want I wanted the name to be
Code: [Select]
%name = "Derp" @ %i;
then made the GUI using that variable
Code: [Select]
new GUISwatchCtrl(%name)

Exactly. The other option is to create them with a generic name and then rename them with ::setName.

3581
Off Topic / Re: Illinois Tornado Outbreak
« on: November 17, 2013, 02:22:10 PM »
We just lost power...

3582
Help / Re: Port Forwarding Help
« on: November 17, 2013, 02:14:45 PM »
Post a console log of your server.

3583
Modification Help / Re: [Resource] A* Implementation (Pathfinding)
« on: November 17, 2013, 12:03:57 PM »
I haven't tested it, but if you feel like it, go ahead:
https://hostr.co/6DnGIUu71tVV

Thank you, that looks so much more useable.

3584
Modification Help / Re: [Resource] A* Implementation (Pathfinding)
« on: November 17, 2013, 11:09:33 AM »
Is there any news on that update you were talking about?

3585
Modification Help / Re: Make it impossible to manipulate an eval command?
« on: November 17, 2013, 11:08:06 AM »
Told him about inheretance via steam

http://forum.blockland.us/index.php?topic=147039.msg3430084#msg3430084

He is now a nigerian prinse

Wait, that works on normal objects??

Pages: 1 ... 234 235 236 237 238 [239] 240 241 242 243 244 ... 570