What are you working on currently? (2018)

… Thomas?

1 Like

Bit of a code snippet of a project I am working on… kinda 2 at this point.

--[[
Runs unit tests for the InjectEnvironmentVariables method to simulate a DataStore error.
--]]
NexusUnitTesting:RegisterUnitTest("InjectEnvironmentVariables_DataStoreSimulatedFailure",function(UnitTest)
	local ProperErrorWarned = false
	
	--Create the fake DataStore.
	local FakeDataStoreInjector = DependencyInjector.CreateOverrider()
	FakeDataStoreInjector:WhenCalled("GetAsync"):ThenCall(function()
		error("HTTP Service 503: Simulated error.")
	end)
	local FakeDataStore = DependencyInjector.Inject({},FakeDataStoreInjector)
	
	--Create the fake DataStoreService.
	local DataStoreServiceInjector = DependencyInjector.CreateOverrider()
	DataStoreServiceInjector:WhenCalled("GetGlobalDataStore"):ThenReturn(FakeDataStore)
	local FakeDataStoreService = DependencyInjector.Inject({},DataStoreServiceInjector)
	
	--Create the fake game.
	local GameInjector = DependencyInjector.CreateOverrider()
	GameInjector:WhenIndexed("GetService"):ThenReturn(function(_,Index)
		if Index == "DataStoreService" then
			return FakeDataStoreService
		end
	end)
	local FakeGame = DependencyInjector.Inject({},GameInjector)
	
	--Create the main injector.
	local Injector = DependencyInjector.CreateOverrider()
	Injector:WhenIndexed("game"):ThenReturn(FakeGame)
	Injector:WhenCalled("warn"):ThenCall(function(Warning)
		if string.match(Warning,"HTTP Service 503: Simulated error.") then
			ProperErrorWarned = true
		end
	end)
	
	
	--Create an inject the function.
	local function Test()
		local Worked,Return = pcall(function()
			return game:GetService("DataStoreService"):GetGlobalDataStore():GetAsync("Thing")
		end)
		
		if not Worked then
			warn("Failed because "..Return)
		end
	end
	DependencyInjector.InjectEnvironmentVariables(Test,Injector)
	
	--Run the assertions.
	Test()
	UnitTest:AssertTrue(ProperErrorWarned,"Error not warned.")
end)
2 Likes

3 Likes

bye

2 Likes

Is that the inside of a shield, or is that that a camera shutter, or is this a tunnel. Will we ever know??

2 Likes

Jet engine. No. Wheel with a fancy hubcap.
So many different things it could be

3 Likes

@RedDuck765

I honestly don’t know, so I can’t provide the answer to either of you :confused:

1 Like

Either way it looks very cool :smile:

1 Like

It’s been awhile since I worked on it due to PC problems, but Frostmourne was my latest project on Blender.

2 Likes

Ok so I know I posted this a few days ago but I made a few big updates to my lava

Before:
I was using a default smoke particle and dull lighting for my lava

After:
Used a cooler and more useful texture for my haze and updated a lot of lighting settings both in the beam and the environment, still tweaking it, I hope eventually I will make some of the best looking lava on Roblox for my showcase :smiley:

(btw those geysers of lava are randomly activated so they don’t all playout at the same time, credit to @UndoneBuilder for providing the script :D)

If you have any recommendations for my lava I would be happy to hear it!

5 Likes

https://twitter.com/kinimoofficial/status/1072831204896976896?s=21

:zipper_mouth_face:

1 Like

reminds of me of
breath of the wild

2 Likes

I decided to participate in the Roblox Rthro competition.

https://twitter.com/DevBuckette/status/1073002664403836928

If you like the design, please go like the tweet :pray:

1 Like

13 Likes

Stalenhag is a great artist

4 Likes

Pirate Cannon

2 Likes

https://i.gyazo.com/262e23472371aae0fa06f6119e7919eb.mp4

Hmm…new game?

4 Likes

https://twitter.com/KinimoOfficial/status/1073360423590813698

:cowboy_hat_face: :zipper_mouth_face:

1 Like

Physics flinging thingy! You know, just cause.

https://twitter.com/ScriptOnRoblox/status/1073384584807559168

https://twitter.com/ScriptOnRoblox/status/1073389410106785792

https://twitter.com/ScriptOnRoblox/status/1073389539429765120

4 Likes

I see what you did there

1 Like