Raised This Month: $51 Target: $400
 12% 

/myheroes shows me lousy codes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fansofspeed
Junior Member
Join Date: Dec 2008
Old 01-04-2009 , 22:08   /myheroes shows me lousy codes
Reply With Quote #1


I have translated some heroes (such as sh_xavier.sma),I translated the hero's name and info into chinese . And it displays correct in CS1.6 . I get the picture like this :de_dust20003.JPG (the first picture)

But , when I type "/myheroes" , CS open myheroes list , but in this place ,
the hero's name and info shows lousy codes . I get the picture like :Snap1.jpg(the second picture)

I just want more chinese people to enjoy this mod , so , why it shows me lousy codes in myheroes list. how should I do ?
Attached Thumbnails
Click image for larger version

Name:	de_dust20003.JPG
Views:	258
Size:	61.0 KB
ID:	35520   Click image for larger version

Name:	Snap1.jpg
Views:	221
Size:	68.5 KB
ID:	35521  
fansofspeed is offline
fansofspeed
Junior Member
Join Date: Dec 2008
Old 01-04-2009 , 22:16   Re: /myheroes shows me lousy codes
Reply With Quote #2

Not only when I type "/myheroes", but also when I type "/playerskills" and so on .
but , when I type "/help", it shows correct(no lousy codes)
I think the problem comes from amxx1.8.1
where can I fing superheromod.inc(1.2.0.8 ),I want to try amxx1.8.0 so, I want the older superheromod.inc to complie sma

Last edited by fansofspeed; 01-05-2009 at 02:48.
fansofspeed is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 01-05-2009 , 03:03   Re: /myheroes shows me lousy codes
Reply With Quote #3

http://forums.alliedmods.net/showthr...126#post134126
http://forums.alliedmods.net/showthr...393#post408393
Half-Life engine doesn't support utf-8, so amxx can't really support it. In turn means I can't really support it either or at least should not be expect to.


utf-8 is requried for that lettering, the commands you are having issues with are html encoded motd messages. It's possible adding an html meta field with "charset=UTF-8" will show the characters correctly but I can't say for sure.

Show me the output of "amxx plugins" so I know what sh version you are working with exactly and I can edit an sma that you can try to see if it will work.

And no the include (superheromod.inc file) nor amxmodx version will not change the fact that this is not working.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
fansofspeed
Junior Member
Join Date: Dec 2008
Old 01-05-2009 , 03:12   Re: /myheroes shows me lousy codes
Reply With Quote #4

Quote:
Originally Posted by vittu View Post
http://forums.alliedmods.net/showthr...126#post134126
http://forums.alliedmods.net/showthr...393#post408393
Half-Life engine doesn't support utf-8, so amxx can't really support it. In turn means I can't really support it either or at least should not be expect to.


utf-8 is requried for that lettering, the commands you are having issues with are html encoded motd messages. It's possible adding an html meta field with "charset=UTF-8" will show the characters correctly but I can't say for sure.

Show me the output of "amxx plugins" so I know what sh version you are working with exactly and I can edit an sma that you can try to see if it will work.

And no the include (superheromod.inc file) nor amxmodx version will not change the fact that this is not working.
I changed my server to amxx1.8.0 just now .
so my amx_plugins is :
16:07:19 amx_plugins
16:07:19 Currently loaded plugins:
name version author file status
[ 1] Admin Base 1.8.0.3660 AMXX Dev Team admin.amxx running
[ 2] Admin Commands 1.8.0.3660 AMXX Dev Team admincmd.amxx running
[ 3] Admin Help 1.8.0.3660 AMXX Dev Team adminhelp.amxx running
[ 4] Slots Reservation 1.8.0.3660 AMXX Dev Team adminslots.amxx running
[ 5] Multi-Lingual System 1.8.0.3660 AMXX Dev Team multilingual.am running
[ 6] Menus Front-End 1.8.0.3660 AMXX Dev Team menufront.amxx running
[ 7] Commands Menu 1.8.0.3660 AMXX Dev Team cmdmenu.amxx running
[ 8] Players Menu 1.8.0.3660 AMXX Dev Team plmenu.amxx running
[ 9] Maps Menu 1.8.0.3660 AMXX Dev Team mapsmenu.amxx running
[ 10] Admin Chat 1.8.0.3660 AMXX Dev Team adminchat.amxx running
[ 11] Anti Flood 1.8.0.3660 AMXX Dev Team antiflood.amxx running
[ 12] Scrolling Message 1.8.0.3660 AMXX Dev Team scrollmsg.amxx running
[ 13] Info. Messages 1.8.0.3660 AMXX Dev Team imessage.amxx running
[ 14] Admin Votes 1.8.0.3660 AMXX Dev Team adminvote.amxx running
16:07:19 [ 15] NextMap 1.8.0.3660 AMXX Dev Team nextmap.amxx running
[ 16] TimeLeft 1.8.0.3660 AMXX Dev Team timeleft.amxx running
[ 17] Pause Plugins 1.8.0.3660 AMXX Dev Team pausecfg.amxx running
[ 18] Stats Configuration 1.8.0.3660 AMXX Dev Team statscfg.amxx running
[ 19] Restrict Weapons 1.8.1.3746 AMXX Dev Team restmenu.amxx running
[ 20] StatsX 1.76c AMXX Dev Team statsx.amxx running
[ 21] Say menu 1.0 Rulzy say_menu.amxx running
[ 22] RS Swear Filter 2.0 xeroblood rs_swearfilter. running
[ 23] Nameban 0.1 none nameban.amxx running
[ 24] DT-Signature 1.1 ahcat sign2.amxx running
[ 25] DT-EnterLeave 1.0 ahcat enterleave.amxx running
[ 26] Team Balancer 1.8b3 Ptahhotep -A-TYP ptb_cn.amxx running
[ 27] One Name 0.9 default one_name_cn.amx running
[ 28] Show IP 1.0 $uicid3 amx_ip.amxx running
[ 29] client key bind 0.31 nwb13 key_bind.amxx running
16:07:19 [ 30] SuperHero Core 1.2.0.9 JTP10181/{HOJ}Ba superheromod.am running
[ 31] SUPERHERO Aquaman 1.17.5 AssKicR/Lazy/JTP sh_aquaman.amxx running
[ 32] SUPERHERO Batman 1.2.0.9 {HOJ} Batman/JTP sh_batman.amxx running
[ 33] SUPERHERO Bazooka 3.6 olol sh_bazooka.amxx running
[ 34] SUPERHERO Bomberman 1.17.5 AssKicR sh_bomberman.am running
[ 35] SUPERHERO Captain Amer 1.17.5 {HOJ} Batman/JTP sh_captaina.amx running
[ 36] SUPERHERO Cyclops 1.17.5 AssKicR/Batman/J sh_cyclops.amxx running
[ 37] SUPERHERO Dazzler 1.17.5 {HOJ} Batman sh_dazzler.amxx running
[ 38] SUPERHERO Dracula 1.17.5 {HOJ} Batman/JTP sh_dracula.amxx running
[ 39] SUPERHERO Flash 1.17.5 {HOJ} Batman sh_flash.amxx running
[ 40] SUPERHERO Hobgoblin 1.17.5 {HOJ} Batman/JTP sh_hobgoblin.am running
[ 41] SUPERHERO Hulk 1.17.5 {HOJ} Batman sh_hulk.amxx running
[ 42] SUPERHERO The Invisibl 1.0 AssKicR sh_invisman.amx running
[ 43] SUPERHERO Ironman 1.17.5 {HOJ} Batman/JTP sh_ironman.amxx running
[ 44] SUPERHERO Kamikaze 1.17.5 AssKicR/JTP10181 sh_kamikaze.amx running
16:07:19 [ 45] SUPERHERO Magneto 1.17.5 AssKicR / JTP101 sh_magneto.amxx running
[ 46] SUPERHERO Mystique 1.17.5 {HOJ} Batman sh_mystique.amx running
[ 47] SUPERHERO Nightcrawler 1.17.5 {HOJ} Batman sh_nightcrawler running
[ 48] SUPERHERO Skeletor 1.17.5 {HOJ} Batman sh_skeletor.amx running
[ 49] SUPERHERO Spiderman 1.17.5 {HOJ} Batman/JTP sh_spiderman.am running
[ 50] SUPERHERO Superman 1.17.5 {HOJ} Batman sh_superman.amx running
[ 51] SUPERHERO Wind Walker 1.17.5 AssKicR/JTP10181 sh_windwalker.a running
[ 52] SUPERHERO Wolverine 1.17.5 {HOJ}Batman/JTP1 sh_wolverine.am running
[ 53] SUPERHERO Xavier 1.2.0.9 {HOJ} Batman sh_xavier.amxx running
[ 54] SUPERHERO Poison Ivy 1.5 AssKicR / vittu sh_poisonivy.am running
[ 55] SUPERHERO Invisible Wo 1.1 Glooba sh_inviswoman.a running
[ 56] SUPERHERO Steel 1.0 HeKTiK ChAoS sh_steel.amxx running
[ 57] SUPERHERO Rambo 1.1 Glooba sh_rambo.amxx running
57 plugins, 57 running

