Coder Social home page Coder Social logo

wlus's Introduction

WLUS

This is a LEGO Universe Emulator written in Python 3.7

Installation

This version of WLUS is still a major WIP, and installation is currently not supported. A tutorial for an older version of WLUS can be found here https://lusprojects.github.io/

Pyraknet

Pyraknet has been removed from BitBucket. The commit WLUS uses is https://github.com/lcdr/pyraknet/tree/a43ec7ce3bff64a96786a361d9df922b4bb676ba

Disclaimer

The LEGO Group has not endorsed or authorized the operation of this game and is not liable for any safety issues in relation to its operation

wlus's People

Contributors

wesley-demontigny avatar

Stargazers

Aaron Kimbrell avatar BZK avatar Luc avatar Adam Hlaváček avatar Tan Siret A. avatar Jett avatar Paul avatar Joe avatar plasma_node avatar Aldo B. avatar antoineok avatar I. Cetkovic avatar Luke Hermanstein avatar Phil avatar Majick Tek avatar d3spi avatar Justin avatar  avatar  avatar  avatar Xavier Travers avatar  avatar Blake avatar Adam Kalayjian avatar

Watchers

James Cloos avatar Xavier Travers avatar Adam Kalayjian avatar plasma_node avatar  avatar Colin Wallimann avatar Blake avatar  avatar Andrew Luchuk avatar Jett avatar Luca avatar

wlus's Issues

Here is an issue I am facing.

Everything works. Every map loads fine, every command works, I can spawn anything.

However:

Nomatter which ports I change in the config I cannot seem to get it working over LAN, even on the same PC. I can correctly get the server to launch on my public IP, but the client refuses to connect.

I am using the release build if that helps. I realise a build from source could improve things greatly.

Severe security breach: SQL injection

Safe SQL statements aren't being used. Because of this...

DO NOT HOST THIS SERVER UNTIL THIS ISSUE IS CLOSED

You can SQL inject the server causing your valuable information to be leaked.

Setup file

Add a setup file so people don't have to set up dependencies themselves

What is not working?

Hello,
I know you are probably not working on WLUS anymore, but I am interested, what is not working compared to the original LU.
Best regards,
Ben.

The Beginning

Okay, so I made a new minifig, but when I played the game on a new minifig, there's no one in the gameplay area, not even the npcs or my character. What do I do?

I know world loading is an issue but here is another error I found

Exception in thread Thread-24:
Traceback (most recent call last):
File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Program Files\Python37\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Anthony\Desktop\LuPvP-master\PyLUS-master\WLUS-master\world_server.py", line 237, in handle_join_world
if (player["Data"]["position"].X < 2 and player["Data"]["position"].Y < 2 and player["Data"]["position"].Z < 2):
TypeError: '<' not supported between instances of 'str' and 'int'

Things I run into (Maybe note an issue :\)

Thing 1

Traceback (most recent call last):
  File "C:\Users\digit\AppData\Local\Programs\Python\Python36\lib\threading.py", line 916, in _bootstrap_inner
    self.run()
  File "C:\Users\digit\AppData\Local\Programs\Python\Python36\lib\threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "F:\Programs\Lego Universe\WLUS-master\WLUS-master\world_server.py", line 208, in handle_join_world
    if (player["Data"]["position"].X < 2 and player["Data"]["position"].Y < 2 and player["Data"]["position"].Z < 2):
AttributeError: 'str' object has no attribute 'X'

Thing 2

Exception in thread Thread-12:
Traceback (most recent call last):
  File "C:\Users\digit\AppData\Local\Programs\Python\Python36\lib\threading.py", line 916, in _bootstrap_inner
    self.run()
  File "C:\Users\digit\AppData\Local\Programs\Python\Python36\lib\threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "F:\Programs\Lego Universe\WLUS-master\WLUS-master\player_service.py", line 22, in sync_thread
    self.sync_database()
  File "F:\Programs\Lego Universe\WLUS-master\WLUS-master\player_service.py", line 91, in sync_database
    character_table.update(character, "player_id = {}".format(character["player_id"]))
  File "F:\Programs\Lego Universe\WLUS-master\WLUS-master\database.py", line 76, in update
    c.execute(query_string)
sqlite3.OperationalError: no such column: position

Thing 3

Exception in thread Thread-21:
Traceback (most recent call last):
  File "C:\Users\digit\AppData\Local\Programs\Python\Python36\lib\threading.py", line 916, in _bootstrap_inner
    self.run()
  File "C:\Users\digit\AppData\Local\Programs\Python\Python36\lib\threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "F:\Programs\Lego Universe\WLUS-master\WLUS-master\world_server.py", line 162, in handle_detailed_user_info
    char.set("cc", str(player["currency"]))
KeyError: 'currency'

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.