polserver/pol-core/doc/breaking-changes.txt
Fernando Rozenblit 266bff30c2
item.hitscript and item.onhitscript will now return the full spec for the script. Added breaking-changes.txt. (#215)
* Return the full spec for item.hitscript and item.onhitscript. The relative name wasn't very helpful.

* Added breaking changes.txt. We can add more breaking changes later.

* Added ScriptDef::qualifiedname(). Returns the full spec necessary to call the script ("::scriptname" or ":pkgname:scriptname"). Returns an empty string if there is no script.
2020-08-13 11:29:07 +02:00

44 lines
2.3 KiB
Text

# This is a short summary of breaking changes.
# Please consult core-changes.txt for more information.
-- POL100 [work-in-progress] --
2020-08-13:
item.hitscript and item.onhitscript now *always* return the full path of their scripts (":pkgname:script")
2020-01-03:
AddAmount() now returns item reference on success instead of 1. Remove any explicit comparisons (AddAmount() == 1).
2019-09-21:
The core is now Unicode aware!
- Note: Item/Mobile names still need to be in ASCII format.
- If invalid unicode is detected while compiling or reading a file, ISO8859 will be assumed.
- Unicode functions now accept a string directly. Arrays are still kept for backwards
compatibility, but that may change in the future.
- Non-unicode functions that receive a unicode string will use the unicode version
automatically with langcode "ENU".
- party.cfg:
OnPublicChat second parameter is now a string object
OnPrivateChat third parameter is now a string object
ChangePublicChat second parameter is now a string object
ChangePrivateChat third parameter is now a string object
- unicode.em: RequestInputUC() return value no more contains member uc_text
- CharRef.clientinfo struct members 'video_description' and 'langcode' are now strings
- PacketObj.getunicodestring()/getunicodestringflipped() return a string
- Textcmd arguments are now (CharRef, String, [langcode=String])
- SpeechEvent no longer contains uc_text member
- scripts/misc/charprofile.ecl fourth parameter is a string
2019-04-26:
- POL now requires at least Windows Vista / Server 2008. Let us know if Windows XP was important to you.
- Removed: pol.cfg option "ListenPort". You should use a Listener in uoclient.cfg.
- Removed: pol.cfg option "Multithread". POL is now always multithreaded.
- Removed: method os::System_RPM(). It was only useful for singlethreaded POL.
# >> Older breaking changes in POL100 might be missing here. Let us know if you find any. <<
2018-02-11:
- UO::Accessible(chr, item, range := ACCESSIBLE_DEFAULT) now checks for the item distance to chr.
The default was always documented as 2 tiles. But due to a bug, it could be up to 18 tiles.
-- POL099 --
# For 099 and older please read core-changes.txt.