Commit Graph

15 Commits (ffi-server-rewrite)

Author SHA1 Message Date
David Cernat aa392ebf20 [Client] Unequip items if necessary when attr/skill modifier is set to 0 7 years ago
David Cernat c35101cc36 [Client] Don't use message box call boolean for regular message boxes 7 years ago
David Cernat 8f543fb34e [Client] Use less exploitable way of disabling console
Previously, large framerate drops allowed players to open and use the console for short periods of time.
7 years ago
Koncord 587b53bfed [Client] Reorder files 8 years ago
Koncord b84f97ec2b [Client] Implement PasswordDialog 8 years ago
David Cernat a353a21280 [General] Fix code style inconsistencies 8 years ago
David Cernat 3a733eb122 Make tes3mp includes consistent 8 years ago
David Cernat fa9d6e810e Use lowerCamelCase in tes3mp client function names like OpenMW does 8 years ago
Koncord 37e9cafbf7 Add new API function: SetConsoleAllow
example:
tes3mp.SetConsoleAllow(pid, 0) -- disallow console to the player

The console is allowed by default
8 years ago
Koncord adb49b7c7d Add New GUI dialog: ListBox
Example:

local GUI_LISTBOX = 42

function OnPlayerSendMessage(pid, message)
    if message == "/lb" then
        local items = "consectetur adipiscing elit\nsed do eiusmod tempor incididunt ut labore\net dolore magna aliqua." -- items can be separated through newline
        local label = "Lorem ipsum dolor sit amet"
        tes3mp.ListBox(pid, GUI_LISTBOX, label, items)
    end
end

function OnGUIAction(pid, idGui, data)
    if idGui == GUI_LISTBOX then
        print("ID: " .. idGui .. " data: " .. tostring(data)) -- if value higher than last item id
    end
end
8 years ago
Koncord b704519078 Show dedicated players on minimap 8 years ago
Koncord 2e81034e53 Started work on the map markers 8 years ago
Koncord fa0a55c2a9 Fix use of freed memory 8 years ago
Koncord 4c2415e9db Fix focus for InputDialog
Created a special pipe for future GUI modes.
8 years ago
Koncord 9ab77cb123 New API functions: MessageBox, CustomMessageBox, InputDialog
New Callback: OnGUIAction
9 years ago