Giter Club home page Giter Club logo

ultra-voltlab's Introduction

Been a while since my last public release huh. Well I didn't want to release same random thing so it took a little bit of time.

Voltlab hacking is one of the missions on the latest Cayo Perico DLC. Player has to match the randomly generated numbers on left with the icons on right to achieve the target voltage to successfuly hack. Each pattern is randomly generated to prevent any repetition.

This isn't a drag-n-drop resource and developers need to intergrate the resource in thier own scripts.

Usage:

	TriggerEvent('ultra-voltlab', time, function(result,reason)
	-- time: Time in seconds which player has. Min is 10, Max is 60
	-- result: Reason is the reason of result. Result is an integer code which represents result.
	-- 	   0: Hack failed by player
	-- 	   1: Hack successful
	-- 	   2: Time ran out and hack failed
	-- 	  -1: Error occured i.e. passed input or contents in config is wrong
		if result == 0 then
			print('Hack failed', reason)
		elseif result == 1 then
			print('Hack successful')
		elseif result == 2 then
			print('Timed out')
		elseif result == -1 then
			print('Error occured',reason)
		end
	end)

Controls: Up or down key to move left selection. Left or right key to move right selection. Enter to confirm the selection/connection which is non-revertible. Green bars at bottom left represent the time left.

ultra-voltlab's People

Contributors

ultrahacx avatar xilophinum avatar mrevilgamer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.