i don't know if i make any brong.
and i cant walk out of this square of snow hehehe.
unUO Version 0.5, Build 5354.36235
Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1
.NET Framework: 4.0.30319.18063
Time: 06/09/2014 09:18:20
Mobiles: 1665
Items: 90340
Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at UltimaLive.BlockUtility.GetLandData(Point2D blockCoordinates, Int32 mapNumber) in c:\Users\Omni\Documents\Uo Decoded\Scripts\Custom Systems\Ultima Live\BlockUtility.cs:line 42
at UltimaLive.UltimaLivePacketHandlers.GetBlockCrc(Point2D blockCoords, Int32 mapID, Byte[]& landDataOut, Byte[]& staticsDataOut) in c:\Users\Omni\Documents\Uo Decoded\Scripts\Custom Systems\Ultima Live\packetHandlers.cs:line 149
at UltimaLive.UltimaLivePacketHandlers.PushBlockUpdates(Int32 block, Int32 mapID, UInt16[] recievedCRCs, Mobile from) in c:\Users\Omni\Documents\Uo Decoded\Scripts\Custom Systems\Ultima Live\packetHandlers.cs:line 244
at UltimaLive.UltimaLivePacketHandlers.HandleBlockQueryReply(NetState state, PacketReader pvSrc) in c:\Users\Omni\Documents\Uo Decoded\Scripts\Custom Systems\Ultima Live\packetHandlers.cs:line 139
at UltimaLive.UltimaLivePacketHandlers.ReceiveUltimaLiveCommand(NetState state, PacketReader pvSrc) in c:\Users\Omni\Documents\Uo Decoded\Scripts\Custom Systems\Ultima Live\packetHandlers.cs:line 74
at Server.Network.MessagePump.HandleReceive(NetState ns) in c:\Users\Omni\Documents\Uo Decoded\Server\Network\MessagePump.cs:line 303
at Server.Network.MessagePump.Slice() in c:\Users\Omni\Documents\Uo Decoded\Server\Network\MessagePump.cs:line 121
at Server.Core.Main(String[] args) in c:\Users\Omni\Documents\Uo Decoded\Server\Main.cs:line 624
public override void SetLocation(Point3D loc, bool isTeleport)
{
if (!isTeleport && IsPlayer())
{
// moving, not teleporting
int zDrop = (Location.Z - loc.Z);
if (zDrop > 20) // we fell more than one story
{
Hits -= ((zDrop / 20) * 10) - 5; // deal some damage; does not kill, disrupt, etc
}
}
base.SetLocation(loc, isTeleport);
if (isTeleport || --m_NextProtectionCheck == 0)
{
RecheckTownProtection();
}
/* Begin UltimaLive Mod */
if (BlockQuery != null)
{
m_PreviousMapBlock = BlockQuery.QueryMobile(this, m_PreviousMapBlock);
}
/* End UltimaLive Mod */
}
Looks good.Hey there guys, trying to get ultimalive setup and running, of course having some newb issues here...anyhow, could you guys tell me if I am adding in this code correctly? Thanks.
Code:public override void SetLocation(Point3D loc, bool isTeleport) { if (!isTeleport && IsPlayer()) { // moving, not teleporting int zDrop = (Location.Z - loc.Z); if (zDrop > 20) // we fell more than one story { Hits -= ((zDrop / 20) * 10) - 5; // deal some damage; does not kill, disrupt, etc } } base.SetLocation(loc, isTeleport); if (isTeleport || --m_NextProtectionCheck == 0) { RecheckTownProtection(); } /* Begin UltimaLive Mod */ if (BlockQuery != null) { m_PreviousMapBlock = BlockQuery.QueryMobile(this, m_PreviousMapBlock); } /* End UltimaLive Mod */ }
You only need the serversidescripts folder inside your servuo scripts folder hierarchy. The MapAndStaticsVerifier is a tool I was using to debug some things and will be taken out of the next release. You don't need it at all.eh...sorry guys spoke too soon again heh, just cleaned it up a bit its working fine now, imported the maps etc. just one question, what is the folder inside the zip called MapAndStaticsVerifier? Do i need to leave this inside servuo? if i leave that folder in servuo "custom systems" folder, servuo will not run, do i only need the UltimaLive folder inside there? Thanks.
15:27:09 Login: 127.0.0.1: Account 'Character' at character list
15:27:09 Client: 127.0.0.1: Disconnected. [1 Online] [Character]
15:27:10 Received UltimaLive version packet: 0.97 from Character
15:27:40 Reseting UltimaLive Major and Minor version for Character
15:27:40 Client: 127.0.0.1: Disconnected. [0 Online] [Character]
- Maps must have the same number or fewer blocks than the regular Felucca map.
Also, what version of the client are you running and how large is the map? I can put together a quick test map and maybe replicate it on my end.
Did you also change the /scripts/misc/MapDefinition.cs to reflect the custom size?
SEND FUNCTION ADDRESS 0x463fa0
RECV FUNCTION ADDRESS 0x482780
NETWORK OBJECT ADDRESS 0xa7703c
PLAYER BASE POINTER 0xab7d54
Installing Client Hooks
RECEIVE ADDRESS 0x482780
SEND ADDRESS 0x463fa0
PLAYER BASE POINTER: 0xab7d54
NETWORK ADDRESS POINTER: 0xa7703c
UPDATE STATIC BLOCKS ADDRESS POINTER: 0x587360
Initializing UO Live App State
version = 7, 0, 15, 1 = 0x70000, 0xf0001
Using older client FileManager
Map 0x2fd0000
Statics 0x8f30000
Staidx 0x14df0000
Initializing Network Manager!
send packet handlers: 2
recv packet handlers: 5
send ext packet handlers: 0
recv ext packet handlers: 1
recv ultima live packet handlers: 5
m_pMapThingieTable: 0x00714858
m_pClientMinDisplayX: 0x00a721f8
m_pClientMinDisplayY: 0x00a721fc
m_pClientBlockArray: 0x00a72168
RefreshTerrainFunction1: 0x005888f0
Master Statics List: 0x00ab7d60
MAP DIMENSION POINTER: 0x68414c
Received bad definition for map 0
Registering Map #1, dim=7168x4096, wrap=5120x4096
Registering Map #2, dim=2304x1600, wrap=2304x1600
Registering Map #3, dim=2560x2048, wrap=2560x2048
Registering Map #4, dim=1448x1448, wrap=1448x1448
Registering Map #5, dim=1280x4096, wrap=1280x4096
C:\Users\artis_000\Desktop\New Client\igrping.dll
C:\Users\artis_000\Desktop\New Client\igrping.dll
Sending UltimaLive Version Number 0.97
~~~~~~~~~~~~~~~~~~~~~~LOGIN HANDLER RECEIVED LOGIN CONFIRM
Change MAP PACKET
~~~~~~~~~~~~~~~~~~~~~~Login Handler received on before change map packet
Sending Packet to Client!
ON BEFORE LOAD MAP: 0
(((((((((((((Initializing Shard Maps)))))))))))))))))
Checking for C:\ProgramData\UltimaLive\\TheShatteredEmpire\map1.mul
File exists and is ok
Checking for C:\ProgramData\UltimaLive\\TheShatteredEmpire\map2.mul
File exists and is ok
Checking for C:\ProgramData\UltimaLive\\TheShatteredEmpire\map3.mul
File exists and is ok
Checking for C:\ProgramData\UltimaLive\\TheShatteredEmpire\map4.mul
File exists and is ok
Checking for C:\ProgramData\UltimaLive\\TheShatteredEmpire\map5.mul
File exists and is ok
MAP DEFINITION NOT FOUND: 5
Map Definition: 1/1
Map Definition: 2/2
Map Definition: 3/3
Map Definition: 4/4
Map Definition: 5/5
~~~~~~~~~~~~~~~~~~~~~~ First Mobile Update from the server
Atlas: Refreshing Client View
Sending Packet to Client!
Sending Packet to Client!
~~~~~~~~~~~~~~~~~~~~~~LOGIN HANDLER RECEIVED LOGIN COMPLETE
C:\Users\artis_000\Desktop\New Client\igrping.dll
C:\Users\artis_000\Desktop\New Client\igrping.dll
Sending Packet to Client!
ULTIMALIVE v.0.97
Change MAP PACKET
~~~~~~~~~~~~~~~~~~~~~~Login Handler received on before change map packet
~~~~~~~~~~~~~~~~~~~~~~ SENDING cached login packet
Sending Packet to Client!
Atlas: Refreshing Client View
Sending Packet to Client!
Sending Packet to Client!
Sending Packet to Client!
ON BEFORE LOAD MAP: 0
MAP DEFINITION NOT FOUND: 5
Map Definition: 1/1
Map Definition: 2/2
Map Definition: 3/3
Map Definition: 4/4
Map Definition: 5/5
Atlas: Got Hash Query
CLIENT HAS CRASHED! Crash Report:
0018e2f0 | f4 7e 01 07 00 0f 01 00 00 00 00 00 00 4d 65 72 | .~...........Me
r |
0018e300 | 69 63 00 1d 65 bc e2 18 00 3a 00 00 00 05 00 00 | ic..e....:.....
. |
0018e310 | 00 0f 00 00 00 00 00 00 00 00 3a 47 65 4d 65 72 | ..........:GeMe
r |
0018e320 | 69 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ic.............
. |
0018e330 | 00 00 00 00 00 00 00 00 00 00 00 00 00 31 39 32 | .............19
2 |
0018e340 | 2e 31 36 38 2e 32 2e 39 00 00 00 00 00 00 00 0d | .168.2.9.......
. |
0018e350 | c0 00 00 05 69 67 72 70 69 6e 67 2e 64 6c 6c 00 | ....igrping.dll
. |
0018e360 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ...............
. |
0018e370 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ...............
. |
0018e380 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ...............
. |
0018e390 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ...............
. |
0018e3a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ...............
. |
0018e3b0 | 00 00 00 00 00 00 00 00 43 52 41 53 48 00 00 00 | ........CRASH..
. |
0018e3c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ...............
. |
0018e3d0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ...............
. |
0018e3e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ...............
. |
0018e3f0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ...............
. |
0018e400 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ...............
. |
0018e410 | 00 00 00 00 00 00 00 00 00 00 00 00 00 89 61 e5 | ..............a
. |
0018e420 | e7 13 5e 4f c8 17 5e 50 a2 35 5e 50 9e 39 5e 50 | ..^O..^P.5^P.9^
P |
0018e430 | 96 6f 5e 50 8e 85 5e 50 85 9d 5e 50 76 bc 5e 50 | .o^P..^P..^Pv.^
P |
0018e440 | 44 56 5e 52 46 0f 5e 52 39 11 5e 52 2a c6 5e 51 | DV^RF.^R9.^R*.^
Q |
0018e450 | 18 2f 5e 50 ea 8f 5e 50 b9 3f 5e 50 d0 ef 5e 50 | ./^P..^P.?^P..^
P |
0018e460 | d1 d8 5e 4b 9c 0c 00 46 41 2a 00 ac 95 01 | ..^K...FA*....
|
2014-09-28 10:38:09 [INFO] Welcome to UltimaLive!
2014-09-28 10:38:09 [INFO] Configuring 6 classes
2014-09-28 10:38:09 [INFO] Client configure
2014-09-28 10:38:09 [INFO] BaseFileManager configure
2014-09-28 10:38:09 [INFO] version = 7, 0, 21, 1 = 0x70000, 0x150001
2014-09-28 10:38:09 [INFO] Using older client FileManager
2014-09-28 10:38:09 [INFO] LoginHandler configure
2014-09-28 10:38:09 [INFO] Atlas configure
2014-09-28 10:38:09 [INFO] NetworkManager configure
2014-09-28 10:38:09 [INFO] Plugin Manager configure
2014-09-28 10:38:09 [INFO] Atlas initialize
2014-09-28 10:38:09 [INFO] Checking to see if this client is compatible...
2014-09-28 10:38:09 [INFO] Searching for internal client structures and pointers
Network Class Instance 0x00a782e4 [SUCCESS]
Receive Function 0x00482660 [SUCCESS]
Send Function 0x00463df0 [SUCCESS]
DrawMapThingie Table 0x00715858 [SUCCESS]
Map Dimension Structure 0x0068508c [SUCCESS]
Min Coord Client Display Structure 0x00a731f8 [SUCCESS]
Displayed Blocks Table 0x00a73168 [SUCCESS]
Player Structure 0x004768ef [SUCCESS]
Update Blocks Function 0x00587170 [SUCCESS]
Refresh Terrain Function 0x00588700 [SUCCESS]
Master Statics List 0x00ab9008 [SUCCESS]
2014-09-28 10:38:09 [INFO] All internal client structures and pointers found.
2014-09-28 10:38:09 [INFO] Initializing File Manager!
2014-09-28 10:38:09 [INFO] Initializing MUL File Manager!
Allocating 100000000 bytes for client map handling [0x08840000] [SUCCESS]
Allocating 10000000 bytes for client statics index handling [0x06650000] [SUCCESS]
Allocating 200000000 bytes for client statics handling [0x0ffd0000] [SUCCESS]
2014-09-28 10:38:10 [INFO] Initializing LoginHandler!
2014-09-28 10:38:10 [INFO] Initializing Atlas
2014-09-28 10:38:10 [INFO] Initializing Network Manager!
Registering Send-Normal-Packet handlers Found: 002 [SUCCESS]
Registering Receive-Normal-Packet handlers Found: 005 [SUCCESS]
Registering Send-Extended-Packet handlers Found: 000 [SUCCESS]
Registering Receive-Extended-Packet handlers Found: 001 [SUCCESS]
Registering Receive-UltimaLive-Packet handlers Found: 005 [SUCCESS]
2014-09-28 10:38:10 [INFO] All UltimaLive registerd classes successfully initialized.
2014-09-28 10:38:10 [INFO] Proceeding to install UltimaLive client hooks...
Initializing function redirector [SUCCESS]
Redirecting CreateFileA [SUCCESS]
Redirecting MessageBoxA [SUCCESS]
Redirecting CreateFileMappingA [SUCCESS]
Redirecting CloseHandle [SUCCESS]
Redirecting MapViewOfFile [SUCCESS]
Hooking client send function [SUCCESS]
Hooking client receive function [SUCCESS]
Hooking client update blocks function [SUCCESS]
2014-09-28 10:38:18 [PACKET] Sent CLIENT_ACCOUNT_LOGIN_REQUEST (0x80)
2014-09-28 10:38:18 [PACKET] Received SERVER_ULTIMALIVE_LOGIN_CONFIRMATION (0x2) 0 relevent bytes
2014-09-28 10:38:18 [PACKET] Received SERVER_ULTIMALIVE_UPDATE_MAP_DEFINITIONS (0x1) 0 relevent byt
es
2014-09-28 10:38:18 [INFO] Registering Map #0, dim=7168x4096, wrap=5120x4096
2014-09-28 10:38:18 [INFO] Registering Map #1, dim=7168x4096, wrap=5120x4096
2014-09-28 10:38:18 [INFO] Registering Map #2, dim=2304x1600, wrap=2304x1600
2014-09-28 10:38:19 [INFO] Registering Map #3, dim=2560x2048, wrap=2560x2048
2014-09-28 10:38:19 [INFO] Registering Map #4, dim=1448x1448, wrap=1448x1448
2014-09-28 10:38:19 [INFO] Registering Map #5, dim=1280x4096, wrap=1280x4096
2014-09-28 10:38:19 [INFO] Registering Map #30, dim=6144x4096, wrap=6144x4096
2014-09-28 10:38:19 [PACKET] Received SERVER_ACCOUNT_LOGIN_ACK (0xa8)
2014-09-28 10:38:19 [PACKET] Sent CLIENT_HARDWARE_INFO (0xd9)
We use essential cookies to make this site work, and optional cookies to enhance your experience.