RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Resource icon

[2.x] Ultima Live Map Streamer and Editor 0.97

No permission to download
Those are the map dimensions and the wrap dimensions for the client. If you are copying an felucca or trammel, you should leave their values as they are. If you're copying one of the other maps, you'll need to use the map dimensions for those maps.

Sad thing is... I realized this Just before you posted it. I was using the doc on your release site instead of the script library and had some issues... trying the directions on here.
 

Praxiiz

Sorceror
I need to update the directions in that doc. I moved all of the edits from the top of the PlayerMobile.cs into a separate file and instead have you add the partial keyword in this last release.
 
I need to update the directions in that doc. I moved all of the edits from the top of the PlayerMobile.cs into a separate file and instead have you add the partial keyword in this last release.


I'm using Distro Ver 2.5 and Partial is already inserted there. I'm running on a linux server and I'm getting a wall of red text, slowly but surely figuring this out. If only I knew C# ha.

Code:
Warnings:
+ Mobiles/PlayerMobile.cs:
    CS0658: Line 3089: `]' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3234: `base' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3329: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3335: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3341: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3347: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3364: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3369: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3374: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3379: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3385: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3392: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3403: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3409: `case' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3410: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3440: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3445: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3454: `case' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3455: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3460: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3472: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3484: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3489: `value' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3496: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3503: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3508: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3513: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3518: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3524: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3531: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3536: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3543: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3898: `value' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 3913: `value' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 4183: `)' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 4185: `)' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 4319: `;' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 4320: `;' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 4643: `{' is invalid attribute target. All attributes in this attribute section will be ignored
    CS0658: Line 4797: `{' is invalid attribute target. All attributes in this attribute section will be ignored
Errors:
+ Mobiles/PlayerMobile.cs:
    CS1519: Line 1642: Unexpected symbol `if' in class, struct, or interface member declaration
    CS1519: Line 1642: Unexpected symbol `!=' in class, struct, or interface member declaration
    CS1519: Line 1644: Unexpected symbol `=' in class, struct, or interface member declaration
    CS1519: Line 1644: Unexpected symbol `(' in class, struct, or interface member declaration
    CS1519: Line 1644: Unexpected symbol `)' in class, struct, or interface member declaration
    CS1525: Line 1648: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1662: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1662: Unexpected symbol `CallbackEntry', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1662: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1662: Unexpected symbol `ContextCallback', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1664: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1664: Unexpected symbol `CallbackEntry', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1664: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1664: Unexpected symbol `ContextCallback', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1669: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1669: Unexpected symbol `CallbackEntry', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1669: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1669: Unexpected symbol `ContextCallback', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1671: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1671: Unexpected symbol `CallbackEntry', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1671: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1671: Unexpected symbol `ContextCallback', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 1673: Unexpected symbol `}', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1676: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1676: Unexpected symbol `CallbackEntry', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1676: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1676: Unexpected symbol `ContextCallback', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1684: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1684: Unexpected symbol `CallbackEntry', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1684: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1684: Unexpected symbol `ContextCallback', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1687: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1687: Unexpected symbol `CallbackEntry', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1687: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1687: Unexpected symbol `ContextCallback', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1691: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1691: Unexpected symbol `CallbackEntry', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1691: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1691: Unexpected symbol `ContextCallback', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1694: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1694: Unexpected symbol `CallbackEntry', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1694: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1694: Unexpected symbol `ContextCallback', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1701: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1701: Unexpected symbol `CallbackEntry', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1701: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1701: Unexpected symbol `ContextCallback', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1712: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1712: Unexpected symbol `AddToPartyEntry', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1715: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1715: Unexpected symbol `AddToPartyEntry', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1717: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1717: Unexpected symbol `RemoveFromPartyEntry', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1727: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1727: Unexpected symbol `EjectPlayerEntry', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 1732: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 1736: Unexpected symbol `;'
    CS1525: Line 1749: Unexpected symbol `int'
    CS1525: Line 1754: Unexpected symbol `void'
    CS1530: Line 1759: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1759: Unexpected symbol `TargetCallback'
    CS1525: Line 1763: Unexpected symbol `bool'
    CS1525: Line 1789: Unexpected symbol `void'
    CS1525: Line 1797: Unexpected symbol `void'
    CS1530: Line 1802: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1802: Unexpected symbol `TargetCallback'
    CS1530: Line 1814: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1814: Unexpected symbol `TargetCallback'
    CS1530: Line 1821: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1821: Unexpected symbol `TargetCallback'
    CS1530: Line 1849: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1849: Unexpected symbol `TargetCallback'
    CS1525: Line 1855: Unexpected symbol `void'
    CS1525: Line 1864: Unexpected symbol `void'
    CS1530: Line 1872: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1872: Unexpected symbol `CancelRenewInventoryInsuranceGump'
    CS1527: Line 1881: Namespace elements cannot be explicitly declared as private, protected or protected internal
    CS1525: Line 1925: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1930: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1930: Unexpected symbol `List', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 1950: Keyword `new' is not allowed on namespace elements
    CS1525: Line 1950: Unexpected symbol `ItemInsuranceMenuGump', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 1953: Unexpected symbol `bool', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1527: Line 1958: Namespace elements cannot be explicitly declared as private, protected or protected internal
    CS1527: Line 2129: Namespace elements cannot be explicitly declared as private, protected or protected internal
    CS1525: Line 2185: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 2193: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 2202: Keyword `new' is not allowed on namespace elements
    CS1525: Line 2202: Unexpected symbol `TargetCallback', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 2206: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 2239: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 2244: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 2251: Keyword `new' is not allowed on namespace elements
    CS1525: Line 2251: Unexpected symbol `ReclaimVendorGump', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 2255: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1527: Line 2263: Namespace elements cannot be explicitly declared as private, protected or protected internal
    CS1527: Line 2265: Namespace elements cannot be explicitly declared as private, protected or protected internal
    CS1525: Line 2285: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 2295: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 2308: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 2314: Unexpected symbol `bool', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 2316: Unexpected symbol `bool', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 2349: Unexpected symbol `;'
    CS1525: Line 2390: Unexpected symbol `bool'
    CS1525: Line 2438: Unexpected symbol `int'
    CS1525: Line 2460: Unexpected symbol `bool'
    CS1525: Line 2488: Unexpected symbol `void'
    CS1530: Line 2517: Keyword `new' is not allowed on namespace elements
    CS1525: Line 2517: Unexpected symbol `Point3D'
    CS1530: Line 2523: Keyword `new' is not allowed on namespace elements
    CS1525: Line 2523: Unexpected symbol `Point3D'
    CS1525: Line 2529: Unexpected symbol `bool'
    CS1525: Line 2547: Unexpected symbol `bool'
    CS1525: Line 2555: Unexpected symbol `void'
    CS1525: Line 2587: Unexpected symbol `void'
    CS1525: Line 2595: Unexpected symbol `void'
    CS1530: Line 2625: Keyword `new' is not allowed on namespace elements
    CS1525: Line 2625: Unexpected symbol `TimerCallback'
    CS1525: Line 2630: Unexpected symbol `void'
    CS1530: Line 2638: Keyword `new' is not allowed on namespace elements
    CS1525: Line 2638: Unexpected symbol `DeathRobe'
    CS1525: Line 2645: Unexpected symbol `double'
    CS1525: Line 2656: Unexpected symbol `void'
    CS1530: Line 2659: Keyword `new' is not allowed on namespace elements
    CS1525: Line 2659: Unexpected symbol `TimerCallback'
    CS1525: Line 2662: Unexpected symbol `Mobile'
    CS1525: Line 2663: Unexpected symbol `int'
    CS1525: Line 2664: Unexpected symbol `int'
    CS1525: Line 2666: Unexpected symbol `List'
    CS1525: Line 2668: Unexpected symbol `List'
    CS1525: Line 2673: Unexpected symbol `bool'
    CS1525: Line 2685: Unexpected symbol `bool'
    CS1525: Line 2700: Unexpected symbol `)'
    CS1530: Line 2704: Keyword `new' is not allowed on namespace elements
    CS1525: Line 2704: Unexpected symbol `List'
    CS1525: Line 2734: Unexpected symbol `bool'
    CS1525: Line 2785: Unexpected symbol `DeathMoveResult'
    CS1525: Line 2802: Unexpected symbol `DeathMoveResult'
    CS1525: Line 2819: Unexpected symbol `void'
    CS1530: Line 2920: Keyword `new' is not allowed on namespace elements
    CS1525: Line 2920: Unexpected symbol `TimerCallback'
    CS1530: Line 2937: Keyword `new' is not allowed on namespace elements
    CS1525: Line 2937: Unexpected symbol `List'
    CS1525: Line 2949: Unexpected symbol `)'
    CS1525: Line 2954: Unexpected symbol `List'
    CS1525: Line 2955: Unexpected symbol `List'
    CS1525: Line 2956: Unexpected symbol `Hashtable'
    CS1525: Line 2957: Unexpected symbol `TimeSpan'
    CS1525: Line 2958: Unexpected symbol `TimeSpan'
    CS1525: Line 2959: Unexpected symbol `TimeSpan'
    CS1525: Line 2960: Unexpected symbol `DateTime'
    CS1525: Line 2961: Unexpected symbol `DateTime'
    CS1525: Line 2962: Unexpected symbol `DateTime'
    CS1525: Line 2963: Unexpected symbol `DateTime'
    CS1525: Line 2964: Unexpected symbol `DateTime'
    CS1525: Line 2965: Unexpected symbol `DateTime'
    CS1525: Line 2966: Unexpected symbol `SkillName'
    CS1525: Line 2968: Unexpected symbol `SkillName'
    CS1525: Line 2975: Unexpected symbol `TimeSpan', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 2993: Unexpected symbol `TimeSpan', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 3012: Unexpected symbol `TimeSpan', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 3031: Unexpected symbol `DateTime', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 3038: Unexpected symbol `DateTime', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 3044: Unexpected symbol `PlayerMobile', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 3046: Keyword `new' is not allowed on namespace elements
    CS1525: Line 3046: Unexpected symbol `List', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 3048: Keyword `new' is not allowed on namespace elements
    CS1525: Line 3048: Unexpected symbol `List', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 3049: Keyword `new' is not allowed on namespace elements
    CS1525: Line 3049: Unexpected symbol `List', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 3050: Keyword `new' is not allowed on namespace elements
    CS1525: Line 3050: Unexpected symbol `Hashtable', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 3051: Keyword `new' is not allowed on namespace elements
    CS1525: Line 3051: Unexpected symbol `List', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 3053: Keyword `new' is not allowed on namespace elements
    CS1525: Line 3053: Unexpected symbol `Engines', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 3059: Keyword `new' is not allowed on namespace elements
    CS1525: Line 3059: Unexpected symbol `List', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1530: Line 3062: Keyword `new' is not allowed on namespace elements
    CS1525: Line 3062: Unexpected symbol `ChampionTitleInfo', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 3067: Unexpected symbol `bool', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
    CS1525: Line 3072: Unexpected symbol `.'
    CS1525: Line 3079: Unexpected symbol `;'
    CS1525: Line 3081: Unexpected symbol `.'
    CS1525: Line 3089: Unexpected symbol `void'
    CS8025: Line 5112: Parsing error