I just complie Xavier in the right way ,the other heroes I have not complie because I failed to translate hero name and info into chinese(in the /myheroes list) .so , Xavier is the example .

Last edited by fansofspeed; 01-05-2009 at 03:15.
fansofspeed is offline
fansofspeed
Junior Member
Join Date: Dec 2008
Old 01-05-2009 , 03:31   Re: /myheroes shows me lousy codes
Reply With Quote #5

Quote:
Originally Posted by vittu View Post
http://forums.alliedmods.net/showthr...126#post134126
http://forums.alliedmods.net/showthr...393#post408393
Half-Life engine doesn't support utf-8, so amxx can't really support it. In turn means I can't really support it either or at least should not be expect to.


utf-8 is requried for that lettering, the commands you are having issues with are html encoded motd messages. It's possible adding an html meta field with "charset=UTF-8" will show the characters correctly but I can't say for sure.

Show me the output of "amxx plugins" so I know what sh version you are working with exactly and I can edit an sma that you can try to see if it will work.

And no the include (superheromod.inc file) nor amxmodx version will not change the fact that this is not working.
Before I find this forum , I download a superheromod.amxx from internet of China .And with that superheromod.amxx ,when I type "/myheros", my server will open "myhero list" with no lousy codes, all words is in chinese.
But that superheromod.amxx is compile with sh1.17.5 . sh1.17.5 is too old to adding other heroes.So ,I have to upgrade sh to 1.2.0 , so I can add other heroes , but ,the "myhero list" shows me lousy codes.
I just want to say : I think there is a way to show chinese words in "myhero list" wihtout lousy codes , and I trust you can ! come on
fansofspeed is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 01-05-2009 , 14:25   Re: /myheroes shows me lousy codes
Reply With Quote #6

I do not recommend using amxx 1.8.0 over 1.8.1.

Also, if you are going to use SH 1.2.0 or above you should really update the default 1.17.5 heroes that came with the mod.

-----------------

I think even if i set the meta charset as utf-8 it wont work. I think the sma would need to be saved as utf-8 for it to work correctly only in doing so the compiler will not compile the file.

Quote:
Originally Posted by fansofspeed View Post
Before I find this forum , I download a superheromod.amxx from internet of China .And with that superheromod.amxx ,when I type "/myheros", my server will open "myhero list" with no lousy codes, all words is in chinese.
If you can find out what they did to make it work that would help too.

Last edited by vittu; 01-05-2009 at 16:11.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
fansofspeed
Junior Member
Join Date: Dec 2008
Old 01-05-2009 , 19:06   Re: /myheroes shows me lousy codes
Reply With Quote #7

Quote:
Originally Posted by vittu View Post
I do not recommend using amxx 1.8.0 over 1.8.1.

Also, if you are going to use SH 1.2.0 or above you should really update the default 1.17.5 heroes that came with the mod.

-----------------

I think even if i set the meta charset as utf-8 it wont work. I think the sma would need to be saved as utf-8 for it to work correctly only in doing so the compiler will not compile the file.

If you can find out what they did to make it work that would help too.
Thank you ,for so many help

I will show the "/myheros list" picture of the old superheromod.amxx which has been translated by another chinese , like this :

and , Could you give me the superheroconst.inc of 1.17.5 , I want to have a try . thank you .
Attached Thumbnails
Click image for larger version

Name:	Snap.jpg
Views:	123
Size:	75.6 KB
ID:	35570  
fansofspeed is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 01-05-2009 , 19:33   Re: /myheroes shows me lousy codes
Reply With Quote #8

Quote:
Originally Posted by fansofspeed View Post
Could you give me the superheroconst.inc of 1.17.5
There is no superheroconst.inc for 1.17.5, the core system has changed with 1.2.0.*. I gave you all the includes in the other post. And do not mix old with new it wont work.


Ask in the other forum you got 1.17.5 from what they did to make it work with utf-8 cause at this point i do not know.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
fansofspeed
Junior Member
Join Date: Dec 2008
Old 01-05-2009 , 19:59   Re: /myheroes shows me lousy codes
Reply With Quote #9

Quote:
Originally Posted by vittu View Post
There is no superheroconst.inc for 1.17.5, the core system has changed with 1.2.0.*. I gave you all the includes in the other post. And do not mix old with new it wont work.


Ask in the other forum you got 1.17.5 from what they did to make it work with utf-8 cause at this point i do not know.
Thank you .
now, there is two way in my front ,one is old superheromod.amxx,which has been translated into chinese,but can't add other heroes ;
one is 1.2.0.9 superheromod sma ,which can add other heroes ,but I can't translated some motd words into chinese.
so....maybe it is the time for me to give it up..
fansofspeed is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode