mirror of
https://github.com/Bjanski/ExAd.git
synced 2024-08-30 16:52:14 +00:00
Added 64-bit version
This commit is contained in:
parent
6e9c5cc1d9
commit
44506c6265
44
@ExileServer/extDB/sql_custom_v2 (64-bit)/exile.ini
Normal file
44
@ExileServer/extDB/sql_custom_v2 (64-bit)/exile.ini
Normal file
@ -0,0 +1,44 @@
|
||||
;1. Find following sections and replace the commented lines;
|
||||
;This is the 64-Bit version of the exile.ini addons for ExAd just to make it easier for those who use 64-Bit servers.
|
||||
|
||||
[loadVehicleIdPage]
|
||||
;SQL1_1 = SELECT id FROM vehicle LIMIT ?,?
|
||||
SQL1_1 = SELECT id FROM vehicle WHERE deleted_at IS NULL AND territory_id IS NULL LIMIT ?,?
|
||||
Number Of Inputs = 2
|
||||
SQL1_INPUTS = 1,2
|
||||
OUTPUT = 1
|
||||
|
||||
; Removes vehicles that were not used within ? days
|
||||
[deleteOldVehicles]
|
||||
;SQL1_1 = DELETE FROM vehicle WHERE deleted_at < DATE_SUB(NOW(), INTERVAL ? DAY)
|
||||
SQL1_1 = DELETE FROM vehicle WHERE territory_id IS NULL AND deleted_at < DATE_SUB(NOW(), INTERVAL ? DAY)
|
||||
Number Of Inputs = 1
|
||||
SQL1_INPUTS = 1
|
||||
|
||||
; Marks for deletion vehicles that were not used within ? days
|
||||
[markDeleteOldVehicles]
|
||||
; SQL1_1 = UPDATE vehicle SET deleted_at = NOW() WHERE last_updated_at < DATE_SUB(NOW(), INTERVAL ? DAY)
|
||||
SQL1_1 = UPDATE vehicle SET deleted_at = NOW() WHERE last_updated_at < DATE_SUB(NOW(), INTERVAL ? DAY) AND territory_id IS NULL
|
||||
Number Of Inputs = 1
|
||||
SQL1_INPUTS = 1
|
||||
|
||||
;2. Add all below in the end of the file.
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Virtual Garage related queries | ADDED BY [ExAd]Jan
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
[loadTerritoryVehicles]
|
||||
SQL1_1 = SELECT id, class FROM vehicle WHERE territory_id = ?
|
||||
Number Of Inputs = 1
|
||||
SQL1_INPUTS = 1
|
||||
OUTPUT = 1,2-STRING
|
||||
|
||||
[loadVehFromVG]
|
||||
SQL1_1 = UPDATE vehicle SET territory_id = NULL WHERE id = ?
|
||||
Number Of Inputs = 1
|
||||
SQL1_INPUTS = 1
|
||||
|
||||
[loadVehToVG]
|
||||
SQL1_1 = UPDATE vehicle SET territory_id = ? WHERE id = ?
|
||||
Number Of Inputs = 2
|
||||
SQL1_INPUTS = 1,2
|
Loading…
Reference in New Issue
Block a user