Territorys Fix
This commit is contained in:
parent
8d64c8a7c7
commit
a22eb7a599
@ -299,10 +299,10 @@ SQL1_9 = direction_z = ?,
|
||||
SQL1_10 = up_x = ?,
|
||||
SQL1_11 = up_y = ?,
|
||||
SQL1_12 = up_z = ?,
|
||||
SQL1_13 = territory_id = $CUSTOM_1$
|
||||
SQL1_13 = territory_id = ?
|
||||
|
||||
|
||||
SQL1_INPUTS = 1,2,3,4,5,6,7,8,9,10,11
|
||||
SQL1_INPUTS = 1,2,3,4,5,6,7,8,9,10,11,12
|
||||
Return InsertID = true
|
||||
|
||||
[deleteConstruction]
|
||||
@ -380,10 +380,10 @@ SQL1_15 = cargo_weapons = ?,
|
||||
SQL1_16 = cargo_container = ?,
|
||||
SQL1_17 = money = ?,
|
||||
SQL1_18 = pin_code = ?,
|
||||
SQL1_19 = territory_id = $CUSTOM_1$
|
||||
SQL1_19 = territory_id = ?
|
||||
|
||||
|
||||
SQL1_INPUTS = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17
|
||||
SQL1_INPUTS = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18
|
||||
Return InsertID = true
|
||||
|
||||
[deleteContainer]
|
||||
@ -425,13 +425,13 @@ SQL1_12 = cargo_items = ?,
|
||||
SQL1_13 = cargo_magazines = ?,
|
||||
SQL1_14 = cargo_weapons = ?,
|
||||
SQL1_15 = cargo_container = ?,
|
||||
SQL1_16 = territory_id = $CUSTOM_1$,
|
||||
SQL1_16 = territory_id = ?,
|
||||
SQL1_17 = money = ?,
|
||||
SQL1_18 = last_updated_at = NOW()
|
||||
SQL1_19 = WHERE id = ?
|
||||
|
||||
|
||||
SQL1_INPUTS = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
|
||||
SQL1_INPUTS = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17
|
||||
|
||||
[containerSetPinCode]
|
||||
SQL1_1 = UPDATE container SET pin_code= ?, last_updated_at = NOW() WHERE id = ?
|
||||
@ -519,10 +519,10 @@ SQL1_INPUTS = 1
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
[createTerritory]
|
||||
SQL1_1 = INSERT INTO territory SET owner_uid = ?, name = ?, position_x = ? , position_y = ? , position_z = ?, radius = ? , level = ? , flag_texture = ? , flag_stolen = ? , flag_stolen_by_uid =$CUSTOM_1$ , build_rights = ? , moderators = ?
|
||||
SQL1_1 = INSERT INTO territory SET owner_uid = ?, name = ?, position_x = ? , position_y = ? , position_z = ?, radius = ? , level = ? , flag_texture = ? , flag_stolen = ? , flag_stolen_by_uid =? , build_rights = ? , moderators = ?
|
||||
|
||||
|
||||
SQL1_INPUTS = 1,2,3,4,5,6,7,8,9,10,11
|
||||
SQL1_INPUTS = 1,2,3,4,5,6,7,8,9,10,11,12
|
||||
Return InsertID = true
|
||||
|
||||
[loadTerriotryIdPage]
|
||||
@ -536,7 +536,7 @@ SQL1_1 = SET @connector = ?;
|
||||
SQL2_1 = SELECT id,owner_uid,name,position_x,position_y,position_z,radius, level,flag_texture,flag_stolen,flag_stolen_by_uid,last_paid_at,build_rights,moderators,deleted_at,(SELECT COUNT(*)FROM construction c WHERE c.territory_id = @connector) FROM territory WHERE id = @connector
|
||||
|
||||
SQL1_INPUTS = 1
|
||||
OUTPUT = 1,2-STRING,3-STRING,4,5,6,7,8,9-STRING,10,11-STRING,12-DateTime_ISO8601,13,14,15,16
|
||||
OUTPUT = 1,2-STRING,3-STRING,4,5,6,7,8,9-STRING,10,11-STRING,12,13,14,15,16
|
||||
|
||||
[setTerritoryLevel]
|
||||
SQL1_1 = UPDATE territory SET level = ? WHERE id = ?
|
||||
|
Loading…
Reference in New Issue
Block a user