Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Mightylink on October 15, 2008, 12:50:16 pm

Title: AP and HUD Question
Post by: Mightylink on October 15, 2008, 12:50:16 pm
Couldnt find out if this was possibe in the comments so I came here to ask, for the EQUAP is it possible to give ap through a script, like in an event?

And for the hud addon, can it be toggles on and off from in game? Id like to hide it at certain times like in cinimatics.

I read all the comments, and most of blizzards scripts did come with toggling options but i couldnt find it in the comments for this one.
Title: Re: AP and HUD Question
Post by: Blizzard on October 15, 2008, 01:55:04 pm
I probably forgot to type it in the instructions. o.o

Quote$game_actors[ID].add_ap(VALUE)
$game_party.actors[POS].add_ap(VALUE)


As for the hud...

Quote$game_system.HUD =
true/false


And true or false really has to go into a new row.
Title: Re: AP and HUD Question
Post by: Mightylink on October 15, 2008, 02:36:50 pm
thanks but im getting serious issues with the ap system

ok, i know i set up the db correctly cause it does show up

i made a ring, added a fire skill to it

my character learns the skill when i put the ring on

after a battle he does gain AP as shown in the battle result

but back in the main menu it still shows 0/10 ap

plus when i take off the ring the skill is still learned, i also tried putting on and tanking off the ring before gaining any ap and the spell still stays perminetly
Title: Re: AP and HUD Question
Post by: Blizzard on October 15, 2008, 02:44:17 pm
I'm probably repeating myself, but do you have the scripts in the right order and are you using the most recent version? It's hard to keep track of who did it right and who has which scripts installed. (._.')
Title: Re: AP and HUD Question
Post by: Mightylink on October 15, 2008, 03:09:43 pm
This time I have ^_^

(http://i123.photobucket.com/albums/o296/MightyLink/scriptorder.gif)

All your scripts are updated, other peoples scripts I care less about. And I ordered them after I got tons of addons, that thread showed main at the bottom, all of your scripts after that with tons of addons at the very top just above the cms, and everyone elses scripts above that, and all the game scripts above that...

thats correct right?


The whole thing is working, i set up the database, the ring has the right spell, the troops are giving the right ap, its just that equipting the ring learns the spell perminetly even without gaining ap and the skill doesnt show how much ap is gained, it just says 0/10 all the time.

i dont know what else to say besides spamming all my configs

MAXAP Database
    when 10 then return 10
    when 20 then return 10


10 is another spell i was testing, 20 is the fire spell

GAINAP Database
    when 1 then return 5

1 is my test monsters

EQ Database
   if weapon
      case id
      when 1 # weapon ID
        skill_ids.push(10) # EQUAP skill ID
      when 995
        skill_ids.push(8)
        skill_ids.push(12)
      when 999
        skill_ids.push(1)
        skill_ids.push(3)
      end
    else
      case id
      when 5 # armor ID
        skill_ids.push(10) # EQUAP skill ID
      when 12
        skill_ids.push(20)
      when 995
        skill_ids.push(15)
      when 998
        skill_ids.push(32)
        skill_ids.push(29)
      when 9913
        skill_ids.push(2)
        skill_ids.push(25)
      when 9918
        skill_ids.push(27)
      when 9919
        skill_ids.push(25)
      when 9929
        skill_ids.push(10)
      end


I made all the default items 9900 so they wouldnt interfear with my items, the armor 12 is the ring and 20 is the fire spell
Title: Re: AP and HUD Question
Post by: Blizzard on October 15, 2008, 03:45:33 pm
I can't find anything wrong with the config. Could you put together a small demo where the problem happens?
Title: Re: AP and HUD Question
Post by: Mightylink on October 15, 2008, 04:48:05 pm
i'll try, i got my real game and i got my developer island where i test all these things

hold on for it

EDIT: Ok here it is, the save file places you where you need to be: http://zvcstudios.site88.net/somblizzhelp.rar
Title: Re: AP and HUD Question
Post by: Blizzard on October 15, 2008, 06:05:53 pm
*cough* ... edit post instead of double post... *cough*

I'll look into it ASAP.
Title: Re: AP and HUD Question
Post by: Mightylink on October 15, 2008, 06:11:38 pm
sorry, it was either that or bump

[EDIT] sorry to keep bugging but its been a week now with no reply, know what the problem with my AP is? I tried creating new skills and items, still same issue.
Title: Re: AP and HUD Question
Post by: Mightylink on October 25, 2008, 04:57:48 pm
bump... sorry to double post again but i waited another 2 weeks and still no response, feeling completly ignored here  :^_^':

i made the edit a week ago, and i guess that didnt bump my topic so i had to double post to get attention.
Title: Re: AP and HUD Question
Post by: Blizzard on October 25, 2008, 05:09:09 pm
Oh, I'm sorry. I forgot to post here. I already put up Tons v6.6xb fixing those problems. :^_^':