Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 28.12.2006, 10:36   #26
DukeGr
Архивный участник
 
Join Date: May 2006
Posts: 78
Default

nice work khelben,i tried it out but unfortunately it bugged my npcdata.

it made all mobs do very high damage like 15000 damage and u couldnt kill them.
DukeGr is offline  
Old 28.12.2006, 12:07   #27
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

Quote:
Originally Posted by DukeGr View Post
nice work khelben,i tried it out but unfortunately it bugged my npcdata.

it made all mobs do very high damage like 15000 damage and u couldnt kill them.
Thanks for the response.

A couple questions for you.

1. Were you using the latest version, v0.5?
2. What are your regional settings in windows?
3. If you change your regional settings to English - US do you still experience the issue?
khelben is offline  
Old 29.12.2006, 08:33   #28
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

latest version v0.5 work perfect with regional english - cz settings :-)
rodier is offline  
Old 29.12.2006, 08:45   #29
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by khelben View Post
Thanks for the response.

A couple questions for you.

1. Were you using the latest version, v0.5?
2. What are your regional settings in windows?
3. If you change your regional settings to English - US do you still experience the issue?
World standart is "." for decimal point.
HF is offline  
Old 29.12.2006, 08:50   #30
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

Actually in some countries they use "," case in point, Greece and Czechoslovakia
khelben is offline  
Old 29.12.2006, 09:08   #31
Kenjiro
Архивный участник
 
Join Date: Apr 2006
Posts: 120
Default

It should not rely on functions using regional settings (most Delphi ones) or should replace ',' to '.' before string-to-float conversion.

P.S. We (in Poland) use , as decimal point.
Kenjiro is offline  
Old 29.12.2006, 09:08   #32
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by khelben View Post
Actually in some countries they use "," case in point, Greece and Czechoslovakia
Russia use it too as default, but all code developers must use "." in regional settings. Or... you need made additional code for compatible. .NET support regional checking and converations.
Or easy - do replace "," to "." for drop before working.
HF is offline  
Old 29.12.2006, 09:26   #33
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

Yeah, .net by default uses the end users regional settings. I have never really made anything that was used internationally before so I did not know of this issue. The current v0.5 release uses .net to force US English settings within itself.

This appears to have taken care of the issues international "," users were having.
khelben is offline  
Old 03.01.2007, 05:32   #34
JamesDean
Архивный участник
 
Join Date: Aug 2005
Posts: 13
Default

Nice share! Thanks, our server really needed this.
JamesDean is offline  
Old 03.01.2007, 10:42   #35
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

Quote:
Originally Posted by JamesDean View Post
Nice share! Thanks, our server really needed this.
Glad this could help!
khelben is offline  
Old 03.01.2007, 21:03   #36
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

All is now good. Thanks for the share, you deserve a A++ :3.

Oso
Osito2Dancer 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. The time now is 22:48.