New battle system

Need any help regarding this website, or have a suggestion on how we could improve something? Found a bug or error? Please post all issues related to this website here.

Moderator: Forum staff

Post Reply
User avatar
Pikachu3828
Code Monkey
Code Monkey
Posts: 4829
Joined: Tue 27 May, 2003 4:42 pm
Pokémon D/P Friend code: 0
Location: UK
Contact:

New battle system

Post by Pikachu3828 »

Hi folks, sorry for the inconvenience caused while the battle system is going through some upgrade. I thank you for your patience and I hope you will like the end result, it will be much better than the current system. Here is a list of some things that I hope to achieve with the new battle system:
  • Statuses
    • Confusion - DONE!
    • Poisioned - DONE!
    • Leeched - DONE!
    • Sleep - DONE!
    • Paralysed
    • Toxic poisoned - DONE!
    • Infatuation - DONE!
  • Weather
    • Sunny - DONE!
    • Rainy - DONE!
    • Hail
  • Stat altering moves - DONE!
  • Type advantages/disadvantages
  • Speed decides who goes first
  • Enemy attacks using own moveset - DONE!
  • Missing/critical hits
  • STAB - DONE!
Some excerpts from it so far:
Battle started between Meganium and Smoochum
Meganium sent Smoochum to sleep with Sleep powder!

Smoochum woke up!
Meganium caused the sun to come out with Sunny Day!
Smoochum attacked back and dealt 40 HP damage
Battle started between Meganium and Rapidash
Meganium sent Rapidash to sleep with Sleep powder!

Rapidash is fast asleep!
Meganium absorbed sunlight!

Rapidash woke up!
Meganium attacked with Solar Beam and dealt 38 HP damage
Rapidash attacked back and dealt 62 HP damage
Last edited by Pikachu3828 on Thu 01 Sep, 2005 1:17 pm, edited 5 times in total.

Favourites: :Gyarados: :Tyranitar: :Zangoose: :Drapion: Image

Red: 151/151 | Gold: 247/251 | Fire Red: 376/386 | Heart Gold: 493/493 | Black: 649/649

Please do not PM me about bugs on the Adoption Agency. Instead, make a topic in the bugs forum.

User avatar
pokemaster
Saffron City
Saffron City
Posts: 572
Joined: Tue 30 Sep, 2003 6:51 pm
Pokémon D/P Friend code: 0
Location: uk
Contact:

Post by pokemaster »

hope its good, it should be as your coding it, anyways fix that bug in the prossess!

~ pokemaster

User avatar
Powerchu
Moderator
Moderator
Posts: 1396
Joined: Wed 31 Dec, 2003 10:23 pm
Location: alone
Contact:

Post by Powerchu »

awsome. I can't wait for it to be done. (I still never figured out of Will-O-Wisp works like Toxic or if works like Stun Spore/Sleep Powder/Poison Powder though).

I kinda wish all the battle things things like finding wild pokemon were disabled. I was exploring around and now I am stuck in a battle until the new battle script is done. I have my Aggron stuck as my currently training pokémon. I was gonna try to see if I could teach my combusken some moves.lol
Image

Friend Code: 2466-7146-9497 (Ledyba, Illumise, Heracross)

User avatar
Pikachu3828
Code Monkey
Code Monkey
Posts: 4829
Joined: Tue 27 May, 2003 4:42 pm
Pokémon D/P Friend code: 0
Location: UK
Contact:

Post by Pikachu3828 »

OK it's far from done but up again now as I couldn't leave it down for too long :wink: The major thing missing is type dis/advantages though. I'll continue to work on that

Favourites: :Gyarados: :Tyranitar: :Zangoose: :Drapion: Image

Red: 151/151 | Gold: 247/251 | Fire Red: 376/386 | Heart Gold: 493/493 | Black: 649/649

Please do not PM me about bugs on the Adoption Agency. Instead, make a topic in the bugs forum.

User avatar
stevie_2
Got Boulder Badge!
Got Boulder Badge!
Posts: 153
Joined: Thu 25 Nov, 2004 5:21 pm
Pokémon D/P Friend code: 0
Location: England

Post by stevie_2 »

:shock: I attacked a Pidgey with tackle and this came up

Warning: Cannot modify header information - headers already sent by (output started at /home/srg/public_html/pikachu/web/meta.htm:4) in /home/srg/public_html/pikachu/forum/includes/page_header.php on line 794

Warning: Cannot modify header information - headers already sent by (output started at /home/srg/public_html/pikachu/web/meta.htm:4) in /home/srg/public_html/pikachu/forum/includes/page_header.php on line 796

Warning: Cannot modify header information - headers already sent by (output started at /home/srg/public_html/pikachu/web/meta.htm:4) in /home/srg/public_html/pikachu/forum/includes/page_header.php on line 797

It then has the forum with the message

Fatal error getting enemy information!
Image
Want a piece of graphics like that in your signature? Then go request it!
Support the Pika Club! Link to us in your signatures on other websites!

User avatar
Pikachu3828
Code Monkey
Code Monkey
Posts: 4829
Joined: Tue 27 May, 2003 4:42 pm
Pokémon D/P Friend code: 0
Location: UK
Contact:

Post by Pikachu3828 »

It's been fixed now, speed has been taken out, it's simply too hard to implement for the time being

Favourites: :Gyarados: :Tyranitar: :Zangoose: :Drapion: Image

Red: 151/151 | Gold: 247/251 | Fire Red: 376/386 | Heart Gold: 493/493 | Black: 649/649

Please do not PM me about bugs on the Adoption Agency. Instead, make a topic in the bugs forum.

User avatar
stevie_2
Got Boulder Badge!
Got Boulder Badge!
Posts: 153
Joined: Thu 25 Nov, 2004 5:21 pm
Pokémon D/P Friend code: 0
Location: England

Post by stevie_2 »

Well thats been fixed but now everytime i battle

Battle started between Blaziken and Dunsparce
Blaziken attacked with Tackle and dealt 3232 HP damage
Dunsparce attacked with and dealt 3232 HP damage
:shock:
Image
Want a piece of graphics like that in your signature? Then go request it!
Support the Pika Club! Link to us in your signatures on other websites!

User avatar
Pikachu3828
Code Monkey
Code Monkey
Posts: 4829
Joined: Tue 27 May, 2003 4:42 pm
Pokémon D/P Friend code: 0
Location: UK
Contact:

Post by Pikachu3828 »

Where was that? The Dojo?

Favourites: :Gyarados: :Tyranitar: :Zangoose: :Drapion: Image

Red: 151/151 | Gold: 247/251 | Fire Red: 376/386 | Heart Gold: 493/493 | Black: 649/649

Please do not PM me about bugs on the Adoption Agency. Instead, make a topic in the bugs forum.

User avatar
stevie_2
Got Boulder Badge!
Got Boulder Badge!
Posts: 153
Joined: Thu 25 Nov, 2004 5:21 pm
Pokémon D/P Friend code: 0
Location: England

Post by stevie_2 »

Pikachu3828 wrote:Where was that? The Dojo?
Erm Route 27 against the Youngsters. Just had another battle against the Youngster with a Dunsparce and we just take exactly the same off now.

Battle started between Blaziken and Dunsparce
Blaziken attacked with Tackle and dealt 33 HP damage
Dunsparce attacked with and dealt 33 HP damage
Blaziken attacked with Tackle and dealt 33 HP damage
Dunsparce attacked with Rage and dealt 33 HP damage


Just fought against Rattata on Route 29

Battle started between Blaziken and Rattata
Blaziken attacked with Tackle and dealt 33 HP damage
Rattata attacked with and dealt 33 HP damage

Surely not right?
Image
Want a piece of graphics like that in your signature? Then go request it!
Support the Pika Club! Link to us in your signatures on other websites!

User avatar
pokemaster
Saffron City
Saffron City
Posts: 572
Joined: Tue 30 Sep, 2003 6:51 pm
Pokémon D/P Friend code: 0
Location: uk
Contact:

Post by pokemaster »

sent some handy code to your email, thought you would like it even though i could do with the help on my battle others.... where to put the exit;, etc

~ pokemaster

User avatar
Pikachu90000
Pokémon master
Pokémon master
Posts: 13625
Joined: Sun 14 Sep, 2003 12:20 am
Pokémon D/P Friend code: 0
Location: The People's Democratic Sovereign Elitist Commonwealth of the Union of Cascadia
Contact:

Post by Pikachu90000 »

This is weird. I had more than half of my Pokemon's HP and my Blaziken is fainted. Anyways I don't see a difference when I battle the youngester on Route 27
Image
Have questions regarding about The Pika Club? The Pika Club Guide and FAQ

User avatar
Powerchu
Moderator
Moderator
Posts: 1396
Joined: Wed 31 Dec, 2003 10:23 pm
Location: alone
Contact:

Post by Powerchu »

its cool. battling is fun. I can't wait to see the battle script 100% complete
Image

Friend Code: 2466-7146-9497 (Ledyba, Illumise, Heracross)

User avatar
Pikachu3828
Code Monkey
Code Monkey
Posts: 4829
Joined: Tue 27 May, 2003 4:42 pm
Pokémon D/P Friend code: 0
Location: UK
Contact:

Post by Pikachu3828 »

I love it when code works perfectly first time round, it's just a shame it never happens :-P Well I'll dive into it and try to fix the problems in a little while, I think the main problem is the battle formulas are too rigid, I need to insert some randomness into it.

Favourites: :Gyarados: :Tyranitar: :Zangoose: :Drapion: Image

Red: 151/151 | Gold: 247/251 | Fire Red: 376/386 | Heart Gold: 493/493 | Black: 649/649

Please do not PM me about bugs on the Adoption Agency. Instead, make a topic in the bugs forum.

User avatar
Pikachu90000
Pokémon master
Pokémon master
Posts: 13625
Joined: Sun 14 Sep, 2003 12:20 am
Pokémon D/P Friend code: 0
Location: The People's Democratic Sovereign Elitist Commonwealth of the Union of Cascadia
Contact:

Post by Pikachu90000 »

It's not perfect. If I win, my Pokemon faints. Also Powerchu's pokemon does ~100 damage and the feebas does 6000 damage
Image
Have questions regarding about The Pika Club? The Pika Club Guide and FAQ

User avatar
stevie_2
Got Boulder Badge!
Got Boulder Badge!
Posts: 153
Joined: Thu 25 Nov, 2004 5:21 pm
Pokémon D/P Friend code: 0
Location: England

Post by stevie_2 »

Just noticed another problem :cry:

Battle started between Blaziken and Yanma
Blaziken attacked with Tackle and dealt 35 HP damage
Yanma attacked with Tackle and dealt 35 HP damage

Blaziken attacked with Tackle and dealt 35 HP damage
Yanma attacked with and dealt 35 HP damage


Which equals total damage of 70 HP, my blaziken has 166 HP but it says that i faint :? And i double checked to make sure that i had Max HP before battling
Image
Want a piece of graphics like that in your signature? Then go request it!
Support the Pika Club! Link to us in your signatures on other websites!

Post Reply