hey its me again.
Posted: Mon Sep 11, 2006 2:43 pm
I needed to ask how hard is it to upgrade from 95 to 96? I dont even know how to do that if someone could tell me how to upgrade to 96 i would really like it please.
You should change all MoveItemToLocation() and MoveCharacterToLocation() to MoveObjectToLocation() function calls. The first two are deprecated in POL 97 I believe and will generate a compile error if not changed.const _DEFAULT_REALM := "britannia";
CreateItemAtLocation( x, y, z, objtype, amount := 1, realm := _DEFAULT_REALM );
CreateItemCopyAtLocation(x, y, z, item, realm := _DEFAULT_REALM);
boat.move_offline_mobiles(int x, int y, int z[, string realm]);
(If realm is not set, Boat-realm is used.)
CreateMultiAtLocation( x, y, z, objtype, flags := 0, realm := _DEFAULT_REALM );
CreateNpcFromTemplate( template, x, y, z, override_properties := 0, realm := _DEFAULT_REALM);
FindPath( x1, y1, z1, x2, y2, z2, realm := _DEFAULT_REALM, mobilesblock := 0, searchskirt := 5 );
GetHarvestDifficulty( resource, x, y, tiletype, realm := _DEFAULT_REALM );
GetMapInfo( x, y, realm := _DEFAULT_REALM );
GetRegionString( resource, x, y, propertyname, realm := _DEFAULT_REALM );
GetStandingHeight( x, y, startz, realm := _DEFAULT_REALM );
GetWorldHeight( x, y, realm := _DEFAULT_REALM );
HarvestResource( resource, x, y, b, n, realm := _DEFAULT_REALM ); // returns b*a where 0 <= a <= n
ListGhostsNearLocation( x, y, z, range, realm := _DEFAULT_REALM );
ListItemsAtLocation( x, y, z, realm := _DEFAULT_REALM );
ListItemsNearLocation( x, y, z, range, realm := _DEFAULT_REALM );
ListItemsNearLocationOfType( x,y,z, range, objtype, realm := _DEFAULT_REALM );
ListItemsNearLocationWithFlag( x,y,z, range, flags, realm := _DEFAULT_REALM );
ListMobilesNearLocation( x, y, z, range, realm := _DEFAULT_REALM );
ListMobilesNearLocationEx( x,y,z, range, flags, realm := _DEFAULT_REALM );
ListObjectsInBox( x1,y1,z1, x2,y2,z2, realm := _DEFAULT_REALM );
ListMultisInBox( x1,y1,z1, x2,y2,z2, realm := _DEFAULT_REALM );
PlayMovingEffectXYZ( srcx, srcy, srcz, dstx, dsty, dstz, effect, speed, loop := 0, explode := 0, realm := _DEFAULT_REALM );
PlayStationaryEffect( x, y, z, effect, speed, loop := 0, explode := 0, realm := _DEFAULT_REALM );
10-17 Austin
Added : Added uo::MoveObjectToLocation( object, x, y, z, realm := _DEFAULT_REALM, flags := MOVEOBJECT_NORMAL );
Function will replace MoveCharacterToLocation(), MoveItemToLocation(), and MoveObjectToRealm()
Currently moves boats, mobiles, and items.
As things come to mind I will try to post them here but those two are the biggest ones.AOS Spellbook packets are supported. For this, change you spellbook's
itemdesc.cfg type from Container to Spellbook. Paladin and Necromancer
spellbooks are supported by the new Spellbook itemdesc type property
"SpellType" which is one of these strings: "Magic", "Paladin", "Necro".
Recognized scroll objects are: Magic: 0x1F2D - 0x1F6C, Necro 0x2260 - 0x226F,
Paladin: 0x2270 - 0x227C. Sorry this is hardcoded![]()