Version History

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Sputnik 0.30 @ 26-06-2015 03:33 PM)
(Sputnik 0.31 @ 14-09-2015 10:18 PM)
Line 1: Line 1:
 +
== Sputnik 0.32 @ 18-09-2015 08:04 PM ==
 +
* Since Sputnik has been used as a *library* for some time now and even more so with the current push to make all Sputniks functions available in the SpkLib class it has been decided to remove all *code* obfusctation and control flow alternations from Sputnik this should make Sputnik run a bit faster (especially so for games)
 +
* Removed % operator for DotNet usage since it has been decided Sputty doesnt need it (this change also removes anything that makes use of the DotNet system Sputnik was using from the % operator)
 +
* Removed Fixed() statement and CharPtr (char*) from Sputnik since it was confusing to have it in and it not needed anymore (it was good a LONG time ago but not anymore)
 +
* Use() can now use an array for first param that contains a type name followed by namespace name this will be used as normal (as if you just used namespace only as usual) but since you also provided a type name Sputnik will try find that type and if it happens to be a Sputnik plugin it will load and activate it this allows Managed C++ plugins to work properly just like C# plugins do (with a bit extra typing of course)
 +
* Fixed CommandSystem in lib which also fixed ConsoleServer example etc
 +
* SocketConnect() no longer crashes if it doesnt connect but instead returns FALSE so you can now do SocketConnect(~~) or die('bla'); etc
 +
* Improved SocketShutdown() the same as SocketConnect()
 +
* Improved SocketSendTo() the same as SocketConnect() and also made it cast a variable to binary if its not already
 +
* Improved SocketSendFile() the same as SocketConnect()
 +
* Improved SocketSend() the same as SocketConnect()
 +
* Improved SocketReceive() the same as SocketConnect()
 +
* Improved SocketReadLine() the same as SocketConnect() also it will return NULL on failures instead of an empty string so you can tell them apart
 +
* Improved SocketReadChar() the same as SocketReadLine()
 +
* Improved SocketPoll() the same as SocketConnect()
 +
* Improved SocketOpt() the same as SocketConnect() also failures will return NULL
 +
* Improved SocketListen() the same as SocketOpt()
 +
* Improved SocketIsBound() the same as SocketOpt()
 +
* Improved SocketIp() the same as SocketOpt() and fixed a bug where if you entered invalid key it would not have an issue
 +
* Improved SocketHandle() the same as SocketOpt()
 +
* Improved SocketClose() the same as SocketOpt()
 +
* Improved SocketBind() the same as SocketOpt()
 +
* Improved SocketAvailable() the same as SocketOpt()
 +
* Improved SocketAccept() the same as SocketOpt()
 +
* Improved SocketCreate() the same as SocketOpt()
 +
* Improved SSApprove() to only return false on failures instead of exceptions
 +
* Improved SSClientIP() to only return NULL on failures instead of exceptions
 +
* Improved SSClientStatus() the same as SSClientIP()
 +
* Improved SSDisapprove() the same as SSApprove()
 +
* Improved SSDrop() the same as SSApprove()
 +
* Improved SSRead() the same as SSClientIP()
 +
* Improved SSRecv() the same as SSClientIP()
 +
* Improved SSSend() the same as SSApprove()
 +
* Improved HostResolve() to return NULL on failure
 +
* BinaryIndexOfAny() supports proper start/length position stuff of Sputnik
 +
* Added IsHashAny() it works similar to IsHash() but will trigger if at least one element is
 +
* Changed Trainer examples to use the new SpkProc since the old read/write have been replaced with it
 +
* Updated Dark Earth Trainer to store its data in JSON to avoid issues reading it in future
 +
* Added HasFlag() it can be used to check if an instance of an enum contains a given flag or an array of flags
 +
* Added SetFlag() it can be used to set a flag (or array of flags) on/off in the enum instance
 +
* Added HasFlagAny() it works like HasFlag() but returns true if at least one flag matches instead of requiring them all to
 +
* Fixed a possible exception from IntToRom() so it will return an empty string instead
 +
* Hash() now uses UTF8 and all return values are UInt64 instead of Int64 this makes it look a bit better since it doesnt produce negative numbers anymore also any chance of an overflow exception has been fixed
 +
* Fixed several places in Spuntik that look at 0x followed by hex digits and the x was not being checked for case so only x would work no X
 +
