Variable SHARD_NAME OR SHARD_IP has not been declared

Open discussion forum. For topics that do not fit anywhere else.

Moderator: POL Developer

Post Reply
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Variable SHARD_NAME OR SHARD_IP has not been declared

Post by Zaksmeer » Tue Mar 18, 2014 2:06 pm

I am getting this error, and the only thing I can think of to do is manually insert this information into the scripts by editing them. Or is there an easier way?

RusseL
Forum Regular
Posts: 374
Joined: Fri Feb 20, 2009 8:30 pm

Re: Variable SHARD_NAME OR SHARD_IP has not been declared

Post by RusseL » Tue Mar 18, 2014 2:46 pm

Open modules/uo.em with text editor and add

Code: Select all

const SHARD_IP					:= yourip;
const SHARD_NAME				:= shardname;

Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Variable SHARD_NAME OR SHARD_IP has not been declared

Post by Zaksmeer » Tue Mar 18, 2014 3:03 pm

If I don't see it in there, add it?

Ullr
New User
Posts: 7
Joined: Mon Mar 17, 2014 8:57 pm

Re: Variable SHARD_NAME OR SHARD_IP has not been declared

Post by Ullr » Tue Mar 18, 2014 6:02 pm

Correct

Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Variable SHARD_NAME OR SHARD_IP has not been declared

Post by Zaksmeer » Tue Mar 18, 2014 6:38 pm

thanks. I just wanted verification.

Post Reply