Go Back   Smogon Community > Site & Projects > Shoddy Battle
Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
Old Jul 19th, 2009, 9:37:13 PM   #26
OFC
 
Join Date: Jul 2009
Posts: 1
Default

I need help getting my server to work. I have no idea how. So can somebody help me out? I think that's all I need. Thanks.
OFC is offline   Reply With Quote
Old Aug 3rd, 2009, 5:04:40 PM   #27
Dextera
 
Join Date: Jun 2009
Posts: 1
Default

when creating the first user, what do they mean by navigating to the folder containing the sources, and how do i do that?
Dextera is offline   Reply With Quote
Old Aug 9th, 2009, 10:58:22 AM   #28
YoshiEgg25
 
YoshiEgg25's Avatar
 
Join Date: Jun 2009
Location: Ecruteak City
Posts: 5
Default

Hey, I was wondering if anyone could help me out.

I'm attempting to create the first user, and when I use the command prompt, this always happens:



(Not user and password, name whited out.)

I'd really like to know what I've done wrong or haven't done as I'd like to get this done soon.

Thanks.
YoshiEgg25 is offline   Reply With Quote
Old Aug 9th, 2009, 11:02:59 AM   #29
Colin**
Administrator
is a Programmeris a Pokémon Researcheris a member of the Smogon Site Staffis a Shoddy Battle Administratoris a Smogon IRC SOp
 
Join Date: Jul 2007
Location: Edmonton, Alberta, Canada
Posts: 722
Default

It looks like your mysql settings are incorrect in server.properties, or perhaps you aren't running mysqld at all.
Colin is offline   Reply With Quote
Old Aug 9th, 2009, 11:20:26 AM   #30
YoshiEgg25
 
YoshiEgg25's Avatar
 
Join Date: Jun 2009
Location: Ecruteak City
Posts: 5
Default

Okay, since I believe my server.properties settings are correct, how do I run mysqld?
YoshiEgg25 is offline   Reply With Quote
Old Aug 9th, 2009, 11:35:08 AM   #31
Colin**
Administrator
is a Programmeris a Pokémon Researcheris a member of the Smogon Site Staffis a Shoddy Battle Administratoris a Smogon IRC SOp
 
Join Date: Jul 2007
Location: Edmonton, Alberta, Canada
Posts: 722
Default

Read the server guide carefully. Since you're using Windows, you have to start the mysql service in the services control panel.
Colin is offline   Reply With Quote
Old Aug 9th, 2009, 12:08:42 PM   #32
YoshiEgg25
 
YoshiEgg25's Avatar
 
Join Date: Jun 2009
Location: Ecruteak City
Posts: 5
Default

Okay, MySQL was already started, so I restarted it, and I got the same message. Also I can't have read that guide more thoroughly than I have. I'm entirely stumped at this point and have been going through pages of stuff looking for what is wrong.
YoshiEgg25 is offline   Reply With Quote
Old Aug 11th, 2009, 2:45:53 PM   #33
mohaji
 
mohaji's Avatar
 
Join Date: May 2009
Location: Germany
Posts: 174
Default

I've a question, I'be build a server and want to run it, the server window is open when I want to connect to the server but I can't connect to the server
why?
mohaji is offline   Reply With Quote
Old Aug 18th, 2009, 4:20:33 PM   #34
.River
 
.River's Avatar
 
Join Date: Jun 2007
Posts: 1,033
Default

I've successfully installed mysql, and completed all previous steps, but I get stuck on the next part which is connecting to the mysql database via the cmd.

__________________
Pokéshack v2 ~ now featuring free pokémon of the day!

pearl ~ 0861 1890 2489
diamond ~ 2363 7779 1153
platinum ~ 4769 6054 9627
(use platinum fc unless otherwise specified)
.River is offline   Reply With Quote
Old Aug 28th, 2009, 4:21:36 PM   #35
Vintage
 
Vintage's Avatar
 
Join Date: Jan 2009
Posts: 21
Default

Whenever I type in the admin username and password for this code: java -cp dist/ShoddyBattle.jar shoddybattle.AccountEditor USERNAME PASSWORD 2

in the MySQL program it always just does this:

java -cp dist/ShoddyBattle.jar shoddybattle.AccountEditor admin fakepassword 2
-->

So I input my information and then I get this little arrow underneath it. I don't know what to do to get around this. I am pre-assuming server.properties but thats only got my created database, registered mysql name and root pass.

Ummmm, help?
Vintage is offline   Reply With Quote
Old Sep 1st, 2009, 8:14:30 PM   #36
Duck92
 
Join Date: Jul 2009
Posts: 52
Default

Worked 100%! Thanks!
Duck92 is offline   Reply With Quote
Old Sep 5th, 2009, 11:18:22 AM   #37
Nilojan
 
Join Date: Jul 2009
Posts: 6
Default

