|
|
#1 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,235
Reputation: 1900
|
YSI 3.1 IMPORTANT The latest version of YSI makes some changes to y_user index files (ind_a.YSI etc). To upgrade safely first BACK UP your scriptfiles/YSI/users directory - this upgrade makes non-reversable updates to player password hashes for security, so if you don't have any backups and the upgrade fails then no-one will be able to login! Next run this mode just once: pawn Code:
This enables the upgrade code, making it very explicit that you want to do the update. Run that mode once and wait for it to tell you that the upgrade is complete (there may be two at once). Then use your other modes as normal. I COULD have made the upgrade automatic so you don't need to mess about with that mini mode, but then people might not realise and might have issues with corrupted files. This way you KNOW you are upgrading, and the server will give an error if you don't and you need to. Introduction YSI 3.1 is the latest major release of my YSI library. I've been working on this for a long time and am very pleased to see this released. There are still MANY things I can do with it, but it has to get released at some point. I've spent the last few weeks writing tests and fixing revealed bugs, but if you find any more please report them here. Download This will now ALWAYS be the latest version as it is directly synced with the development system. https://github.com/Y-Less/YSI/archive/master.zip https://github.com/Y-Less/YSI/archive/master.tar.gz Problems If you have problems compiling YSI, check this topic first: Errors and Warnings If you think you have found a bug, please report it here: Issues Libraries There are a range of libraries included in YSI, most described in their own topics, all included in the download at the end of this post. Those with no link below will hopefully get documentation soon. Some of the libraries are very low level programming, others are very high level extended SA:MP functionality. I've attempted to split the list up, but the divide is largely arbitrary. Links marked as "Old" may have out of date information due to changed syntax etc, but could still be useful for getting an idea of how the library works.
Generic Topics Errors and Warnings Writing libraries with YSI Old YSI 3.0 RC2 Old YSI 3.0 Old YSI 1.0 Function List The download now includes "YSI.inc". This file provides PAWNO with a complete function list for the WHOLE of YSI. It will also include most of YSI if you add it to your mode, but you can just use individual files as before. Click here for a sneak-preview of the function list: http://pastebin.com/MggEywZn The functions are divided by library, and also grouped by functionality, with the more advanced functions being lower down. Most of the time you can get away with only ever using the top couple of functions in a library. GIT I have set up a GIT repository at: https://github.com/Y-Less/YSI Anyone is free to view the code and submit patches, which will be integrated upon request. IRC There are two YSI IRC channels - one on GTANet and one on FoCoHub (GamerXServer IRC). Join whichever one you like, if I'm online I'll be in both: GTANet GamerX Server Updates
Last edited by Y_Less; 24/02/2013 at 05:08 PM. |
|
|
|
|
|
#2 |
|
Little Clucker
![]() Join Date: Oct 2011
Location: Georgia, United States
Posts: 21
Reputation: 4
|
You make scripting so much easier and less confusing! Thank you!
|
|
|
|
|
|
#3 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Dec 2009
Location: UK, Wales
Posts: 301
Reputation: 18
|
YSI was just updated?
|
|
|
|
|
|
#4 |
|
Big Clucker
![]() ![]() Join Date: Jan 2011
Location: Unknown
Posts: 122
Reputation: 1
|
whats change log?
|
|
|
|
|
|
#5 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,235
Reputation: 1900
|
My changelog is mainly from SVN commit messages, and the SVN server is down so I don't know (there's hundreds of them as this is a major new release).
|
|
|
|
|
|
#6 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2009
Location: Belgium
Posts: 3,075
Reputation: 562
|
Lots of very useful stuff in there. Thanks for all the effort, I really appreciate it.
|
|
|
|
|
|
#7 |
|
Little Clucker
![]() Join Date: Sep 2011
Posts: 31
Reputation: 0
|
Ohh..thanks Y_Less
|
|
|
|
|
|
#8 |
|
Huge Clucker
![]() ![]() ![]() Join Date: May 2011
Posts: 444
Reputation: 47
|
Nice, very nice, but I have a problem with this. I was using 3.0 beta, everything was good.. I've updated it to 3.1 and now when I compile Im getting like ~200 tag mistach warnings from y_commands.inc, y_dohooks.inc, y_globaltags.inc, y_shortfunc,
|
|
|
|
|
|
#9 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,235
Reputation: 1900
|
Ok, well what are the warnings? Nothing has changed there significantly.
Edit: OK, apparently I managed to break something after testing when adding comments to files! Sorry! |
|
|
|
|
|
#10 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2009
Location: Home
Posts: 2,349
Reputation: 212
|
Very nice. This is out of beta?
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Samp members wiki. Your own wiki page on sampmembers.wikia.com. Invite everyone! | Rajat_Pawar | Everything and Nothing | 13 | 16/01/2013 08:27 PM |
| wiki.sa-mp.com | piohh | General | 8 | 10/10/2012 12:27 PM |
| Limits help? http://wiki.sa-mp.com/wiki/Limits | Kar | General | 2 | 26/08/2011 11:36 AM |
| Creating a .PDF file from http://wiki.sa-mp.com/wiki/ | LZLo | Everything and Nothing | 41 | 04/08/2011 05:36 PM |
| [WIKI] How am i able to add information to the Sa-Mp Wiki? | Carlos_Leone | General | 3 | 28/03/2009 12:53 PM |