- 12
- Posts
- 17
- Years
- Seen Dec 2, 2013
I have the same problem, I want to have trainers throughout the game that after you beat them they just say good battle or such, now when i win and press on them again they do the same thing over and over.
When the player wins the battle, you should set the trainer's event's Self Switch A to ON. Then have a page in that event that depends on it being ON, and have whatever random text you want in there.I have the same problem, I want to have trainers throughout the game that after you beat them they just say good battle or such, now when i win and press on them again they do the same thing over and over.
When the player wins the battle, you should set the trainer's event's Self Switch A to ON. Then have a page in that event that depends on it being ON, and have whatever random text you want in there.
Using comments to set up trainers will do this automatically. Just look at some existing examples of trainers to see what the event should look like, and build on that.
I did this, but still after the conversation is done, the battle starts over again after action buttoning the trainer.
Screenshots also help, so we can see what you're doing. Show us each of the trainer event's pages.I did this, but still after the conversation is done, the battle starts over again after action buttoning the trainer.
Screenshots also help, so we can see what you're doing. Show us each of the trainer event's pages.
I'm going to make this clear and simple: There is a good chance the lag just isn't fixable. The question is how old is your computer, what model is it? That's the only way anyone can seriously help you with lag. If your computer is garbage, your computer is garbage and nothing can help it. My computer is pretty low end, and I still have no trouble running Essentials.Yeah, I thought of that, but doesn't he need like 15 posts to to be able to post screenies/links? - so unless he spams, he'll have to wait a little....
(by the way maruno, do you by any chance have a clue regarding the lag-problem i described a few posts above? i guess if anyone knows but poccil, it might be you =D)
Greetings,
Sichlor
I'm going to make this clear and simple: There is a good chance the lag just isn't fixable. The question is how old is your computer, what model is it? That's the only way anyone can seriously help you with lag. If your computer is garbage, your computer is garbage and nothing can help it. My computer is pretty low end, and I still have no trouble running Essentials.
So do you actually have this problem, too?So far the only way of fixing it is to go back to an older version. I don't think Poccil has fixed it yet.
I am trying to use $game_map.passable?($game_player.x,$game_player.y,$game_player.direction) and put the bridge up tile impassable, but I think that you solution is the best one.Bridges are fiddly things, and well deserve their own page in the wiki (it's pending creation by anyone who wants to, hint hint).
To solve your problem, I think you need to go into PokemonHiddenMoves, and find the below procedure. Then add in the red part.
That should prevent interactions with the water (i.e. to start surfing) while on a bridge. This won't stop the player choosing to use Surf from the party screen, though (although who does that?) - you'll need to edit the CanUseMove hidden move handler for Surf (just above the code quoted above) to add in a "return false if $PokemonMap.bridge" bit (without a message).Code:Events.onAction+=proc{|sender,e| terrain=Kernel.pbFacingTerrainTag if pbIsWaterTag?(terrain) && !$PokemonGlobal.surfing && !pbGetMetadata($game_map.map_id,MetadataBicycleAlways) [COLOR=Red]&&[/COLOR] [COLOR=Red] !$PokemonMap.bridge[/COLOR] Kernel.pbSurf return end }
I thinks that I also had the same problem and fix in a very unusual way. I remove all the green comment in events and place 3 pages instead of just 2, but put the middle page blank. I thinks that a Trainer(x) even start on page one and jumps to page two after battle, if you make more pages you cancel this thing.I did this, but still after the conversation is done, the battle starts over again after action buttoning the trainer.
In SpriteWindow change line (aound 850) "pbSEPlay($data_system.decision_se)" to "pbSEPlay($data_system.decision_se) if !$game_switches[97]". If you do it, the SE won't play if the switch 97 is ON (you can change the switch number).Hello. :-)
I have a little problem with the message system:
'Is it possible to set the "beep" sound between two messages to 0 Volume?'
But not permanent, only for one dialogue.
Vau
I do the same thingEDIT: Ok, it turns out the April 3rd 2010 Version does work a LOT better...
That means its something that was changed from there to the May 7th Version...
There you go. The difference in our processor is pretty big:I wouldn't call it garbage.. its a AMD Athlon 3500+ single core processor with about 2.1 GHz... but it seems you all got faster ones :)
Well, the lag occurs in constant intervals.. its exactly every 5 steps(I'm not sure how many frames that is but its definitely a process that runs every x frames).
There you go. The difference in our processor is pretty big:
Intel Pentium E5400, 2.7GHz with 2 cores.
With that said, it's odd that from what you say, the lag only occurs every 5 steps or so. Do me a favor, start your game, press F2 so it'll show you your FPS, and walk around for a bit, tell me what FPS you get normally. Pokemon Essentials runs at 40fps by default.
How you get 45 or 60 if the max is 40? But you edited the max? Tell your max.Between 45 and 60... and it doesn't even go down during the lags...
i tried to record it, but the frame rate does go down when i'm screen capturing...
well, at least you can somewhat see that its in constant intervals:
https://tinypic.com/player.php?v=2wq5yl2&s=7
(due to the capturing its not perfect, but you get the idea)
I see this error here several times, but the only fix yet is to use a older version...
How you get 45 or 60 if the max is 40? But you edited the max? Tell your max.
Anyway, in my computer when I have used the 2010 May version the lag is a little more fast but occurs much more often.
It's strange that it occurs exactly every so many steps, although it may not necessarily be every X steps that it happens - it might be every X frames instead.Actually, I did set it to 75 some time ago and forgot about it... oO :)
When i put it back to 40 its usually around 33-39 but occasionally drops to about 27...
Yeah so i guess that does mean my processor is a little slow after all,
but it still doesn't explain whats causing the constant lag
i guess i have to live with it, get a better computer or somehow find the line(s) by luck...
thanks anyway guys....
It's strange that it occurs exactly every so many steps, although it may not necessarily be every X steps that it happens - it might be every X frames instead.
The only things I can think of that might be causing it are the poison checks (every 4 steps), and something to do with the BGM. It may also be due to the day/night system.
Some things to check are: does the lag occur even while you're standing still? Looking at some constantly animated thing (e.g. the fountain in Celadon) would help. Is it always the same number of steps/time, or does it vary?
Also, find a way to compare the scripts to see what's changed, and then see if there's anything that looks like it is called frequently and would take a while to do.