This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
building:scripts:x_sfscript [2024/03/24 12:43] EternalSenenity ↷ Page moved from scripting_systems:x_sfscript to building:scripts:scripting_systems:x_sfscript |
building:scripts:x_sfscript [2024/03/25 13:14] (current) EternalSenenity Probably best not to encorage people to play with this stuff. |
||
---|---|---|---|
Line 25: | Line 25: | ||
* int GetBannedFromServers(object oPlayer); | * int GetBannedFromServers(object oPlayer); | ||
* int GetSystemTime(); | * int GetSystemTime(); | ||
- | * void ShutdownServer(int nForce=0); | ||
* void SetTMILimit(int nLimit); | * void SetTMILimit(int nLimit); | ||
- | * int FileDelete(string sFile); | ||
- | * int FileRename(string sFrom, string sTo); | ||
* int GetProcessMemoryUsage(); | * int GetProcessMemoryUsage(); | ||
* int GetSinglePCPartExtraData(string sXDATA, int nExtraInfo, int nInfoParam); | * int GetSinglePCPartExtraData(string sXDATA, int nExtraInfo, int nInfoParam); | ||
Line 34: | Line 31: | ||
* float GetSinglePCPartExtraDataFloat(string sXDATA, int nExtraInfo); | * float GetSinglePCPartExtraDataFloat(string sXDATA, int nExtraInfo); | ||
* string SetSinglePCPartExtraDataFloat(string sXDATA, int nExtraInfo, float fValue); | * string SetSinglePCPartExtraDataFloat(string sXDATA, int nExtraInfo, float fValue); | ||
- | * string SQLEncodeSpecialChars(string sToEncode); | ||
- | * object SQLGetObject(int nColumnIndex, location lLocation, object oOwner=OBJECT_INVALID); | ||
- | * int SQLFetch(); | ||
- | * string SQLGetData(int nColumnIndex); | ||
- | * int SQLGetInt(int nColumnIndex); | ||
- | * float SQLGetFloat(int nColumnIndex); | ||
- | * int SQLStoreObject(string sSQL, object oObject); | ||
- | * object SQLRetrieveObject(string sSQL, location lLocation, object oOwner=OBJECT_INVALID); | ||
- | * dbresult SQLExec(string sSQL); | ||
- | * string SQLQuote(string sToEncode); | ||
- | * void SendUDPMessage(int nPort, string sMessage); | ||
* int GetLastDialogReplyTime(object oCreature); | * int GetLastDialogReplyTime(object oCreature); | ||
* object GetDialogWith(object oObject); | * object GetDialogWith(object oObject); | ||
Line 324: | Line 310: | ||
* void Spacer_322(); | * void Spacer_322(); | ||
* void Spacer_323(); | * void Spacer_323(); | ||
- | * int SQLAffectedRows(); | ||
* void SetPlayerCharacterName(object oPC, string sName); | * void SetPlayerCharacterName(object oPC, string sName); | ||
* void SetCreatureDisplayName(object oPC, string sName); | * void SetCreatureDisplayName(object oPC, string sName); | ||
Line 373: | Line 358: | ||
* location PC_GetSavedLocation(object oPC); | * location PC_GetSavedLocation(object oPC); | ||
* void PC_SetSavedLocation(object oPC, location lLocation); | * void PC_SetSavedLocation(object oPC, location lLocation); | ||
- | * int SQLGetInsertId(); | ||
- | * int SQLGetLastResultCode(); | ||
* int GetSurface(location lLocation); | * int GetSurface(location lLocation); | ||
* int GetAnimation(object oTarget); | * int GetAnimation(object oTarget); | ||
Line 380: | Line 363: | ||
* int GetFlatFlooted(object oCreature); | * int GetFlatFlooted(object oCreature); | ||
* int GetIsPolymorphed(object oCreature); | * int GetIsPolymorphed(object oCreature); | ||
- | * void _SetXPL_DontUse(int i); | ||
* int GetEventParamInt(int nParamIndex); | * int GetEventParamInt(int nParamIndex); | ||
* object GetEventParamObject(int nParamIndex); | * object GetEventParamObject(int nParamIndex); | ||
Line 547: | Line 529: | ||
* void SetPlayerOptionString(object oPC, string sGroup, string sName, string sValue); | * void SetPlayerOptionString(object oPC, string sGroup, string sName, string sValue); | ||
* int GetPersistentAreaId(object oArea); | * int GetPersistentAreaId(object oArea); | ||
- | * string GetDatabaseName(); | ||
- | * dbresult SQLCoreExec(string sSQL); | ||
- | * int SQLCoreAffectedRows(); | ||
- | * void SQLCoreGetInsertId(); | ||
* int GetCurrentScriptInCore(); | * int GetCurrentScriptInCore(); | ||
* int GetCurrentScriptPublic(); | * int GetCurrentScriptPublic(); | ||
Line 557: | Line 535: | ||
* int CRC32(string sValue); | * int CRC32(string sValue); | ||
* string SHA256(string sValue); | * string SHA256(string sValue); | ||
- | * string GetCorePCPublicCDKey(object oPC); | ||
* int HexToInt(string sHex); | * int HexToInt(string sHex); | ||
* tring ByteToHex(int nInt); | * tring ByteToHex(int nInt); | ||
Line 573: | Line 550: | ||
* int HouseScriptHomeId(); | * int HouseScriptHomeId(); | ||
* void RemovePlayerHouseEffects(object oObject); | * void RemovePlayerHouseEffects(object oObject); | ||
- | * array CORE_GetPlayerDefaultCDKeys(string sPlayerName); | ||
* string GetResRefPrefix(string sResRef); | * string GetResRefPrefix(string sResRef); | ||
* string GetResRefErfPrefix(string sResRef); | * string GetResRefErfPrefix(string sResRef); |