Southclaws / ScavengeSurvive

A PvP SA:MP survival gamemode. The aim of the game is to find supplies such as tools or weapons to help you survive, either alone or in a group.
https://scavengesurvive.com
Mozilla Public License 2.0
107 stars 55 forks source link

Inventory and container dialogs not exiting properly when Esc pressed #381

Closed ghost closed 4 years ago

ghost commented 7 years ago

Problem with inventory dialogs.

Also occurred in the login screen, the problem with the dialogs.

https://youtu.be/qRCy6nzAnX0


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

Server Plugins
--------------
 Loading plugin: crashdetect
  CrashDetect v4.18 is OK.
  Loaded.
 Loading plugin: streamer

*** Streamer Plugin v2.8.2 by Incognito loaded ***

  Loaded.
 Loading plugin: sscanf

 ===============================

      sscanf plugin loaded.

         Version:  2.8.2

   (c) 2012 Alex "Y_Less" Cole

 ===============================

  Loaded.
 Loading plugin: CTime

 » CTime Library Plugin For Pawn v0.1.0 - Copyright © 2011 RyDeR`

  Loaded.
 Loading plugin: Whirlpool

 ==================

  Whirlpool loaded

 ==================

  Loaded.
 Loading plugin: FileManager
******************
** FILE MANAGER **
**    Loaded    **
** Version 1.5 **
******************
  Loaded.
 Loading plugin: irc

*** IRC Plugin v1.4.6 by Incognito loaded ***

  Loaded.
 Loading plugin: MapAndreas
  Loaded.
 Loaded 8 plugins.

Started server on port: 7777, with maxplayers: 50 lanmode is OFF.

Filterscripts
---------------
  Loading filterscript 'object-loader.amx'...
  Unable to load filterscript 'object-loader.amx'.
  Loading filterscript 'rcon.amx'...
  Unable to load filterscript 'rcon.amx'.
  Loaded 0 filterscripts.

[OnGameModeInit] Initialising 'Main'...
[OnGameModeInit_Setup] Setting up...
Initialising Scavenge and Survive build 1756
[SETTING] server/motd: Please update the 'server/motd' string in data/settings.ini
[SETTING] server/website: southclawjk.wordpress.com
[SETTING] server/crash-on-exit: 1
[SETTING] server/rules/0: Please update the 'server/rules' array in 'data/settings.ini'.
[SETTING] server/staff/0: StaffName
[SETTING] server/max-uptime: 18000
[SETTING] player/allow-pause-map: 0
[SETTING] player/interior-entry: 0
[SETTING] player/player-animations: 1
[SETTING] player/vehicle-surfing: 0
[SETTING] player/nametag-distance: 3.000000
[SETTING] player/combat-log-window: 30
[SETTING] player/login-freeze-time: 8
[SETTING] player/max-tab-out-time: 60
[SETTING] player/ping-limit: 400
[SETTING] server/global-debug-level: 0

 =======================================
 |                                     |
 |        YSI version 4.00.0001        |
 |        By Alex "Y_Less" Cole        |
 |                                     |
 =======================================

Registered SIF debug handler 1: 'SIF/Button' initial state: 0
Defined new debug label type 'BUTTON' ID: 0
Registered SIF debug handler 2: 'SIF/Item' initial state: 0
Defined new debug label type 'ITEM' ID: 1
Registered SIF debug handler 3: 'SIF/Inventory' initial state: 0
Registered SIF debug handler 4: 'SIF/Container' initial state: 0
Registered SIF debug handler 5: 'SIF/ItemArrayData' initial state: 0
Registered SIF debug handler 6: 'SIF/ItemSerializer' initial state: 0
Registered SIF debug handler 7: 'SIF/extensions/Craft' initial state: 0
[SETTING] infomessage/messages/0: Please update the 'server/infomsgs' array in 'data/settings.ini'.
[SETTING] infomessage/interval: 5
[SETTING] player-vehicle/print-each: 1
[SETTING] player-vehicle/print-total: 1
[SETTING] vehicle-spawn/spawn-chance: 4.000000
[SETTING] vehicle-spawn/print-each: 0
[SETTING] vehicle-spawn/print-total: 1
[SETTING] server/whitelist: 0
[SETTING] server/whitelist-auto-toggle: 0
[SETTING] irc/use-irc: 0
[SETTING] irc/serv: irc.tl
[SETTING] irc/port: 6667
[SETTING] irc/chat-chan: #MyChatChannel
[SETTING] irc/chat-pass: changeme
[SETTING] irc/chat-prefix: 46
[SETTING] irc/staff-chan: #MyStaffChannel
[SETTING] irc/staff-pass: changeme
[SETTING] irc/staff-prefix: 46
[SETTING] irc/bot-name: SS-Bot
[SETTING] irc/bot-nick: SS-Bot
[SETTING] irc/bot-pass: changeme
[SETTING] irc/bot-mail: e@ma.il
[SETTING] irc/bot-user: SS-Bot
[SETTING] vehicle.damage/knock-mult: 1.000000
[SETTING] vehicle.damage/bleed-mult: 1.000000
[SETTING] server/loot-spawn-multiplier: 1.000000
Loaded 0 Detection Fields
[SETTING] autosave/autosave-toggle: 1
[SETTING] autosave/autosave-interval: 60000
Default language (English) has 513 entries.
Loaded language Bosanski-Hrvatski-Srpski: 364 entries, 149 missing entries
Loaded language Cestina-Srpski: 364 entries, 149 missing entries
Loaded language Español: 365 entries, 148 missing entries
Loaded language Français: 364 entries, 149 missing entries
Loaded language Indonesian: 364 entries, 149 missing entries
Loaded language Português: 364 entries, 149 missing entries
Loaded language Português do Brasil: 364 entries, 149 missing entries
Loaded language Romanian: 364 entries, 149 missing entries
Loaded language Russian: 363 entries, 150 missing entries
Loaded 9 languages
[LOAD] 35 item spawn rates loaded from loot/airdrop_food_medical.ltb
[LOAD] 16 item spawn rates loaded from loot/airdrop_industrial.ltb
[LOAD] 14 item spawn rates loaded from loot/airdrop_low_weapons.ltb
[LOAD] 21 item spawn rates loaded from loot/airdrop_military_weapons.ltb
[LOAD] 15 item spawn rates loaded from loot/airdrop_ordnance.ltb
[LOAD] 118 item spawn rates loaded from loot/vehicle_civilian.ltb
[LOAD] 45 item spawn rates loaded from loot/vehicle_industrial.ltb
[LOAD] 24 item spawn rates loaded from loot/vehicle_military.ltb
[LOAD] 21 item spawn rates loaded from loot/vehicle_police.ltb
[LOAD] 121 item spawn rates loaded from loot/world_civilian.ltb
[LOAD] 48 item spawn rates loaded from loot/world_industrial.ltb
[LOAD] 6 item spawn rates loaded from loot/world_medical.ltb
[LOAD] 35 item spawn rates loaded from loot/world_military.ltb
[LOAD] 21 item spawn rates loaded from loot/world_police.ltb
[LOAD] 39 item spawn rates loaded from loot/world_survivor.ltb
Loaded 15 Loot table entries
Loaded 0 Player vehicles
[LoadVehiclesFromFolder] Loading vehicles from: 'vspawn/'...
Loaded 0 Vehicles
Defined new debug label type 'VEHICLESPAWN' ID: 2
[SETTING] spawn/bagtype: Satchel
[SETTING] spawn/new-blood: 90.000000
[SETTING] spawn/new-food: 80.000000
[SETTING] spawn/new-bleed: 0.000098
[SETTING] spawn/new-items/0: Knife
[SETTING] spawn/res-blood: 100.000000
[SETTING] spawn/res-food: 40.000000
[SETTING] spawn/res-bleed: 0.000000
[SETTING] spawn/res-items/0: AntiSepBandage
================================================================================
    Southclaw's Scavenge and Survive
        Copyright (C) 2016 Barnaby "Southclaw" Keene
        This program comes with ABSOLUTELY NO WARRANTY; This is free software,
        and you are welcome to redistribute it under certain conditions.
        Please see <http://www.gnu.org/copyleft/gpl.html> for details.
================================================================================
Number of vehicle models: 0
[connection] 127.0.0.1:62001 requests connection cookie.
[connection] incoming connection: 127.0.0.1:62001 id: 0
[join] Luiz_Corno has joined the server (0:127.0.0.1)
[JOIN] Luiz_Corno joined
[002] Loaded:0000, Spawned:0079, Total:0079, 'GolfClub'
[004] Loaded:0000, Spawned:0041, Total:0041, 'Knife'
[005] Loaded:0000, Spawned:0132, Total:0132, 'Bat'
[006] Loaded:0000, Spawned:0093, Total:0093, 'Spade'
[009] Loaded:0000, Spawned:0001, Total:0001, 'Chainsaw'
[011] Loaded:0000, Spawned:0001, Total:0001, 'Dildo2'
[014] Loaded:0000, Spawned:0034, Total:0034, 'Flowers'
[015] Loaded:0000, Spawned:0048, Total:0048, 'WalkingCane'
[016] Loaded:0000, Spawned:0002, Total:0002, 'Grenade'
[022] Loaded:0001, Spawned:0218, Total:0219, 'M9Pistol'
[023] Loaded:0000, Spawned:0007, Total:0007, 'M9PistolSD'
[024] Loaded:0000, Spawned:0032, Total:0032, 'DesertEagle'
[025] Loaded:0000, Spawned:0047, Total:0047, 'PumpShotgun'
[026] Loaded:0000, Spawned:0035, Total:0035, 'Sawnoff'
[027] Loaded:0000, Spawned:0002, Total:0002, 'Spas12'
[028] Loaded:0000, Spawned:0053, Total:0053, 'Mac10'
[029] Loaded:0000, Spawned:0002, Total:0002, 'MP5'
[030] Loaded:0000, Spawned:0004, Total:0004, 'WASR3Rifle'
[032] Loaded:0000, Spawned:0035, Total:0035, 'Tec9'
[033] Loaded:0000, Spawned:0021, Total:0021, 'SemiAutoRifle'
[034] Loaded:0000, Spawned:0001, Total:0001, 'SniperRifle'
[041] Loaded:0000, Spawned:0084, Total:0084, 'SprayPaint'
[042] Loaded:0000, Spawned:0098, Total:0098, 'Extinguisher'
[043] Loaded:0000, Spawned:0040, Total:0040, 'Camera'
[046] Loaded:0000, Spawned:0001, Total:0001, 'Parachute'
[047] Loaded:0002, Spawned:0070, Total:0072, 'Medkit'
[048] Loaded:0001, Spawned:0000, Total:0001, 'HardDrive'
[049] Loaded:0001, Spawned:0070, Total:0071, 'Key'
[050] Loaded:0000, Spawned:0035, Total:0035, 'FireworkBox'
[051] Loaded:0000, Spawned:0242, Total:0242, 'FireLighter'
[052] Loaded:0000, Spawned:0035, Total:0035, 'Timer'
[053] Loaded:0000, Spawned:0005, Total:0005, 'Explosive'
[055] Loaded:0001, Spawned:0275, Total:0276, 'Battery'
[056] Loaded:0001, Spawned:0110, Total:0111, 'Fusebox'
[057] Loaded:0000, Spawned:0205, Total:0205, 'Bottle'
[059] Loaded:0000, Spawned:0003, Total:0003, 'Armour'
[060] Loaded:0000, Spawned:0117, Total:0117, 'Bandage'
[061] Loaded:0000, Spawned:0145, Total:0145, 'FishRod'
[062] Loaded:0000, Spawned:0214, Total:0214, 'Wrench'
[063] Loaded:0000, Spawned:0263, Total:0263, 'Crowbar'
[064] Loaded:0000, Spawned:0202, Total:0202, 'Hammer'
[065] Loaded:0000, Spawned:0009, Total:0009, 'Shield'
[066] Loaded:0000, Spawned:0032, Total:0032, 'Flashlight'
[067] Loaded:0000, Spawned:0003, Total:0003, 'StunGun'
[068] Loaded:0000, Spawned:0015, Total:0015, 'LaserPoint'
[069] Loaded:0000, Spawned:0243, Total:0243, 'Screwdriver'
[070] Loaded:0000, Spawned:0170, Total:0170, 'MobilePhone'
[073] Loaded:0000, Spawned:0053, Total:0053, 'HotDog'
[076] Loaded:0000, Spawned:0005, Total:0005, 'HandCuffs'
[077] Loaded:0000, Spawned:0076, Total:0076, 'Bucket'
[078] Loaded:0000, Spawned:0153, Total:0153, 'GasMask'
[079] Loaded:0000, Spawned:0005, Total:0005, 'Flag'
[080] Loaded:0000, Spawned:0004, Total:0004, 'DoctorBag'
[081] Loaded:0001, Spawned:0062, Total:0063, 'Backpack'
[082] Loaded:0000, Spawned:0248, Total:0248, 'Satchel'
[083] Loaded:0000, Spawned:0154, Total:0154, 'Wheel'
[084] Loaded:0000, Spawned:0054, Total:0054, 'MotionSense'
[085] Loaded:0000, Spawned:0063, Total:0063, 'Accelerometer'
[088] Loaded:0000, Spawned:0054, Total:0054, 'Pizza'
[089] Loaded:0000, Spawned:0086, Total:0086, 'Burger'
[090] Loaded:0000, Spawned:0103, Total:0103, 'BurgerBox'
[091] Loaded:0000, Spawned:0100, Total:0100, 'Taco'
[092] Loaded:0000, Spawned:0221, Total:0221, 'GasCan'
[093] Loaded:0000, Spawned:0216, Total:0216, 'Clothes'
[094] Loaded:0000, Spawned:0009, Total:0009, 'HelmArmy'
[095] Loaded:0000, Spawned:0016, Total:0016, 'MediumBox'
[096] Loaded:0000, Spawned:0030, Total:0030, 'SmallBox'
[097] Loaded:0000, Spawned:0011, Total:0011, 'LargeBox'
[098] Loaded:0000, Spawned:0054, Total:0054, 'HockeyMask'
[099] Loaded:0001, Spawned:0006, Total:0007, 'Meat'
[111] Loaded:0000, Spawned:0039, Total:0039, 'Barbecue'
[112] Loaded:0000, Spawned:0084, Total:0084, 'Headlight'
[113] Loaded:0001, Spawned:0181, Total:0182, 'Pills'
[114] Loaded:0000, Spawned:0029, Total:0029, 'AutoInjec'
[115] Loaded:0000, Spawned:0039, Total:0039, 'BurgerBag'
[116] Loaded:0000, Spawned:0199, Total:0199, 'CanDrink'
[117] Loaded:0000, Spawned:0044, Total:0044, 'Detergent'
[121] Loaded:0000, Spawned:0008, Total:0008, 'MetPanel'
[122] Loaded:0000, Spawned:0006, Total:0006, 'MetalGate'
[123] Loaded:0000, Spawned:0013, Total:0013, 'CrateDoor'
[124] Loaded:0000, Spawned:0009, Total:0009, 'CorPanel'
[125] Loaded:0000, Spawned:0002, Total:0002, 'ShipDoor'
[129] Loaded:0000, Spawned:0006, Total:0006, 'WoodPanel'
[133] Loaded:0000, Spawned:0022, Total:0022, 'Keypad'
[134] Loaded:0000, Spawned:0118, Total:0118, 'TentPack'
[135] Loaded:0000, Spawned:0031, Total:0031, 'Campfire'
[136] Loaded:0000, Spawned:0018, Total:0018, 'CowboyHat'
[137] Loaded:0000, Spawned:0194, Total:0194, 'TruckCap'
[138] Loaded:0000, Spawned:0006, Total:0006, 'BoaterHat'
[139] Loaded:0000, Spawned:0005, Total:0005, 'BowlerHat'
[140] Loaded:0000, Spawned:0005, Total:0005, 'PoliceCap'
[141] Loaded:0000, Spawned:0002, Total:0002, 'TopHat'
[144] Loaded:0000, Spawned:0035, Total:0035, 'AmmoBuck'
[145] Loaded:0000, Spawned:0001, Total:0001, 'Ammo556'
[146] Loaded:0000, Spawned:0021, Total:0021, 'Ammo357'
[157] Loaded:0000, Spawned:0148, Total:0148, 'PlantPot'
[170] Loaded:0000, Spawned:0095, Total:0095, 'Motor'
[174] Loaded:0004, Spawned:0000, Total:0004, 'CodePart'
[175] Loaded:0000, Spawned:0004, Total:0004, 'LargeBackpack'
[180] Loaded:0000, Spawned:0042, Total:0042, 'Ammo9mmFMJ'
[182] Loaded:0000, Spawned:0092, Total:0092, 'AmmoHomeBuck'
[183] Loaded:0000, Spawned:0003, Total:0003, 'Ammo556Tracer'
[184] Loaded:0000, Spawned:0009, Total:0009, 'Ammo556HP'
[185] Loaded:0000, Spawned:0003, Total:0003, 'Ammo357Tracer'
[186] Loaded:0001, Spawned:0002, Total:0003, 'Ammo762'
[187] Loaded:0000, Spawned:0001, Total:0001, 'AK47Rifle'
[188] Loaded:0000, Spawned:0038, Total:0038, 'M77RMRifle'
[190] Loaded:0000, Spawned:0002, Total:0002, 'Ammo50BMG'
[191] Loaded:0000, Spawned:0018, Total:0018, 'Ammo308'
[192] Loaded:0000, Spawned:0033, Total:0033, 'Model70Rifle'
[194] Loaded:0000, Spawned:0153, Total:0153, 'Daypack'
[195] Loaded:0000, Spawned:0045, Total:0045, 'MediumBag'
[196] Loaded:0000, Spawned:0022, Total:0022, 'Rucksack'
[197] Loaded:0000, Spawned:0047, Total:0047, 'SeedBag'
[198] Loaded:0000, Spawned:0236, Total:0236, 'Note'
[199] Loaded:0000, Spawned:0001, Total:0001, 'Tomato'
[200] Loaded:0001, Spawned:0000, Total:0001, 'HeartShapedBox'
[201] Loaded:0000, Spawned:0081, Total:0081, 'AntiSepBandage'
[202] Loaded:0000, Spawned:0004, Total:0004, 'WoodLog'
[203] Loaded:0000, Spawned:0003, Total:0003, 'Sledgehammer'
[204] Loaded:0000, Spawned:0015, Total:0015, 'RawFish'
[206] Loaded:0000, Spawned:0016, Total:0016, 'Suitcase'
[211] Loaded:0000, Spawned:0029, Total:0029, 'Spatula'
[212] Loaded:0000, Spawned:0020, Total:0020, 'Pan'
[213] Loaded:0000, Spawned:0027, Total:0027, 'Knife2'
[214] Loaded:0000, Spawned:0009, Total:0009, 'Meat2'
[215] Loaded:0000, Spawned:0007, Total:0007, 'FryingPan'
[216] Loaded:0000, Spawned:0011, Total:0011, 'PizzaOnly'
[217] Loaded:0000, Spawned:0040, Total:0040, 'BreadLoaf'
[218] Loaded:0000, Spawned:0058, Total:0058, 'Banana'
[219] Loaded:0000, Spawned:0046, Total:0046, 'Orange'
[220] Loaded:0000, Spawned:0120, Total:0120, 'WheelLock'
[221] Loaded:0000, Spawned:0048, Total:0048, 'RedApple'
[222] Loaded:0000, Spawned:0047, Total:0047, 'Lemon'
[223] Loaded:0000, Spawned:0003, Total:0003, 'PisschBox'
[224] Loaded:0000, Spawned:0027, Total:0027, 'PizzaBox'
[225] Loaded:0000, Spawned:0056, Total:0056, 'MilkBottle'
[226] Loaded:0000, Spawned:0058, Total:0058, 'MilkCarton'
[227] Loaded:0000, Spawned:0006, Total:0006, 'IceCream'
[228] Loaded:0000, Spawned:0020, Total:0020, 'FishyFingers'
[229] Loaded:0000, Spawned:0013, Total:0013, 'IceCreamBars'
[230] Loaded:0000, Spawned:0040, Total:0040, 'AppleJuice'
[231] Loaded:0000, Spawned:0052, Total:0052, 'OrangeJuice'
[232] Loaded:0000, Spawned:0035, Total:0035, 'Cereal1'
[233] Loaded:0000, Spawned:0026, Total:0026, 'Cereal2'
[234] Loaded:0000, Spawned:0020, Total:0020, 'WrappedMeat'
[246] Loaded:0000, Spawned:0006, Total:0006, 'Cross'
[248] Loaded:0000, Spawned:0017, Total:0017, 'Fork'
[249] Loaded:0000, Spawned:0021, Total:0021, 'Knife3'
[250] Loaded:0000, Spawned:0041, Total:0041, 'Ketchup'
[251] Loaded:0000, Spawned:0003, Total:0003, 'Mustard'
[252] Loaded:0000, Spawned:0015, Total:0015, 'Boot'
[253] Loaded:0000, Spawned:0021, Total:0021, 'Doormat'
[255] Loaded:0000, Spawned:0026, Total:0026, 'Holdall'
[256] Loaded:0000, Spawned:0028, Total:0028, 'GrnApple'
[257] Loaded:0000, Spawned:0003, Total:0003, 'Wine1'
[258] Loaded:0000, Spawned:0006, Total:0006, 'Wine2'
[259] Loaded:0000, Spawned:0013, Total:0013, 'Wine3'
[260] Loaded:0000, Spawned:0006, Total:0006, 'Whisky'
[261] Loaded:0000, Spawned:0015, Total:0015, 'Champagne'
[262] Loaded:0000, Spawned:0007, Total:0007, 'Ham'
[263] Loaded:0000, Spawned:0004, Total:0004, 'Steak'
[264] Loaded:0000, Spawned:0049, Total:0049, 'Bread'
[265] Loaded:0000, Spawned:0074, Total:0074, 'Broom'
[270] Loaded:0000, Spawned:0001, Total:0001, 'Canister'
[271] Loaded:0000, Spawned:0001, Total:0001, 'ScrapMetal'
[275] Loaded:0000, Spawned:0001, Total:0001, 'ScrapMachine'
[276] Loaded:0000, Spawned:0001, Total:0001, 'RefineMachine'
[278] Loaded:0000, Spawned:0011, Total:0011, 'Workbench'
[281] Loaded:0000, Spawned:0026, Total:0026, 'GearBox'
[282] Loaded:0000, Spawned:0011, Total:0011, 'ToolBox'
[LoadAccount] Luiz_Corno (account exists, prompting login) Alive: 1 Last login: Wednesday Jan 18 2017 at 08:44:14
[LOGPROMPT] Luiz_Corno is logging in
[LOGIN] Luiz_Corno logged in, alive: 1
skill 'Endurance' value: 0.038999
skill 'Medical' value: 0.002000
[SPAWN] Luiz_Corno spawned existing character at -843.1, 1621.5, 26.9 (151.6)
[COUNTRY] Player country: '' (host: 'localhost' proxy: 0)
skill value for 'Endurance': 0.038999
skill value for 'Medical': 0.002000
[LOGOUT] Luiz_Corno logged out at -847.6, 1599.6, 26.5 (174.2) Logged In: 1 Alive: 1 Knocked Out: 0
skill value for 'Endurance': 0.038999
skill value for 'Medical': 0.002000
[PART] Luiz_Corno (quit)
[part] Luiz_Corno has left the server (0:1)
Southclaws commented 7 years ago

I'm aware of this and it's more of a SIF thing and it happened when I tried to bring back Esc for exiting dialogs. I'll try to get a fix out soon as it is very annoying while looting! Thanks for the reminder!