Page 1 of 1

Realms, how do i turn on?

Posted: Wed Feb 18, 2009 2:15 am
by nofx_rlz
Hi ppl, i need a lill help with the realms..
i already made the ilshenar / malas and tokuno with the make reakm option...
but when i start the server and log in, i cant go to there...
plz can some1 tell me wth is going wrong?
thx

Re: Realms, how do i turn on?

Posted: Wed Feb 18, 2009 5:03 pm
by CWO
Here's a little starter script for you to work with.

Code: Select all

use uo;

program gofacet(who, text)
	case(text)
		"britannia":		SendSysMessage(who, CStr(MoveObjectToLocation(who, 1475, 1645, 20, "britannia", MOVEOBJECT_FORCELOCATION)));
		"britannia_alt":	SendSysMessage(who, CStr(MoveObjectToLocation(who, 1475, 1645, 20, "britannia_alt", MOVEOBJECT_FORCELOCATION)));
		"ilshenar":		SendSysMessage(who, CStr(MoveObjectToLocation(who, 831, 623, -40, "ilshenar", MOVEOBJECT_FORCELOCATION)));
		"malas":			SendSysMessage(who, CStr(MoveObjectToLocation(who, 1014, 519, -70, "malas", MOVEOBJECT_FORCELOCATION)));
		"tokuno":			SendSysMessage(who, CStr(MoveObjectToLocation(who, 736, 1257, 30, "tokuno", MOVEOBJECT_FORCELOCATION)));
  	endcase
endprogram
Drop it into a textcmd directory in a new file called gorealm.src, compile it, then in game type the command .gorealm with the realm name.

for example:
.gorealm malas
will take you to malas, ect...

if it succeeds, it will show you a sysmessage with "1", if it fails, it will show you the error struct with the reason.