国服国际服查价工具TradeTip_白侠
看到 MIGFLY 的python版查价:http://bbs.17173.com/thread-11224343-1-1.html感谢大佬修改更新:2020/02/22日期:2021/07/28 更换电脑没有代码了,这还是上个赛季的事儿,不好意思啊~
TradeTip v5.0
官方市集数据查询分析
赛季更新
双服支持
快捷键自定
详细分析
欢迎交流
回复下载:
链接失效
附件太大无法上传
测试欠缺
问题很多
性感白侠
在线丢人
本帖最后由 白侠baixia 于 2021-7-28 09:53 编辑
流放之路-隔岸 发表于 2020-2-25 15:54
下载好了 点了闪回 更新 然后点了开始 然后呢。。。我进游戏 按了CTRL+C 好像没反应呢。。 ...
Ctrl C 无反应处理方法
1.管理员启动
2.按几下Ctrl Shift Alt键,可能存在按键粘连的情况
3.不要用QQ输入法
4.云游戏无法使用
!!!!!!!!!!!!!!20200420 v6.2版本修复工具处理国服A大补丁的不正确的问题
默认的网盘地址在部分运营商网络无法解析(好像大部分北方的网络都屏蔽了www.lanzous.com我的白嫖外链之路即将停止了吗QAQ)
备用地址 byexman.lanzous.com/TradeTip
20200323 v6.0版本在trade查询地图、6L、腐化问题时有问题
请务必按默认F8键盘打开对应网站 勾选基本设置
白天工作不方便修复,预计0323晚上修复
本帖最后由 白侠baixia 于 2020-4-20 08:41 编辑
淡淡淡的淡淡丶 发表于 2020-3-20 08:25
谢谢分享 国服S11能用吗
S11可以使用你需要等赛季正式开始,官方的Trade网页上线之后
点击工具中的 更新 按钮就行
新版本的工具还没来得及在国服测试
有Bug希望大家反馈
PS:这里推荐一波 PoE-Overlay查价工具
支持原版无补丁的 国服 国际服 物价查询
目前还没有使用poeprice之类的黄装估价API
不过可以利用工具快速打开官网
项目仓库:https://github.com/Kyusung4698/PoE-Overlay
我上传到了网盘上,里面有说明和视频介绍
https://www.lanzous.com/iag37ij 本帖最后由 白侠baixia 于 2020-3-20 08:53 编辑
大佬牛逼,感谢分享,,大佬辛苦了。。。。 谢谢分享啦 支持大佬 感谢 这么溜,萌新顶 这么溜,萌新顶 {:3113:}看的不是很明白怎么使用,希望给小白多写一下使用方法 谢谢分享 感谢大佬分享 感谢大佬分享 感谢 这个功能倒是可以 大大的简化 玩家的游戏进程,更多的时间来做别的事情 赞。 好奇隐藏内容是什么呢?
哦 原来压缩包事给大佬看的
回复可见内容是小白可以直接用的
{:3110:}
本帖最后由 小马很愤怒 于 2019-11-22 01:23 编辑
大佬牛逼,感谢分享,,大佬辛苦了。。。。 这个还是蛮需要的 终于国服出了 感觉很方便诶 我改了改,速度提高了
#NoEnv
#NoTrayIcon
#SingleInstance Force
#include JSON.ahk
;#include GetWidthUnitCount.ahk 字符串表 显示优化 未完成
SetWorkingDir %A_ScriptDir%
CoordMode, ToolTip, Screen
CoordMode, mouse, Screen
global Version
global Ready := false
global CheckBoard := ""
global WebRequest := ComObjCreate("WinHttp.WinHttpRequest.5.1")
;global League := "S9赛季"
Gui Add, Text, x16 y16 w40 h23 +0x200, 赛季
Gui Add, ComboBox,vLeague x64 y16 w100, S9赛季
GuiControl,Choose,League,1
Gui Add, Button,gStart x16 y48 w149 h39, OK
Gui Show, w175 h97, ToolTip
Return
^space::
GuiEscape:
GuiClose:
ExitApp
; End of the GUI section
#ifReady
#IfWinActivePath of Exile
~^C::
ifClipboard != CheckBoard
settimer,Main,100
Tooltip, Loading
return
#IfWinActive
#if
Main:
FindTradeInfo(Clipboard)
settimer,Main,off
return
~Space::
RemoveToolTip:
ToolTip
settimer,RemoveToolTip,off
return
Start()
{
if CheckLeague()
{
Ready := false
MsgBox,版本号错误
return
}
Ready := true
Clipboard := ""
Gui,hide
return
}
;版本检测,懒得写-----
CheckLeague()
{
return false
}
;获取name和type
GetNameAndType(Clip)
{
if InStr(Clip, "稀 有 度:") != 1
{
mItem := {ItemName:false,ItemType:false}
returnmItem
}
ClipArray :=StrSplit(Clip, "`n", "`r")
try:
if RegExMatch(ClipArray,"---")
mItem := {ItemName:false,ItemType:ClipArray}
else
mItem := {ItemName:ClipArray,ItemType:ClipArray}
return mItem
catch: ;return bugmsg懒得写------
return
}
print(str)
{
global h_stdout
DebugConsoleInitialize(); start console window if not yet started
str .= "`n" ; add line feed
DllCall("WriteFile", "uint", h_Stdout, "uint", &str, "uint", StrLen(str), "uint*", BytesWritten, "uint", NULL) ; write into the console
WinSet, Bottom,, ahk_id %h_stout%; keep console on bottom
}
DebugConsoleInitialize()
{
global h_Stdout ; Handle for console
static is_open = 0; toogle whether opened before
if (is_open = 1) ; yes, so don't open again
return
is_open := 1
; two calls to open, no error check (it's debug, so you know what you are doing)
DllCall("AttachConsole", int, -1, int)
DllCall("AllocConsole", int)
dllcall("SetConsoleTitle", "str","Paddy Debug Console") ; Set the name. Example. Probably could use a_scriptname here
h_Stdout := DllCall("GetStdHandle", "int", -11) ; get the handle
WinSet, Bottom,, ahk_id %h_stout% ; make sure it's on the bottom
WinActivate,Lightroom ; Application specific; I need to make sure this application is running in the foreground. YMMV
return
}
;抓取Trade信息
FindTradeInfo(Clip)
{
GuiControlGet, League
mItem := GetNameAndType(clip)
MouseGetPos, Px,Py
ifmItem.ItemType = false
{
msgbox, 复制错误
return
}
data := {"query":{"status":{"option":"any"} ,"stats":[{"type":"and","filters":[]}]},"filters":{"trade_filters":{"filters":{"indexed":{"option":"1day"}},"disabled":False}},"sort":{"price":"asc"}}
ifmItem.ItemName != false
data.query.name := mItem.ItemName
data.query.type := mItem.ItemType
body:= JSON.dump(data)
url = https://poe.game.qq.com/api/trade/search/%League%
WebRequest.Open("POST", url)
WebRequest.SetRequestHeader("Content-Type", "application/json")
WebRequest.Send(body)
result := JSON.Load(WebRequest.responsetext)
itemid := result.id
itemlist := result.result
url := "https://poe.game.qq.com/api/trade/fetch/"
maxCount := 10
step := floor(itemlist.length()/maxCount) + 1
maxcount := maxCount -1
loop , %maxCount%
{
index := A_index * step
listtemp := itemlist
url= %url%%listtemp%,
}
url := Rtrim(url, ",")
url = %url%?query=%itemid%
WebRequest.Open("GET",url)
WebRequest.Send()
RTresult := JSON.Load(WebRequest.responsetext)
infolist := RTresult.result
tmpString := ""
MaxWidth := 0
tmpString = 装备名称:
ifmItem.ItemName != false
{
ItemName := mItem.ItemName
tmpString= %tmpString%%ItemName%-
}
ItemType := mItem.ItemType
tmpString= %tmpString%%ItemType%`n
ItemUnit := result.total
tmpString = %tmpString%装备总数: %ItemUnit%`n
for info in infolist
{
idmsg := infolist.listing.account.lastCharacterName
pricemsg := process_dict(infolist.listing)
Ttip =ID: %idmsg%|| 价格: %pricemsg%
tmpString = %tmpString%`n%Ttip%
}
tooltip,%tmpString%,%px%,%py%
settimer, RemoveToolTip, 15000
return
}
Process_dict(s)
{
if s.price != "null"
{
single_price := s.price.amount
unit := s.price.currency
price_info = %single_price% %unit%
return price_info
}
return"Noprice"
}
多谢楼主分享!! 感谢分享 这也太牛鼻了吧{:3121:} 没看懂?查价格直接上市集或者网页市集查不就行了?感觉比这简单的多,搞的好复杂