Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
I'm modifying ShoddyBattle's source... again!; Come see what I'm doing!
Topic Started: Jul 7 2008, 06:45 AM (2,308 Views)
+PT8Sceptile
Member Avatar
Allergic to bananas
[ *  *  * ]
Last time I did modifications to ShoddyBattle's source code, I made the custom Pokemon creation code for us. However, this time I'm not only modifying a server's code: I'm modifying a client, too. That's because what I'm doing requires client-side modifications, too. I'm trying to add code for double battles into ShoddyBattle's source code!

I'm ultimately trying to finish a working DoubleBattle code and suggest it to be added to the actual ShoddyBattle's Server/Client source code. So far I have managed to create the battle window for double battling, and to start a double battle. However, I haven't yet started to code the actual mechanics, so you can't really do anything from the battle window except chat or forfeit, but I'm going to try to do them next. Here's a screenshot of the new battle window I'm doing:

Posted Image

I'm not sure will I succeed, since I think the mechanics will probably be harder to make than the window itself. However, I'm hoping for the best!

If you also have any suggestions on how to imporve the layout of the new window, post away!

Also, as an added bonus: I encountered multiple different errors when trying to make the window initialize correctly, but this one takes the cake! Behold!

Posted Image

EDIT: Whoops. I posted this in the wrong forum. It should be in Pokemon etc. forum (altough it isn't exactly off-topic here, since this is a forum for suggestions on how to improve the AAMS server. However, it is more of a general Shoddy Battle thing).
Edited by PT8Sceptile, Jul 7 2008, 06:51 AM.
There's no sig here at all. I ate it.
(and that means that I couldn't think of any good sig ideas >_>)
Offline Profile Quote Post Goto Top
 
+Undergamed
IM GAY
[ *  *  *  *  *  *  *  * ]
If you get this working, I will bake and send you a cookie.
Offline Profile Quote Post Goto Top
 
+PT8Sceptile
Member Avatar
Allergic to bananas
[ *  *  * ]
Excellent news! I managed to get something to happen in a double battle O_o. I succesfully made a switch and used a move.

However, I didn't even get a turn executed, since I ran into another bug I hadn't taken care of...

Posted Image

Fixing time...
There's no sig here at all. I ate it.
(and that means that I couldn't think of any good sig ideas >_>)
Offline Profile Quote Post Goto Top
 
+PT8Sceptile
Member Avatar
Allergic to bananas
[ *  *  * ]
I'm getting closer and closer to my goal. I have as far succeeded in executing multiple turns and replacing fainted pokemon successfully. Also, U-turn is no longer buggy, altough a massive load of other moves/abilities certainly is.

However, I haven't yet completed even a single double battle. Right now, I have two major issues to fix:

1 : Replacing multiple pokemon isn't working, sadly.
2 : Things are having some visual transformations after switching:
Posted Image

Also, I have a lot of smaller issues to fix, like targeting switching to the other pokemon if the original target faints (which is also visible in the above picture) etc...

However, all in all, I'm slowly approaching the first hurdle of successfully completing a double battle.

UBER IMPORTANT EDIT:

I DID IT!


I just finished a double battle with myself!

Log in spoiler tags to avoid unnecessary stretching of the post. The battle wasn't entirely bug-free, but at least it wasn't cut off:
Spoiler: click to toggle


However, that log doesn't show what happens in one pokemon left situations, so I have to test those, too. Also, the duplicating Vaporeon sprite is still present (the pokemon appears as Heatran in the log as it should, but it definitely looked like Vaporeon and even had Vaporeon's moves), and there's some odd graphical stuff about switching. Also, there's still a ton of other stuff to do in the vein of moves and abilities.

But for now, YIPPEE!

Also, I moved the targets-section above the log, since if it was below it the log would for some reason stretch the window instead of scrolling. That doesn't matter much at all, though.
Edited by PT8Sceptile, Jul 10 2008, 03:46 PM.
There's no sig here at all. I ate it.
(and that means that I couldn't think of any good sig ideas >_>)
Offline Profile Quote Post Goto Top
 
+Sir Spanky
Member Avatar
Less bananated than Shippou
[ *  *  *  *  *  *  *  * ]
Impressive work dude! Can you modify the client so I can see exact stats and stat changes during battle? ¬_¬
Neon Twilight: thats really gay
Neon Twilight: so gay
Neon Twilight: gayer than bbm and spanky sex gay
Offline Profile Quote Post Goto Top
 
+bearzly
Member Avatar
Tangela
[ *  *  *  *  *  *  *  * ]
I am working on that and it should be done some time this summer if I get off my lazy ass
Posted Image Posted Image
Posted Image
Offline Profile Quote Post Goto Top
 
+Sandslash
Member Avatar
inferior
[ *  *  *  *  *  *  *  * ]
get off your lazy ass!!!!!
Offline Profile Quote Post Goto Top
 
+Crunk Juice
Member Avatar
bbm is (super) gay
[ *  *  *  *  *  *  *  * ]
lazy ass
Posted Image
Offline Profile Quote Post Goto Top
 
eric the espeon
Shelgon
[ *  * ]
This looks very interesting... Has any further progress been made?
Offline Profile Quote Post Goto Top
 
+PT8Sceptile
Member Avatar
Allergic to bananas
[ *  *  * ]
Nope. I did have double replacements done correctly at one point, but I tried to update the code and it went so buggy (bad news...), that I had to revert back to an older version.

From thet point onwards I worked on the project for about a week, but then I was away on camps for two or so weeks and then school started. However, thanks for reminding me about this. I guess I should try to continue my work soon.

If/When I get back to doing this, I will get back to updating this. I just have other things to do now, too. Things that are still not working are double replacing (that thing is a pain to do correctly), single pokemon left situations and a huge stack of abilities/moves that need correcting.
There's no sig here at all. I ate it.
(and that means that I couldn't think of any good sig ideas >_>)
Offline Profile Quote Post Goto Top
 
eric the espeon
Shelgon
[ *  * ]
Right... well I wish you luck with this, maybe you could get another programmer to help you or something?
Offline Profile Quote Post Goto Top
 
Numbuh214
Feebas
[ * ]
Hey, PT8Sceptile. Long time no see. You may remember me as the guy who added onto your awesome Create-a-Pokemon things. Well, like you, I'm in a project to revamp the client as well. You can check it out here. Perhaps we could (or rather, SHOULD) partner up, seeing as our paths parallel this much. (Truth be told, I was even trying to implement Double Battles myself. :blink: )

Please try to contact me via e-mail. I'm not on this site often, but I'd love to help in any way possible. For example...

Spoiler: click to toggle
Offline Profile Quote Post Goto Top
 
+bearzly
Member Avatar
Tangela
[ *  *  *  *  *  *  *  * ]
that was me actually. Colin was supposed to be implementing n vs n battles a long time ago but as you may have noticed that didn't happen.
Posted Image Posted Image
Posted Image
Offline Profile Quote Post Goto Top
 
Numbuh214
Feebas
[ * ]
Was it? You're not getting enough credit, bearzly...

EDIT thing: I did some thinking, and i thought: "Why not use NESTED tabs? You get to choose what to do with both Pokemon and the battle window gets only slightly bigger, if at all." So, here's what I got:

Posted Image
Sorry it looks so primitive, but this is just an example...

Posted Image
Notice how the "Chat" tab is not present here... that's because I felt it was redundant to have two, but I could put it right back in if I wanted.
Edited by Numbuh214, Oct 15 2008, 05:36 PM.
Offline Profile Quote Post Goto Top
 
Resum
Member Avatar
sry commies sux
[ *  *  *  *  * ]
how about have the chat tab on the same level as pokemon A and pokemon B?
Offline Profile Quote Post Goto Top
 
Numbuh214
Feebas
[ * ]
Hmmm... that could work! Excellent suggestion, Resum!

And yeah, since we haven't seen hide or hair of PT8Sceptile in quite awhile, I think the time has come to officially assume responsibility for the project on his behalf.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Create a free forum in seconds.
Learn More · Register for Free
« Previous Topic · Server Suggestions and Announcements · Next Topic »
Add Reply