Raised This Month: $12 Target: $400
 3% 

[EXTENSION][CS:GO] VScript Functions


Post New Thread Reply   
 
Thread Tools Display Modes
Yuuhisaka
New Member
Join Date: Aug 2013
Old 05-04-2018 , 03:08   Re: [EXTENSION][CS:GO] VScript Functions
Reply With Quote #21

Quote:
Originally Posted by Backup View Post
Could you please attach the generated file "include/vscriptfun.inc"?
These 2 files were created by VSF Extension automatically.

vscriptfun.inc

I can't upload the file named 'natives' so I paste its content here.
Code:
VSF.RandomFloat
VSF.RandomInt
VSF.ShowMessage
VSF.SendToConsole
VSF.SendToConsoleServer
VSF.GetMapName
VSF.LoopSinglePlayerMaps
VSF.TraceLine
VSF.Time
VSF.FrameTime
VSF.DoEntFire
VSF.EntFireByHandle
VSF.DoUniqueString
VSF.CreateSceneEntity
VSF.DebugDrawBox
VSF.DebugDrawLine
VSF.DoIncludeScript
VSF.CreateProp
VSF.RecordAchievementEvent
VSF.GetDeveloperLevel
VSF.DispatchParticleEffect
VSF.ScriptSetPlayerCompletedTraining
VSF.ScriptGetPlayerCompletedTraining
VSF.ScriptSetBestTrainingCourseTime
VSF.ScriptGetBestTrainingCourseTime
VSF.ScriptGetValveTrainingCourseTime
VSF.ScriptTrainingGivePlayerAmmo
VSF.ScriptSetMiniScoreHidden
VSF.ScriptSetRadarHidden
VSF.ScriptHighlightAmmoCounter
VSF.ScriptShowFinishMsgBox
VSF.ScriptShowExitDoorMsg
VSF.ScriptIsLocalPlayerUsingController
VSF.ScriptPrintMessageCenterAll
VSF.ScriptPrintMessageCenterAllWithParams
VSF.ScriptPrintMessageChatAll
VSF.ScriptPrintMessageCenterTeam
VSF.ScriptPrintMessageChatTeam
VSF.ScriptGetGameMode
VSF.ScriptGetGameType
VSF.ScriptGetRoundsPlayed
VSF.ScriptIsWarmupPeriod
VSF.ScriptCoopSetBotQuotaAndRefreshSpawns
VSF.ScriptCoopMissionSpawnFirstEnemies
VSF.ScriptCoopMissionSetNextRespawnIn
VSF.ScriptCoopMissionSpawnNextWave
VSF.ScriptCoopMissionRespawnDeadPlayers
VSF.ScriptCoopMissionGetMissionNumber
VSF.ScriptCoopResetRoundStartTime
VSF.ScriptCoopGiveC4sToCTs
VSF.ScriptCoopCollectBonusCoin
VSF_CHostage.IsBeingCarried
VSF_CScriptKeyValues.FindKey
VSF_CScriptKeyValues.GetFirstSubKey
VSF_CScriptKeyValues.GetNextKey
VSF_CScriptKeyValues.GetKeyInt
VSF_CScriptKeyValues.GetKeyFloat
VSF_CScriptKeyValues.GetKeyBool
VSF_CScriptKeyValues.GetKeyString
VSF_CScriptKeyValues.IsKeyEmpty
VSF_CScriptKeyValues.ReleaseKeyValues
VSF_CEntities.First
VSF_CEntities.Next
VSF_CEntities.CreateByClassname
VSF_CEntities.FindByClassname
VSF_CEntities.FindByName
VSF_CEntities.FindInSphere
VSF_CEntities.FindByTarget
VSF_CEntities.FindByModel
VSF_CEntities.FindByNameNearest
VSF_CEntities.FindByNameWithin
VSF_CEntities.FindByClassnameNearest
VSF_CEntities.FindByClassnameWithin
VSF_CTriggerCamera.GetFov
VSF_CTriggerCamera.SetFov
VSF_CFuncTrackTrain.GetFuturePosition
VSF_CSceneEntity.EstimateLength
VSF_CSceneEntity.IsPlayingBack
VSF_CSceneEntity.IsPaused
VSF_CSceneEntity.AddBroadcastTeamTarget
VSF_CSceneEntity.RemoveBroadcastTeamTarget
VSF_CSceneEntity.FindNamedEntity
VSF_CSceneEntity.LoadSceneFromString
VSF_CPlayerVoiceListener.IsPlayerSpeaking
VSF_CPlayerVoiceListener.GetPlayerSpeechDuration
VSF_CBasePlayer.IsNoclipping
VSF_CGameCoopMissionManager.GetWaveNumber
VSF_CEnvEntityMaker.SpawnEntity
VSF_CEnvEntityMaker.SpawnEntityAtEntityOrigin
VSF_CEnvEntityMaker.SpawnEntityAtNamedEntityOrigin
VSF_CEnvEntityMaker.SpawnEntityAtLocation
VSF_CBaseFlex.GetCurrentScene
VSF_CBaseFlex.GetSceneByIndex
VSF_CBaseEntity.ConnectOutput
VSF_CBaseEntity.DisconnectOutput
VSF_CBaseEntity.GetHealth
VSF_CBaseEntity.SetHealth
VSF_CBaseEntity.GetMaxHealth
VSF_CBaseEntity.SetMaxHealth
VSF_CBaseEntity.SetModel
VSF_CBaseEntity.GetModelName
VSF_CBaseEntity.EmitSound
VSF_CBaseEntity.StopSound
VSF_CBaseEntity.PrecacheSoundScript
VSF_CBaseEntity.GetSoundDuration
VSF_CBaseEntity.GetClassname
VSF_CBaseEntity.GetName
VSF_CBaseEntity.GetPreTemplateName
VSF_CBaseEntity.GetOrigin
VSF_CBaseEntity.SetAbsOrigin
VSF_CBaseEntity.SetOrigin
VSF_CBaseEntity.GetForwardVector
VSF_CBaseEntity.GetLeftVector
VSF_CBaseEntity.GetUpVector
VSF_CBaseEntity.SetForwardVector
VSF_CBaseEntity.GetVelocity
VSF_CBaseEntity.SetVelocity
VSF_CBaseEntity.SetAngularVelocity
VSF_CBaseEntity.GetAngularVelocity
VSF_CBaseEntity.GetCenter
VSF_CBaseEntity.EyePosition
VSF_CBaseEntity.SetAngles
VSF_CBaseEntity.GetAngles
VSF_CBaseEntity.SetSize
VSF_CBaseEntity.GetBoundingMins
VSF_CBaseEntity.GetBoundingMaxs
VSF_CBaseEntity.Destroy
VSF_CBaseEntity.SetOwner
VSF_CBaseEntity.GetTeam
VSF_CBaseEntity.SetTeam
VSF_CBaseEntity.GetMoveParent
VSF_CBaseEntity.GetRootMoveParent
VSF_CBaseEntity.FirstMoveChild
VSF_CBaseEntity.NextMovePeer
VSF_CBaseEntity.__KeyValueFromString
VSF_CBaseEntity.__KeyValueFromFloat
VSF_CBaseEntity.__KeyValueFromInt
VSF_CBaseEntity.__KeyValueFromVector
VSF_CBaseEntity.GetModelKeyValues
VSF_CBaseEntity.PrecacheModel
VSF_CBaseEntity.PrecacheScriptSound
VSF_CBaseEntity.ValidateScriptScope
VSF_CBaseEntity.GetScriptScope
VSF_CBaseEntity.GetScriptId
VSF_CBaseEntity.GetOwner
VSF_CBaseEntity.entindex
VSF_CBaseAnimating.LookupAttachment
VSF_CBaseAnimating.GetAttachmentOrigin
VSF_CBaseAnimating.GetAttachmentAngles
VSF_CBaseAnimating.IsSequenceFinished
VSF_CBaseAnimating.SetBodygroup
Yuuhisaka is offline
Backup
Senior Member
Join Date: Jul 2010
Location: Česká Republika
Old 05-09-2018 , 05:47   Re: [EXTENSION][CS:GO] VScript Functions
Reply With Quote #22

