mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
UUID system now wont desync
This commit is contained in:
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
--set up to run other code and events
|
--set up to run other code and events
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
local Exp_commands = {}
|
local Exp_commands = {}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
--Convert ticks to 12H 34M format or 8.97M when less than 10
|
--Convert ticks to 12H 34M format or 8.97M when less than 10
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
local ranking = {}
|
local ranking = {}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
How to use groups:
|
How to use groups:
|
||||||
name the name that you can use to refence it.
|
name the name that you can use to refence it.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
local server = {}
|
local server = {}
|
||||||
@@ -74,7 +74,7 @@ end
|
|||||||
-- converts any value into the uuid the script will use
|
-- converts any value into the uuid the script will use
|
||||||
function server.get_uuid(var)
|
function server.get_uuid(var)
|
||||||
if type(var) == 'string' then uuid = var
|
if type(var) == 'string' then uuid = var
|
||||||
else uuid = tostring(var) end
|
else uuid = tostring(global.exp_core.uuids.operator()) end
|
||||||
uuid = string.tohex('uuid'..uuid)
|
uuid = string.tohex('uuid'..uuid)
|
||||||
server.refresh_uuid(uuid)
|
server.refresh_uuid(uuid)
|
||||||
return uuid
|
return uuid
|
||||||
@@ -136,5 +136,5 @@ Event.register(defines.events.on_tick, function(event)
|
|||||||
if data.remove_time <= game.tick then global.exp_core.server.temp_varibles[uuid] = nil end
|
if data.remove_time <= game.tick then global.exp_core.server.temp_varibles[uuid] = nil end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
Event.register(Event.soft_init,function() global.exp_core.server = {callback_queue={},callbacks={},temp_varibles={}} end)
|
Event.register(Event.soft_init,function() global.exp_core.server = {callback_queue={},callbacks={},temp_varibles={}} global.exp_core.uuids = game.create_random_generator() end)
|
||||||
return server
|
return server
|
||||||
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
local ExpGui = require("ExpGaming - Module Setup")
|
local ExpGui = require("ExpGaming - Module Setup")
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
local ExpGui = require("ExpGaming - Module Setup")
|
local ExpGui = require("ExpGaming - Module Setup")
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
local ExpGui = require("ExpGaming - Module Setup")
|
local ExpGui = require("ExpGaming - Module Setup")
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
-- Mainly used as a plan for how the gui is stored also as a header for the credit
|
-- Mainly used as a plan for how the gui is stored also as a header for the credit
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
local ExpGui = require("ExpGaming - Module Setup")
|
local ExpGui = require("ExpGaming - Module Setup")
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
local ExpGui = require("ExpGaming - Module Setup")
|
local ExpGui = require("ExpGaming - Module Setup")
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
local ExpGui = require("ExpGaming - Module Setup")
|
local ExpGui = require("ExpGaming - Module Setup")
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
local function merge(first_table,second_table) for k,v in pairs(second_table) do first_table[k] = v end end
|
local function merge(first_table,second_table) for k,v in pairs(second_table) do first_table[k] = v end end
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
--As this is the core file, the order in which the files are loaded does matter. Do not change!
|
--As this is the core file, the order in which the files are loaded does matter. Do not change!
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ Explosive Gaming
|
|||||||
This file can be used with permission but this and the credit below must remain in the file.
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
Contact a member of management on our discord to seek permission to use our code.
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
Any changes that you may make to the code are yours but that does not make the script yours.
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
Discord: https://discord.gg/XSsBV6b
|
Discord: https://discord.gg/r6dC2uK
|
||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user