ERROR inventory.lua:409
ERROR inventory.lua:409
Help please. There is an error trade. Game Client Russian. Sorry for my English
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: ERROR inventory.lua:409
I'm quite capable of browsing new posts without needing you to send me a copy via PM. I would appreciate if you didn't do that. I would also appreciate if you didn't provide absolutely no information.
Attach a copy of your log.txt and profile, for starters.
Attach a copy of your log.txt and profile, for starters.
Re: ERROR inventory.lua:409
I am very sorry that it happened. But you did not answer my questions.I have attached the necessary filesAdministrator wrote:I'm quite capable of browsing new posts without needing you to send me a copy via PM. I would appreciate if you didn't do that. I would also appreciate if you didn't provide absolutely no information.
Attach a copy of your log.txt and profile, for starters.
- Attachments
-
- Retrete.xml
- (8.48 KiB) Downloaded 166 times
-
- log.txt
- (2.15 KiB) Downloaded 98 times
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: ERROR inventory.lua:409
What is the Russian text for the 'Durability' when your mouse hovers over an item?
If you open rom/classes/item.lua, near the top you'll see this:
Add an entry for RU:
If you open rom/classes/item.lua, near the top you'll see this:
Code: Select all
ITEM_TOOLTIP_DURABILITY = {
DE = "Haltbarkeit",
FR = "Structure",
ENEU = "Durability",
ENUS = "Durability",
PH = "Durability",
};
Code: Select all
ITEM_TOOLTIP_DURABILITY = {
DE = "Haltbarkeit",
FR = "Structure",
ENEU = "Durability",
ENUS = "Durability",
PH = "Durability",
RU = "Durability(replace this with the actual text)",
};
Re: ERROR inventory.lua:409
Thanks for the help
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: ERROR inventory.lua:409
You should tell me what the text is so that I am able to add it to the bot.
Re: ERROR inventory.lua:409
Thank you for helping each hearse, all work fine. You can paste the text in the code a bot for the Russian players.Administrator wrote:You should tell me what the text is so that I am able to add it to the bot.
For example:
<waypoints type="TRAVEL">
<!-- #14 --><waypoint x="-2928" z="-8982"></waypoint>
<!-- #18 --><waypoint x="-2248" z="-9620">
if(bag = full) then loadPaths("demo3");</waypoint>
</waypoints>
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: ERROR inventory.lua:409
That's not what I asked. I want to know what the Russian durability text is.
Re: ERROR inventory.lua:409
I have everything working correctly. Things to durability remains in the bag.Do not display correctly Russian names of things in the window botAdministrator wrote:That's not what I asked. I want to know what the Russian durability text is.
-
- Posts: 2
- Joined: Fri May 07, 2010 8:49 am
Re: ERROR inventory.lua:409
I have exact same problem
Russian durability text is "Прочность"
not working-- A little class
-- Tooltip parser keywords
ITEM_TOOLTIP_DURABILITY = {
DE = "Haltbarkeit",
FR = "Structure",
ENEU = "Durability",
ENUS = "Durability",
PH = "Durability",
RU = "Прочность",
};
not working-- A little class
-- Tooltip parser keywords
ITEM_TOOLTIP_DURABILITY = {
DE = "Haltbarkeit",
FR = "Structure",
ENEU = "Durability",
ENUS = "Durability",
PH = "Durability",
RU = "Прочность"
};
not working too-- A little class
-- Tooltip parser keywords
ITEM_TOOLTIP_DURABILITY = {
DE = "Haltbarkeit",
FR = "Structure",
ENEU = "Durability",
ENUS = "Durability",
PH = "Durability",
RU = "\143\224\174\231\173\174\225\226\236"
};
Russian durability text is "Прочность"
-
- Posts: 2
- Joined: Fri May 07, 2010 8:49 am
Re: ERROR inventory.lua:409
I solved the problem using Notepad + + for converting Russian names durability
it work-- A little class
-- Tooltip parser keywords
ITEM_TOOLTIP_DURABILITY = {
DE = "Haltbarkeit",
FR = "Structure",
ENEU = "Durability",
ENUS = "Durability",
PH = "Durability",
RU = "Прочность"
};
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: ERROR inventory.lua:409
Can you try this:
and let me know if that works?
Code: Select all
RU = "\143\224\174\231\173\174\225\226\236",
Re: ERROR inventory.lua:409
Hello, I have this code works well. But the bot displays not read symbolsAdministrator wrote:Code: Select all
ITEM_TOOLTIP_DURABILITY = { DE = "Haltbarkeit", FR = "Structure", ENEU = "Durability", ENUS = "Durability", PH = "Durability", RU = "Durability(replace this with the actual text)", };
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: ERROR inventory.lua:409
What?SkyDragon wrote:But the bot displays not read symbols
-
- Posts: 53
- Joined: Mon May 10, 2010 10:37 am
Re: ERROR inventory.lua:409
Sometimes bot have problem with character encoding (4 example in PL (polish) we have national characters like śżźćńóęął) and sometimes bot cannot read them. This characters are readable by bot <=> only if they are written and saved by notepad++ (with notepad.exe, dos "edit" and many other don't working and only when I save profile with some national characters (like mob name "Skorpion Żądliwy" - one of type of Scorpions) with notepad++ this type of characters are "readable" by bot) dunno why:/Administrator wrote:What?SkyDragon wrote:But the bot displays not read symbols
Sorry 4 this "twisted" explain of this in English.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: ERROR inventory.lua:409
As stated, he should be using:
It will use the Russian characters and be workable in Lua.
For profiles, you will have to use something like Notepad++ to save the file with encoding in UTF-8 without BOM. The default profile already comes set like this.
Code: Select all
RU = "\143\224\174\231\173\174\225\226\236",
For profiles, you will have to use something like Notepad++ to save the file with encoding in UTF-8 without BOM. The default profile already comes set like this.
Re: ERROR inventory.lua:409
These are the characters I see when items are sold. and everything is working properly. It is desirable to add a feature to check the occupancy of the bag.Administrator wrote:What?SkyDragon wrote:But the bot displays not read symbols
-
- Posts: 53
- Joined: Mon May 10, 2010 10:37 am
Re: ERROR inventory.lua:409
LOL! Replace "Durability(replace with...)" with "\143\224\174\231\173\174\225\226\236" ...SkyDragon wrote:These are the characters I see when items are sold. and everything is working properly. It is desirable to add a feature to check the occupancy of the bag.Administrator wrote:What?SkyDragon wrote:But the bot displays not read symbols
or try to use the attachment (put it into <micromacro>\scripts\rom\classes\item.lua and confirm files replace).
PS: Admin. Is there any converter for characters to be converted from for example "Wytrzymałość"(pl) (eng. Durability) to slash-characterID format (like from this Russian text to /number/number/number/number)? Or some references to do that manually?
- Attachments
-
- item.lua
- Item.lua with RU supported
- (6.41 KiB) Downloaded 110 times
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: ERROR inventory.lua:409
http://pwsdb.narod.ru/cyrdos.htmlfilipsworks wrote: PS: Admin. Is there any converter for characters to be converted from for example "Wytrzymałość"(pl) (eng. Durability) to slash-characterID format (like from this Russian text to /number/number/number/number)? Or some references to do that manually?
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 11 guests