Data Realms Fan Forums http://45.55.195.193/ |
|
Accessing userdata http://45.55.195.193/viewtopic.php?f=73&t=25560 |
Page 1 of 1 |
Author: | Mehman [ Sun Sep 18, 2011 12:16 pm ] |
Post subject: | Accessing userdata |
I'm trying to get a complete list of fuctions/properties for cotex command lua, I successfully listed all _G ones but the other objects such as SceneManager or MovableManager are userdata, is there a way to access their fuctions/properties (by access I mean list them)? If not does anyone have a complete list of functions and properties? Here are the _G ones: ThrowTarget
CreateMOSParticle GUIBanner tostring ToMOPixel ToTDExplosive CreatePatrolBehavior SaveGame ToHDFirearm MOSParticles grassID debug BrainSearch assert tonumber ToActor CreateAHuman CreateADoor CreateHDFirearm Update ToADoor LoadGame ToAEmitter ADoor coroutine ThrownDevice PresetMan EaseOut EaseInOut AEmitters loadstring CreateActor Timer SceneManager string CreateACRocket Attachable Vector table ToMOSRotating ToMOSParticle SkirmishDefense Area Destroy Scene ipairs HeldDevice collectgarbage ToMOSprite SelectRand ConsoleMan ToThrownDevice TDExplosive CreateACDropShip ToAttachable ACrab pairs ACRocket math WptType pcall LuaMan Clamp type CreateThrownDevice FrameMan MaginotMission AHuman DoainarMission TimerManager ACraft CreateAEmitter SiteScan UInputMan KeepieUppie Harvester CreateBrainSearchBehavior loadfile CreateGoldDigBehavior Survival Massacre OneManArmy CreateAttackBehavior CreateGetToolBehavior gcinfo EaseIn ToACrab PosRand UInputManager airID Independent getfenv ScanVectorForMO CreateTDExplosive PresetManager NormalRand ACrabs Create HDFirearms TDExplosives WeatherSnow MOPixels ToSceneObject WeatherRain MOSprite ACDropShips module doorID AHumans TestScene CreateGoToBehavior _G ToMagazine DigTarget ActivityMan GoToWpt DummyAssault ToolSearch GameActivity CreateMoveAroundBehavior MoveAroundActor ToAHuman LuaManager Actor CreateGetWeaponBehavior Sentry ToHeldDevice ToMovableObject GoldDig Patrol CreateSentryBehavior WeaponSearch AlarmEvent GetHitAngle Obst MOSParticle ACRockets goldID Actors MOSRotatings xpcall AudioMan package ShootTarget _VERSION MovableMan MovableManager BrainVsBrain TimerMan unpack Entity LERP require class ToACRocket HDFirearm setmetatable CreateAttachable Controller Magazine RangeRand SceneObject tbl AudioManager rawequal ConsoleManager SceneMan file newproxy MovableObject ToScene CreateACrab Activity ActivityManager IntRect rawset ToGameActivity Box MOPixel SceneEditorGUI ToACDropShip List ToACraft CreateScene FrameManager ZombieCaveMission Gauntlet CreateHeldDevice CreateMOSRotating MOSRotating select CreateMOPixel CreateMagazine rawget next ACDropShip AEmitter dofile load getmetatable error setfenv |
Author: | Grif [ Sun Sep 18, 2011 6:34 pm ] |
Post subject: | Re: Accessing userdata |
I'm not entirely sure that this is 100% but it should be the vast majority Unfortunately the dump I used (which was not written by me) was unable to get any kind of useful headers; I have no idea what manager directs the different functions. Code: AbsRotateTo Activate ActivityOver ActivityPaused ActivityRunning AddAIMOWaypoint AddAISceneWaypoint AddAbsForce AddAbsImpulseForce AddActor AddBox AddForce AddHealth AddImpulseForce AddInventoryItem AddItem AddMO AddObjectivePoint AddOverridePurchase AddParticle AddPreset AddRecoil AddSceneObject AddToGroup AddToMovePathBeginning AddToMovePathEnd AirTimer userdata AlarmTimer userdata AlternateReal AlternateSim AnalogAimValues AnalogAxisValue AnalogMoveValues AnalogStickValues AngleBetweenVectors AnyInput AnyJoyButtonPress AnyJoyInput AnyJoyPress AnyMouseButtonPress AnyPress AnyStartPress AnythingUnseen ApplyForces ApplyImpulses Attach AttachEmitter BaseSpawnTime number BlockedTimer userdata CalculatePath CapMagnitude CastFindMORay CastMORay CastMaterialRay CastNotMaterialRay CastObstacleRay CastSeeRay CastStrengthRay CastStrengthSumRay CastWeaknessRay Ceiling ChangeTeamFunds CheckOffset ClearAIWaypoints ClearBackBuffer32 ClearBackBuffer8 ClearForces ClearImpulseForces ClearMovePath ClearMusicQueue ClearObjectivePoints ClearOverridePurchase ClearPlacedObjectSet ClearPostEffects ClearScreenText ClearText Clone CloseHatch CollectDamage CraftEnteredOrbit Cross Ctrl userdata Deactivate DegRotate Detach DetectObstacle DisableAIs DisableMouseMoving Distance DoneReloading Dot DrawDotLine DrawLine DrawText DrawWaypoints DrawnSimUpdate DropAllInventory ESpawnTimer userdata ElementHeld ElementPressed ElementReleased EnableAveraging EnableDeepCheck EnableEmission EnableParticleSettling EndActivity EnteredOrbit EquipDiggingTool EquipFirearm EquipShield EquipShieldInBGArm EquipThrowable EraseFromTerrain FacingAngle FadeInPalette FadeOutPalette FadeOutSound FindAltitude FlashWhite FlipX FlipY Floor ForceBounds ForceDeepCheck ForceMouseWithinBox ForceMouseWithinPlayerScreen GetAGResolution GetActivity GetAimAngle GetAltitude GetArea GetBanner GetBoxInside GetBrainLZWidth GetBuildBudget GetCenterPoint GetClosestActor GetClosestBrainActor GetClosestOtherBrainActor GetClosestTeamActor GetControlledActor GetController GetCurrentObject GetDataModule GetDeliveryCount GetDemoTimeLeft GetEditorGUI GetEntityDataLocation GetFirstBrainActor GetFirstOtherBrainActor GetFirstTeamActor GetLZArea GetLastAIWaypoint GetLastRayHitPos GetMOFromID GetMOIDCount GetMOIDPixel GetModuleID GetModuleIDFromPath GetMouseMovement GetNextActorInGroup GetNextTeamActor GetOfficialModuleCount GetOffset GetParticleCount GetPlayerBrain GetPreset GetPrevActorInGroup GetPrevTeamActor GetRandomPoint GetResidentBrain GetRootMOID GetRootParent GetScreenOcclusion GetScrollTarget GetSplashRatio GetStartActivity GetTeamDeathCount GetTeamFunds GetTeamOfPlayer GetTerrMatter GetTerrain GetTotalModuleCount GetUnassignedBrain GetUnseenResolution GetViewState GetWithinBox GetWithinBoxX GetWithinBoxY GetXFlipped GetYFlipped GibThis HasArea HasNoArea HasObject HasObjectInGroup HideText Higher InitAIs IsActivated IsActor IsAssignedBrain IsAtRest IsAttached IsAttachedTo IsControllable IsDead IsDevice IsDrawnAfterParent IsEmitting IsFull IsFullscreen IsGeneric IsGold IsHeldDevice IsInGroup IsInside IsInventoryEmpty IsMOSubtractionEnabled IsMissionCritical IsMouseControlled IsMusicPlaying IsOfActor IsOnScenePoint IsOneHanded IsOpposedTo IsOtherPlayerBrain IsParticle IsParticleSettlingEnabled IsPastRealMS IsPastRealTimeLimit IsPastSimMS IsPastSimTimeLimit IsPlayerControlled IsPlaying IsRecoiled IsReloading IsResettingRTE IsSetToBurst IsSetToDelete IsShield IsState IsStatus IsThrownDevice IsTooFast IsTool IsUnseen IsVisible IsWeapon IsWithinBounds IsWithinRange IsZero JoyButtonHeld JoyButtonPressed JoyButtonReleased JoyDirectionHeld JoyDirectionPressed JoyDirectionReleased KeyHeld KeyPressed KeyReleased LeftTillRealMS LeftTillRealTimeLimitMS LeftTillRealTimeLimitS LeftTillSimMS LeftTillSimTimeLimitMS LeftTillSimTimeLimitS LoadDataModule LoadPalette LoadScene LoadUnseenLayer Look LookForGold LookForMOs LookForTargets Lower MakeAllUnseen MakeRonin MouseButtonHeld MouseButtonPressed MouseButtonReleased MouseUsedByPlayer MouseWheelMoved MoveOutOfTerrain MovePointToGround NeedsReloading Normalize NotResting ObscuredPoint OneOrNoneTeamsLeft OnlyOneTeamLeft OpenAllDoors OtherTeam PathFindingUpdated PauseActivity PauseSim Paused Perpendicularize PickUpTimer userdata PlaceResidentBrain PlaceResidentBrains PlayMusic PlaySound PlayerActive PlayerHadBrain PlayerHuman PlayerInterferedTimer userdata PlayersInTeamCount PrintString PurgeAllMOs QueueMusicStream QueueSilence RadRotate RandomSpawnTime number ReadReflectedPreset RegisterPostEffect RelativeCursorMovement Reload ReloadAllScripts ReloadFirearm ReloadScripts ReloadTimer userdata RemoveActor RemoveBoxInside RemoveItem RemoveMO RemoveMovePathBeginning RemoveMovePathEnd RemoveParticle ReportDeath Reset ResetFrameTimer ResetMessageTimer ResetPathFinding ResetRTE ResetSplitScreens RestDetection RestartActivity RetrieveResidentBrains RevealUnseen RotateOffset Round Running SaveAllText SaveBitmapToBMP SaveInputLog SaveScreenToBMP SceneTest ScreenOfPlayer SetActorSelectCursor SetAimAngle SetArea SetBrainLZWidth SetBuildBudget SetControllerMode SetCurrentObject SetCursorPos SetDeathViewTarget SetLZArea SetLandingZone SetLayerDrawMode SetMagnitude SetModuleSpace SetMousePos SetMouseValueMagnitude SetMovePathToUpdate SetMusicPosition SetNextFrame SetNextMagazineName SetObservationTarget SetOffset SetOffsetX SetOffsetY SetPlayerBrain SetRealTimeLimitMS SetRealTimeLimitS SetRecoil SetResidentBrain SetScreenOcclusion SetScreenText SetScroll SetScrollTarget SetSimTimeLimitMS SetSimTimeLimitS SetSoundAttenuation SetStartActivity SetState SetTeamFunds SetTeamOfPlayer SetViewState SetWhichMOToNotHit SetXY ShortestDistance ShowPerformanceStats ShowText SnapPosition SortTeamRoster StartActivity StartTimer userdata StopAll StopMusic StopSound SwapControllerModes SwapNextInventory SwapPrevInventory SwitchToActor SwitchToNextActor SwitchToPrevActor TargetDistanceScalar TargetLostTimer userdata TeamActive TeamFundsChanged TestBrainResidence TimeForSimUpdate TimeLeft number ToHalf ToggleFullscreen TransferJointForces TransferJointImpulses TrapMousePos TriggerBurst UnRotateOffset UnequipBGArm Unflip Update UpdateActivity UpdateEditing UpdateMovePath UpdatePathFinding ValidMO WhichJoyButtonPressed WhichKeyHeld WhichTeamLeft WithinArea WithinBox WithinBoxX WithinBoxY WrapPosition YSortObjectivePoints __add __call __concat __div __eq __gc __gettable __index __le __lt __mul __newindex __pow __sub __tostring __unm close flush lines read seek setvbuf write |
Author: | Mehman [ Sun Sep 18, 2011 6:39 pm ] |
Post subject: | Re: Accessing userdata |
Thanks a lot! |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |