Guide to building the Shoddy Battle 1 server from source

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.
 
when creating the first user, what do they mean by navigating to the folder containing the sources, and how do i do that?
 
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.
 

Cathy

Banned deucer.
It looks like your mysql settings are incorrect in server.properties, or perhaps you aren't running mysqld at all.
 
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.
 
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?
 
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.

 
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?
 
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? =(
 
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
 
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.
 

bearzly

Shoddy Battle dev
is a Battle Simulator Admin Alumnusis a Programmer Alumnusis a Forum Moderator Alumnus
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

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

Shoddy Battle dev
is a Battle Simulator Admin Alumnusis a Programmer Alumnusis a Forum Moderator Alumnus
You probably have the wrong username or password in your server.properties, or you never made a mysql account named mohaji.
 
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--
 
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.
 
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.
 

bearzly

Shoddy Battle dev
is a Battle Simulator Admin Alumnusis a Programmer Alumnusis a Forum Moderator Alumnus
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
 
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.
 

Users Who Are Viewing This Thread (Users: 1, Guests: 0)

Top