* Fixed a crash where StrNew() would evenutally cause a memory exception to explode and kill Sputnik (it correctly allocates now)
 +
* StrChr() now has a param for length
 +
* Strpbrk() now has a param for length
 +
* StrrChr() now has a param for length
 +
* Changed how the index param works on StrIndex() it now works the same as the one in SubStr() does
 +
* StripCSlashes() speeded up a bit by fixing a bug that made it copy the string for no reason
 +
* Modified InStr() a bit and improved it a lot its flag is now a boolean for IgnoreCase it now returns -1 on failure (instead of 0) however it still maintains returning 0 on success also the position it returns (when valid) has been fixed so it correctly starts at the index and that index can be used in substr immediately the start can now be negative like substr() and there is a new length param the same as substr() and finally fixed a bug where it scans the needles length in the haystack even if the neddle is going DEEP past the null terminator which could crash Sputnik
 +
* Removed InStrRev() from lib folder (it was outdated and slow) will add a new speedy one soon
 +
* Added InStrRev() it works similar to InStr() but instead of searching from left to right it searches from right to left it is very fast (just like InStr()) however it only starts inside the start/length you give it and not beyond that so if you want to search half your string set start to 0 and length to strlen / 2
 +
* Fixed a bug in InStr() (and indirectly InStrRev()) where if the item was not found it may return -2 or something now the cap is -1
 +
* StrCmp() now has start/length params
 +
* StrStr() now has start/length params and it returns NULL on failure instead of FALSE and fixed a bug where if the match was the first char in the string it would return NULL
 +
* StrPos() offset param has been removed and replaced with start/length params (This will break any scripts using StrPos() but it is a very minor change all you do is shift the offset to after the flags and everything will work again)
 +
* Added StrDup() it is just a simple duplication function for strings (similar to clone() does)
 +
 
== Sputnik 0.31 @ 14-09-2015 10:18 PM ==
 
== Sputnik 0.31 @ 14-09-2015 10:18 PM ==
 
* ReadMem() has been changed to use UnpackSingle() instead of Unpack() so only one thing can be read at a time (but you can of course read entire chunks of ram and process it using Unpack()) also there is no "binary" def anymore instead you simply do not include a def at all and it iwl use the size to read the many bytes and return it as raw bytes
 
* ReadMem() has been changed to use UnpackSingle() instead of Unpack() so only one thing can be read at a time (but you can of course read entire chunks of ram and process it using Unpack()) also there is no "binary" def anymore instead you simply do not include a def at all and it iwl use the size to read the many bytes and return it as raw bytes

Revision as of 19:04, 18 September 2015

Contents

Sputnik 0.32 @ 18-09-2015 08:04 PM

Sputnik 0.31 @ 14-09-2015 10:18 PM

Sputnik 0.30 @ 26-06-2015 03:33 PM

Sputnik 0.29 @ 25-06-2015 08:40 AM

Sputnik 0.28 @ 19-06-2015 07:12 PM

Sputnik 0.27 @ 14-06-2015 01:15 PM

Sputnik 0.26 @ 07-06-2015 10:08 AM

Sputnik 0.25 @ 16-12-2014 08:06 AM

Sputnik 0.24 @ 29-11-2014 01:05 AM

Whats New

Known issues in current version:

Sputnik 0.23b3 @ 14-08-2014 10:09 PM

Whats New

Sputnik 0.23b2 @ 14-08-2014 02:18 PM

Whats New

Sputnik 0.23b1 @ 12-08-2014 02:23 AM

Whats New

Sputnik 0.23 @ 08-11-2014 05:54 AM

Whats New

Sputnik 0.22 @ 03-21-2014 05:54 AM

Whats New

Sputnik 0.21 @ 09-28-2013 05:26 PM

Whats New

Sputnik 0.20 @ 09-19-2013 10:58 PM

Whats New

Sputnik 0.19 @ 09-16-2013 10:25 PM

Whats New

Sputnik 0.18 @ 09-12-2013 01:42 AM

Whats New

$a = array(); $a[0] = "blah"; $a[1] = $a;

println("C:\\"); // Where as this would fail <-- No longer fails

Sputnik 0.17 @ 08-29-2013 05:49 PM

Whats New

Sputnik 0.16 @ 08-25-2013 07:56 AM

Whats New

Sputnik 0.15 @ 08-25-2013 01:15 AM

Whats New

Lower than 0.15

No information available.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox