Giter VIP home page Giter VIP logo

soapbox-race's Introduction

soapbox-race

Webserver to handle cars and pilots profiles.

##How to: My advice is to download Eclipse JavaEE, and after that download eGit Maven SCM profile from the Eclipse marketplace(both free). After importing the project from the SCM profile, build the server with the built-in maven using clean compile assembly:single.

##Running the server:

  • mysql db server running

  • openfire xmpp server running (try openfire/README.md file)

  • edit soapbox.properties file

    java -jar soapbox-race-version-jarname.jar

example:

java -jar soapbox-race-1.0.jar

##How to login

  • Users + Password hashes(SHA-1) (default MySQL entries):
format:
email            passwordHash
debug@player1    a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
debug@player2    a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
debug@player3    a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
  • Get loginToken and userID with:

http://ip-to-http-host:1337/soapbox/Engine.svc/user/authenticateUser?email=SOME_EMAIL&password=SOME_HASH_PASSWORD

examples:

http://localhost:1337/soapbox/Engine.svc/user/authenticateUser?email=debug@player1&password=a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
http://localhost:1337/soapbox/Engine.svc/user/authenticateUser?email=debug@player2&password=a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
http://localhost:1337/soapbox/Engine.svc/user/authenticateUser?email=debug@player3&password=a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
  • Launch soapbox.exe with the parameters:

soapbox.exe ANYTHING_YOU_WANT http://ip-to-http-host:1337/soapbox/Engine.svc loginToken userId

example:

soapbox.exe US http://localhost:1337/soapbox/Engine.svc 3484061174147 3

##How to create users

  • Create user

http://ip-to-http-host:1337/soapbox/Engine.svc/user/createUser?email=SOME_EMAIL&password=SOME_HASH_PASSWORD

example

http://localhost:1337/soapbox/Engine.svc/user/createUser?email=myuser@somewhere&password=a94a8fe5ccb19ba61c4c0873d391e987982fbbd3

##Launcher development

Please follow https://github.com/berkay2578/soapbox-race-launcher for more info.

soapbox-race's People

Contributors

berkay2578 avatar berkayylmao avatar hezensd avatar nilzao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

soapbox-race's Issues

Crash clients

After joining of the second player (player 2), input of a nickname and pressing "Next" has taken off from already entered player (player 1) for the world (The client was closed,crash) and also the client was closed at second (player 2). It was connected on a local network

http://pastebin.com/4suSVbdw

P.S: I have written the report that you knew

why udp server show invalid hello packet!

Generic udp server

to change port and protocol run:
java -jar soapbox-udp.jar PORT FULL_PROTOCOL_CLASS_NAME

Example:
java -jar soapbox-udp.jar 1234 br.com.xht.udp.protocol.string.StringProtocol

listening on port: [9999]
with protocol: [br.com.xht.udp.protocol.string.StringProtocol]

invalid hello packet!
invalid hello packet!
invalid hello packet!

[Connection-Bug] De-Sync and and and.. :/

Issues:
De-Sync (1 Mins)
I cant see each other.
Add a Friends dont work.
I cant / now how to change the Port or IPv4

Tryed to fix it:
Runed anything with Admin.
Deactivated my Firewall and Anti-Virus
Tryed to change the Ports to the 9998 or 1337

Plz help me :/

Where is soapbox.exe?

The README file mentions running a soapbox.exe file when you get your user ID and login token. Where is soapbox.exe?

Also, if you wouldn't mind giving some advice to someone who's trying to make their own server: Do you pass a user ID and login token to nfsw.exe along with the IP address of the server? I can't imagine any other way it would be done.

[Bug] "Switch Drivers" causes game to crash due to a 500 error

When using the server, trying to use the "Switch Drivers" button in NFS:W makes the game crash immediately, saying there was a 500 error. Based on some investigating I did, it seems like a 500 error is occurring when the carslots URL is called for a persona. When I go to it in the browser, I get a 500 error as well. However, no error response is returned so my browser displays a default page.

Any clue why this is happening? I'm sorry I can't provide more details; I don't do this very often.
Hopefully it's a simple fix. I'm not sure if this is even happening with other people, but I don't see why it wouldn't.

Failing to start

Java reports "no main manifest attribute, in soapbox-race-1.0.1-SNAPSHOT.jar"

OS: Ubuntu Server 16.04.1 x64

Start lobby

I have started the race and udp server on one computer, also from this computer I have come into game and I have created a lobby. The second player doesn't see a lobby (There is an eternal search of players)
Computers are connected to the help of local WIFI
Sorry for my English
What I not correctly do?
PS: IP are entered two times in a line of start of the "soapbox-race" server
PSS: On VDS the same problem at me. Database everywhere MySQL

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.