Code Monkey home page Code Monkey logo

soapbox-race-core-old's Introduction

Go to https://github.com/ApexSBRW/soapbox-race-core for active development on the dev branch.


soapbox-race-core

standalone.xml need to have gzip, here an example

<subsystem xmlns="urn:jboss:domain:undertow:3.1">
  <buffer-cache name="default" />
  <server name="default-server">
    <http-listener name="default" socket-binding="http" redirect-socket="https" enable-http2="true" />
    <https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true" />
    <host name="default-host" alias="localhost">
      <location name="/" handler="welcome-content" />
      <filter-ref name="server-header" />
      <filter-ref name="x-powered-by-header" />
      <filter-ref name="gzipFilter"
        predicate="exists['%{o,Content-Type}'] and regex[pattern='(?:application/javascript|text/css|text/html|text/xml|application/json|application/xml)(;.*)?', value=%{o,Content-Type}, full-match=true] and not min-content-size[10]" />
      <filter-ref name="Vary-header" />
    </host>
  </server>
  <servlet-container name="default">
    <jsp-config />
    <websockets />
  </servlet-container>
  <handlers>
    <file name="welcome-content" path="${jboss.home.dir}/welcome-content" />
  </handlers>
  <filters>
    <response-header name="server-header" header-name="Server" header-value="WildFly/10" />
    <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1" />
    <response-header name="Vary-header" header-name="Vary" header-value="Accept-Encoding" />
    <gzip name="gzipFilter" />
  </filters>
</subsystem>

system property example:

 <system-properties>
    <property name="openFireToken" value="xzxzx99df4d51z2d" />
    <property name="openFireAddress" value="http://localhost:9090/plugins/restapi/v1" />
    <property name="xmppIp" value="127.0.0.1" />
    <property name="xmppPort" value="5222" />
    <property name="udpRaceIp" value="127.0.0.1"/>
    <property name="udpRacePort" value="9998"/>
    <property name="udpFreeroamIp" value="127.0.0.1"/>
    <property name="udpFreeroamPort" value="9999"/>
    <property name="ticketToken" value="123456789"/>
    <property name="emailFrom" value="[email protected]" />
    <property name="serverAddress" value="http://127.0.0.1:8680" />
    <property name="promoCodeToken" value="987654321" />
  </system-properties>

datasource example:

<datasource jndi-name="java:jboss/datasources/SoapBoxDS" pool-name="SoapBoxDS" enabled="true" use-java-context="true">
  <connection-url>jdbc:h2:tcp://localhost/~/git/soapbox-race-core/db/soapbox</connection-url>
  <driver>h2</driver>
  <security>
    <user-name>sa</user-name>
    <password>sa</password>
  </security>
</datasource>

email config example:

<subsystem xmlns="urn:jboss:domain:mail:2.0">
  <mail-session name="default" jndi-name="java:jboss/mail/Default">
    <smtp-server outbound-socket-binding-ref="mail-smtp" />
  </mail-session>
  <mail-session name="Gmail" from="[email protected]" jndi-name="java:jboss/mail/Gmail">
    <smtp-server password="secretPassword" username="[email protected]" ssl="true" outbound-socket-binding-ref="mail-smtp-gmail" />
  </mail-session>
</subsystem>
......
<outbound-socket-binding name="mail-smtp">
  <remote-destination host="localhost" port="25" />
</outbound-socket-binding>
<outbound-socket-binding name="mail-smtp-gmail" source-port="0" fixed-source-port="false">
  <remote-destination host="smtp.gmail.com" port="465" />
</outbound-socket-binding>

donations: https://www.patreon.com/nilzao

soapbox-race-core-old's People

Contributors

leocodes21 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  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

soapbox-race-core-old's Issues

Can't connect from public ip when the host is local. (Conflicts?)

Title explains it, though it works when you use localhost, or the ip that the router give for LAN connection.
I'm not sure if it's my routeur bugging too atm.
Not sure what's wrong, but I get this login fail error (https://imgur.com/a/23AJ6) after launching by waiting some seconds it could be useful I guess if it could be fixed (So I don't have to write two ip on the serverlist to connect to my actual server), must be some conflicts while connecting, dunno.

Otherwhise it works perfectly, thanks for this amazing project.

Can't reset my password

I forgot my password and never be able to log in since your 'forgot password' says ERROR: Can't send e-mail!. I also found your forgotPasswd.jsp page, but it also does not work.

What did I do wrong?

When opening Wildfly, I get this error:

`18:42:39,043 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed
to parse configuration
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:131)
at org.jboss.as.server.ServerService.boot(ServerService.java:357)
at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[427,9]
Message: WFLYCTL0069: Duplicate subsystem declaration
at org.jboss.as.server.parsing.StandaloneXml_4.parseServerProfile(StandaloneXml_4.java:541)
at org.jboss.as.server.parsing.StandaloneXml_4.readServerElement(StandaloneXml_4.java:242)
at org.jboss.as.server.parsing.StandaloneXml_4.readElement(StandaloneXml_4.java:141)
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:103)
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:49)
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)
... 3 more

18:43:56,474 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.`

My config:

https://pastebin.com/EHwru0Ph

A little help with server

hi i know that you write how to install the server on linux/windows but i don't understand how to do it can you please make a tutorial or something? Thanks a lot :D

purchase

Hi,

When you buy a car or anything else, the money does not go down.
How to solve the problem ?
Thanks in advance

login failed /'getpermanentsession'

i cant launch the game when i press on play now i get login failed then i recieve another message saying server was unable to connect vai 'getpermannentsession' restart the game
i have windows 10 build 1809

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.