Skip to content

Instantly share code, notes, and snippets.

@SinZ163
Last active March 2, 2019 13:30
Show Gist options
  • Select an option

  • Save SinZ163/d8229b07ccbdd0559c0e2ce5bc904af8 to your computer and use it in GitHub Desktop.

Select an option

Save SinZ163/d8229b07ccbdd0559c0e2ce5bc904af8 to your computer and use it in GitHub Desktop.
ModDota/API Validation test
WARNING: [CCustomGameEventManager.RegisterListener arg `handler`] - handle should be casted to something more meaningful.
WARNING: [CCustomGameEventManager.Send_ServerToAllClients arg `eventData`] - handle should be casted to something more meaningful.
WARNING: [CCustomGameEventManager.Send_ServerToPlayer arg `eventData`] - handle should be casted to something more meaningful.
WARNING: [CCustomGameEventManager.Send_ServerToTeam arg `eventData`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseAbility.GetAbilityKeyValues return] - table should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetAbilityTuningValueFilter arg `hContext`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetBountyRunePickupFilter arg `hContext`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetCustomXPRequiredToReachNextLevel arg `hTable`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetDamageFilter arg `hContext`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetExecuteOrderFilter arg `hContext`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetHealingFilter arg `hContext`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetItemAddedToInventoryFilter arg `hContext`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetModifierGainedFilter arg `hContext`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetModifyExperienceFilter arg `hContext`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetModifyGoldFilter arg `hContext`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetRuneSpawnFilter arg `hContext`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetTrackingProjectileFilter arg `hContext`] - handle should be casted to something more meaningful.
WARNING: [CDOTA_Ability_DataDriven.ApplyDataDrivenModifier arg `modifier_name`] - cstring shouldn't be converted to string.
WARNING: [CDOTA_Ability_DataDriven.ApplyDataDrivenModifier arg `modifier_table`] - handle should be casted to something more meaningful.
WARNING: [CDOTA_Ability_Lua.OnHeroDiedNearby arg `event`] - handle should be casted to something more meaningful.
WARNING: [CDOTA_Ability_Lua.OnProjectileHit_ExtraData arg `data`] - handle should be casted to something more meaningful.
WARNING: [CDOTA_Ability_Lua.OnProjectileThink_ExtraData arg `data`] - handle should be casted to something more meaningful.
WARNING: [CDOTA_BaseNPC.AddAbility arg `ability_name`] - cstring shouldn't be converted to string.
WARNING: [CDOTA_BaseNPC.AddItemByName arg `item_name`] - cstring shouldn't be converted to string.
WARNING: [CDOTA_BaseNPC.AddNewModifier arg `modifier_name`] - cstring shouldn't be converted to string.
WARNING: [CDOTA_BaseNPC.AddNewModifier arg `modifier_table`] - handle should be casted to something more meaningful.
WARNING: [CDOTA_BaseNPC.FindAbilityByName arg `ability_name`] - cstring shouldn't be converted to string.
WARNING: [CDOTA_BaseNPC.FindAllModifiersByName arg `name`] - cstring shouldn't be converted to string.
WARNING: [CDOTA_BaseNPC.FindItemInInventory arg `item_name`] - cstring shouldn't be converted to string.
WARNING: [CDOTA_BaseNPC.FindModifierByName arg `modifier_name`] - cstring shouldn't be converted to string.
WARNING: [CDOTA_BaseNPC.FindModifierByNameAndCaster arg `modifier_name`] - cstring shouldn't be converted to string.
WARNING: [CDOTA_BaseNPC.TakeItem return] - handle should be casted to something more meaningful.
WARNING: [CDOTA_BaseNPC_Creature.AddItemDrop arg `hDropData`] - handle should be casted to something more meaningful.
WARNING: [CDOTA_Item_Lua.OnHeroDiedNearby arg `event`] - handle should be casted to something more meaningful.
WARNING: [CDOTA_Modifier_Lua.OnCreated arg `params`] - handle should be casted to something more meaningful.
WARNING: [CDOTA_Modifier_Lua.OnRefresh arg `params`] - handle should be casted to something more meaningful.
WARNING: [CDOTA_PlayerResource.GetEventRanks return] - <unknown> should be casted to something more meaningful.
WARNING: [CDOTA_PlayerResource.GetNthCourierForTeam return] - handle should be casted to something more meaningful.
WARNING: [CDOTA_PlayerResource.ReplaceHeroWith return] - handle should be casted to something more meaningful.
WARNING: [Convars.RegisterCommand arg `callback`] - handle should be casted to something more meaningful.
WARNING: [Global.CreateItemOnPositionForLaunch return] - handle should be casted to something more meaningful.
WARNING: [Global.CreateItemOnPositionSync return] - handle should be casted to something more meaningful.
WARNING: [Global.CreateUnitByName arg `unit_name`] - cstring shouldn't be converted to string.
WARNING: [Global.ExecuteOrderFromTable arg `order`] - handle should be casted to something more meaningful.
WARNING: [Global.FireGameEvent arg `eventData`] - handle should be casted to something more meaningful.
WARNING: [Global.FireGameEventLocal arg `eventData`] - handle should be casted to something more meaningful.
WARNING: [Global.IsValidEntity arg `entity`] - handle should be casted to something more meaningful.
WARNING: [Global.ListenToGameEvent arg `callback`] - handle should be casted to something more meaningful.
WARNING: [Global.ListenToGameEvent arg `context`] - handle should be casted to something more meaningful.
WARNING: [Global.LoadKeyValues return] - table should be casted to something more meaningful.
WARNING: [Global.LoadKeyValuesFromString return] - table should be casted to something more meaningful.
WARNING: [Global.MinimapEvent arg `duration`] - int shouldn't be converted to float.
WARNING: [Global.PrecacheItemByNameAsync arg `callback`] - handle should be casted to something more meaningful.
WARNING: [Global.PrecacheUnitByNameAsync arg `callback`] - handle should be casted to something more meaningful.
WARNING: [Global.SpawnEntityFromTableSynchronous arg `data`] - handle should be casted to something more meaningful.
WARNING: [ProjectileManager.CreateLinearProjectile arg `projectileData`] - handle should be casted to something more meaningful.
WARNING: [ProjectileManager.CreateTrackingProjectile arg `projectileData`] - handle should be casted to something more meaningful.
ERROR: [CDOTABaseGameMode.GetCustomAttributeDerivedStatValue] - Overriden args should have same length, expected 2 but got 1
ERROR: [CDOTAGamerules.GetMatchID return] - Overriden return is not compatible, expected uint64 but got number
ERROR: [CDOTA_BaseNPC.GetAbilityByIndex arg `ability_index`] - Overriden argument type not compatible, expected int but got number
ERROR: [CDOTA_BaseNPC.MakeVisibleDueToAttack] - Overriden args should have same length, expected 2 but got 1
ERROR: [ProjectileManager.CreateTrackingProjectile return] - Overriden return is not compatible, expected void but got ProjectileID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment