* each SpeechEvent needs to contain a copy of the speechtokens
* added core changes
* prevent memoryleak
* add basic pol test
* Remove extraneous prints in test
* Address review comments
- Refactor token encoding into a method
---------
Co-authored-by: Kevin Eady <8634912+KevinEady@users.noreply.github.com>
* Add use_byte_reader option to OpenConnection
* Fix formatting
* fix incorrect param number
* Do not include on writes CRLF if using byte reader
* Rename to ignore_line_breaks
* Update docs
* Add core-changes
* include items on exterior stairs to MultiRef.items
* only use extra search area in custom houses
* Mutli search_box returns current_box()
* address discord review comments
* Store item list for item visibility changes
* fix styling, typedef
* Remove old CustomHouseStopEditing prototype
* Add helper UHouse::get_working_design_items
* Add flag to HTTPRequest() for addl response data
* Add ability to change status and headers in www scripts
* Add tests for new webserver features
* Update docs and core-changes
* add item.character_owner
* Address review comments
- Cleanup chr_from_wornitems
- Return BError if no character owner
* Add Target option TGTOPT_ALLOW_NONLOCAL
* Address review comments
- Remove `Core::chr_from_wornitems`
* Add pol tests for snooping
* Add tests for TGTOPT_ALLOW_NONLOCAL
* target_nonlocal_checklos pol test debugging
* target_nonlocal_checklos pol test debugging
- Remove destroy of obstacle
- Add a CheckLosAt call to error return
* target_nonlocal_checklos pol test debugging
- Enable USAN build
* undo test debugging changes
* use mobile for los when targetting snoopable items
* Update core-changes
* Persist SnoopScript for items on save
* Add snoop_script_ to Item::estimatedSize
* document SnoopScript script type
* Initial work on adding SnoopScript
* use message "That doesn't belong to you..." if lifting a snoopable item
* fix configfile changes
* Update core-changes
* fix potential crash during login.
initial client loop can fail and thus the client will be deleted.
leading to an access violation if the delete thread is faster then the login thread.
* added docs
* Crash reproducer with methods
* potential crash fix
* removed ASan build, added core changes
* do not store valuestack reference before calling method to fix potential
dangling reference
* Take into account that the ValueStack can grow due to method calls.
* Add force parameter to CreateNPCFromTemplate()
* Update documentation
* Rename parameter to forcelocation
* Fix parameter name in docs
* Fix parameter name in docs (again)
* SendPopUpMenu supports now the newer format which removes the limitation
of the cliloc values
* fixed build errors
* revision increase when insurance gets reset on death.
added core changes
* updated online docs
* using enum for flag values
* OpenXMLFile: return error if file does not exist instead of xmlobject in
error state
* added docs
* translate every xml open/parsing error to BError
* updated core changes entry, to reflect the latest changes
* - Change all (most?) outgoing packet handlers that should write CP-1252 to convert UTF-8 to CP-1252.
- Update Clib::sanitizeUnicodeWithIso() to sanitize with CP-1252, which is what UO uses instead of ISO-8859.
- Add a test for Clib::sanitizeUnicodeWithIso() to check if it's performing the conversion correctly (currently it is not).
* Fix stylecheck
* Revert changes to sanitizeUnicodeWithIso()
* Change test so it matches acceptable sanitizeUnicodeWithIso behavior.
* Fix warnings.
* Add corechanges.
* Fix SetString packet hook method writing UTF-8 instead of CP-1252. Add a new method, SetUtf8String, for writing UTF-8.
* Add functions that operate on whole strings.
* Fix a couple of bugs and add unit tests.
* Do not convert if the string doesn't contain any UTF-8
* Convert 0x80..0x9f control characters, which don't exist in cp1252, to question marks
* Fix SetUtf8String writing too few bytes if the string contained multi-byte UTF-8 characters
* Remove extraneous parameter from TextCommandScript documentation
* Update changes and docs
When a character is ready to swing, it will attack after being moved. Moving the character from within the attack hook could thus cause an infinite recursion.
* tests for several descriptor loading related problems
* fixed copy of cprops from descriptor to intrinsic items
fixed container test
* added shield npcdesc entry
* fixed nodrop/exception loading from itemdesc
* fixed compilation error
* attackdelay should later also trigger creation of npc weapon, added test for it
* intrinsic weapon gets created when AttackSpeed or AttackDelay is set.
* added docs
* changed doc entry
* fixed typo
* Test: move boat while client on ship
* added f3 pkt
* pkt id on assert failure
* 7090 pkts
* smooth boat pkt
* silent the spam
* syncpoint for moveobjecttolocation of char
* added sync point for silent item updates
* starting actual test for boat movement to check correcr coords
* read z coord as signed short
* clarified names
* smooth boat pkt rewrite. dont include invis objs, send the correct obj count in case of overflows
* core changes
* first testclient version
fixed dangling pointer in openconnection
added option to keep connection alive
* movement tests
OpenConnection do not start socketclient on connection error
changed communication pkts between testclient and server
send every event to server from testclient
* add new item event
serialize method
check move position
* added openconnection docs
* test if the ci can fail to find python3
* explicit add python3
* added multiclient support
* debug logs
* more debug
* id out of sync?
* cleanup fixed typo
* transfer client id
* send todos to the correct brain
* addee core changes
* Fix overflow of new HSA packets when a boat has too many items on the deck. These packets will now be truncated.
* Added setting in ssopt to control the refresh of the decay timer for items on deck after a boat movement
* Add option to receive only PC or NPC area events: EnableEvents(ev, range, evmask)
where evmask can be:
0 -> accepts events from both PC or NPC (as it is now)
1 -> accepts events from PC only
2 -> accepts events from NPC only
* Add docs and entry in uo.em
* Add entered/leftarea tests
Those functions expected chrptr to be null when a character wasn't assigned to a client, but they instead got an uninitialized pointer. This caused a memory access error that crashed POL. Initializing those pointers to null fixes the issue.
* added os:GetEnvironmentVariable to list all environs or get a single one
* first version of restarting the core to test save/load
added environment variable to filter tests
* fixed string constructor (size_t instead of signed int)
* added string_view constructor
* splitted and extended restart tests
* added docs
* added pol.cfg setting to disallow environment variable access
* Change environmental variable access rules
Instead of defaulting to all values allowed, now defaults to none. May
specify either `*` to allow all variables, or a comma-delimited list.
* Address review changes
- Use Clib lower instead of boost
- const auto references
- Separate tests for access and finding env vars
* Update documentation
* Apply suggestions from code review
Co-authored-by: Kevin Eady <8634912+KevinEady@users.noreply.github.com>
Co-authored-by: Fernando Rozenblit <rozenblit@gmail.com>