|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Shoddy Battle dev
![]() ![]() |
A guide to building the Shoddy Battle server from source is now available here:
Guide to building a Shoddy Battle server If you are looking to run a server with maximum flexibility and the latest updates, building from source is your best option. The guide also touches on port forwarding for people who are having trouble having others join their server. If anything is still unclear or you have further questions about building from the sources, you can ask in this thread. |
|
|
|
|
|
#2 | |
|
Join Date: Jun 2009
Posts: 14
|
Quote:
Is that just this file?: ![]() Or is it another file? |
|
|
|
|
|
|
#3 |
|
Administrator
![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Edmonton, Alberta, Canada
Posts: 722
|
The 'x' means it could be any number; it's called a variable. So yes you are staring at the right file.
|
|
|
|
|
|
#4 |
|
Join Date: Jun 2009
Posts: 14
|
Alright, but here's what happens when I use that file:
![]() (In order to keep my user and pass a secret, I used Smogon as user and Error as password. I will not that this is what happened exactly when I used the acc/pass I actually wanted to use.) Last edited by Sir Aaron Mist; Jun 14th, 2009 at 10:48:42 PM. Reason: Typo |
|
|
|
|
|
#5 |
|
Administrator
![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Edmonton, Alberta, Canada
Posts: 722
|
You need to change into the directory where you have your Shoddy Battle checkout, as the guide says. Please read the guide before asking questions.
|
|
|
|
|
|
#6 | ||
|
Join Date: Jun 2009
Posts: 14
|
Quote:
WTF? I swear I changed it to that. And no joke, I've read the guide like 20 times! But I'll check to see if that was the problem. I see you guys have no patience for stupidity. EDIT: This is what I got after re-routing it: Quote:
Last edited by Sir Aaron Mist; Jun 15th, 2009 at 12:34:52 AM. |
||
|
|
|
|
|
#7 |
|
Shoddy Battle dev
![]() ![]() |
The path to the java program replaces the word java in the command.
What you want is Code:
"C:\Program Files\Java\jdk1.6.0_14\bin\java.exe" -cp dist/ShoddyBattle.jar shoddybattle.AccountEditor Admin smogon 2 |
|
|
|
|
|
#8 |
|
I HAVE ANGST!
![]() Join Date: Aug 2008
Location: Bowser's Lovely Lift!
Posts: 1,891
|
Okay, I have a problem. I've managed to forward both TCP and UDP traffic on my port (22222). People can get on my server, but they can only get on when my computer is functional. Why?
__________________
Busy with school lately... Shoddy Account(s)............: Ping Pong Player, Up Guides / Projects..............: EVing Guide (On-Site)* | DPP EV Hotspots Project* | Trap Guide Full Analyses + Updates....: Diglett | Electivire* | Shedinja | Shuckle | Slaking* | Rotom-W* | Medicham | Gyarados Other C&C Material...........: BP Bibarel | SpD Skarmory | DS Metagross* | Concise Electivire Other Material..................: Assist Shuffle Strategy Work in Progress..............: Trap Guide, Gyarados Revamp ![]() ![]() ![]() Don't hesitate to PM me about C+C stuff - I like proofreading things!
|
|
|
|
|
|
#9 |
|
Shoddy Battle dev
![]() ![]() |
You need to have your computer on and awake for people to connect. It's pretty hard for people to connect to your server on your computer if your computer is turned off. The server is running on your computer, not by some magical means
|
|
|
|
|
|
#10 |
|
I HAVE ANGST!
![]() Join Date: Aug 2008
Location: Bowser's Lovely Lift!
Posts: 1,891
|
I see. Is there a way that can allow the server to run by others' computer as well?
__________________
Busy with school lately... Shoddy Account(s)............: Ping Pong Player, Up Guides / Projects..............: EVing Guide (On-Site)* | DPP EV Hotspots Project* | Trap Guide Full Analyses + Updates....: Diglett | Electivire* | Shedinja | Shuckle | Slaking* | Rotom-W* | Medicham | Gyarados Other C&C Material...........: BP Bibarel | SpD Skarmory | DS Metagross* | Concise Electivire Other Material..................: Assist Shuffle Strategy Work in Progress..............: Trap Guide, Gyarados Revamp ![]() ![]() ![]() Don't hesitate to PM me about C+C stuff - I like proofreading things!
|
|
|
|
|
|
#11 |
|
Shoddy Battle dev
![]() ![]() |
You can give them your ShoddyBattle.jar file and they will be able to run your server, but then your metaserver information will change
|
|
|
|
|
|
#12 |
|
Join Date: Jun 2009
Posts: 14
|
This time, I used that exact code you gave me, and it said "Failed to make new account", or something on those lines.
Needless to say, I'm going to back to a different way. Thanks for trying to help though. |
|
|
|
|
|
#13 |
|
Shoddy Battle dev
![]() ![]() |
If it failed to create an account then it sounds like there is something wrong with your mysql settings in the server.properties file. What happens when you try and run the server?
|
|
|
|
|
|
#14 |
|
I HAVE ANGST!
![]() Join Date: Aug 2008
Location: Bowser's Lovely Lift!
Posts: 1,891
|
Hi again, how do I set up a UU (and possibly other customizable) ladderS?
Edit: I sent someone my shoddybattle.jar file but it still didnt work.
__________________
Busy with school lately... Shoddy Account(s)............: Ping Pong Player, Up Guides / Projects..............: EVing Guide (On-Site)* | DPP EV Hotspots Project* | Trap Guide Full Analyses + Updates....: Diglett | Electivire* | Shedinja | Shuckle | Slaking* | Rotom-W* | Medicham | Gyarados Other C&C Material...........: BP Bibarel | SpD Skarmory | DS Metagross* | Concise Electivire Other Material..................: Assist Shuffle Strategy Work in Progress..............: Trap Guide, Gyarados Revamp ![]() ![]() ![]() Don't hesitate to PM me about C+C stuff - I like proofreading things!
Last edited by Erodent; Jun 18th, 2009 at 11:07:35 PM. |
|
|
|
|
|
#15 |
|
Banned deucer.
|
Do you need a computer by itself to run the server? Or can you have the computer for the server and still use it?
|
|
|
|
|
|
#16 | |
|
Shoddy Battle dev
![]() ![]() |
Quote:
The server is just a program running on your computer, you can continue to use it for whatever you want |
|
|
|
|
|
|
#17 |
|
Join Date: Jun 2009
Posts: 2
|
Uhm.. I've a little problem >.<
http://shoddybattle.com/server_guide#mysql Where do I create the Database ? Please help me >.< |
|
|
|
|
|
#18 | |
|
Join Date: Aug 2008
Posts: 40
|
Quote:
Once you've logged in to your database, simply quiery the code you see on that installation guide, and the tables will be made for you. |
|
|
|
|
|
|
#19 |
|
Administrator
![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Edmonton, Alberta, Canada
Posts: 722
|
php is not required to run a Shoddy Battle server or to use mysql.
|
|
|
|
|
|
#20 |
![]() Join Date: Sep 2008
Location: The Crazy Amazing League!
Posts: 31
|
I seem to be having the same problem as Sir Aaron--I get a nearly identical error message when I try to set up the first account on the server. I've done my best to follow the guide, and up until this point, everything (with one exception) has gone off without a hitch. That exception was during the MySQL installation, and it looked like this:
![]() I'm not sure why it couldn't start the service, since I haven't deviated from the guide at all (to my knowledge, at least). It still let me open the program with the Command Line Client and input the code from the MySQL section, so I don't know if the above screenshot is a problem or not. If it is, I'd love to know how to fix it. But anyways, during the first account set-up, I get this message: ![]() Reading through some of the posts in this topic, I tried pasting in bearzly's suggestion, but I got a similar error: ![]() If someone could tell me where this is all derailing (and how I could get it back on track), I would really, really appreciate it. (And I sincerely apologize if I'm asking obvious questions and/or making stupid mistakes with any of this--I'm pretty terrible with computers...)
__________________
CAL |
|
|
|
|
|
#21 |
|
Administrator
![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Edmonton, Alberta, Canada
Posts: 722
|
I'm guessing you didn't run the MySQL installer as root. Try right click -> run as admin.
|
|
|
|
|
|
#22 |
|
Shoddy Battle dev
![]() ![]() |
El Becko, I think your problem is that you don't have a ShoddyBattle.jar created. Go into Netbeans and F11 to build the project (or hit the blue hammer icon). Also, the account editor is pretty shoddy so it won't work with names with a space in it. You can make a dummy account and then create another account the normal way and make it an admin the normal way
I also got the service could not be started thing, but it actually worked fine so I didnt mention it. |
|
|
|
|
|
#23 |
|
Join Date: Jun 2009
Posts: 32
|
I have a quick question. For the server welcome page, it looks like it only interprets strings? Is there an easy way to display images/text/html/flash on the welcome besides re-writing alot of the other code?
|
|
|
|
|
|
#24 |
|
Shoddy Battle dev
![]() ![]() |
If you preface the message with <html> then it will be interpreted as HTML
|
|
|
|
|
|
#25 |
|
Banned deucer.
|
My friend has a question about the server he is creating. He wants to know how to phpmyadmin to create tables for mysql?
If there is a link to follow to download anything post it please and thanks. |
|
|
|
![]() |
| Thread Tools | |
|
|