You are not logged in.

Dear visitor, welcome to Allods Online Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, June 20th 2020, 7:43pm

CurrenciesInfo Addon

I'm having a problem where I cannot see any of the currencies except for the Tears.
Russian configuration file is kinda weird for me because I don't speak the language
Xferx has attached the following image:
  • Screenshot_1.thumb.jpg.caea9901ef81af0199689fae68697ec9.jpg

2

Thursday, October 1st 2020, 3:43pm

So you can easily walk into your nearest bank and get your unusable notes exchanged.

3

Friday, October 2nd 2020, 1:44pm

Hi Xferx,

I took a look at the addon and replaced the names of the currencies for the english version of the game. From there maybe its easier to find the corresponding names in your language.

Note that a currency will only be displayed if the name in the tables of the addon is written correctly (case sensitive). Also note that some localized names have mistakes or non exact translations as provided by the official game client. You can see the correct currency names in the character window in the game under "Valuables". These need to be entered into the addon script file. (My suggestion is attached for reference).

The file you have to edit is located at C:\MyGames\Allods Online EN\data\Mods\Addons\CurrencesInfo\Scripts\CurrencesInfo.lua
You can edit it with a text editor such as "notepad++".

RecoveryTableCurrencesShow

Spoiler Spoiler

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
	[1] = "Gold",
	[2] = "Astral Keys",
	[3] = "Astral Granite",
	[4] = "Astral Key",
	[5] = "Astral Coral",
	[6] = "Astral Replicator",
	[7] = "Astral Horn",
	[8] = "Bronze Medal",
	[9] = "Spring Cards",
	[10] = "Incarnations",
	[11] = "Monster Head",
	[12] = "Grail's Hunger",
	[13] = "Gift of Admiration",
	[14] = "June Coins",
	[15] = "Dionic Emblem of the Challenge",
	[16] = "Dionic Emblem",
	[17] = "Proof of Exploit",
	[18] = "Training Camp Explorer Token",
	[19] = "Haste charges",
	[20] = "Sign of special merit",
	[21] = "Gold dust",
	[22] = "Hero's Spark",
	[23] = "Demon Spark",
	[24] = "Carnival Mask",
	[25] = "Tycoon Collector's Coin",
	[26] = "Collector's Coin",
	[27] = "Ship coupon",
	[28] = "Mount Feed",
	[29] = "Crystal Chip",
	[30] = "Speck of Light",
	[31] = "Nugget of Pure Light",
	[32] = "Spark Experience limit",
	[33] = "Little valentine",
	[34] = "Contest Medal",
	[35] = "Mirra",
	[36] = "Coins of Free Traders",
	[37] = "Dominion Medals",
	[38] = "New Year Card",
	[39] = "Tome of Sparks Experience",
	[40] = "Sculptor's Shard",
	[41] = "Frozen Dragon Tear Shard",
	[42] = "Mercenary Pay",
	[43] = "Transform Crystal of the 29th Generation",
	[44] = "Supplies",
	[45] = "Awakened Matter",
	[46] = "Crafting",
	[47] = "Purple Astral Nugget",
	[48] = "Seashell",
	[49] = "Decaying Particle of Anomalous Matter",
	[50] = "Realgar",
	[51] = "Trial of Blood Rating",
	[52] = "Megaphone",
	[53] = "Heart Affection",
	[54] = "Blood Symbol",
	[55] = "A symbol of a wish come true",
	[56] = "Shining astralium",
	[57] = "Dragon Tears",
	[58] = "Snowflake",
	[59] = "Sovereign",
	[60] = "Triple replicator",
	[61] = "Meteorite fragment",
	[62] = "Particle of Anomalous Matter",
	[63] = "Magic Ink",
	[64] = "Honor",
	[65] = "Emanation of the Unexplored Astral",
	[66] = "Emanation of the Mysterious Astral",
	[67] = "Hero Emblem",
	[68] = "Dionic Olympics Emblem",
	[69] = "Combat Emblem",
	[70] = "Battleground Emblem",
	[71] = "Kingdom of Elementals emblem",
	[72] = "Embrium",
	[73] = "Anniversary Gold Coin",
	[74] = "Anniversary Copper Coin",
	[75] = "Anniversary Platinum Coin",
	[76] = "Anniversary Silver Coin",
	[77] = "Amber Astral Nugget",
	[78] = "Memory Module",
	[79] = "Fairy Dust",
	[80] = "Ecu",
	[81] = "Contribution to the Stronghold",
	[82] = "Draconic Blessing",
	[83] = "Social activity on Irene",
	[84] = "Transforming Crystal of the 30th Generation",
	[85] = "Royal Goodwill"


