Need HELP !!! please

Status
Not open for further replies.

sinan567

Villager
Member
Joined
Aug 25, 2013
Messages
7
Reaction score
0
First Language
German
Primarily Uses
My Problem is that if i use GUARD in my Game , that my Character ist Attacking instead and if i click Attack hes Attacking.

He wont do Guard dunno how to solve this.

;_;
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
Have you changed the default skills or did you install any scripts?

The guard command doesn't use a skill named "Guard", it always use skill #2 (as said in the note of the original guard command).

Same for attack - that's always skill #1 no matter how it's named.
 

sinan567

Villager
Member
Joined
Aug 25, 2013
Messages
7
Reaction score
0
First Language
German
Primarily Uses
I dont know how to change default shills could you say me how to change it back ????
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
Post a screenshot of the skills tab of the database with the guard skill selected, that's where the skills are defined.

Then I can check wether something changed the default skill or not.

To change it back, the easiest way would be to start a new project, check the skills in the database and copy/paste everything back into your main project.
 

sinan567

Villager
Member
Joined
Aug 25, 2013
Messages
7
Reaction score
0
First Language
German
Primarily Uses
Dont know how to send screen shot, but i copy and paste it .
 

end
#--------------------------------------------------------------------------
# * Applying Variance
#--------------------------------------------------------------------------
def apply_variance(damage, variance)
amp = [damage.abs * variance / 100, 0].max.to_i
var = rand(amp + 1) + rand(amp + 1) - amp
damage >= 0 ? damage + var : damage - var
end
#--------------------------------------------------------------------------
# * Applying Guard Adjustment
#--------------------------------------------------------------------------
def apply_guard(damage)
damage / (damage > 0 && guard? ? 2 * grd : 1)
end
#--------------------------------------------------------------------------
# * Damage Processing
# @result.hp_damage @result.mp_damage @result.hp_drain
# @result.mp_drain must be set before call.
#--------------------------------------------------------------------------
def execute_damage(user)
on_damage(@result.hp_damage) if @result.hp_damage > 0
self.hp -= @result.hp_damage
self.mp -= @result.mp_damage
user.hp += @result.hp_drain
user.mp += @result.mp_drain
end
#--------------------------------------------------------------------------
# * Use Skill/Item
# Called for the acting side and applies the effect to other than the user.
#--------------------------------------------------------------------------
def use_item(item)
pay_skill_cost(item) if item.is_a?(RPG::Skill)
consume_item(item) if item.is_a?(RPG::Item)
item.effects.each {|effect| item_global_effect_apply(effect) }
end
#--------------------------------------------------------------------------
# * Consume Items
#--------------------------------------------------------------------------

Dunno if this is what you ment
 

sinan567

Villager
Member
Joined
Aug 25, 2013
Messages
7
Reaction score
0
First Language
German
Primarily Uses
Duno if this is the right one i just post what i think could may be :

#--------------------------------------------------------------------------
# * Get Skill ID of Normal Attack
#--------------------------------------------------------------------------
def attack_skill_id
return 1
end
#--------------------------------------------------------------------------
# * Get Skill ID of Guard
#--------------------------------------------------------------------------
def guard_skill_id
return 2
end
#--------------------------------------------------------------------------
# * Determine Usability of Normal Attack
#--------------------------------------------------------------------------
def attack_usable?
usable?($data_skills[attack_skill_id])
end
#--------------------------------------------------------------------------
# * Determine Usability of Guard
#--------------------------------------------------------------------------
def guard_usable?
usable?($data_skills[guard_skill_id])
end
end
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
sinan567, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


That is not what Andar asked for. He asked for a screenshot of your Guard command on the skills tab in the database. What you've provided is a portion of your scripts.


Follow the instructions below, but instead of taking a screenshot of the game as you play it, go to the database, open the Skills tab, select your Guard skill and take a screenshot of that.


How to take a screenshot


You've heard people say to take a screenshot, but how does one take a screenshot of their game? Simple, while the game is running, hit the Prt Scr button on your keyboard, which is located right next to your F12 key. If you're using a laptop, you might have to use the Fn key in combination with the Prt Scr key to get it to work.


Now that you've pressed the button, it's time to paste this screenshot into an image editing software. If you don't have anything fancy such as Adobe Photoshop, GIMP or Paint.NET, no worries; you can use MS Paint instead. Open up your image editing software, create a new file, and then hit ctrl+v on your keyboard, or simply right click on the screen and select paste. This should instantly paste the screenshot into your image editing software. You can go ahead and crop the image to suit your needs, or if you don't even know what that means, you can just upload it as it is.


Save the image as a PNG, or if you really need to, as a high quality JPG.


How to upload the image to the forums


Now that you have you have an image on your computer you'd like to show us, how can you get it to show up on the forums? Firstly, you need to find an image hosting site, photobucket.com or imageshack.us are popular ones. If you have another image uploading website, great - use that one! Either way, upload it to the site, and then get the direct link. Don't get the resized link, or the thumbnail link, but the direct URL. You'll know you have the direct URL if the URL ends with the file extension you saved your image in (which will hopefully be .png).


Once you have this direct URL to your image, simply use the IMG tags in your forum post and paste the URL in between them. If this image is big, please leave the image in spoiler tags.


IMG tags:

Code:
[img=www.website.com/image.png]
 
Last edited by a moderator:

sinan567

Villager
Member
Joined
Aug 25, 2013
Messages
7
Reaction score
0
First Language
German
Primarily Uses
OKAY PROBLEM SOLVED THANKS ALOT : on the skill Tab in database on Place #2 just added Guard and deleted"Starker Hieb(<-- Picture )" now its working WUHUU!!!!
 

senpoRiot

Professional Procrastinator
Veteran
Joined
Sep 6, 2012
Messages
291
Reaction score
36
First Language
Tagalog
Primarily Uses
OKAY PROBLEM SOLVED THANKS ALOT : on the skill Tab in database on Place #2 just added Guard and deleted"Starker Hieb(<-- Picture )" now its working WUHUU!!!!
Glad it helped. :D
 

Fomar0153

Arkz
Restaff
Joined
Mar 13, 2012
Messages
1,327
Reaction score
473
First Language
English
Primarily Uses
RMMZ
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top