I am havin g the same prob as th others how bout you give us the right download link to mysqld
Nilojan is offline   Reply With Quote
Old Sep 11th, 2009, 4:22:13 PM   #38
AuraG1
 
Join Date: Sep 2009
Posts: 1
Default

Ok so I'm at the part where I have to download MySQL, but there's so many different options, I'm not sure which one I have to pick. There are options for package format downloads and TAR packages downloads with multiple options for Mac OS X (I'm running version 10.5.8)

I picked Mac OS X 10.5 (PowerPC, 64-bit) under package format downloads and downloaded the program. I can't find the program itself, but there is something called MySQL server status, where there's an option to Start MySQL server, but when I click on it, nothing happens. Does anyone know what I'm doing wrong? =(
AuraG1 is offline   Reply With Quote
Old Sep 12th, 2009, 3:40:05 PM   #39
ericpenguin
 
Join Date: Sep 2009
Posts: 1
Default

Quote:
Originally Posted by Fat YoshiEgg25 View Post
Hey, I was wondering if anyone could help me out.

I'm attempting to create the first user, and when I use the command prompt, this always happens:



(Not user and password, name whited out.)

I'd really like to know what I've done wrong or haven't done as I'd like to get this done soon.

Thanks.
I've gotten the same exact error. If someone could figure this out, I'd be grateful. :3
ericpenguin is offline   Reply With Quote
Old Sep 27th, 2009, 9:57:36 PM   #40
DanielC
 
Join Date: Sep 2009
Posts: 3
Default

Just wondering if there's any *nix providers that allow for Shoddy server installation/hosting. Requiring root to install, I'm going to assume that this hasn't taken on for being an option, but wondering if anyone has ran into any host providers that allow it, or found ways around requiring root. thanks.
DanielC is offline   Reply With Quote
Old Oct 2nd, 2009, 1:12:38 PM   #41
mohaji
 
mohaji's Avatar
 
Join Date: May 2009
Location: Germany
Posts: 174
Default

See this image: http://img5.abload.de/img/hallowve2.png

Why it is so? Could someone help me please?

what is wrong here?
__________________
Working on: Barboach Analyses
mohaji is offline   Reply With Quote
Old Oct 2nd, 2009, 5:49:13 PM   #42
bearzly+
Shoddy Battle dev
is a Programmeris a Shoddy Battle Administrator
 
bearzly's Avatar
 
Join Date: Apr 2009
Location: Canada
Posts: 211
Send a message via AIM to bearzly
Default

Quote:
Originally Posted by Fat DanielC View Post
Just wondering if there's any *nix providers that allow for Shoddy server installation/hosting. Requiring root to install, I'm going to assume that this hasn't taken on for being an option, but wondering if anyone has ran into any host providers that allow it, or found ways around requiring root. thanks.
You don't need to be root to run shoddy battle

Quote:
Originally Posted by Fat mohaji View Post
See this image: http://img5.abload.de/img/hallowve2.png

Why it is so? Could someone help me please?

what is wrong here?
Make sure that ShoddyBattle/dist/ShoddyBattle.jar actually exists. If it doesn't then build it in netbeans by hitting F11 or the blue hammer icon. Also, you're supposed to replace USERNAME and PASSWORD by your desired username and password
bearzly is offline   Reply With Quote
Old Oct 3rd, 2009, 11:00:57 AM   #43
mohaji
 
mohaji's Avatar
 
Join Date: May 2009
Location: Germany
Posts: 174
Default

http://img2.abload.de/img/halloeoh1.png

It could not connect to the database what is wrong?
__________________
Working on: Barboach Analyses
mohaji is offline   Reply With Quote
Old Oct 3rd, 2009, 2:32:11 PM   #44
bearzly+
Shoddy Battle dev
is a Programmeris a Shoddy Battle Administrator
 
bearzly's Avatar
 
Join Date: Apr 2009
Location: Canada
Posts: 211
Send a message via AIM to bearzly
Default

You probably have the wrong username or password in your server.properties, or you never made a mysql account named mohaji.
bearzly is offline   Reply With Quote
Old Oct 5th, 2009, 1:33:01 PM   #45
mohaji
 
mohaji's Avatar
 
Join Date: May 2009
Location: Germany
Posts: 174
Default

Now the database is installed:
See this picture: http://img1.abload.de/img/hallog4ew.png
But the Shoddy Battle service hadn't bee added on the list of the services. What is wrong?
I've use this server.properties file:

Code:
##############################################################################
#
# Shoddy Battle Server Configuration File
#
# This file is read when the Shoddy Battle server initialises. Changing it
# after the server has initialised will have no effect. You will need to modify
# this file in order to set some basic settings. Lines that begin with a hash
# symbol (#) are ignored by the parser. These lines should give you an idea
# of what each setting does.
#
##############################################################################

# Name of the server. This is displayed in the client for users to read.
server.name = Official Pokemon-Inside.net Server

# A description of the server, which users can read.
server.description = Official server of pokemon-inside.net

# This is a universally unique identifier for your server that is used for
# distributing mods. Get a value for this by visiting
# http://shoddybattle.com/uuid
server.unique_name = 9d6a730af862108671034ac48011d77f

# The maximum number of people who can use your server.
server.capacity = 100

# The port on which you would like the server to run. You must enable TCP/IP
# and UDP forwarding on this port if you use a router or firewall.
server.port = 30001

# Metagame file to load.
# The server comes with advance.metagame and jewel.metagame.
server.metagame = jewel.metagame

# Patch file to apply against the metagame.
server.patch = patch.txt

# Should the server use a MySQL database for its account registry? If you do
# not want to set up a MySQL database, set this to 'no'. If you have a MySQL
# database and would like to use it with this server, set this to 'yes'.
server.use_database = no

# Automatically apply updates to the server? You may want to disable this
# if the server is a modified version. Do not disable it if you are merely
# planning on modifying the server sometime in the foreseeable future.
server.auto_update = yes

############################# FLAT FILE OPTIONS ##############################
# These options only need to be set if you have chosen not to use a MySQL
# database. They pertain to how the server will store the accountry registry
# on your hard drive.
##############################################################################

# This is the name of the file in which the account registry will be stored.
server.flat_file = accounts.db

# To avoid data loss, the flat file is periodically saved. This is the number
# of milliseconds between each of these backups. The default is one hour.
server.backup_delta = 3600000

########################### END FLAT FILE OPTIONS ############################


############################## DATABASE OPTIONS ##############################
# These options need to be set only if you have opted to use a MySQL
# database earlier in the file.
##############################################################################

# The host name of the computer that is running the MySQL server to be used
# with this server.
server.database_host = $UI_DATABASE_HOST

# The name of the MySQL database to use for this server.
server.database = $UI_DATABASE

# The user account to log into the MySQL database with.
server.database_user = 

# The password used with the MySQL account chosen above.
server.database_password = 

############################ END DATABASE OPTIONS ############################

------WebKitFormBoundaryfXD+ClfxKyzJiIEY
Content-Disposition: form-data; name="u.x"

59
------WebKitFormBoundaryfXD+ClfxKyzJiIEY
Content-Disposition: form-data; name="u.y"

46
------WebKitFormBoundaryfXD+ClfxKyzJiIEY--
__________________
Working on: Barboach Analyses
mohaji is offline   Reply With Quote
Old Oct 9th, 2009, 9:12:13 AM   #46
Kachalski
 
Kachalski's Avatar
 
Join Date: Jul 2009
Location: Formerly StormKid, who was formery Stormkid5
Posts: 162
Default

I get this problem:



What do I do? I've read over the guide a couple of times, I'm not entirely sure what it means by: "navigate to the folder where you have the sources"

Thanks for any help.
__________________
Quote:
Originally Posted by Fat Frankie Boyle
I cut my hand on a glass at your bar, you may want to throw that out because I'm Kachalski! The HIV positive Detective!
In memory of Frankie Boyle, Mock the Week will never be the same without you. May Russell Howard guide the way.
Kachalski is offline   Reply With Quote
Old Oct 9th, 2009, 8:47:20 PM   #47
DanielC
 
Join Date: Sep 2009
Posts: 3
Default

Attempting to install shoddy battle server on a *nix platform. The help files state that root is needed to install shoddy battle server, but someone recently stated that root wasn't needed. How else would would the server be installed on a *nix platform? thanks in advance.
DanielC is offline   Reply With Quote
Old Oct 9th, 2009, 8:53:45 PM   #48
bearzly+
Shoddy Battle dev
is a Programmeris a Shoddy Battle Administrator
 
bearzly's Avatar
 
Join Date: Apr 2009
Location: Canada
Posts: 211
Send a message via AIM to bearzly
Default

The only time that root is mentioned is for the mysql database. Most hosts provide mysql services and you can have your own account. You don't actually need to be root, but most people doing this on their home machines can just use root
bearzly is offline   Reply With Quote
Old Oct 9th, 2009, 10:05:53 PM   #49
Phenomenal
 
Join Date: Oct 2009
Posts: 2
Default

Just a question on having other people connecting: I followed that section of the guide word for word, and for some reason I still can't get it going. I have set up a static IP, I set the exceptions for my firewall, and still nothing.
Phenomenal is offline   Reply With Quote
Old Oct 9th, 2009, 10:33:43 PM   #50
bearzly+
Shoddy Battle dev
is a Programmeris a Shoddy Battle Administrator
 
bearzly's Avatar
 
Join Date: Apr 2009
Location: Canada
Posts: 211
Send a message via AIM to bearzly
Default

Did you also forward all the ports on your router?
bearzly is offline   Reply With Quote
Reply Smogon Community > Site & Projects > Shoddy Battle

« Previous Thread | Next Thread »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 1:42:37 AM.