Rock5's Mail Mods
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
-
- Posts: 11
- Joined: Mon Jan 23, 2012 2:41 pm
Re: Rock5's Mail Mods
Works wonderful!
You are right, I install in wrong folder.
Thankxx
You are right, I install in wrong folder.
Thankxx
Sorry my Bad English! Google Translate and I will do the best we can! ^^
Re: Rock5's Mail Mods
I just installed the addon, works great sending items but, it doesn't sends money!
and i'm not using it with the bot, i'm doing it manually... when i set an ammount and push "send" it just does nothing...
Any idea?
Thank's
and i'm not using it with the bot, i'm doing it manually... when i set an ammount and push "send" it just does nothing...
Any idea?
Thank's
Re: Rock5's Mail Mods
Still works fine for me. Make sure you spelt the name right, that you have that amount of money and don't use punctuation in the amount.Niko wrote:I just installed the addon, works great sending items but, it doesn't sends money!
and i'm not using it with the bot, i'm doing it manually... when i set an ammount and push "send" it just does nothing...
Any idea?
Thank's
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Rock5's Mail Mods
I tried writing the name, picking it up from the lists on the right side, tried different ammounts of money (1, 10, 100, 1000...), tried using automatic subject, writen by hand subject... eaven tried to change the client languaje (i use spanish by default) to english, but when i open mail mod, it still appears on spanish...
I tried to change the zone (to usa for example) but it said wrong password on the FastLogin :-/
i deleted another addon i had related with mail (zMailQueue)...
it just does nothing when i hit the "send" button...
If i just write on a mail, or just send one or various articles, it works ok... if i put an attached object and money, then doesn't works...
if i send an object with refund, works ok...
what else could i try?
I tried to change the zone (to usa for example) but it said wrong password on the FastLogin :-/
i deleted another addon i had related with mail (zMailQueue)...
it just does nothing when i hit the "send" button...
If i just write on a mail, or just send one or various articles, it works ok... if i put an attached object and money, then doesn't works...
if i send an object with refund, works ok...
what else could i try?
Re: Rock5's Mail Mods
I just tested sending money and items at the same time. It still worked.
Do you get an error message in game? The little red flashing icon near the minimap?
Do you get an error message in game? The little red flashing icon near the minimap?
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Rock5's Mail Mods
Ok there's haves to be something about the languaje...
If i keeped the zone "spanish" and the languaje "english", mail mod still was in spanish and didn't worked... (i supose that it picks languaje due to zone and not the game languaje itself...) so, i changed zone to Europe, languaje to english, and now mail mod is in english, and works perfectly...
If i keeped the zone "spanish" and the languaje "english", mail mod still was in spanish and didn't worked... (i supose that it picks languaje due to zone and not the game languaje itself...) so, i changed zone to Europe, languaje to english, and now mail mod is in english, and works perfectly...
Re: Rock5's Mail Mods
Ah, good. I can reproduce it now. It's strange because it looks like half of the UMM frame gets it's language from the "Language" setting and half gets it from the "zone".
I don't know if I'll have enough time to fix it today, because it's Mothers day, but I should be able to fix it. Give me a couple of days.
I don't know if I'll have enough time to fix it today, because it's Mothers day, but I should be able to fix it. Give me a couple of days.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Rock5's Mail Mods
I had a quick look at it and it was easier to fix than I thought. The problem is there wasn't a translation for some of the language strings. The fix was to load the English language file first so if there isn't a translation for a string then it will show the English string.
Try this for me. Find and replace this file "UltimateMailMod\Library\tools.lua" with this one and let me know if it works. If you see anything in English that you want translated, just send me the translations and I'll add it.
Try this for me. Find and replace this file "UltimateMailMod\Library\tools.lua" with this one and let me know if it works. If you see anything in English that you want translated, just send me the translations and I'll add it.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Rock5's Mail Mods
It Works!!! Thank's dude...
See, the first thing i saw in english was the message of "Are you sure you want to send the amount shown bellow to xxx ?"
That would be, "¿Estás seguro de que quieres enviar la cantidad que se muestra abajo a xxx?"
Another thing in english is the "Mass tag mails", and "Char, Friends, Guildies, Other, Empty" buttons...
Buttons thanslation in that order are "Personajes, Amigos, Gremio, Otros, Vacio"
I'm not sure how to translate correctly "Mass tag mails", could be something like "Seleccionar correos de:" (select mails from...)
Don't use google translate on that, it's answer is awfull xDD
Mail Count is in english too, that is "Cantidad de correos"
The "xx days" message next to the subjects in the inbox is in english too, days is "dias" in spanish...
That's all by the moment, if i see anything else i'll let you know.
Thank's!
See, the first thing i saw in english was the message of "Are you sure you want to send the amount shown bellow to xxx ?"
That would be, "¿Estás seguro de que quieres enviar la cantidad que se muestra abajo a xxx?"
Another thing in english is the "Mass tag mails", and "Char, Friends, Guildies, Other, Empty" buttons...
Buttons thanslation in that order are "Personajes, Amigos, Gremio, Otros, Vacio"
I'm not sure how to translate correctly "Mass tag mails", could be something like "Seleccionar correos de:" (select mails from...)
Don't use google translate on that, it's answer is awfull xDD
Mail Count is in english too, that is "Cantidad de correos"
The "xx days" message next to the subjects in the inbox is in english too, days is "dias" in spanish...
That's all by the moment, if i see anything else i'll let you know.
Thank's!
Re: Rock5's Mail Mods
It was confusing me that if I set the language to Spanish it still used some English strings even though there are translations in the ES language file. I finally figured out it was because it used "GetLocation" instead of" GetLanguage" so the language was based on the zone instead of the language selected. I've changed it so it should work.
If you look in the ES.lua file you'll see "-- TRANSLATE" next to the lines that need translating but I just realised there are a lot of strings that I could get translations directly from the game using the TEXT function, eg. Yes, No, New Mail, Days, Hours. I might do a review of the strings and see how many I could trim down.
If you look in the ES.lua file you'll see "-- TRANSLATE" next to the lines that need translating but I just realised there are a lot of strings that I could get translations directly from the game using the TEXT function, eg. Yes, No, New Mail, Days, Hours. I might do a review of the strings and see how many I could trim down.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Rock5's Mail Mods
I made the translations on the ES.lua file, and i don't know why now many things appear in english!!!
I checked the file over and over again, i can't see what i did wrong...
By the moment i'll keep the original file, but please check it out and see if you find out something...
I checked the file over and over again, i can't see what i did wrong...
By the moment i'll keep the original file, but please check it out and see if you find out something...
- Attachments
-
- --ES.lua
- (8.33 KiB) Downloaded 145 times
Re: Rock5's Mail Mods
Try these.
Also could you have a look for any buttons that the text doesn't fit. Could you try to think of more abbreviated labels? For instance "P. de Fusión", "R. de producción" and "Seleccionar:".
I was just about to post when I saw your new post. So I incorporated your new translations. I see you are still using "Items". I'm using an in game string for "Items" that translates it to "Objetos". Is that not right?
It looks like some words might be different than the language file so let me know if anything strikes you as wrong.Also could you have a look for any buttons that the text doesn't fit. Could you try to think of more abbreviated labels? For instance "P. de Fusión", "R. de producción" and "Seleccionar:".
I was just about to post when I saw your new post. So I incorporated your new translations. I see you are still using "Items". I'm using an in game string for "Items" that translates it to "Objetos". Is that not right?
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Rock5's Mail Mods
Yes that's right, but there are many english words that we are used to use... so didn't sound wrong to me.rock5 wrote: I was just about to post when I saw your new post. So I incorporated your new translations. I see you are still using "Items". I'm using an in game string for "Items" that translates it to "Objetos". Is that not right?
I'll try those files to see how it works and i'll let you know...
See ya'
---
Edit:
Ok it seems everything is ok...
About the buttons text abreviation, is hard to fit it in such a small button xD
Anyway when you put the mouse over it you can see what's that button for, so not reading the button completly ain't that bad...
An alternative could be making the buttons ticker so you can put two text lines¿?
Piedra de----Runas de
-Fusión------Producción
Re: Rock5's Mail Mods
I thought about spreading the buttons over 2 lines so the buttons would be twice as long. Even though I could do it, I don't think it's worth it, especially as the tooltip shows the whole name like you said. I might just leave it as it is then.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Rock5's Mail Mods
I have a problem sending pet eggs. The only posting about sending pet egs is the one below.
So I triedwhere "i" should be
But it seems that the pet egg level is not the same as an item level.
With the above function call none of the eggs is send.
Do you have any ideas how to distinguish pet eggs by level?
Ric
In addition to that I would like to send different level eggs to different chars. The sending char only has pet eggs in its inventory so I don´t mind about item names.rock5 wrote:Send by partial pet name should work.sdude13 wrote:Is there any way to send all the catched pet-eggs to a character ?
if there is an id for every egg class it should work i guess... but I have realy no clue
This should work.Code: Select all
UMM_SendByNameOrId(_recipient, {"pet egg"})
So I tried
Code: Select all
UMM_SendAdvanced(recipient, nil, nil, i)
Code: Select all
_reqlevel - The minimum 'required level' of the items
With the above function call none of the eggs is send.
Do you have any ideas how to distinguish pet eggs by level?
Ric
Re: Rock5's Mail Mods
There is no support for egg levels but I can create a custom function for you.
Just put it in the waypoint onload or in a userfunction.
I made some changes to UMM_SendInventoryItem so it can accept tables of items instead of sending 1 at a time. Test this for me as well please.
-- Obsolete file deleted --
Note: None of this has been tested so try it out and report any errors or unusual behavior.
Code: Select all
function sendEggsByLevel(_recipient, lowest, highest)
-- Make table of items to send
local sendlist = {}
for item = 61, 240, 1 do -- for each inventory
local slotitem = inventory.BagSlot[item];
local eggLevel = memoryReadByte(getProc(), slotitem.Address + 0x2E)
if string.find(slotitem.Name,"Pet Egg") and eggLevel >=lowest and highest >= eggLevel then
-- Add to table
table.insert(sendlist, slotitem.SlotNumber)
end
end
UMM_SendInventoryItem(_recipient, sendlist)
end
I made some changes to UMM_SendInventoryItem so it can accept tables of items instead of sending 1 at a time. Test this for me as well please.
-- Obsolete file deleted --
Note: None of this has been tested so try it out and report any errors or unusual behavior.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Rock5's Mail Mods
I put sendEggsByLevel() in a new userfunction file.
Executing it withresulted in this error
UMM_FromSlot and UMM_ToSlot are not know, I found them defined as local in your mail mod userfunction.
I simply replaced vars with 61 and 120 and came up with this error
I will have a closer look on it later.
I just run the bot with wp files which usually worked fine, but errored when sending mail, maybe an error from your latest changes.
Thanx so far
Ric
Executing it with
Code: Select all
Command> sendEggsByLevel("xxx",1,1)
Code: Select all
onLoad error: scripts/rom/userfunctions/userfunction_sendEggs.lua:4: 'for' initial value must be a number
I simply replaced vars with 61 and 120 and came up with this error
Code: Select all
Sending inventory items to xxx ... onLoad error: ...m/userfunctions/addon_Rock5s_Mail_Functions1.81b.lua:558: attempt to perform arithmetic on field 'SlotNumber' (a nil value)
I just run the bot with wp files which usually worked fine, but errored when sending mail, maybe an error from your latest changes.
Code: Select all
...rom/userfunctions/addon_Rock5s_Mail_Functions1.8.lua:131: attempt to index local 'mailbox' (a nil value)
Ric
Re: Rock5's Mail Mods
Sorry, a victim of copy and paste.Rickster wrote:UMM_FromSlot and UMM_ToSlot are not know, I found them defined as local in your mail mod userfunction.
I simply replaced vars with 61 and 120 and came up with this error
I think I know what happened here. The function didn't find any items so it sent an empty table which confused things. Try thisRickster wrote:Sending inventory items to xxx ... onLoad error: ...m/userfunctions/addon_Rock5s_Mail_Functions1.81b.lua:558: attempt to perform arithmetic on field 'SlotNumber' (a nil value)
I didn't change that function at all. It shouldn't have failed. Maybe the game just glitched on you. Is it still not working or did it eventually work?Rickster wrote:...rom/userfunctions/addon_Rock5s_Mail_Functions1.8.lua:131: attempt to index local 'mailbox' (a nil value)
-- Old file deleted --
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Rock5's Mail Mods
The mailbox error was my fault, mixed some files.
No errors at this time.
The "german" eggs have all names like "*Begleiter-Ei". I changed that in the function to
But it also does not send the eggs and states that there is nothing to send, although there are level 3 eggs in my bagpack
In the pet egg info box the level is called: "Stufe: 3"
Ric
[edit]
seems there is an error with the string.find() function as tested like this, which returned a wrong "nil"
No errors at this time.
The "german" eggs have all names like "*Begleiter-Ei". I changed that in the function to
Code: Select all
string.find(slotitem.Name,"Begleiter-Ei")
Code: Select all
Command> sendEggsByLevel("xxx",3,3)
Sending inventory items to xxx... Nothing to send.
Ric
[edit]
seems there is an error with the string.find() function as tested like this, which returned a wrong "nil"
Code: Select all
Command> print(string.find("Runen-Begleiter-Ei","Begleiter-Ei"))
nil
Last edited by Rickster on Fri May 24, 2013 9:07 pm, edited 1 time in total.
Re: Rock5's Mail Mods
To get around this I changed the string.find() to search for plain text without patterns.
Now all works fine. Thanks Rock!
In your v.1.81b2 of addon_Rock5s_Mail_Functions.lua I changed this to false, to avoid the debug messages when sending mail
Here is Rocks function to send pet eggs with my latest changes. Tested and works fine.
Attention: you need at least v.1.81b2 of addon_Rock5s_Mail_Functions.lua from this post.
Now all works fine. Thanks Rock!
In your v.1.81b2 of addon_Rock5s_Mail_Functions.lua I changed this to false, to avoid the debug messages when sending mail
Code: Select all
local debugfilter = false
Code: Select all
function sendEggsByLevel(_recipient, lowest, highest)
local textInAllEggNames = "Begleiter-Ei" -- part of text which is contained in all pet egg names
local sendlist = {} -- Make table of items to send
for item = 61, 240, 1 do -- for each inventory
local slotitem = inventory.BagSlot[item];
local eggLevel = memoryReadByte(getProc(), slotitem.Address + 0x2E)
if string.find(slotitem.Name,textInAllEggNames,1,true) and eggLevel >=lowest and highest >= eggLevel then
-- Add to table
table.insert(sendlist, slotitem.SlotNumber)
end
end
UMM_SendInventoryItem(_recipient, sendlist)
end
Who is online
Users browsing this forum: No registered users and 2 guests