Raised This Month: $32 Target: $400
 8% 

[Multi-Lingual] AMX 1.01- Inproper Error Reporting


  
 
 
Thread Tools Display Modes
Author Message
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 03-11-2005 , 14:45   [Multi-Lingual] AMX 1.01- Inproper Error Reporting
#1

Ok I fixed this problem in my language file I have for WC3FT because it was missing colons but it reports the error really wierd in the logs, take a look:


Code:
L 03/11/2005 - 02:56:07: [amxbans.amxx] AMXBans amxx_4.0 is online
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\data\lang\war3FT.txt" line 2124)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2125)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2126)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2128)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2129)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2130)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2131)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2132)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2133)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2134)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2135)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2136)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2137)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2138)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2139)
L 03/11/2005 - 02:56:07: Invalid multi-lingual line (file "cstrike\addons\amxmodx\logs\L0311.log" line 2140)
The "cstrike\addons\amxmodx\logs\L0311.log" part should be showing "cstrike\addons\amxmodx\data\lang\war3FT. txt"

Doing a test I saw it happens when there's a section that is missing colons, here's the line of code in that text file that was messed up:

Code:
WAR3HELP = Igy kell bebindelni egy billentyut


1) Nyisd meg a console-t

2) Ird bind alt ultimate

3) Ird bind - shopmenu

4) Ird bind = shopmenu2

5) Ird bind p ability


Itt van par parancs amit tudnod kell


say /selectskill - Itt valaszthatod ki a kepessegeket a kovetkezo kor kezdese elott

say /changerace - Itt valtoztathatod meg a fajod

say /playerskills - Itt megnezheted, hogy masoknak milyen szinten vannak

say /skillsinfo - Itt leirast talalsz a valaszthato kepessegekrol

say /itemsinfo - Itt talalod a targyak listajat es leirasat

say /itemsinfo2 - A tobbi targy leirasa

say /level - Megmutatja a fajodat, a szintedet és a kepessegeidet

say /war3menu - A War3 Frozen Throne Jatekos menu

say /ability - Az orzo kigyot ezzel tudod lerakni ha van ilyened

say /resetskills - Lenullazza a kepessegeidet

say /resetxp - A szinted es az XP-det 0-ra allitja
Here's what it should be:

Code:
WAR3HELP : 
Igy kell bebindelni egy billentyut


1) Nyisd meg a console-t

2) Ird bind alt ultimate

3) Ird bind - shopmenu

4) Ird bind = shopmenu2

5) Ird bind p ability


Itt van par parancs amit tudnod kell


say /selectskill - Itt valaszthatod ki a kepessegeket a kovetkezo kor kezdese elott

say /changerace - Itt valtoztathatod meg a fajod

say /playerskills - Itt megnezheted, hogy masoknak milyen szinten vannak

say /skillsinfo - Itt leirast talalsz a valaszthato kepessegekrol

say /itemsinfo - Itt talalod a targyak listajat es leirasat

say /itemsinfo2 - A tobbi targy leirasa

say /level - Megmutatja a fajodat, a szintedet és a kepessegeidet

say /war3menu - A War3 Frozen Throne Jatekos menu

say /ability - Az orzo kigyot ezzel tudod lerakni ha van ilyened

say /resetskills - Lenullazza a kepessegeidet

say /resetxp - A szinted es az XP-det 0-ra allitja
:
Not a major issue but I wanted to let you know.
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze
BAILOPAN
Join Date: Jan 2004
Old 07-08-2005 , 01:07  
#2

Oddly enough this was one of the more really annoying bugs to fix. However, I'm glad you pointed it out and sorry it took so long to get to. It turned out the path building function was not re-entrant and subsequent calls to it from the logging routine was corrupting memory.

This has been fixed and the new internal implementation of build_pathname (build_pathname_r) has been added to the module API.

Thanks!
__________________
egg
BAILOPAN is offline
 


Thread Tools
Display Modes

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 10:27.


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