小小礦工
本帖最後由 sinya 於 2010-7-21 03:35 PM 編輯老外的作品 ...不過腦袋有點笨笨的
火山3f 挖礦 我看是被怪 扁吧
我把他改 蟻洞好了 :mD122
帶著 十字鎬 跟 礦工帽才能 挖礦....
晚點發腳本 中文化中
a1qzOLo2kzw 話說,我自己有編寫類似腳本。
就是判斷穿了某裝備+打了某怪物,會掉礦石…
O_O|||
話說,這個繁化的差別差在哪李呢?
不是就是打怪嗎,還是他有特別NPC@@? 本帖最後由 sinya 於 2010-7-21 05:24 PM 編輯
差在 外國月亮比較圓
沒啦
怪物不死 這才叫挖礦 那有人礦石會死的
可以掛網 挖礦還有挖不到 頭上會有失敗效果
挖到 會有 成功字眼還會送exp 還有防雙開
還會記錄你挖到什東西還有防外掛功能
月亮好大 好圓啊
// MINE HIT CHANCE
// When you attack a mineral vein, a random number is generated between 0 and
// 10000. This number is then divided by 100 (so that it becomes a percentage)
// and becomes your roll. The value below is also divided by 100.
// Your Roll MUST be higher than the value below to score a successful hit on
// the vein (i.e. get a piece of ore.)
// Default: 9300 - 93% = 7% chance to hit at mining level 1
mine_hit_chance: 9300
// DEFAULT MINING EXP
// On successful hit of a vein, exp is awarded.
// Please Note:
// This value can be overwritten my a monster spawn.
mine_default_exp: 10
// MAX MINING LEVEL
// Note: There must be enough entries in the DB to support this value
// otherwise the level is capped at the last entry in the DB
// i.e. if you set this to 25 and there is only 20 levels in the DB, the max
// level will become 20.
mine_max_level: 20
// ENABLE MINING LOG
// Set to 1 to save every mined item to a DB
// Set to 2 to save only items placed in a players inventory.
mine_loggin: 1
// ENABLE ERROR LOGGIN
// Set to 1 to save errors and such to mining error DB
mine_error_loggin: 1
// ENABLE CASHSHOP ITEM
// As default this value is set to 1. This means that ore is dropped beside the
// player UNLESS they have used an item which gives them a limited number of "autoloot"s
// Set to 0 and ore will be sent to players inventory instead.
mine_item_autoloot: 1
// PICKAXE ID
// Item id of the WEAPON you wish to use as a pickaxe
//// (I think i made it 2-handed weapons only or Right hand only. Please report your findings ^^)
mine_pickaxe: 24822
// MINE HAT ID
// Item id of the HEAD TOP item you wish to use as a mining hat
mine_helm: 5031
// HIT MINERAL ANIMATION
// effect id you wish to play on successful hit attempt (0 turns this off)
mine_hit_id: 610
// MISS MINERAL ANIMATION
// effect id you wish to play on failed hit attempt (0 turns this off)
mine_miss_id: 611
// MINING LEVEL UP ANIMATION
// effect id you wish to play on a mine level up (0 turns this off)
mine_level_id: 337
// !!! THIS FUNCTION CURRENTLY DOES NOT WORK !!!!
// PICKAXE MAX ASPD
// This will cap aspd at a value when using a pickaxe (thus preventing anyone for getting 199 aspd whilst wearing)
// Value must be between 100 and 199
// !!! THIS FUNCTION CURRENTLY DOES NOT WORK !!!!
mine_max_aspd: 140
// MINING RECLICK EVENT
// This setting turns reclick event off or to a percentage of the time. For example
// if set to 10: after every strike on a mineral there will be a 10% chance the player will
// stop attacking. This will be used in conjuction with moving minerals to help prevent afk
// miners / bot miners (as they will have to relocate and reclick the mineral at random intervals)
// Value between 0 and 100. 0 being off, 100 being after every hit, stop attack
// type: 0 = every time mineral recieves damage
// type: 1 = every time "Success" is shown
// type: 2 = every time "Failed" is shown
// NOTE: This setting does not have to be used in conjuction with the next 2 settings !BUT! the next 2 settings
// !REQUIRE! this enabled to work.
mine_afk_type: 1
mine_afk_click: 50
// MINERAL RANDOM MOVE SETTING
// Must be used in conjuction with the above setting. If set to -1; whenever a reclick event occurs, mineral will move
// to a random new location. If set above 0; whenever a reclick event occurs, mineral will move by the value randomly across
// either X,Y or X and Y co-ords (+/- randomly). Set to 0 to disable.
// NOTE: If move path is blocked (Wall, etc etc), random co-ords will be choosen instead.
mine_afk_move: 0
// MINERAL RANDOM WARP SETTING
// The above setting must be set to 0. The reclick setting must be used in conjuction to this.
// Unlike the above command, this command will randomly warp away the mineral after X number of reclick events
// have occurred. Setting this to 0 will disable. Max value is 500.
// NOTE: This setting is global. If set to 2 for example, if X players are hitting the same mineral. After 2
// reclick events the mineral will move, reguardless of who initiated the event
mine_afk_warp: 2 腳本區盡量不要發源碼的東西, 不然就不是腳本區了 這好像怎打 都打不死....那是怪還是npc==? 這好像怎打 都打不死....那是怪還是npc==?
克雅 發表於 2010-7-23 01:31 AM http://www.okayro.com/images/common/back.gif
是 怪物 , npc 好像不能打的樣子 都動到源碼了........................
:91: 回復 7# Alopex
現在流行改源碼:91: OAO
很好奇
如果沒穿裝備打的話會扣多少(? 空手 20160 我的str 1001dex 1001 空手 20160 我的str 1001dex 1001
sinya 發表於 2010-7-24 04:12 PM http://www.okayro.com/images/common/back.gif
那...為甚麼要穿裝備後才能打~"~(?? 因為挖礦 要穿 專業的裝備 才挖的到:m04318
作者的idea 因為挖礦 要穿 專業的裝備 才挖的到
作者的idea
sinya 發表於 2010-7-24 04:33 PM http://www.okayro.com/images/common/back.gif
這個沒有源碼吧(?
感覺前面的大大說了有源碼
有點好奇到底是哪裡
(OS:
*autobonus <bonus script>,<rate>,<duration>{,<flag>,{<other script>}};
可以達到類似目的 本帖最後由 sinya 於 2010-7-24 05:00 PM 編輯
原碼能控制的比較多 比如 挖的速度 怪的hp 不減 還有檢查人物是不是 掛網狀態
還有能讀取設定文件檔 這樣顯的比較方便 原碼能控制的比較多 比如 挖的速度 怪的hp 不減 還有檢查人物是不是 掛網狀態
還有能讀取設定文件檔 這樣 ...
sinya 發表於 2010-7-24 04:58 PM http://www.okayro.com/images/common/back.gif
了改>V<((問題結束
頁:
[1]
2