发新话题
打印

[魔力私服分享] 关于大量随机giveitem (1%1$1,2%2$2...N%1$N)或givepet类脚本做出的一个小辅助表格

关于大量随机giveitem (1%1$1,2%2$2...N%1$N)或givepet类脚本做出的一个小辅助表格

EXCEL做了一个比较简陋的模板,自用的,分享一下,大概方法也在里面,不懂编程,也没想到其他方便的办法
$ D2 P, Q  n2 N: D适合做一些彩票,随机宠物给予的脚本,非专业的东西请勿嫌弃~

附件

连续大量编码给予宠物或道具制作模板.rar (7.24 MB)

2019-4-20 02:03, 下载次数: 1502

本帖最近评分记录

TOP

回复 阁楼 的帖子

恕在下很直观的评价,操作繁琐,还不如自己手打来的简单易懂
: K+ }4 i4 N2 v4 O* I( ^bbs.mocwww.com
9 z* l2 W* A! c' t. I妖城在线论坛[ 本帖最后由 笑笑看人生 于 2019-4-20 08:28 编辑 ]

TOP

稍微修改了一下,对于策划来说,简单可视才是关键。手动一个个操作确实没什么问题,但高效率的产出更有意义。

附件

连续编码给予道具宠物模板.7z (1.26 MB)

2019-4-20 11:21, 下载次数: 343

酱油师师范..

有事找请联系QQ:296050842,注明来意.

TOP

回复 板凳 的帖子

谢谢大佬~

TOP

回复 沙发 的帖子

killitem 90728" k% o0 `& z  U
giveitem (90730%8$1,90730%6$2,90730%4$3,90731%3$1,90732%3$1,90733%3$1,710001%2$5,710002%2$5,710003%2$5,710004%2$5,710005%2$5,710006%2$5,710007%2$5,710008%2$5,710009%2$5,710010%2$5,710011%2$5,710012%2$5,710013%2$5,710014%2$5,710015%2$5,710016%2$5,710017%2$5,710018%2$5,710019%2$5,710020%2$5,710021%2$5,710022%2$5,710023%2$5,710024%2$5,710025%2$5,710026%2$5,710027%2$5,710028%2$5,710029%2$5,710030%2$5,710031%2$5,710032%2$5,710033%2$5,710034%2$5,710035%2$5,710036%2$5,710037%2$5,710038%2$5,710039%2$5,710040%2$5,710041%2$5,710042%2$5,710043%2$5,710044%2$5,710045%2$5,710046%2$5,710047%2$5,710048%2$5,710049%2$5,710050%2$5,710051%2$5,710052%2$5,710053%2$5,710054%2$5,710055%2$5,710056%2$5,710057%2$5,710058%2$5,710059%2$5,710060%2$5,710061%2$5,710062%2$5,710063%2$5,710064%2$5,710065%2$5,710066%2$5,710067%2$5,710068%2$5,710069%2$5,710070%2$5,710071%2$5,710072%2$5,710073%2$5,710074%2$5,710075%2$5,710076%2$5,710077%2$5,710078%2$5,710079%2$5,710080%2$5)bbs.mocwww.com4 s7 c( ?9 Y+ a8 o

) I/ C) I) {0 [, H/ j1 r+ @魔力私服,最新魔力宝贝私服技术交流killitem 90727
- r3 N& @9 w" L& _9 x+ y; nbbs.mocwww.comgiveitem (300118%12$1,300119%12$1,300120%12$1,300211%12$1,18658%2$1,90729%8$1,90729%6$2,90729%4$3,710001%2$3,710002%2$3,710003%2$3,710004%2$3,710005%2$3,710006%2$3,710007%2$3,710008%2$3,710009%2$3,710010%2$3,710011%2$3,710012%2$3,710013%2$3,710014%2$3,710015%2$3,710016%2$3,710017%2$3,710018%2$3,710019%2$3,710020%2$3,710021%2$3,710022%2$3,710023%2$3,710024%2$3,710025%2$3,710026%2$3,710027%2$3,710028%2$3,710029%2$3,710030%2$3,710031%2$3,710032%2$3,710033%2$3,710034%2$3,710035%2$3,710036%2$3,710037%2$3,710038%2$3,710039%2$3,710040%2$3,710041%2$3,710042%2$3,710043%2$3,710044%2$3,710045%2$3,710046%2$3,710047%2$3,710048%2$3,710049%2$3,710050%2$3,710051%2$3,710052%2$3,710053%2$3,710054%2$3,710055%2$3,710056%2$3,710057%2$3,710058%2$3,710059%2$3,710060%2$3,710061%2$3,710062%2$3,710063%2$3,710064%2$3,710065%2$3,710066%2$3,710067%2$3,710068%2$3,710069%2$3,710070%2$3,710071%2$3,710072%2$3,710073%2$3,710074%2$3,710075%2$3,710076%2$3,710077%2$3,710078%2$3,710079%2$3,710080%2$3)魔力私服,最新魔力宝贝私服技术交流4 Q4 s  l' Q4 n4 @1 F' k9 s9 \2 K

# C8 r$ p" O$ x4 Ebbs.mocwww.comkillitem 90726
: `% x" v+ F" O  r& q0 H& d# q魔力私服,最新魔力宝贝私服技术交流giveitem (126734%12$1,244176%12$1,330270%12$1,241321%12$1,90268%12$1,90269%12$1,90270%12$1,90271%12$1,90514%12$1,90515%12$1,90516%12$1,300111%12$1,300112%12$1,300113%12$1,300114%12$1,300115%12$1,300116%12$1,300117%12$1,18699%12$1,710001%2$2,710002%2$2,710003%2$2,710004%2$2,710005%2$2,710006%2$2,710007%2$2,710008%2$2,710009%2$2,710010%2$2,710011%2$2,710012%2$2,710013%2$2,710014%2$2,710015%2$2,710016%2$2,710017%2$2,710018%2$2,710019%2$2,710020%2$2,710021%2$2,710022%2$2,710023%2$2,710024%2$2,710025%2$2,710026%2$2,710027%2$2,710028%2$2,710029%2$2,710030%2$2,710031%2$2,710032%2$2,710033%2$2,710034%2$2,710035%2$2,710036%2$2,710037%2$2,710038%2$2,710039%2$2,710040%2$2,710041%2$2,710042%2$2,710043%2$2,710044%2$2,710045%2$2,710046%2$2,710047%2$2,710048%2$2,710049%2$2,710050%2$2,710051%2$2,710052%2$2,710053%2$2,710054%2$2,710055%2$2,710056%2$2,710057%2$2,710058%2$2,710059%2$2,710060%2$2,710061%2$2,710062%2$2,710063%2$2,710064%2$2,710065%2$2,710066%2$2,710067%2$2,710068%2$2,710069%2$2,710070%2$2,710071%2$2,710072%2$2,710073%2$2,710074%2$2,710075%2$2,710076%2$2,710077%2$2,710078%2$2,710079%2$2,710080%2$2)
6 Q& S7 \/ ^/ F+ e0 k妖城在线论坛bbs.mocwww.com4 N. t/ V' j+ E: h5 g9 N4 s
killitem 90725
9 U/ n% s8 a/ L魔力私服,最新魔力宝贝私服技术交流giveitem (90272%12$3,90273%12$3,90274%12$3,90275%12$3,331020%12$1,710001%2$1,710002%2$1,710003%2$1,710004%2$1,710005%2$1,710006%2$1,710007%2$1,710008%2$1,710009%2$1,710010%2$1,710011%2$1,710012%2$1,710013%2$1,710014%2$1,710015%2$1,710016%2$1,710017%2$1,710018%2$1,710019%2$1,710020%2$1,710021%2$1,710022%2$1,710023%2$1,710024%2$1,710025%2$1,710026%2$1,710027%2$1,710028%2$1,710029%2$1,710030%2$1,710031%2$1,710032%2$1,710033%2$1,710034%2$1,710035%2$1,710036%2$1,710037%2$1,710038%2$1,710039%2$1,710040%2$1,710041%2$1,710042%2$1,710043%2$1,710044%2$1,710045%2$1,710046%2$1,710047%2$1,710048%2$1,710049%2$1,710050%2$1,710051%2$1,710052%2$1,710053%2$1,710054%2$1,710055%2$1,710056%2$1,710057%2$1,710058%2$1,710059%2$1,710060%2$1,710061%2$1,710062%2$1,710063%2$1,710064%2$1,710065%2$1,710066%2$1,710067%2$1,710068%2$1,710069%2$1,710070%2$1,710071%2$1,710072%2$1,710073%2$1,710074%2$1,710075%2$1,710076%2$1,710077%2$1,710078%2$1,710079%2$1,710080%2$1)
# C" z7 A+ E' q魔力私服,最新魔力宝贝私服技术交流魔力私服,最新魔力宝贝私服技术交流! P) D" H5 x0 I
妖城在线论坛) w. r0 Q& C; f* Y4 L
如果是类似这样的脚本,手敲真的会头皮发麻,模板是不太好用,不过自用的话确实比手敲方便很多,各有各的方法吧+ V6 e1 d* X& y$ f2 g: a
bbs.mocwww.com; O: t# j* T$ @7 g8 R* F$ a4 q2 r
[ 本帖最后由 fsns2018 于 2019-4-20 15:10 编辑 ]

TOP

回复 地下室 的帖子

根本不会有这么多的物品给你敲,给与物品超出一定数量的话,脚本直接宕机,你根本没机会头皮发麻,敲出这么多的结果只有一个,脚本卡死
: ^$ x! n' g" X% M# H+ Z魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表
) p- a3 Q9 E4 {8 W8 y+ \( ^% K9 ?bbs.mocwww.com妖城在线论坛) \2 e' ^2 l4 D+ R+ |
一般情况下,连续给物品的机会很小,都是混合的,常规就是10-20个物品浮动,你是没机会给得出那么多随机物品的,放心吧bbs.mocwww.com- Z+ i" m; e( K# l

& d# e; x8 s% S, v% s7 }8 l9 d魔力私服,最新魔力宝贝私服技术交流[ 本帖最后由 笑笑看人生 于 2019-4-20 17:13 编辑 ]

TOP

回复 6楼 的帖子

做了4个版本这些数量的了,没出现过宕机,这套理论有出处吗?请教~魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表; L8 }0 l- k9 H: ^
抽奖活动40多个人连着抽了两个多小时也没见过宕机

TOP

回复 6楼 的帖子

人家免费共享出来,不管用到用不到,叽叽歪歪有何意义,三楼大佬进行修改优化才是正确的发帖方式,你不满自己共享出来更好的啊。为啥现在都不愿意共享,做的不到位的被人喷,做的好的被人拿去转卖,就是你这号人多了,才谁也不愿意理新手。

TOP

要不然人家不知道他牛B啊!你没看见牛在天上飞吗?

TOP

引用:
原帖由 fsns2018 于 2019-4-20 17:52 发表 bbs.mocwww.com/ I: S% Y$ t$ _( J
做了4个版本这些数量的了,没出现过宕机,这套理论有出处吗?请教~
/ a. y$ R; V) b! C6 h0 H抽奖活动40多个人连着抽了两个多小时也没见过宕机
魔力私服,最新魔力宝贝私服技术交流9 V. f: b+ B' v' ?9 P5 P2 g( q
1 F& W  p- O4 f  |2 R& a
对于GMSV来说,主要存在的限制莫过于:
: r" f* }; ]' u0 ]" M! N; T4 b
  l; o$ H' b) c妖城在线论坛1,最大可被随机的物品的数量为256个,超过会出现内存越界的情况。—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート4 r2 p% C% }1 F0 c
2,权重值之和不能超过2147483647(INT的上限值)
酱油师师范..

有事找请联系QQ:296050842,注明来意.

TOP

回复 10楼 的帖子

受教了~自己只会玩玩data,也才接触一年多—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート- z; E+ M, h! {' t
不过确实这块用到的跟那个阈值相比差的很远,也没超出过这个值
, Z0 u" u# F' r& }) s—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート但是周期出现探测不到魔物同时导致脚本最后一步执行的现象还是没辙, W8 D" R# g( ^/ K! s$ f. j/ k
比方影响到encout,givepet,giveitem类似最后一步执行的脚本
$ u+ p0 N  a% \5 v% C0 p魔力私服,最新魔力宝贝私服技术交流会受到探测不到魔物的影响
; \1 \7 ~" M% i, f) {8 {想检查原因却无从下手

TOP

这个预计掉率是怎么得来的。大神?
引用:
原帖由 ﹎▓ヾ僤莼べ 于 2019-4-20 11:21 发表 魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表0 f! [) J/ o7 |! O: {. p
稍微修改了一下,对于策划来说,简单可视才是关键。手动一个个操作确实没什么问题,但高效率的产出更有意义。

TOP

回复 12楼 的帖子

=IF(C2, C2/SUM(C:C), "")
: n8 y: i. [, }4 G+ }; F魔力私服,最新魔力宝贝私服技术交流单项权重/整列权重之和吧

TOP

发新话题