 |
 |
 |
 |
| Author |
Message |
Shinigami POL Core Developer
Joined: 30 Jan 2006 Posts: 292 Location: Germany, Bavaria
|
Posted: Wed Feb 27, 2008 5:34 pm Post subject: 2009-02-26 POL 097 Win32, Linux and FreeBSD Coregina |
|
|
Hello everybody,
There was a big bad bug inside which prevents us for a long time to release a new core... But here we are. These core runs successfully lot of days on a live shard.
| Code: | -- POL097 --
02-9 Shinigami:
Fixed : Bug in Unpack() with zero length Strings.
02-8 Austin:
Added : CharacterSlots setting in pol.cfg. Defaults to 5. This is to set the maximum number
of slots an account can hold - to support clients that support 6 slots.
02-5 Austin:
Changed : The freemove privilege will also allow targetting to be done when frozen / paralyzed.
12-9 Shinigami:
Fixed : Bug in Unpack() with Strings in Arrays, Dictionaries etc. in case that
the String is not the last element.
11-5 MuadDib
Added : Character.Cursor member. Returns 0/1 based on if character has an active
cursor.
Character.Gump member. Returns 0/1 based on if character has any active
gumps.
Character.Prompt member. Returns 0/1 based on if character has any active
unicode and/or normal text prompt gumps open.
10-20 MuadDib
Removed : Basic::Left and Basic::Mid. These functions reported not working since
095, and code was set to not use them anyway. Val[int, int] works anyway
and does what these functions do.
Added : Basic::SubStr(string, start, length). Replace for left/right/mid. Works
same way as virtual SubStrings in eScript (val[int, int]). This is for
those who like the func methods instead.
Added : Math::Min and Math::Max functions.
10-11 MuadDib
Fixed : Changing realms with Season info would reset light levels until next
light update in that realm. Send Season in core now sends light level
whenever season info is sent to the client (Client issue). Also fixes
an issue with seasons and 1.x clients.
Added : servspecopt.cfg::DefaultLightLevel=ushort. New default light level
setting for regions with no light level defined in regions cfg files.
Default is 10. Replaced arbitrary setting in core.
Fixed : Exploit in Create Character system.
10-10 MuadDib
Fixed : uo::CreateAccount() will no longer accept non-alphanumeric characters
for account name, will return error stating such if one is used. Also
now passwords can contain all characters except whitespace and control
characters. Please test heavily. I tested for the commons via script
already.
10-04 MuadDib
Changed : NPC::IsLegalMove() will now explicitly check for a MOVE in the given
direction, regardless of NPC's current Facing. Will stop AI's that
have NPC's using Bounding Boxes that walk out of the box by checking
legal move, turning, then moving 1 step. Please be sure to check
your AI's that use bounding boxes, to see if you coded that way!
This check is for step movement. Facing should only be blockable if
frozen, paralyzed, or stamina affected (if server set to use stam).
Fixed : Exploit in Unpack() with Arrays and Dictionaries. If an element within
the pack returns an error when unpacked, Unpack() halts and returns an
error. Still ignores Uninit stuff as before. Same reasoning for fix as
with Strings on 10-02. Dictionary will continue on and insert the error
returns in key/value entries.
10-02 MuadDib
Fixed : Exploit in unpacking Strings with length definition. Affected manual
building of packed versions such as in use by Aux connections etc.
New error returns:
"Unable to unpack string length. Invalid length!" = 0 or less Length
"Unable to unpack string length. Bad format. Colon not found!" = Duh.
"Unable to unpack string length. String length excessive." = Said it 3,
but length was actually less.
"Unable to unpack string length. String length short." = Said it was 3,
but length was actually more.
Note : The following is acceptable in packed data sets.
's' = String data, no length defined. Ex: sHello World!
'S': String With Length defined. Ex: S12:Hello World!
'i': Integer follows. Ex: i12
'r': Double Integer format. Ex: r12.9
'u': Unitialized Object format.
'a': Array follows. Ex: a2:S12:Hello World!S12:Hello World.
'd': Dictionary.
't': Struct
'e': Escript Error
'x': Unitialized Object
If you ever question the format for something packed, then just use
the Pack() function on your data, to see the end result.
9-05 VeNdOr
Fixed : equipped items become invisible on realms different from britannia
9-04 VeNdOr
Added : auxconnection.ip -- returns remote ip of connection as string |
Win download : http://releases.polserver.com/index.php?dir=Core/Windows/097
Linux download : http://releases.polserver.com/index.php?dir=Core/Linux/097
FreeBSD download : http://releases.polserver.com/index.php?dir=Core/FreeBSD/097
feel free to use it... |
|
 |
|
|
 |
 |
|