PenUltima Online

It is currently Wed Aug 20, 2008 10:25 am

All times are UTC - 4 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: 2009-02-26 POL 097 Win32, Linux and FreeBSD Coregina
PostPosted: Wed Feb 27, 2008 5:34 pm 
Offline
POL Core Developer

Joined: Mon Jan 30, 2006 1:28 pm
Posts: 292
Location: Germany, Bavaria
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 ... 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...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 27, 2008 11:54 pm 
Offline

Joined: Sat Feb 04, 2006 10:26 pm
Posts: 533
I haven't run it yet, but this looks like an official 097 release - ie not a release candidate?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 28, 2008 3:33 am 
Offline
POL Core Developer

Joined: Mon Jan 30, 2006 1:28 pm
Posts: 292
Location: Germany, Bavaria
Lets bundle it with the Pol097 Distro...

Shinigami


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 28, 2008 4:57 am 
Offline
User avatar

Joined: Sun Feb 05, 2006 5:34 pm
Posts: 58
Location: Italy
Great! Finally! :D

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

_________________
Developer Silver
Faerun's Legends scripter
http://www.faerunslegends.it/


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 28, 2008 6:05 am 
Offline
Distro Developer
User avatar

Joined: Fri Feb 10, 2006 12:08 pm
Posts: 305
Location: Myrtle Beach, South Carolina
Shinigami's from the future, that's why.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 29, 2008 11:42 pm 
Offline

Joined: Sat Feb 04, 2006 10:26 pm
Posts: 533
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 01, 2008 4:04 am 
Offline
POL Core Developer

Joined: Mon Jan 30, 2006 1:28 pm
Posts: 292
Location: Germany, Bavaria
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 01, 2008 7:13 am 
Offline

Joined: Sun Feb 05, 2006 8:35 pm
Posts: 160
Location: Poland
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... :/

_________________
Shutdown();


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 01, 2008 10:15 am 
Offline
Distro Developer
User avatar

Joined: Fri Feb 10, 2006 12:08 pm
Posts: 305
Location: Myrtle Beach, South Carolina
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 02, 2008 11:37 pm 
Offline
User avatar

Joined: Fri Feb 10, 2006 4:15 am
Posts: 202
Better than any previous release.

Glad 097 got 'ready' quicker than 096.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 4 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl