MoveObjectToRealm 2006-07-02 POL 097 Win32

Report core bugs regarding the Ultima Online Emulator Core release (version 097). You can attach your Core Dump. One bug per post.
Locked
Harley
Forum Regular
Posts: 360
Joined: Sat Mar 18, 2006 1:41 am

MoveObjectToRealm 2006-07-02 POL 097 Win32

Post by Harley »

I have compile all my scripts to this version and, I have some problem with script 'go'. When I started to compile him, there were error:

Code: Select all

Token '(' cannot follow token 'MoveObjectToRealm'
Function MoveObjectToRealm() is not defined.
Error compiling statement at c:\pol097~1\scripts\textcmd\seer\go.src, Line 131
Error in IF statement starting at File: c:\pol097~1\scripts\textcmd\seer\go.src, Line 130
Error compiling statement at c:\pol097~1\scripts\textcmd\seer\go.src, Line 130
Error detected in program body.
Error occurred at c:\pol097~1\scripts\textcmd\seer\go.src, Line 131
I think that this is misunderstanding and I have added to uo.em thoose line:

MoveObjectToRealm( object, realm, x, y, z, flags := 0 );

and compile. Connected at game, wrote .go and get at Pol and Ultima Online window's thoose error's:

Code: Select all

Ultima Online Window: Unknown command: =go

At POL Window:
Unable to find uo::MoveObjectToRealm
script go: setProgram failed
At last core-changes I have not found any changes in occasion of MoveObjectToRealm. Please tell me, and help. What to me to do?

Thanks.
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Post by Pierce »

MoveObjectToRealm() does not exist anymore.
You'll have to use
MoveObjectToLocation( object, x, y, z, realm := _DEFAULT_REALM, flags := MOVEOBJECT_NORMAL );
Harley
Forum Regular
Posts: 360
Joined: Sat Mar 18, 2006 1:41 am

Post by Harley »

Okay, thanks all.
Locked