Giter Club home page Giter Club logo

slippers's People

Contributors

tadhgboyle avatar wizguin 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  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

slippers's Issues

Can't start 2007 server

Getting a python traceback error when I launch slippers. /var/www/html/ is my web server directory.

pi@raspberrypi:/var/www/html/slippers $ python World.py 1
Traceback (most recent call last):
  File "World.py", line 4, in <module>
    from Server import Server
  File "/var/www/html/slippers/Server.py", line 1, in <module>
    import asyncio
  File "/home/pi/.local/lib/python2.7/site-packages/asyncio/__init__.py", line 9, in <module>
    from . import selectors
  File "/home/pi/.local/lib/python2.7/site-packages/asyncio/selectors.py", line 39
    "{!r}".format(fileobj)) from None
                               ^
SyntaxError: invalid syntax

Issues with 2005/2007

Alright, so i have so many problems with slippers. The reigster wont work, the igloo wont work, when you wear item and you log out they wont save on your skin on inventory. How do i fix this? Im hosting it on localhost btw

[World] Starting world 1 [Database] Could not connect to MySQL database (mysql.connector.errors.ProgrammingError) 1045 (28000): Access denied for user 'user'@'localhost' (using password: YES) (Background on this error at: http://sqlalche.me/e/f405) [PluginManager] 8 plugins loaded [Server] Server started on ('127.0.0.1', 6114)

I know you guys never respond to me but this error keeps appearing, I changed config.json,setup.xml, And login.php to the right port and everything, But it says [World] Starting world 1
[Database] Could not connect to MySQL database
(mysql.connector.errors.ProgrammingError) 1045 (28000): Access denied for user 'user'@'localhost' (using password: YES)
(Background on this error at: http://sqlalche.me/e/f405)
[PluginManager] 8 plugins loaded
[Server] Server started on ('127.0.0.1', 6114)
I've been trying to set this up for months please help me

Handling buddies for 2005 and 2007.

For 2005 (and maybe 2007, I don't use it alot), Buddies should be implemented. To be more specific, having buddy requests function and buddy lists save. This would be an awesome feature.

The server is on but i cant connect to blizzard

The server is setup and run correctly but I can't connect to it.
Server:
[World] Starting world 1
[Database] Connection successful.
[PluginManager] 8 plugins loaded
[Server] Server started on ('127.0.0.1', 6114)
Game:
Was not able to connect to the server.
Please click to learn more.

Cannot Join Servers Half the time

In console I get </ policy-file-request> even though i have a crossdomain.xml on both server and website. Sometimes it works, but kicks players after a few minutes.

Got server running, but how do I join?

Hey
bored from isolation, so wanted to give this a spin.
I have everything installed and working fine but when i navigate to localhost:6114 it loads forever.
I had to install mysql-connector-python in order to avoid this error "mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported" from Database.py, so I see the Connection Successful message in console.
I can see my GET request logged in console but nothing happens.
What must I do?
Thanks

server crash

hi, sorry to interrupt again this is already the tenth error I had, I fixed all the others alone, I turned on the server and when I logged into the game, the game didn't even identify the penguin and when I went to look at the cmd, the game was crashed... THE GAME LOADS INFINITLY
image

Default account

Hey,
I wanted to know the default password for the user "User" already registered in the database.

Stuck on Adding Player

Slippers is not letting me login it gets stuck on Adding Player.

Here are the logs:

[World] Starting world 1
[Database] Connection successful
[PluginManager] 8 plugins loaded
[Server] Server started on ('vps ip', 6114)



[PluginManager] Error handling event: login {'msg': {'@t': 'sys', 'body': {'@action': 'login', '@r': '0', 'login': {'@z': 'w1', 'nick': None, 'pword': '0'}}}}
Error: 'NoneType' object has no attribute 'lower'

Webserver and py server working fine but cant join any CP server

hi
i have got everything working and i can sign in with user and test for username and password but it seems none of the club penguin servers are joinable. it loads forever and then gets the orange popup saying "was not able to connect to server". no output in console

any ideas?

Getting a load error on launch

When I try to get to the login screen I get this
image

The server appears to boot up normally
image

Is there something I am doing wrong? I am using the 2007 media and put the get plugin into the plugins folder, but I get the same issue with the 2005 media

Cannot connect

So recently, i changed MySQL port from 8111 to 5723, because port 8111 was blocked. And when i started world server, this shows up
image
I hope someone can tell me how to fix this

How to join?

Hello,

Like a year ago, I said that my mySQL Database was not working.
Now it's working! ๐Ÿ˜„

But when my server is doing well, the client doesn't.
Just, how to join the server (what client and what file)?

Kind regards,
JulianOS132

asyncio

It asks to import from asyncio, but it is not available anywhere.
Can you to help me configure and where to put all of the things to load the game?
Thank you!

Error when running world server

I've installed requirements.txt as it says in the wiki and even if I try running requirements.txt in pip again it says that the requirements are statisfied
When running py World.py 1 I get the following error:

C:\Users\Noah\Desktop\slippers>py World.py 1 [World] Starting world 1 Traceback (most recent call last): File "World.py", line 32, in <module> main() File "World.py", line 28, in main World(sys.argv[1], config) File "World.py", line 18, in __init__ self.db = Database(config) File "C:\Users\Noah\Desktop\slippers\world\Database.py", line 14, in __init__ *config["database"].values())) File "C:\Users\Noah\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\engine\__init__.py", line 435, in create_engine return strategy.create(*args, **kwargs) File "C:\Users\Noah\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\engine\strategies.py", line 87, in create dbapi = dialect_cls.dbapi(**dbapi_args) File "C:\Users\Noah\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\dialects\mysql\mysqlconnector.py", line 129, in dbapi from mysql import connector ModuleNotFoundError: No module named 'mysql'

JSONDecodeError

Hello @wizguin , how are you? I've been having an error with the codename of ''JSONDecodeError'', it happened after I solved the asyncio problem, I don't know anything about this error, could you help me? Thank you!
Screenshots:
image

Can't become a secret agent

So i managed to set up the CPPS on my Windows 7 VM (i used the 2005 client) and what i noticed is i can't become a secret agent. I answered every single question correctly, but no luck. Is there any way i can "cheat in" a spy phone e.g. by typing stuff in the JavaScript Console?

Help modifying chat___.swf for the 2007 version

Hi, I was able to get the 2005 version working but I'm having issues modifying the world setup for the 2007 version via the chat___.swf file as described in the wiki. I've used flasm to decompile the .swf file and there is at least one interesting function which I assume has control over where the client tries to connect:

    function2 makeServer (r:3='name', r:4='crumb', r:5='isSafe') ()
      push r:crumb
      setRegister r:2
      pop
      push '|', 1, r:2, 'split'
      callMethod
      setRegister r:2
      pop
      push 0.0, 'Object'
      new
      setRegister r:1
      pop
      push r:1, 'Name', r:name
      setMember
      push r:1, 'IP', 'mySetup'
      getVariable
      push 'Sockets'
      getMember
      push r:2, 0.0
      getMember
      getMember
      setMember
      push r:1, 'Port', 'mySetup'
      getVariable
      push 'Ports'
      getMember
      push r:2, 1
      getMember
      getMember
      setMember
      push r:1, 'IsSafeMode', r:isSafe
      setMember
      push r:1, 'IsOnline', TRUE
      setMember
      push r:1, 'Pop', 0.0
      setMember
      push r:1
      return
    end // of function makeServer

Sadly I don't have any experience with this type of code and don't know how to change this function (and recompile) so that it points the client to my servers IP and Port so any help with this would be greatly appreciated. If anyone knows about other ways of modifying the chat___.swf file to configure where the client connects I would of course also be interested.

full decompile of chat___.swf

Error while loading MySQL Database.

Hello, I am using XAMPP, PHP 7.3.8 and I am getting a problem while loading the server:
[World] Starting world 1
[Database] Could not connect to MySQL database

Can somebody solve this problem?

I am running the server at 127.0.0.1:6114.

Can't create an account

Hello,

I'm using the 2007 media server and configured everything with your wiki.
I'm experiencing some issues:

Is there a server I should connect to, to make it work ?

OS: Ubuntu 5.4.0-52
Webserver: Apache

Task was destroyed but still pending!

image
I'm very unsure if this is related to my server not functioning or not, but I keep having this issue while shutting my server down.
Is this normal?

Not able to Connect on Other Devices

I've port forwarded my Slippers Server to ngrok, however eveytime I or any other person try to join there is an error.
The error is as follows:
"Was not able to connect to the server
Please click to learn more."
There is no error in the Server or Logs.

"[PluginManager] Error handling event: login {'msg': {'@t': 'sys', 'body': {'@action': 'login', '@r': '0', 'login': {'@z': 'w1', 'nick': None, 'pword': '0'}}}} Error: 'NoneType' object has no attribute 'lower'"

I have set up a server, but when I try connecting from other clients within my home network, The console says
"[PluginManager] Error handling event: login {'msg': {'@t': 'sys', 'body': {'@action': 'login', '@r': '0', 'login': {'@z': 'w1', 'nick': None, 'pword': '0'}}}} Error: 'NoneType' object has no attribute 'lower'"
I have tried modifying the config files and other stuff, Help would be appreciated.
Thanks!

A few questions

Hi. so i followed all the steps and some room are still pixilated for the 2007 media server.
2. Will this ever form into a full CPPS ready product or should I use Houdini?

Connecting To Server

It Can't Connect To Any Server
It Says Was Not Able To Connect To The Server
Here's The Server Info C:\Users\Danie\Downloads\slippers-master>python World.py 1
[World] Starting world 1
Traceback (most recent call last):
File "C:\Users\Danie\Downloads\slippers-master\World.py", line 32, in
main()
File "C:\Users\Danie\Downloads\slippers-master\World.py", line 28, in main
World(sys.argv[1], config)
File "C:\Users\Danie\Downloads\slippers-master\World.py", line 18, in init
self.db = Database(config)
^^^^^^^^^^^^^^^^
File "C:\Users\Danie\Downloads\slippers-master\world\Database.py", line 13, in init
engine = create_engine("mysql+mysqlconnector://{}:{}@{}/{}".format(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Danie\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine_init_.py", line 435, in create_engine
return strategy.create(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Danie\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine\strategies.py", line 87, in create
dbapi = dialect_cls.dbapi(**dbapi_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Danie\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\dialects\mysql\mysqlconnector.py", line 129, in dbapi
from mysql import connector
ModuleNotFoundError: No module named 'mysql'

Python World.py Error

When opening "World.py" with python 3 or 2, this error outputs:

`[unixKernel htdocs]# python World.py 1 #RUNNING WITH PYTHON3 AS ROOT
[World] Starting world 1
Traceback (most recent call last):
File "World.py", line 32, in
main()
File "World.py", line 28, in main
World(sys.argv[1], config)
File "World.py", line 18, in init
self.db = Database(config)
File "/opt/lampp/htdocs/world/Database.py", line 13, in init
engine = create_engine("mysql+mysqlconnector://{}:{}@{}/{}".format(
File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/init.py", line 435, in create_engine
return strategy.create(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/strategies.py", line 87, in create
dbapi = dialect_cls.dbapi(**dbapi_args)
File "/usr/lib/python3.8/site-packages/sqlalchemy/dialects/mysql/mysqlconnector.py", line 129, in dbapi
from mysql import connector
ModuleNotFoundError: No module named 'mysql'

[unixKernel htdocs]# python2 World.py 1 RUNNING WITH PYTHON2 AS ROOT
Traceback (most recent call last):
File "World.py", line 4, in
from Server import Server
File "/opt/lampp/htdocs/Server.py", line 1, in
import asyncio
ImportError: No module named asyncio
`

How to make the scripts work fine?
All the pip requirements from .txt file was already installed successfully.

getaddrinfo failed

Everytime I try to load the server I get an error:

[World] Starting world 1
[Database] Could not connect to MySQL database
(mysql.connector.errors.InterfaceError) 2013: Lost connection to MySQL server during query
(Background on this error at: http://sqlalche.me/e/rvf5)
[PluginManager] 8 plugins loaded
Traceback (most recent call last):
File "C:\xampped\erm\World.py", line 32, in
main()
File "C:\xampped\erm\World.py", line 28, in main
World(sys.argv[1], config)
File "C:\xampped\erm\World.py", line 22, in init
super(World, self).init(config, world_id, self.users, self.db, self.handler)
File "C:\xampped\erm\Server.py", line 16, in init
self.server = self.loop.run_until_complete(self.coro)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1491, in create_server
infos = await tasks.gather(*fs)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1423, in _create_server_getaddrinfo
infos = await self._ensure_resolved((host, port), family=family,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1419, in _ensure_resolved
return await loop.getaddrinfo(host, port, family=family, type=type,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 867, in getaddrinfo
return await self.run_in_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\socket.py", line 962, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno 11001] getaddrinfo failed

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.