Page 1 of 1

Help with SendLocalizeString

Posted: Tue Mar 03, 2015 2:18 pm
by chaoscode
I am attempted to use Fix /roll and I have it 98% finished but I can not figure out how to send this function more then 1 value.

GameData.Localized_text.TEXT_ROLL_PUBLIC_BEGIN
//<<1>> picks a random number between <<2>> and <<3>>: <<4>>

I need to put values in 1 2 3 and 4

this does not work
Plr.SendLocalizeString(Plr.Name, beginingInt.ToString(), endInt.ToString(), number.ToString(), GameData.Localized_text.TEXT_ROLL_PUBLIC_BEGIN);

This is preventing me from finishing this fix. I have posted this before and was ignored. Please for the love of god help.

Re: Help with SendLocalizeString

Posted: Tue Mar 03, 2015 6:40 pm
by chaoscode
Well I was able to fix this. in the process I added SendLocalizeString to support multi text objects. Its on my fork if you want it.

https://github.com/chaoscode/WarEmu

this fork has both /emote and /roll /random working