Recent Topics

Ads

Help with SendLocalizeString

Talk about the development of the emulator and related services.
Check out new and upcoming features to be implemented onto the server.
Forum rules
Before posting on this forum, be sure to read the Terms of Use
User avatar
chaoscode
Posts: 202

Help with SendLocalizeString

Post#1 » Tue Mar 03, 2015 2:18 pm

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.

Ads
User avatar
chaoscode
Posts: 202

Re: Help with SendLocalizeString

Post#2 » Tue Mar 03, 2015 6:40 pm

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

Who is online

Users browsing this forum: No registered users and 22 guests