PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
2009-02-26 POL 097 Win32, Linux and FreeBSD Coregina

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion 097
Display posts from previous:   

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Wed Feb 27, 2008 5:34 pm    Post subject: 2009-02-26 POL 097 Win32, Linux and FreeBSD Coregina Reply with quote

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...

Author Message
OldnGrey



Joined: 04 Feb 2006
Posts: 500

PostPosted: Wed Feb 27, 2008 11:54 pm    Post subject: Reply with quote

I haven't run it yet, but this looks like an official 097 release - ie not a release candidate?

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Thu Feb 28, 2008 3:33 am    Post subject: Reply with quote

Lets bundle it with the Pol097 Distro...

Shinigami

Author Message
Developer Silver



Joined: 05 Feb 2006
Posts: 58
Location: Italy

PostPosted: Thu Feb 28, 2008 4:57 am    Post subject: Reply with quote

Great! Finally! Very Happy

P.S.: date in thread title... is 1 year forward Razz

Author Message
MontuZ
Distro Developer


Joined: 10 Feb 2006
Posts: 286
Location: Myrtle Beach, South Carolina

PostPosted: Thu Feb 28, 2008 6:05 am    Post subject: Reply with quote

Shinigami's from the future, that's why.

Author Message
OldnGrey



Joined: 04 Feb 2006
Posts: 500

PostPosted: Fri Feb 29, 2008 11:42 pm    Post subject: Reply with quote

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.

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Sat Mar 01, 2008 4:04 am    Post subject: Reply with quote

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

Author Message
qrak



Joined: 05 Feb 2006
Posts: 157
Location: Poland

PostPosted: Sat Mar 01, 2008 7:13 am    Post subject: Reply with quote

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:

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... :/

Author Message
MontuZ
Distro Developer


Joined: 10 Feb 2006
Posts: 286
Location: Myrtle Beach, South Carolina

PostPosted: Sat Mar 01, 2008 10:15 am    Post subject: Reply with quote

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.

Author Message
ncrsn



Joined: 10 Feb 2006
Posts: 107

PostPosted: Sun Mar 02, 2008 11:37 pm    Post subject: Reply with quote

Better than any previous release.

Glad 097 got 'ready' quicker than 096.

Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion 097 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty