Giter Club home page Giter Club logo

Comments (10)

Michal2SAB avatar Michal2SAB commented on June 3, 2024 1

Then you're not hosting your server properly.

from stick-arena-private-server.

Michal2SAB avatar Michal2SAB commented on June 3, 2024

Kevin's repository is for an old version of stick arena (pre ballistick and dimensions). If that's what you want to work with, follow his instructions. This repository is totally different as it's for ballistick (newer stick arena)

  1. You need to compile the source code (java classes in src/ballistickemu) and make it into a BallistickEMU.jar file which will be located in ballistick/dist directory.
  2. It should be the name of the SWF that is inside the directory so that's my bad, I'll rename it to sab.swf
  3. The entire stickarena directory can be passed to htdocs on your localhost server or wherever you wanna host it on the web

from stick-arena-private-server.

Leeskjold avatar Leeskjold commented on June 3, 2024

Thanks for the reply! unfortunately i am having some trouble building the java classes from source, i get "Main.java:11: error: package ballistickemu.Lobby does not exist" along with the other folders, it's like it's not being seen. I used javac "Main.java" in /src

from stick-arena-private-server.

Michal2SAB avatar Michal2SAB commented on June 3, 2024

Try compiling it with netbeans

from stick-arena-private-server.

Leeskjold avatar Leeskjold commented on June 3, 2024

ah sorry to keep hounding you with questions man! I'm having a manifest error now, although there is a manifest file in there, i peek in the built jar and it's structured like "/meta-inf and /ballistickemu along with main.class and all relating folders like lobby and game. is the structure correct or am i overlooking something?

edit: structure looks good according to oracle, but the manifest issue still persists. no main manifest attribute, in dist\BalliStickEMU.jar

edit again: i have fixed the manifest, but now i am being thrown "java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.sql.Connection.isClosed()" because "ballistickemu.Tools.DatabaseTools.db_Connection" is null
at ballistickemu.Tools.DatabaseTools.executeSelectQuery(DatabaseTools.java:110)
at ballistickemu.Types.StickShop.PopulateShop(StickShop.java:33)
at ballistickemu.Main.main(Main.java:68)"

    i am not sure how to fix this as my java knowledge is very limited. I'm surprised i got as far as i did hah.

from stick-arena-private-server.

Michal2SAB avatar Michal2SAB commented on June 3, 2024

The error you're getting is from running the jar right? If yes then it's most likely because you're not running the jar on any localhost or vps etc. It can't read the database because it can't connect to it. If you are running a server then check if you have imported the database and configured it in stick_arena.php file (linked to it properly, with your db password, user and db name)

from stick-arena-private-server.

Leeskjold avatar Leeskjold commented on June 3, 2024

yes i can confirm i have linked everything to the best of my knowledge, my db name is 'ballistickemu' with import of the structure.. and the user I made for it is 'weewee' there is more to this but github cuts my message so here's a drive link to the full. https://drive.google.com/file/d/1GLMCEO63rwFfEcIB474EMO25I8Bf3N-7/view?usp=share_link

stickarena.php

from stick-arena-private-server.

Leeskjold avatar Leeskjold commented on June 3, 2024

from stick-arena-private-server.

Leeskjold avatar Leeskjold commented on June 3, 2024

from stick-arena-private-server.

Leeskjold avatar Leeskjold commented on June 3, 2024

from stick-arena-private-server.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.