In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

Pages: [1]   Go Down
  Print  
Author Topic: Question  (Read 497 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 48
Offline Offline
« on: January 27, 2012, 11:11:49 AM »

Hi guys!

I have already wroted about the "é" "é" "ü" letters. But is english the only language what the b3 supports? I mean, can I change the language to German, cauz german has the same letters(most of them)?
Logged

NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner

Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #1 on: January 27, 2012, 11:55:53 AM »

You can try, with the latest version of B3 (1.Cool you can set the encoding in the xml, but I am not sure how cod4 will handle that.

I think that for German the encoding would be ISO-8859-1

Logged
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 48
Offline Offline
« Reply #2 on: January 27, 2012, 12:17:54 PM »

You can try, with the latest version of B3 (1.Cool you can set the encoding in the xml, but I am not sure how cod4 will handle that.

I think that for German the encoding would be ISO-8859-1



Thx for the answer but please can you tell me how can I set that?
Logged

NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 48
Offline Offline
« Reply #3 on: January 28, 2012, 03:25:16 PM »

Thx for the answer but please can you tell me how can I set that?

Pls tell me. I want to translate it fully with those letters
Logged

NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #4 on: January 28, 2012, 04:25:36 PM »

Put the following in the server section of the b3 xml

        <set name="encoding">ISO-8859-1</set>

and give it a try
Logged
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 48
Offline Offline
« Reply #5 on: January 28, 2012, 07:50:49 PM »

Put the following in the server section of the b3 xml

        <set name="encoding">ISO-8859-1</set>

and give it a try

My b3 log:
120129 03:46:32   BOT       'Loading Plugin #2 admin [b3\\conf\\plugin_admin.xml]'
120129 03:46:32   BOT       'AdminPlugin: Loading config b3\\conf\\plugin_admin.xml for AdminPlugin'
120129 03:46:32   CRITICAL   "AdminPlugin: The config file XML syntax is broken: 'not well-formed (invalid token): line 95, column 49'"
Traceback (most recent call last):
  File "C:\Users\pa3ck\Desktop\b3\b3\plugin.py", line 56, in __init__
    self.loadConfig(config)
  File "C:\Users\pa3ck\Desktop\b3\b3\plugin.py", line 93, in loadConfig
    self.config = b3.config.load(fileName)
  File "C:\Users\pa3ck\Desktop\b3\b3\config.py", line 272, in load
    if config.load(fileName):
  File "C:\Users\pa3ck\Desktop\b3\b3\config.py", line 181, in load
    self.readfp(f)
  File "C:\Users\pa3ck\Desktop\b3\b3\config.py", line 76, in readfp
    raise ConfigFileNotValid("%s" % e)
ConfigFileNotValid: 'not well-formed (invalid token): line 95, column 49'
My b3.xml:
<?xml version="1.0"?>
<configuration>
  <settings name="b3">
    <set name="parser">cod4</set>
    <set name="database">mysql://asd:asd@localhost/asd</set>
    <set name="bot_name">B3</set>
    <set name="bot_prefix">^0(^0a^51^0'^5U^0S)^7:</set>
    <set name="time_format">%I:%M%p %Z %m/%d/%y</set>
    <set name="time_zone">GMT</set>
    <set name="log_level">9</set>
    <set name="logfile">C:\Users\pa3ck\Desktop\b3\b3.log</set>
    <set name="encoding">ISO-8859-1</set>



The letter i wrote is "é"
Logged

NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #6 on: January 28, 2012, 10:07:12 PM »

Did you put the letter in plugin_admin.xml?

If so then I guess that it won't work there.
Logged
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 48
Offline Offline
« Reply #7 on: January 29, 2012, 05:03:36 AM »

Did you put the letter in plugin_admin.xml?

If so then I guess that it won't work there.

Ye i put it to the plugin_admin.xml
Logged

NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 48
Offline Offline
« Reply #8 on: January 31, 2012, 09:41:58 AM »

Okay guys i got it worked now. If someone is from germany or wherever where there are special characters do the following:

Replace the: <?xml version="1.0"?>
               to: <?xml version="1.0" encoding="UTF-8"?>

In your b3.xml and save it in UTF-8 Format.

You can not just easily write the "é"á" letters you have to put the codes in. Codes are found here:
http://www.komel.hu/assistance/utf-8.php  (NOTE: the code is on the left side of the letter)

I hope its helped.

Greetings, pa3ck!
Logged

NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #9 on: January 31, 2012, 09:49:35 AM »

Good find!!  Smiley

Do they now appear correctly in the console output?
Logged
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 48
Offline Offline
« Reply #10 on: January 31, 2012, 09:52:24 AM »

Good find!!  Smiley

Do they now appear correctly in the console output?

Ye most of them. É Á are perfect. But not the ? but I dont really need it I use ö instead.

EDIT: The question mark is there because the letter is not appear correctly Cheesy
Logged

NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal