wizguin / slippers Goto Github PK
View Code? Open in Web Editor NEWA Club Penguin server emulator for the original 2005 client
License: MIT License
A Club Penguin server emulator for the original 2005 client
License: MIT License
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
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
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
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.
Hi when i start the server here is my problem :
When i go to myserver:6115
(i bind the server on 6114 and apache2 on 6115)
i got this http://prntscr.com/vsdtk9
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.
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.
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
Hey,
I wanted to know the default password for the user "User" already registered in the database.
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'
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?
Help
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
I've done all the steps according to the wiki, but... how do I play it?
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!
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'
Hello,
I have seen this issue today, is it a bug, or it will be added in a newer release?
Kind regards,
JulianOS132
Currently at the moment, I am unable to connect to my own servers, I believe it has to do with login.php spewing out this.
"Notice: Undefined index: Username in C:\xampp\htdocs\php\login.php on line 10 &e=100"
I am unsure what to do, any help is appreciated!
I edited the chatXXX.swf for the server ip, but it still wont connect. please help
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:
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?
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.
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.
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
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.
Hello, anyone can help me? ty
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!
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?
Hi! im new on the cpps emulator community and
I think I did everything right, the server seems to connect, but I can't get into the game
see the pic: https://imgur.com/a/VIgyWmg
if you want, see if i configured something wrong:
https://imgur.com/a/HBlvCFR
https://imgur.com/a/w5Ev3zT
https://imgur.com/a/eRSdwbU
https://imgur.com/a/OEwJw89
excuse me if i'm bothering you and please let me know!
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'
Can Anyone Help Me?
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.
I Can Log In But When It Says
Was Not Able To Connect To Server
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.