mf_SendTextEntryGumpUC in unimod.cpp

Discussion about the development of POL's official distribution scripts.

Moderators: POL Developer, Distro Developer

Post Reply
yayafan
Novice Poster
Posts: 40
Joined: Sun Mar 15, 2015 2:26 am

mf_SendTextEntryGumpUC in unimod.cpp

Post by yayafan » Thu Dec 05, 2019 1:46 am

BObjectImp* UnicodeExecutorModule::mf_SendTextEntryGumpUC()
{
// SendTextEntryGumpUC(who, uc_text1, cancel := TE_CANCEL_ENABLE,
// style := TE_STYLE_NORMAL, maximum := 40, uc_text2 := {} );

return new BError( "Function not implimented" );
}

I found there is a function for unicode gump support in POL core, but the status is "Function not implimented", is there any plan to develop this function to support unicode GUMP ? :cheesy:

Yukiko
Distro Developer
Posts: 2741
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: mf_SendTextEntryGumpUC in unimod.cpp

Post by Yukiko » Thu Dec 05, 2019 10:11 am

Turley has done work on Unicode in POL. He might have plans to implement the Unicode gump functionality.

Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: mf_SendTextEntryGumpUC in unimod.cpp

Post by Turley » Fri Dec 06, 2019 12:05 pm

There is no dedicated client function for an unicode version of the textentrygump.
If you need this simply create your own gump.

yayafan
Novice Poster
Posts: 40
Joined: Sun Mar 15, 2015 2:26 am

Re: mf_SendTextEntryGumpUC in unimod.cpp

Post by yayafan » Fri Dec 06, 2019 6:25 pm

I mean, in Runuo or sphere, you can write unicode in gump in script, but in polserver, can’t do that. The only way to show Unicode in gump in pol it’s to use clioc now

Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: mf_SendTextEntryGumpUC in unimod.cpp

Post by Turley » Sat Dec 07, 2019 12:20 am

Which version are you using?

yayafan
Novice Poster
Posts: 40
Joined: Sun Mar 15, 2015 2:26 am

Re: mf_SendTextEntryGumpUC in unimod.cpp

Post by yayafan » Mon Dec 09, 2019 1:12 am

POL100 latest version

Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: mf_SendTextEntryGumpUC in unimod.cpp

Post by Turley » Tue Dec 10, 2019 12:48 am

Then it should simply work, as long as your script file has the encoding utf8.

yayafan
Novice Poster
Posts: 40
Joined: Sun Mar 15, 2015 2:26 am

Re: mf_SendTextEntryGumpUC in unimod.cpp

Post by yayafan » Tue Dec 10, 2019 8:40 pm

Do you mean you will implement this function into the next POL core version? :cheesy:

Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: mf_SendTextEntryGumpUC in unimod.cpp

Post by Turley » Wed Dec 11, 2019 2:55 am

No I mean that with pol100 the core is unicode aware. So you can directly build your gumps with unicode strings and the client can write into textboxes unicode strings without the need of hacks on the server side.

yayafan
Novice Poster
Posts: 40
Joined: Sun Mar 15, 2015 2:26 am

Re: mf_SendTextEntryGumpUC in unimod.cpp

Post by yayafan » Wed Dec 11, 2019 4:11 am

That’s great! I will download the latest core to try.
It seems There is something wrong with download link on the download page, I cant’s get the latest pol100 core now!

Yukiko
Distro Developer
Posts: 2741
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: mf_SendTextEntryGumpUC in unimod.cpp

Post by Yukiko » Wed Dec 11, 2019 9:49 pm

Try this download page.
app.php/page/downloads

Post Reply