Yuuhisaka: Thanks for the files. Very interesting bug indeed. Do you run any mods? Could you please try switching off as much plugins and extensions as possible, just to see whether the include file gets generated correctly (delete the data/vscriptfun/natives file and restart the server to force regeneration of the include file). Correct include file should be identical to the one shown in the first post in this thread. One more thought - what kind of maps do you run? Do they use vscript by any chance?
It would be nice to find what mod or map causes this, since I wasn't able to reproduce this behavior on my machine.

If you just want to use this module, simply copy the contents of the include file from the first post and paste it into the scripting/includes/vscriptfun.inc file.
__________________
Sorry for my english.

Last edited by Backup; 05-09-2018 at 05:49.
Backup is offline
inklesspen
Member
Join Date: Nov 2015
Location: Russia, Moscow
Old 07-04-2018 , 08:41   Re: [EXTENSION][CS:GO] VScript Functions
Reply With Quote #23

PHP Code:
Unable to load extension "vscriptfun.ext": .../csgo/addons/sourcemod/extensions/vscriptfun.ext.2.csgo.soundefined symbol_ZN17CThreadSpinRWLock11LockForReadEv 
Linux server
OS: Debian 9.4 stretch
__________________
Mai inglish is veri gud!
inklesspen is offline
Send a message via Skype™ to inklesspen
spl1ff
New Member
Join Date: Aug 2017
Old 05-16-2020 , 09:31   Re: [EXTENSION][CS:GO] VScript Functions
Reply With Quote #24

I'm having the exact same issue on Ubuntu 20.04 LTS

Code:
[SM] Extension vscriptfun.ext.2.csgo.so failed to load: .../csgo/addons/sourcemod/extensions/vscriptfun.ext.2.csgo.so: undefined symbol: _ZN17CThreadSpinRWLock11LockForReadEv

Last edited by spl1ff; 05-16-2020 at 09:32.
spl1ff is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode