Quantcast
Download
(2 Kb)
Download
Updated: 08/14/17 06:45 PM
Pictures
File Info
Compatibility:
Horns of the Reach (3.1)
Updated:08/14/17 06:45 PM
Created:06/03/14 01:29 PM
Monthly downloads:202
Total downloads:15,032
Favorites:104
MD5:
Harven's Chat Completion  Popular! (More than 5000 hits)
Version: 1.1n
by: Harven [More]
When you start typing a slash command in the chat window entry field, a menu will appear showing available commands/emotes which begin with entered text. When you select one it will be pasted into the entry field. The popup menu can be navigated with up/down arrows and enter.

Donations
If you like my work you can make me happy by sending some in-game gold/items to @theharven on EU server (but please, no lockpicks ), eventually you can help me pay my monthly subscription by donating some money.

[Edit 09.31.2015]
Since monthly subscription is no longer required to play the game I decided to transfer all future dontations to charity. There is a polish site where you can chose a person you would like to support (mostly children) https://www.siepomaga.pl/. I will be anonymously transfering your donations there, to a person of my choosing and then I will post a link in The Great Donor Hall so you will know who gets your money I would love to help this people so I hope this doesn't discourages you from donating.

Version 1.1n:
- API version changed to 100020.

Version 1.1m:
- API version changed to 100019.

Version 1.1l:
- API version changed to 100018.

Version 1.1k:
- API version changed to 100017.

Version 1.1j:
- API version changed to 100016.

Version 1.1i:
- API version changed to 100015.

Version 1.1h:
- API version changed to 100014.

Version 1.1g:
- API version changed to 100013.

Version 1.1f:
- API version changed to 100012.

Version 1.1e:
- API version changed to 100011.

Version 1.1d:
- API version changed to 100010.

Version 1.1c:
- API version changed to 100009.

Version 1.1b:
- API version changed to 100008.

Version 1.1a:
- API version changed to 100007.

Version 1.1:
- The popup menu can be navigated with up/down arrows and enter.
Optional Files (0)


Archived Files (15)
File Name
Version
Size
Author
Date
1.1m
2kB
Harven
05/23/17 01:35 PM
1.1l
2kB
Harven
02/12/17 10:05 AM
1.1k
2kB
Harven
10/05/16 03:15 PM
1.1j
2kB
Harven
08/01/16 03:13 PM
1.1i
2kB
Harven
06/03/16 02:00 PM
1.1h
2kB
Harven
03/07/16 04:27 PM
1.1g
2kB
Harven
11/02/15 09:26 AM
1.1f
2kB
Harven
09/06/15 06:16 AM
1.1e
2kB
Harven
03/04/15 02:33 PM
1.1d
2kB
Harven
11/04/14 02:46 PM
1.1c
2kB
Harven
09/16/14 04:31 PM
1.1b
2kB
Harven
08/05/14 04:29 PM
1.1a
2kB
Harven
06/25/14 03:54 PM
1.1
2kB
Harven
06/04/14 05:02 PM
1.0
1kB
Harven
06/03/14 01:29 PM


Post A Reply Comment Options
Unread 11/01/17, 09:49 AM  
lexo1000
 
lexo1000's Avatar

Forum posts: 3
File comments: 72
Uploads: 0
It seems that the game include this function now since last patch
Report comment to moderator  
Reply With Quote
Unread 09/03/15, 10:25 AM  
DogEyedBoy

Forum posts: 0
File comments: 17
Uploads: 0
Seems to not be a problem after the patch, I did get a different error though, but not exactly sure what I did to produce it and haven't been able to reproduce it since.

Code:
user:/AddOns/HarvensChatCompletion/HarvensChatCompletion.lua:69: attempt to index a nil value
stack traceback:
	user:/AddOns/HarvensChatCompletion/HarvensChatCompletion.lua:69: in function 'ZO_Menu_GetSelectedControl'
	user:/AddOns/HarvensChatCompletion/HarvensChatCompletion.lua:113: in function '(anonymous)'
Report comment to moderator  
Reply With Quote
Unread 08/31/15, 04:34 PM  
Harven
 
Harven's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 258
Uploads: 31
Hey guys!
Looks like the fix isn't needed. Just checked it on PTS and couldn't reproduce the issue. Then I checked it on live and the issue was easily reproducible. Can you confirm?

[edit]
When I checked it on live server, it was before patch 7.
Last edited by Harven : 09/02/15 at 05:19 PM.
Report comment to moderator  
Reply With Quote
Unread 07/10/15, 10:04 AM  
Majeure
 
Majeure's Avatar

Forum posts: 6
File comments: 120
Uploads: 0
Hey @votan,

The code changes you posted indeed fixed the issue for me, I'll just use this patch until there's an official update to override it.

Thanks!
__________________
@Majeure | CP 900+ | Former Emperor | Master Angler | PC EU | Blood for the Pact!
Flawless Warden | Flawless Dragonknight | Flawless Templar | Flawless Nightblade | Flawless Sorcerer
YouTube | Website | Twitch | Late Night Dungeoneers
Report comment to moderator  
Reply With Quote
Unread 07/09/15, 01:06 PM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 418
File comments: 780
Uploads: 21
Originally Posted by Majeure
This seems to have broken at some point recently, it predicts stuff just fine, but when I attempt to complete what I'm typing by selecting one of the options, it'll completely lock up my input box from registering any keystrokes until a /reloadui (via a keybind provided by another addon.)

I tried disabling other chat addons and it's still happening.

More specifically, it'll only happen if I use the keyboard to select the option and then hit enter to confirm, if I use the mouse to click on the predictions it works fine.

I've been using this addon since like the dawn of time and doing any slash commands like finding the right emote is such a pain without it, what's even more amazing about it is that it works with addon commands as well, hopefully it can be fixed soon. @Harven
I don't know how fast Harven will respond. But I found a solution. HarvensChatCompletion.lua from line 1 to 40 should look like this:
Code:
local HarvensChatCompletion = { }

function HarvensChatCompletion.TextChanged(control, newText)
	local function PasteSelected(text)
		CHAT_SYSTEM:StartTextEntry(text)
		control.system:GetEditControl():TakeFocus()
	end
	HarvensChatCompletion.orgChatTextEntryTextChanged(control, newText)

	if not HarvensChatCompletion.menuHidden then
		HarvensChatCompletion.menuHidden = true
		ClearMenu()
	end

	if not newText or newText == "" then
		return
	end

	if not string.match(newText, "^/%w+$") then
		return
	end

	ClearMenu()
	local pattern = newText .. "%w+"
	local showMenu = false
	for k, v in pairs(SLASH_COMMANDS) do
		if string.match(k, pattern) then
			showMenu = true
			AddMenuItem(k, function() PasteSelected(k) end)
		end
	end

	if showMenu then
		ShowMenu(control, 1)
		ZO_Menu:ClearAnchors()
		ZO_Menu:SetAnchor(BOTTOMLEFT, CHAT_SYSTEM.textEntry.editControl, TOPLEFT, 0, 0)
		HarvensChatCompletion.menuHidden = false
	end
end
Hope this helps.
__________________
@votan73 (EU - megaserver)
Report comment to moderator  
Reply With Quote
Unread 07/09/15, 09:08 AM  
Majeure
 
Majeure's Avatar

Forum posts: 6
File comments: 120
Uploads: 0
This seems to have broken at some point recently, it predicts stuff just fine, but when I attempt to complete what I'm typing by selecting one of the options, it'll completely lock up my input box from registering any keystrokes until a /reloadui (via a keybind provided by another addon.)

I tried disabling other chat addons and it's still happening.

More specifically, it'll only happen if I use the keyboard to select the option and then hit enter to confirm, if I use the mouse to click on the predictions it works fine.

I've been using this addon since like the dawn of time and doing any slash commands like finding the right emote is such a pain without it, what's even more amazing about it is that it works with addon commands as well, hopefully it can be fixed soon. @Harven
__________________
@Majeure | CP 900+ | Former Emperor | Master Angler | PC EU | Blood for the Pact!
Flawless Warden | Flawless Dragonknight | Flawless Templar | Flawless Nightblade | Flawless Sorcerer
YouTube | Website | Twitch | Late Night Dungeoneers
Last edited by Majeure : 07/09/15 at 09:13 AM.
Report comment to moderator  
Reply With Quote
Unread 06/26/14, 12:08 AM  
Harven
 
Harven's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 258
Uploads: 31
Hey, try to download it again. I'm sure the API version in the manifest file is changed.
Report comment to moderator  
Reply With Quote
Unread 06/25/14, 08:03 PM  
Enigma

Forum posts: 0
File comments: 65
Uploads: 0
I updated this today but it is still showing out of date. Your Subtitles and Potion one though show current.
Report comment to moderator  
Reply With Quote
Unread 06/17/14, 04:02 AM  
Harven
 
Harven's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 258
Uploads: 31
Hey Kraeius,
Looks like without my addon the mouse pointer in the conversation windows is hidden from the beginning. But I don't think it's that important so maybe i'll look into this but with the lowest priority
Report comment to moderator  
Reply With Quote
Unread 06/09/14, 10:23 AM  
Kraeius
 
Kraeius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 25
File comments: 247
Uploads: 3
Hey Harven,

Great one again, thank you for your work

I experienced a small problem-ish thing. I wonder if it would happen when you try it.

- Use an emote with addon (exact case is like, type "/s" and when you see "/sit", choose it with arrow keys and press enter).

- Then go and speak with an npc. After conversation screen appear, in-game mouse pointer disappears in 2-3 seconds. It comes back when you move it around.

Reloading UI fixes it but if I do the same thing, mouse pointer gets hidden again.

Can you check for it?
Report comment to moderator  
Reply With Quote
Unread 06/06/14, 07:27 PM  
SektaNZ

Forum posts: 10
File comments: 118
Uploads: 0
Actually nevermind, for some reason random addons randomly break Pawksickles for no reason.
Report comment to moderator  
Reply With Quote
Unread 06/06/14, 02:28 AM  
Harven
 
Harven's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 258
Uploads: 31
Originally Posted by SektaNZ
The update broke Pawkettes Pawksickles addon.
Hey, just tested it this morning with Pawksickles and everything is ok. Can you give me more details about the issue?
Report comment to moderator  
Reply With Quote
Unread 06/05/14, 01:59 AM  
SektaNZ

Forum posts: 10
File comments: 118
Uploads: 0
The update broke Pawkettes Pawksickles addon.
Report comment to moderator  
Reply With Quote
Unread 06/04/14, 05:08 PM  
Harven
 
Harven's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 258
Uploads: 31
Hey,
thanks SektaNZ

Originally Posted by stjobe
Edit: If I could make a request, it's that you add arrow-up/arrow-down navigation to the pop-up. That would be absolutely superb.
Done, but it's soooo hack-ish... it's your fault (hidden EditControl attached to the popup menu to capture up/down/enter key presses...) - but hey, it works
Report comment to moderator  
Reply With Quote
Unread 06/03/14, 02:35 PM  
SektaNZ

Forum posts: 10
File comments: 118
Uploads: 0
Always make the best, simple addons that the game needs. Thanks.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: