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 »

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: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: mf_SendTextEntryGumpUC in unimod.cpp

Post by Yukiko »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: mf_SendTextEntryGumpUC in unimod.cpp

Post by Yukiko »

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