View Single Post
sn4k3
Senior Member
Join Date: Nov 2005
Old 05-06-2008 , 12:03   Re: [06/05/2008] Sn4k3 Plugin Template v3.0
Reply With Quote #8

new version:

Code:
v3.0 [06/05/2008]

/*
TO UPDATE FROM OLD VERSIONS:

This is a massive update i recomend you copy your work and start with this new Template
After go to your saved work and just do copy and paste your functions to new project

OR------------OR------------OR

You should Copy and Replace all spt_*.* files
Find "spt_utils." and replace by "SUtilsLib::"
Change "spt_langlib." to "spt_langlib->"

If you get errors go to line and try solve, like function not find anymore its easy to solve, foundit again on SUtilLib (some have been renamed and others have changed the params)
*/

- added performance
- added SIniLib (allow parase ini files)
- added SLangLib (Languages Lib) allow now load from a KVs or Ini File
- added 'IsSafeEntity' function to SUtilsLib (Utils Library)
- added 'StrToColor' function to SUtilsLib (Utils Library)
- added 'StrSplit' function to SUtilsLib (Utils Library)
- added 'StrToAngle' function to SUtilsLib (Utils Library)
- added 'StrNew' function to SUtilsLib (Utils Library)
- added 'SubStr' function to SUtilsLib (Utils Library)
- added 'StrEatSpaces' function to SUtilsLib (Utils Library)
- added 'StrAppendSpaces' function to SUtilsLib (Utils Library)
- added 'StrFindChar' function to SUtilsLib (Utils Library)
- added 'StrCopy' function to SUtilsLib (Utils Library)
- added 'StrStripAlpha' function to SUtilsLib (Utils Library)
- added 'FindFieldByName' function to SUtilsLib (Utils Library)
- added 'SetProperty<template>' function to SUtilsLib (Utils Library)
- added 'GetProperty<template>' function to SUtilsLib (Utils Library)
- added easy binds to use dmap offsets
- added all functions that used Filters in SUtilsLib (Utils Library) now support single pEntity player
- added AddDownload now support download from files, folders, single file
- added more 3 Types for VGUI MSG (File, URL, Index, MOTD)
- added Msg_MSay (Menu) works now with more text
- added Unlimited size to say mesages (Msg_Say)
- added more signatures
- added AddByEntity() to MRecipientFilter
- added AddByFilter (MRecipientFilter) now returns the added players count 0 = none
- added more performance on AddByFilter
- added more usefull includes from SDK
- added SPT_MultiParms2 same as SPT_MultiParms but you can choose last param
- added #define (PLUGIN_TAG)
- added #define (MAX_STR_LENGTH)
- added #define (MAX_MENU_LEN)
- added #define (SAY_YELLOW)
- added #define (SAY_LIGHTGREEN)
- added #define (SAY_GREEN)


- fixed wrong vfuncs offsets used on VFuncs Library
- fixed SQlite addon with missing files and updated version
- fixed Msg_MSay (Menu) dont show very text and formated argvs no works (...)
- fixed SLangLib (Languages Lib) from def lang missing and missing languages translations (NULL text)
- fixed Prevent disable sourcehook with sourcemm ON
- fixed problems with GetClassName and GetClassNameA
- fixed TempEnts not working by default
- fixed free KVs when finish read/load from spt
- fixed others small bugs

- changed SPT License, please review it
- changed class SUtilsLib to a namespace, now is used like an namespace SUtilsLib::
- changed some functions name and params on Utils Lib
- changed SLangLib (Languages Lib) now save, read data using SIniLib
- changed SigScan Loader from file to spt_sigscanlib

- removed MRecipientFilter no require anymore maxClients param to work
- removed SigScan.cpp and SigScan.h files
- removed unecessary code
- removed all externs of SUtlisLib
- removed declared spt_langlib class from default
sn4k3 is offline
Send a message via MSN to sn4k3