|
| Need Help, ade script yg belum selesai... | |
| | Pengirim | Message |
---|
m46nifico Newbie
Posts : 9 Thanked : 1 Engine : RMVX Skill : Very Beginner Type : Artist
| Subyek: Need Help, ade script yg belum selesai... 2012-09-04, 23:57 | |
| Holla Amigo, Gue ade masalah ame script yg udeh gw download: Ammo Requirement by Ty/Synthesize... ini script-nye yg asli: http://pastebin.com/awjUMx59 Ini script-nye yg udeh diedit, dan jadi bermasalah: http://pastebin.com/iFskUqR7
Pertame, nthu script kaga jalan sama sekali, terus gue dibantuin ame richter_h, script-nye udeh jalan, sesuai ape yg gue pengen...
Kedua, gue test lagi, dan ternyate setelah ammo abis pas lagi battle, muncul dialog box tulisannye: "Script 'Ammo Requirements - VX' line 187: NoMethodError occured. undefined method 'name' for nil:NilClass", tolong bantu, ini script bener-bener gue cari-cari, sejak gue kenal RPG Maker VX...
Ketiga, sekalian kalo ade yg bisa buatin script yg kasih pembatasan jumlah kepemilikan item buat item-item tertentu... | |
| | | {col:0:255:0}Tester Newbie
Posts : 18 Thanked : 0 Engine : Multi-Engine User Skill : Skilled Type : Scripter
| Subyek: Re: Need Help, ade script yg belum selesai... 2012-09-05, 07:50 | |
| - m46nifico wrote:
- Holla Amigo,
Gue ade masalah ame script yg udeh gw download: Ammo Requirement by Ty/Synthesize... ini script-nye yg asli: http://pastebin.com/awjUMx59 Ini script-nye yg udeh diedit, dan jadi bermasalah: http://pastebin.com/iFskUqR7
Pertame, nthu script kaga jalan sama sekali, terus gue dibantuin ame richter_h, script-nye udeh jalan, sesuai ape yg gue pengen...
Kedua, gue test lagi, dan ternyate setelah ammo abis pas lagi battle, muncul dialog box tulisannye: "Script 'Ammo Requirements - VX' line 187: NoMethodError occured. undefined method 'name' for nil:NilClass", tolong bantu, ini script bener-bener gue cari-cari, sejak gue kenal RPG Maker VX...
Ketiga, sekalian kalo ade yg bisa buatin script yg kasih pembatasan jumlah kepemilikan item buat item-item tertentu... 1. apa yang salah sama script aslinya ? kamu hanya tidak mensettingnya, klo belum paham bahasa inggris.. kamu bisa pake google tranlate. ( my best friend ) 2. perhatikan petunjuk script - Code:
-
# This sets how much ammo is needed for a specific weapon ID in the database # Syntax = {weapon_id => ammunition_cost} Weapons_ammo_cost = {4 => 1, 5 => 1} hanya weapon dengan id yg di setting yang akan mempunyai ammo. - Code:
-
# This assigns Item IDs in the database to a weapon ID # Syntax = {weapon_id => item_id} Weapons_ammo_id = {4 => [21,22], 5 => [22]} misal kamu pake weapon dengan id 4 maka ammo yang di butuhkan adalah item dengan id 21 ataupun 22( default ). kamu check di database.. adakah item dengan id 21 / 22 ? jika tidak ada kamu bisa ganti angka itu / tambahkan item kamu di database. 3. replace ini (line 149) - Code:
-
for index in array_items # Check to see if the actor has enough ammo if $game_party.item_number($data_items[index]) >= gather_ammo_cost # Check cleared, gather item ID and terminate check loop gather_ammo_item = $data_items[index] break end end ganti dengan ini : - Code:
-
for index in array_items gather_ammo_item = $data_items[index] break if $game_party.item_number(gather_ammo_item) >= gather_ammo_cost end . | |
| | | m46nifico Newbie
Posts : 9 Thanked : 1 Engine : RMVX Skill : Very Beginner Type : Artist
| Subyek: Re: Need Help, ade script yg belum selesai... 2012-09-06, 12:41 | |
| @{col:0:255:0}Tester
kalo yg no. 1 dan 2, emang udeh gue ganti, jadi emang kaga ade masalah, ntar gue coba saran lu yg nomer 3, thanx y...
September 30, 2012 @{col:0:255:0}Tester
Thanx banget bro, script-nye sukses berat, kaga ade masalah lagi... lancar makmur jaya... | |
| | | Sponsored content
| Subyek: Re: Need Help, ade script yg belum selesai... | |
| |
| | | | Need Help, ade script yg belum selesai... | |
|
Similar topics | |
|
| Permissions in this forum: | Anda tidak dapat menjawab topik
| |
| |
| Latest topics | » [Web Novel] Gloria Infidelis by LightNightKnight 2016-11-17, 21:27
» [Announcement] Forum baru untuk RMID by TheoAllen 2016-08-25, 16:39
» Where I'm Wrong ? by ReydVires 2016-07-24, 16:10
» flakeheartnet's Resources part III by flakeheartnet 2016-07-08, 14:30
» Keira's Art Warehouse by KeiraBlaze 2016-06-28, 19:27
» Theo Core Time System + Bingung by Lockin 2016-06-27, 16:24
» Error Script, Maybe ? by Lockin 2016-06-27, 16:20
» Nusaimoe @ RMID Lounge by Jihad Bagas 2016-06-21, 05:02
» Call Random Battle by Lockin 2016-06-15, 17:04
» Flakeheartnet Resources Part II [come back gift] by flakeheartnet 2016-06-07, 15:51
|
Statistics
|
Members: [ 4947 ]
Topics: [ 8258 ]
Posts: [ 112606 ]
Newest member: [ https://rmid.forumotion.net/u4968 ]
|
|
|
|