That is what I get
 
It appears so, for example here is my SetLocation

public override void SetLocation( Point3D loc, bool isTeleport )
{
if ( !isTeleport && AccessLevel == AccessLevel.Player )
{
// moving, not teleporting
int zDrop = ( this.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 */
I apologize for my idiocy, it's probably something glaringly wrong and I'm goign to feel dumb. I copied that right from the main post.
 

Praxiiz

Sorceror
It's actually really common to mismatch braces. I've done it myself a few times, which is why I recognized it.
 
I thought that was it, still getting those errors, starting at the SetLocation part that I posted above. I may be a lost cause and probably am testing your patience. I don't know a ton about programming, and am self taught on many things. It does not want to launch for me when I put

/* Begin UltimaLive Mod */
if(BlockQuery !=null)
{
m_PreviousMapBlock = BlockQuery.QueryMobile(this, m_PreviousMapBlock);
}

/* End UltimaLive Mod */

In my PlayerMobile.cs in the SetLocation area and OnMapChange. if I remove it, it launches fine. Just tested taking out that code allowed it to launch just fine, put it back in all hell breaks lose. Maybe I need sleep haha.
 

Praxiiz

Sorceror
No worries, I'm a very patient person. I am going to attach modified stock RunUO 2.3 distro files for reference. TileData.cs and TileMatrix.cs are on the server side, PlayerMobile.cs is on the scripts side. Of course you'll still have to edit the MapDefinition.cs stock file, and the UltimaLive MapRegistry.cs file for the maps you're using. If you're using an unmodified stock version of RunUO 2.3, then you can drop those files in place of your existing ones. You'll have to recompile the server of course.

If you have custom edits to any of those files, then you'll need to do the edits by hand or merge them in. I recommend downloading something like WinMerge. WinMerge will allow you to compare your version of PlayerMobile.cs with the modified stock version side by side to see exactly what needs to be changed.
 

Attachments

  • DistroFiles_RunUO_2_3.zip
    29.7 KB · Views: 11
No worries, I'm a very patient person. I am going to attach modified stock RunUO 2.3 distro files for reference. TileData.cs and TileMatrix.cs are on the server side, PlayerMobile.cs is on the scripts side. Of course you'll still have to edit the MapDefinition.cs stock file, and the UltimaLive MapRegistry.cs file for the maps you're using. If you're using an unmodified stock version of RunUO 2.3, then you can drop those files in place of your existing ones. You'll have to recompile the server of course.

If you have custom edits to any of those files, then you'll need to do the edits by hand or merge them in. I recommend downloading something like WinMerge. WinMerge will allow you to compare your version of PlayerMobile.cs with the modified stock version side by side to see exactly what needs to be changed.

I will try that when I get home from work. Does it matter that I'm running 2.5 could that be my issue from the start?
 

almeida

Sorceror
I'm trying to RunUO 2.5 and there are many errors when starting the server, I believe not be compatible with the version.
 

fcondon

Sorceror
hmm odd, I didnt do anything special but follow the instruction from the system.

http://www.runuo.com/community/resources/ultima-live-map-streamer-and-editor.71/

Make sure to follow the direciton carefully cause this part is a little confusing if you read it too fast.

Look in playermobile and find the SetLocation method and the OnMapChange method.

Code:
public override void SetLocation( Point3D loc, bool isTeleport )

Code:
protected override void OnMapChange( Map oldMap )

Add this to the bottom of the SetLocation method and to the top of the OnMapChange method

Code:
/* Begin UltimaLive Mod */
if (BlockQuery != null)
{
  m_PreviousMapBlock = BlockQuery.QueryMobile(this, m_PreviousMapBlock);
}
 
/* End UltimaLive Mod */
 
hmm odd, I didnt do anything special but follow the instruction from the system.

http://www.runuo.com/community/resources/ultima-live-map-streamer-and-editor.71/

Make sure to follow the direciton carefully cause this part is a little confusing if you read it too fast.

Look in playermobile and find the SetLocation method and the OnMapChange method.

Code:
public override void SetLocation( Point3D loc, bool isTeleport )

Code:
protected override void OnMapChange( Map oldMap )

Add this to the bottom of the SetLocation method and to the top of the OnMapChange method

Code:
/* Begin UltimaLive Mod */
if (BlockQuery != null)
{
  m_PreviousMapBlock = BlockQuery.QueryMobile(this, m_PreviousMapBlock);
}
 
/* End UltimaLive Mod */



I did too, only difference being I have Nerun integrated in, I wonder if that is causing any issues...
 

fcondon

Sorceror
I have Nerun integrated in. very odd. sorry I couldnt be more help.

I am also using the newest client if that makes a difference.
 
I have Nerun integrated in. very odd. sorry I couldnt be more help.

I am also using the newest client if that makes a difference.


You tried, that is what matters. When I get it figured out I will help anyone I can. It makes zero sense as to why it does not work. Maybe if I pull a new PlayerMobile.cs from the SVN it will work?
 

almeida

Sorceror
I still do not know why my server does not run this script, I would love to use it in my projects but unfortunately I'm not getting, I did as asked and follow the tutorial step by step (UltimaLiveUsersGuide.pdf) and the error persists, the server I use is 2.5 as the image, someone has to send me these files so I can just throw the folder on my server and overwrite the existing files and I can enter the server and use the commands? the part of the client I already have set up, thank you and I'm waiting for a bailout!

 

Attachments

  • Capturar.PNG
    69 KB · Views: 124

almeida

Sorceror
I'll be grateful, is the tool should come along Distros RunUO, I particularly would prioritize this work and the work of our friend Neruns that has a key work for the shard work! Thank you friend I'm waiting here!
 
Top