TableCurrenciesShow

Spoiler Spoiler

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
	["Gold"] = true,
	["Astral Keys"] = true,
	["Astral Granite"] = true,
	["Astral Key"] = true,
	["Astral Coral"] = true,
	["Astral Replicator"] = true,
	["Astral Horn"] = true,
	["Bronze Medal"] = true,
	["Spring Cards"] = true,
	["Incarnations"] = true,
	["Monster Head"] = true,
	["Grail's Hunger"] = true,
	["Gift of Admiration"] = true,
	["June Coins"] = true,
	["Dionic Emblem of the Challenge"] = true,
	["Dionic Emblem"] = true,
	["Proof of Exploit"] = true,
	["Training Camp Explorer Token"] = true,
	["Haste charges"] = true,
	["Sign of special merit"] = true,
	["Gold dust"] = true,
	["Hero's Spark"] = true,
	["Demon Spark"] = true,
	["Carnival Mask"] = true,
	["Tycoon Collector's Coin"] = true,
	["Collector's Coin"] = true,
	["Ship coupon"] = true,
	["Mount Feed"] = true,
	["Crystal Chip"] = true,
	["Speck of Light"] = true,
	["Nugget of Pure Light"] = true,
	["Spark Experience limit"] = true,
	["Little valentine"] = true,
	["Contest Medal"] = true,
	["Mirra"] = true,
	["Coins of Free Traders"] = true,
	["Dominion Medals"] = true,
	["New Year Card"] = true,
	["Tome of Sparks Experience"] = true,
	["Sculptor's Shard"] = true,
	["Frozen Dragon Tear Shard"] = true,
	["Mercenary Pay"] = true,
	["Transform Crystal of the 29th Generation"] = true,
	["Supplies"] = true,
	["Awakened Matter"] = true,
	["Crafting"] = true,
	["Purple Astral Nugget"] = true,
	["Seashell"] = true,
	["Decaying Particle of Anomalous Matter"] = true,
	["Realgar"] = true,
	["Trial of Blood Rating"] = true,
	["Megaphone"] = true,
	["Heart Affection"] = true,
	["Blood Symbol"] = true,
	["A symbol of a wish come true"] = true,
	["Shining astralium"] = true,
	["Dragon Tears"] = true,
	["Snowflake"] = true,
	["Sovereign"] = true,
	["Triple replicator"] = true,
	["Meteorite fragment"] = true,
	["Particle of Anomalous Matter"] = true,
	["Magic Ink"] = true,
	["Honor"] = true,
	["Emanation of the Unexplored Astral"] = true,
	["Emanation of the Mysterious Astral"] = true,
	["Hero Emblem"] = true,
	["Dionic Olympics Emblem"] = true,
	["Combat Emblem"] = true,
	["Battleground Emblem"] = true,
	["Kingdom of Elementals emblem"] = true,
	["Embrium"] = true,
	["Anniversary Gold Coin"] = true,
	["Anniversary Copper Coin"] = true,
	["Anniversary Platinum Coin"] = true,
	["Anniversary Silver Coin"] = true,
	["Amber Astral Nugget"] = true,
	["Memory Module"] = true,
	["Fairy Dust"] = true,
	["Ecu"] = true,
	["Contribution to the Stronghold"] = true,
	["Draconic Blessing"] = true,
	["Social activity on Irene"] = true,
	["Transforming Crystal of the 30th Generation"] = true,
	["Royal Goodwill"] = true


Result:
s. attached image for an example.

If you want to display many different currencies with this addon the default table rows are to low. To fix this I inserted a few more iterations into the function

PositionCurrensiesToCurrenceInfo

Spoiler Spoiler

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
					if N <= 6 then
						Y = 1
					elseif N <= 12 then
						Y = 2
					elseif N <= 18 then
						Y = 3
					elseif N <= 24 then
						Y = 4
					elseif N <= 30 then
						Y = 5
					elseif N <= 36 then
						Y = 6
					elseif N <= 42 then
						Y = 7
					elseif N <= 48 then
						Y = 8
					elseif N <= 54 then
						Y = 9
					elseif N <= 60 then
						Y = 10
					end


Complete edited file is attached (rename it from CurrencesInfo.lua.txt to CurrencesInfo.lua as the forum does not support script format uploads). The typos in filenames and in the script are already in the original addon and thus need to stay.

Please post other localisations and the missing currency names I did not find.

Cheers, Vercosyne

Similar threads

Rate this thread