UOGamers 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!

  • To obtain new Razor updates, please reinstall Razor from our new website.

[SVN 856] [CORE] One of the SendLocalizedMessage overloads calls itself

Status
Not open for further replies.

Soteric

Knight
Hello. Here is one of the SendLocalizedMessage overloads from Mobile.cs
Code:
		public void SendLocalizedMessage( int number, bool append, string affix, string args )
		{
			SendLocalizedMessage( number, append, affix, args );
		}
As you see it recursively calls itself and being invoked it crashes the server with StackOverflowException. I think the correct one should be
Rich (BB code):
		public void SendLocalizedMessage( int number, bool append, string affix, string args )
		{
			SendLocalizedMessage( number, append, affix, args, 0x3B2 );
		}
http://jira.runuo.com seems to be down for some time so I post it here.
 

Eos

Demise Administrator
Staff member
Since this is in the core, we'll let the core devs know. I'll move it to Jira when it comes back up. Thanks. :)

In patch form:
 

Attachments

  • Mobile-SendLocalizedMessage.patch
    525 bytes · Views: 7
Status
Not open for further replies.
Top