2008-02-26 POL 097 Win32, Linux and FreeBSD Coregina

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 097.
Note: Core 097 is no longer officially supported.
Post Reply
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

2008-02-26 POL 097 Win32, Linux and FreeBSD Coregina

Post by Shinigami »

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: Select all

-- 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 ... indows/097
Linux download : http://releases.polserver.com/index.php ... /Linux/097
FreeBSD download : http://releases.polserver.com/index.php ... reeBSD/097

feel free to use it...
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

I haven't run it yet, but this looks like an official 097 release - ie not a release candidate?
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

Post by Shinigami »

Lets bundle it with the Pol097 Distro...

Shinigami
Developer Silver
Apprentice Poster
Posts: 58
Joined: Sun Feb 05, 2006 1:34 pm

Post by Developer Silver »

Great! Finally! :D

P.S.: date in thread title... is 1 year forward :P
User avatar
MontuZ
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am

Post by MontuZ »

Shinigami's from the future, that's why.
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

In any case, it appears as if this release is the real release of pol097.
It runs and there is no hint of release candidate in start.log.

Well done, but you really should have made a bigger fanfare out of this release on the home page and not just listed some bugs it fixed! I may be dumb but maybe others are just as dumb too. POL097 is a serious emulator release and the best yet.

All we need now is for the forum admins to re-organise the forums to make 097 the current release instead of it showing development.

Can this bug with unpack have anything to do with the bad allocations or the RAM leaks that have been reported? It doesn't appear so.
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

Post by Shinigami »

No, has nothing to do with RAM leaks... but there was another fix regarding this.

The point about real-final is just, this release was tested until releasing on one live shard only... you can say, the Q-Check is missing.

Shinigami
qrak
Grandmaster Poster
Posts: 198
Joined: Sun Feb 05, 2006 4:35 pm

Post by qrak »

POL097-2008-02-26 Coregina (gentoo)

Linux lvps87-230-35-46 2.6.9-023stab046.2-enterprise #1 SMP Mon Dec 10 15:22:33 MSK 2007 i686 i686 i386 GNU/Linux

RAM usage on latest core with megacliloc packethook enabled:

Code: Select all

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM   TIME+  COMMAND
1. 10036 XXXXX   18   0  339m 267m 2936 S 12.6 13.3   3:09.29 pol
2. 10036 XXXXX   18   0  346m 274m 2936 S 11.3 13.6   3:27.63 pol
3. 10036 XXXXX   18   0  353m 282m 2936 S 14.0 14.0   3:46.19 pol
4. 10036 XXXXX   18   0  362m 291m 2936 S 21.9 14.4   4:02.08 pol
As we can see packethooks still leaking. Memory jumps occuring every couple of minutes. Without megacliloc it's better but still... :/
User avatar
MontuZ
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am

Post by MontuZ »

Windows release is running a lot better than the previous release. Of course due to updates I make it's only been up a max of 3 days since I started using this one.

I do have a question about task manager stats. If I have task manager open and I either minimize or bring POL into focus the 'Mem Usage' starts from 0 and works it's way back up to the normal state. Is that normal? I was just wondering because it doesn't seem to do that with any other program I use.
User avatar
ncrsn
Grandmaster Poster
Posts: 255
Joined: Fri Feb 10, 2006 12:15 am

Post by ncrsn »

Better than any previous release.

Glad 097 got 'ready' quicker than 096.
Post Reply