Jump to content
Alloder.pro: about Allods with love
Search In
  • More options...
Find results that contain...
Find results in...

New program for writers

We turn from quantity to quality and tell you how we will supplement the Allods Team program with rewards in rubles.

More

The new Updater

Let us to introduce the new addon updater software and to share the details

Read more

Alloder 2.0

We have started the process of project evolve, and this relates not only, and not even primarily of the site's view

Read more

GetGameLocalization BROKEN ON EU CLIENT SINCE TODAY's PATCH


Guest Carnifex
 Share

Recommended Posts

Guest Carnifex

fuck, it is more complicated: GetGameLocalization is broken in gipat, because if you are in gipat, the zone, which was on 4th place is then on 5th place -.- (because in our gameversion gipat is add on 0th place and not on last place)

BTW: Gipat is the lvl41 and lvl 42 zone, maybe we can fix it so: (if no letter came twice)

Code:
function GetGameLocalization()

return ({ ["\255"] ="rus", ["\108"] ="eng", ["\112"] ="ger", ["\105"] ="ger", ["\114"] ="fra"})

 [string.sub(userMods.FromWString(cartographer.GetMapBlockInfo(

cartographer.GetMapBlocks()[4] ).name),3,3)] or "eng"

end

french and english eu server should have the same problem

Explination:

Maplist in another zone than Gipat:

Code:
ZONE0

ZONE1

ZONE2

ZONE3

ZONE4<- get localisation from this

ZONE5

Maplist in Gipat:

Code:
Gipat

ZONE0

ZONE1

ZONE2

ZONE3<- get localisation from this -> wrong localisation -> if addon use ClassDetection: error

ZONE4

ZONE5

BTW: It was to boring in the last time, so here you have the next error in most of the addons xD

Link to comment
Share on other sites

Man, once you'll get the ".pak-method" you'll not need thsese functions anymore, anyways we can use english as default localization and just add "rus" as optional for russia (as it is supported by our clients")

BTW what did this patch give you? Lvl 41-42 cap increasing?

Link to comment
Share on other sites

Guest Carnifex
Quote:
BTW what did this patch give you? Lvl 41-42 cap increasing?

No only worser localization and non working game-server -.- (why you are asking? xD)
Link to comment
Share on other sites

Guest Carnifex

ok, its not only a problem of gipat, its also a problem of the unknow are (astral...) and this should be transalted different (Unbekanntes Gebiet in german)

Link to comment
Share on other sites

Guest Carnifex

I think it's time to completly rewrite this function because:

1. The current version do not work in some zone.

2. The current version will not work with locals, which also use no latin characters. (e.g. chinese would be detected as russian)

3. The Locals for mapnames will nearly sure not be changed anymore.

So write for every local the name of one zone in a table and make a fullnamesearch as for i=1,5 do cartographer.GetMapBlocks() ).name==... , because this will fix problem 1.

Link to comment
Share on other sites

Quote:
GetGameLocalization is broken in gipat, because if you are in gipat, the zone, which was on 4th place is then on 5th place -.- (because in our gameversion gipat is add on 0th place and not on last place)


12345jo7.jpg

Quote:
I think it's time to completly rewrite this function because:
<...>
So write for every local the name of one zone in a table and make a fullnamesearch as for i=1,5 do cartographer.GetMapBlocks() ).name==... , because this will fix problem 1.

I agree, probably this is the only solution, which solves this problem once and for all (with the possibility of similar problems in the future patches from gPotato). Here is an updated version of GetGameLocalization():

HOW-TO: Multilangual addon
.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use