rou90181 發表於 2018-1-30 02:20:17

使用卡片召喚隨從怪物,伺服器出現警告,無法招喚隨從





http://okayro.com/thread-217473-1-1.html

因昨日看到上面連結的這個腳本非常心動,立刻就購買使用,腳本也可以正常運行,也可以點選卡片,只是卡片點選後無反應

隨從沒有招喚出來,伺服器出現警告:Incorrect use of 'close' command! 卡片點了 但是沒有反應

希望可以請各位前輩們 幫忙指導一下 是不是有哪個地方要更改 謝謝大家幫忙

bmw86888 發表於 2018-1-30 08:17:50

z0202520 發表於 2018-1-30 13:32:15

影片看起來不是傭兵,應該不需要再額外加 mercenary_db
所以應該是用下面這語法,你可以檢查一下腳本的寫法有沒有問題?*summon "monster name",<monster id>{,<Time Out>{,"event label"}};

This command will summon a monster. (see also 'monster') Unlike monsters spawned
with other commands, this one will set up the monster to fight to protect the
invoking character. Monster name and mob id obey the same rules as the one given
at the beginning of this document for permanent monster spawns with the
exceptions mentioned when describing 'monster' command.

The effect for the skill 'Call Homunculus' will be displayed centered on the
invoking character.

Timeout is the time in milliseconds the summon lives, and is set default
to 60000 (1 minute). Note that also the value 0 will set the timer to default,
and it is not possible to create a spawn that lasts forever.
If an event label is given, upon the monster being killed, the event label will
run as if by 'donpcevent'.

Returned value is the game ID of the spawned monster.

// Will summon a dead branch-style monster to fight for the character.
summon "--ja--",-1;

rou90181 發表於 2018-1-30 19:43:25

bmw86888 發表於 2018-1-30 08:17 AM static/image/common/back.gif
close; 換成 end;
就不會報 Incorrect use of 'close' command!



謝謝您的提供~更改為end後確實沒有在出現錯誤了,但是還是招喚不出來 ~謝謝前輩的指點

rou90181 發表於 2018-1-30 20:48:31

z0202520 發表於 2018-1-30 01:32 PM static/image/common/back.gif
影片看起來不是傭兵,應該不需要再額外加 mercenary_db
所以應該是用下面這語法,你可以檢查一下腳本的寫法 ...

有稍微做過更正 伺服器沒有出現警告 可是不管傭兵或是隨從招喚都沒有反應,腳本也可以運行,不曉得您是否方便的時間,可以與您聯繫, 還是伺服器有那些要再額外設定的 或打開的

z0202520 發表於 2018-1-30 22:56:09

rou90181 發表於 2018-1-30 08:48 PM static/image/common/back.gif
有稍微做過更正 伺服器沒有出現警告 可是不管傭兵或是隨從招喚都沒有反應,腳本也可以運行,不曉得您是否方 ...

如果你願意的話,可以把腳本給我看看


頁: [1]
查看完整版本: 使用卡片召喚隨從怪物,伺服器出現警告,無法招喚隨從