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

Miscstats / statsx translation issues


  
 
 
Thread Tools Display Modes
Author Message
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 03-08-2006 , 16:20   Miscstats / statsx translation issues
#1

There is something missing with translation of statsx/miscstats. Items of StatsCfgMenu aren't translated. Most Disruptive, Best Player of the round is translated only into server language (should be used LANG_PLAYER instead LANG_SERVER for these translations).
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
BAILOPAN
Join Date: Jan 2004
Old 03-14-2006 , 10:21  
#2

taking a quick look at miscstats, this requires too much of a rewrite. currently it builds the string globally and then displays it to all clients, and it does these in completely separate phases.

this won't be done for 1.71 but I'm keeping the report open for the future.
__________________
egg
BAILOPAN is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 10-01-2006 , 18:13   Re: Miscstats / statsx translation issues
#3

OK - I rewrote 3 plugins - statsx, miscstats and statscfg to use translations in statscfgmenu and I've added few new messages they are already added also in AMX 2005/6 based on my plugin I posted at AMX forum 1.5 year ago here.
There are also new messages (water kill, air kill, kill through the wall, fall down suicide) done by KRoT@L in AMX newest version (but re-wrote by me to use fakemeta instead engine - except client_kill function). Currently missing translations are:
sr, tr, sv, da, nl, es, cz, fi, ls, bg
All lines added/changed by me has been commented as // KWo - so You can easy find all changes comparing to 1.76a version.

[EDIT]
03.11.2006
Removed all my comments started with "// KWo" since Bail doesn't like them...
Updated it with all fixes done in default miscstats plugin since revision 3099 until revision 3142 (including)
[/EDIT]
Attached Files
File Type: zip new2_stats_kwo.zip (50.4 KB, 1073 views)
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.

Last edited by KWo; 11-03-2006 at 15:40.
KWo is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 10-02-2006 , 02:59   Re: Miscstats / statsx translation issues
#4

I've forgot to enable (during my tests) spec info stats, so I smell the potential possibility of overlapping spec stats with my killstreak hud (it may - but it must not - to happen). If it will really happen - the spec inf and killstreak hud will need to use the same synchro. I'll test it today. And probably the "end by" killstreak needs to be moved a bit to prevent overlap with bomb count down hud. If I'll really see the overlaping problem, I'll upload the newer version with the list of changes related to this what was posted above. But it will be only "cosmetic" change (if really necessary) I suppose. I forgot to say there is also added "say /Flop 15" (the list of worses 15 players - against the list top15 - the best 15 players). Idea was KRoT@L's.
Another thing - messages about kill in the air - for some reason it wasn't working correctly with CS1.5, but I believe it might be something between fakemeta and old CS1.5. But if it will happen also for CS1.6 You may expect soon a new bug report (concerning to test with fakemeta flags FL_ONGROUND and FL_PARTIALGROUND). Stay tuned. ;)
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 10-02-2006 , 17:32   Re: Miscstats / statsx translation issues
#5

I've updated the files in zip posted above - fixed issues mentioned in my previous post. Also I did the synchro for scrolling message plugin (included also now in my zip). In the default plugin statsx there was a bug concerning to overalping Spec Rank Info by them-selves (when You were changing by right mouse click the player - the new info overlaped the old one from the previous player - the same problem like with HE and knife kills - fixed already by Bailopan). In my version this problem with overlaping messages "Spec Rank Info" by them-selves is already fixed.
And the problem with check air kill sseems appears also in CS1.6.
What is wrong here:
Code:
    if(AirKill && !(pev(victim, pev_flags) & FL_ONGROUND) && !(pev(victim, pev_flags) & FL_PARTIALGROUND) && (killer != victim))     {         new killer_name[32], victim_name[32], message[128]         get_user_name(killer, killer_name, 31)         get_user_name(victim, victim_name, 31)         set_hudmessage(100, 100, 255, -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, -1) (...)
It shows all kills as air kills - so it means these flags FL_ONGROUND and FL_PARTIALGROUND are everytime cleared for fakemeta if the player is just killed. I may need a help with this, since I'm n00b with fakemeta...
Here is the test plugin.
Attached Files
File Type: zip test_fm2.zip (637 Bytes, 317 views)
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.

Last edited by KWo; 10-02-2006 at 17:43.
KWo is offline
BAILOPAN
Join Date: Jan 2004
Old 10-02-2006 , 20:01   Re: Miscstats / statsx translation issues
#6

Is there a specific reason you chose to use fakemeta in miscstats, when it wasn't used before?
__________________
egg
BAILOPAN is offline
Old 10-02-2006, 20:05
doubleM
This message has been deleted by Xanimos.
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 10-03-2006 , 02:59   Re: Miscstats / statsx translation issues
#7

To use new messages (as fall down, air kill, water kill etc) I had to choose - either Engine or Fakemeta. Someone at this forum told me Fakemeta works much faster than Engine... ;)
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
BAILOPAN
Join Date: Jan 2004
Old 10-03-2006 , 03:06   Re: Miscstats / statsx translation issues
#8

I think this will be one of the first things to go into the 1.77 branch (since it's long overdue), but I also think the new features/fakemeta requiring stuff will be turned off by default -- statsx is one of those things where I don't want to break user expectations. So I'll probably add either a #define around it, or some sort of cvar.

In the news for the next minor release (1.76b), I will post about getting the remaining translations done for you.
__________________
egg

Last edited by BAILOPAN; 10-03-2006 at 03:08.
BAILOPAN is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 10-03-2006 , 03:18   Re: Miscstats / statsx translation issues
#9

Well - I've added something in code as "if fakemeta is loaded", but I don't know if this has whole some sense, because maybe if the plugin is compiled with fakemeta - it will load it automatically anyway. Can You give me some comment to this (again - forgive me lack of knowledge in that matter) ?
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
BAILOPAN
Join Date: Jan 2004
Old 10-03-2006 , 12:02   Re: Miscstats / statsx translation issues
#10

Yes, it will load automatically unless you do this:
Code:
#define AMXMODX_NOAUTOLOAD #include <fakemeta>

(plmenu does this with cstrike so it can get the team directly.)
__________________
egg

Last edited by BAILOPAN; 10-03-2006 at 12:04.
BAILOPAN is offline
 



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 23:53.


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