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

Pages: 1 ... 186 187 188 189 190 [191] 192 193 194 195 196 ... 401
2851
Help / Re: Server could not verify your id
« on: August 19, 2016, 10:05:53 AM »
Go to auth.blockland.us

2852
Drama / Re: dumbass admins
« on: August 19, 2016, 09:59:14 AM »
No it's a addon, it's like a addon that you can drop waypoints, then look at them. It helps alot with navigation.
It looks like SkyEye which was a private addon that was capable of finding nearby players

2853
Suggestions & Requests / Re: First person view on death v2
« on: August 19, 2016, 09:54:42 AM »
What's wrong with the latest version?

2854
General Discussion / Anonymous server
« on: August 17, 2016, 03:58:08 PM »
We are back. Hope you enjoyed!

2855
Add-Ons / Re: New Duplicator 1.4.3 | Super-Cut?
« on: August 17, 2016, 11:36:52 AM »
Why do you have 2 duplicators enabled?

2856
Modification Help / Re: Bots tumble physics death
« on: August 17, 2016, 11:31:33 AM »
This goes into suggestions & requests if you're asking for someone else to do this for you.

2857
General Discussion / Re: My server stayed up for 25 days.
« on: August 16, 2016, 08:54:33 PM »
I've posted this before, but the post must have been lost in the Great Coding Help Culling of 2015.

Blockland stores time in a 32-bit signed integer.  The maximum positive value this data type can store is 2,147,483,647.  Now, last time I made a very broad, sweeping statement that all of the ways you could get the simtime used this value at their core.  I don't actually know if this is true, but it would amaze me if it were not.  For one thing, it would mean that $Sim::Time would rapidly build up inaccuracies and deviate wildly from the correct value.

Assuming, however, that it is true, and every possible way you can get the simtime uses the same 32-bit integer at their core, then all of them will eventually overflow at the same time as the game passes 2147483647 milliseconds of uptime.  With some basic arithmetic, we know that this occurs after:

24 days, 20 hours, 31 minutes, 23 seconds, and 647 milliseconds.


After this period, any scripts or code that use getSimTime() or $Sim::Time and aren't designed to be Ragnarok-proofed against simtime suddenly jumping to -2147483648 milliseconds will probably experience glitches.  These can range from momentary bizarreness at the discontinuity, or extremely long-lived glitches that last until the simtime reaches a value of 0 milliseconds again, after 24 days, 20 hours, 31 minutes, 23 seconds, and 648 milliseconds.  In theory, at this point, all of the problems would stop occurring for another 2147483647 milliseconds.

In theory, anyway.  I don't think anyone's ever hosted a server for 50 continuous days without restart.  If anyone wants to try, go for it; I'd be interested to see if the problems actually did stop or if they continued indefinitely.

2858
Modification Help / Re: Bots tumble physics death
« on: August 16, 2016, 08:41:15 PM »
It often checks to see if a client exists, it'll need to be rewritten a little bit for this to work properly.

2859
Modification Help / Re: Start Gamemode Clientsided
« on: August 15, 2016, 10:58:42 PM »
Figured it out. Try it! Example: setGamemodeByName("Freebuild", "Internet", "Freebuild!", "", 20);

I did figure out that there are a few bugs with the server name and the internet type, which only puts it to Singleplayer.
Overall it still works. You could probably put a tutorial button on the main menu and just do: setGamemodeByName("Tutorial");
Code: [Select]
function setGamemodeByName(%name, %internetType, %serverName, %serverPassword, %maxPlayers)
{
GameModeGui.PopulateGameModeList();
if($GameModeGui::GameModeCount $= "" || $GameModeGui::GameModeCount <= 0)
{
warn("setGamemodeByName() - No GameModes are available!");
return;
}

%gamemode = "Add-Ons/GameMode_" @ %name @ "/gamemode.txt";

for(%i = 0; %i < $GameModeGui::GameModeCount; %i++)
{
%gamemodeFile = $GameModeGui::GameMode[%i];
echo(%gamemodeFile $= %gamemode);
if(%gamemodeFile $= %gamemode)
{
%foundGamemode = %gamemodeFile;
%foundGamemodeIdx = %i;
break;
}
}

if(%foundGamemode $= "" || %foundGamemodeIdx $= "")
{
warn("setGamemodeByName() - Invalid gamemode GameMode_" @ %name @ "!");
return;
}

switch$(%internetType)
{
case "Internet":
$Pref::Net::ServerType = "Internet";
$ServerSettingsGui::ServerType = "Internet";

case "Lan":
$Pref::Net::ServerType = "Lan";
$ServerSettingsGui::ServerType = "Lan";

default:
$Pref::Net::ServerType = "Singleplayer";
$ServerSettingsGui::ServerType = "Singleplayer";
}

if(%serverName $= "")
%serverName = "Blockland server";

%maxPlayers = mFloor(%maxPlayers);
if(%maxPlayers <= 0)
%maxPlayers = 8;

$Pref::Server::Name = %serverName;
$Server::Name = %serverName;
$ServerSettingsGui::ServerName = %serverName;

$Pref::Server::Password = %serverPassword;
$ServerSettingsGui::JoinPassword = %serverPassword;

$Pref::Server::MaxPlayers = %maxPlayers;
$Server::MaxPlayers = %maxPlayers;
$ServerSettingsGui::MaxPlayers = %maxPlayers;

$ServerSettingsGui::AdminPassword = $Pref::Server::AdminPassword;

$GameModeGui::CurrGameModeIdx = %foundGamemodeIdx;
$GameModeArg = %gamemodeFile;
ServerSettingsGui.clickLaunchGame();
}

2860
Help / Re: Addons aren't working!
« on: August 15, 2016, 06:54:05 PM »
Post a console log.

2861
Suggestions & Requests / Re: Event_IfItemInSlot link request
« on: August 15, 2016, 06:50:22 PM »
Do you have VCE?

Use > Player > VCE_ifVariable > item[ * ] == ui name of item
* Item slot 1 to 5

Example:
onActivate > Player > VCE_ifVariable > item1 == Rocket L.

2862
General Discussion / Re: useful eval code thread?
« on: August 15, 2016, 04:28:54 PM »
I'm /pretty/ sure that the 0 in servercmdban is a bool to specify "forever". Regardless I just use banBLID instead usually because the arguments make more sense.
afaik its the ID of the person who banned the user
From the game: function serverCmdBan(%client, %victimID, %victimBL_ID, %banTime, %reason)

The command first checks to see if the VictimID is a client (server sends real client IDs to the client), then does the checking

2863
Off Topic / Re: Post real life pictures of yourself.
« on: August 15, 2016, 01:05:22 PM »
Rocky mountains :^)

2864
Modification Help / Re: Start Gamemode Clientsided
« on: August 15, 2016, 12:57:29 PM »
Definitely possible but I don't know the commands to do it. It's not as easy because it's a lot .click(); stuff with indexes

2865
General Discussion / Re: useful eval code thread?
« on: August 15, 2016, 12:54:44 PM »
ShutDown("<message>"); - kick everyone from the server except for the host (kicks everyone including the host on dedicated servers if the connection isn't local)
If you just do shutdown it'll just tell everyone "The server has shutdown." otherwise it's whatever you put in the message.
fixed

Pages: 1 ... 186 187 188 189 190 [191] 192 193 194 195 196 ... 401