1
0
mirror of https://github.com/FloatTech/zbpdata.git synced 2026-02-16 04:05:54 +09:00

Compare commits

...

14 Commits

Author SHA1 Message Date
方柳煜
637ae6342b Add files via upload (#73) 2026-02-01 14:20:23 +08:00
源文雨
74e3bf5dc8 feat: ignore private on push 2026-01-03 18:36:03 +08:00
himawari
a1b4b35b81 Update Go version in release workflow (#72) 2025-12-29 23:38:32 +08:00
himawari
aa36b73261 添加小红书文案数据库 (#70) 2025-12-29 23:27:55 +08:00
himawari
9ab61d6b81 fix: 修改go版本 (#71) 2025-12-29 23:21:15 +08:00
莫思潋
1b0abcd3fe update wife data (#69) 2025-09-28 10:46:02 +08:00
莫思潋
c1878300e9 remove temp (#68) 2025-09-18 16:34:20 +08:00
莫思潋
2b10767f59 update wife data (#67)
* update wife data
2025-09-18 15:59:37 +08:00
莫思潋
328d7638e6 update wife data (#66)
* update wife data
2025-09-16 20:34:07 +08:00
莫思潋
6bcac0faab fix swords-02 (#65) 2025-06-18 15:42:15 +08:00
源文雨
4f751a1cda feat: support multi-addrs 2025-05-31 04:10:30 +09:00
源文雨
f97dac5ce0 feat: support multi-addrs 2025-05-31 04:01:55 +09:00
源文雨
74c5464a0b feat: support multi-addrs 2025-05-31 03:53:48 +09:00
vatebur
ca3652920a fix: 修改毕业装耐久 (#62) 2025-01-07 22:01:53 +09:00
9 changed files with 36 additions and 26 deletions

View File

@@ -8,7 +8,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@master uses: actions/setup-go@master
with: with:
go-version: '1.20' go-version: '1.24'
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@master uses: actions/checkout@master

View File

@@ -17,7 +17,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: '1.20' go-version: '1.24'
- name: Run Updater - name: Run Updater
env: env:

4
.gitignore vendored
View File

@@ -1,7 +1,7 @@
[a-z]*/
cache cache
/SetuTime/search /SetuTime/search
/VtbQuotation/store /VtbQuotation/store
.DS_Store .DS_Store
.vscode .vscode
/[a-z]* !/Tarot
!/Tarot

1
Handou/idiom.json Normal file

File diff suppressed because one or more lines are too long

View File

@@ -56,7 +56,7 @@
{ {
"名称": "三叉戟", "名称": "三叉戟",
"类型": "pole", "类型": "pole",
"耐久上限": 300, "耐久上限": 301,
"价格": 4000 "价格": 4000
}, },
{ {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 KiB

After

Width:  |  Height:  |  Size: 313 KiB

2
Wife

Submodule Wife updated: b92443d3d4...ce7ecbc2e1

BIN
Xhstext/xhstext.db Normal file

Binary file not shown.

49
main.go
View File

@@ -9,6 +9,7 @@ import (
"flag" "flag"
"fmt" "fmt"
"io/fs" "io/fs"
"net"
"os" "os"
"strings" "strings"
"unicode" "unicode"
@@ -57,30 +58,38 @@ func main() {
*(*unsafe.Pointer)(unsafe.Pointer(&md5s[i])) = unsafe.Pointer(&buf) *(*unsafe.Pointer)(unsafe.Pointer(&md5s[i])) = unsafe.Pointer(&buf)
*(*uintptr)(unsafe.Add(unsafe.Pointer(&md5s[i]), unsafe.Sizeof(uintptr(0)))) = uintptr(16) *(*uintptr)(unsafe.Add(unsafe.Pointer(&md5s[i]), unsafe.Sizeof(uintptr(0)))) = uintptr(16)
} }
r := registry.NewRegedit("reilia.fumiama.top:32664", "", "fumiama", os.Getenv("REILIA_SPS")) hosts, err := net.LookupHost("reilia.fumiama.top")
err = r.Connect()
if err != nil { if err != nil {
panic(err) panic(err)
} }
for i, fn := range files { for _, h := range hosts {
for c := 0; c < 16; c++ { fmt.Println("推送到:", h)
err = r.Set("data/"+fn, md5s[i]) r := registry.NewRegedit(net.JoinHostPort(h, "32664"), "", "fumiama", os.Getenv("REILIA_SPS"))
fmt.Println("set", "data/"+fn, "=", hex.EncodeToString(helper.StringToBytes(md5s[i]))) err = r.Connect()
if err == nil { if err != nil {
break fmt.Println(err)
} continue
if c >= 15 { }
panic("ERROR:" + err.Error() + ", max retry times exceeded") for i, fn := range files {
} else { for c := 0; c < 16; c++ {
fmt.Println("ERROR:", err, ", retry times:", c) err = r.Set("data/"+fn, md5s[i])
} fmt.Println("set", "data/"+fn, "=", hex.EncodeToString(helper.StringToBytes(md5s[i])))
_ = r.Close() if err == nil {
process.SleepAbout1sTo2s() break
err = r.Connect() }
if err != nil { if c >= 15 {
panic(err) panic("ERROR:" + err.Error() + ", max retry times exceeded")
} else {
fmt.Println("ERROR:", err, ", retry times:", c)
}
_ = r.Close()
process.SleepAbout1sTo2s()
err = r.Connect()
if err != nil {
panic(err)
}
} }
} }
_ = r.Close()
} }
_ = r.Close()
} }