times-0 / timeline Goto Github PK
View Code? Open in Web Editor NEWAS2 & AS3 CPPS Emulator, written in Python. (Club Penguin Private Server Emulator)
Home Page: https://times-0.github.io/
License: GNU General Public License v3.0
AS2 & AS3 CPPS Emulator, written in Python. (Club Penguin Private Server Emulator)
Home Page: https://times-0.github.io/
License: GNU General Public License v3.0
im error in start .py
pls help
out this
INFO | Starting MySQL DB Pool... @root:timeline
ERROR | Unable to start MySQL Pool on given details. (E:global name 'cpps' is not defined)
INFO | Unable to setup MySQL Pool
When installing the required pip modules (specifically Watchdog) this error occurs.
Collecting watchdog Downloading https://files.pythonhosted.org/packages/f3/6e/14f228ece54c289af148f9f588d9e591fa8294e36193c1904682affb2751/watchdog-1.0.0.tar.gz (97kB) 100% |████████████████████████████████| 102kB 4.1MB/s Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-qUhb6T/watchdog/setup.py", line 18, in <module> import importlib.util ImportError: No module named util
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-qUhb6T/watchdog/
I think this is a issue with the module itself but i couldn't find anything online and in case you need any extra information: am using Ubuntu 18.04 and had followed the setup guide exactly with mariadb.
Fixed the issue by downgrading to a older watchdog version (0.10.6)
When executing Start.py gives this error
Traceback (most recent call last):
File "Start.py", line 94, in HotLoadModule
return Handler.startLoadingModules()
File "/CPPS/Timeline/Timeline/Utils/Modules.py", line 220, in startLoadingModules
Defer.addErrback(self.loadingException)
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 333, in addErrback
errbackKeywords=kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 311, in addCallbacks
self._runCallbacks()
--- ---
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/CPPS/Timeline/Timeline/Utils/Modules.py", line 212, in loadingException
sys.exit(0)
exceptions.SystemExit: 0
CRITICAL |
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/CPPS/Timeline/Timeline/Utils/Modules.py", line 212, in loadingException
sys.exit(0)
SystemExit:
0
Also would be great if you could contact me on discord , please leave your discord.
I am using a VPS with ubuntu 18.04, I followed the tutorial step by step and everything seems to be working ( no errors while running etc ). However, when I go to the play domain and click the login button, nothing loads. Flash is enabled and in dev tools everything loads fine ( including clubpenguin.swf). I've tried changing the IP in start.py to 0.0.0.0 and other stuff but nothing seems to work. Thank you.
Why penguin (no moderator) are with a name: P(id) in game ? How to resolve this ? (sorry i'm french)
TEXT IN FRENCH : Pourquoi les pingouins (non modérateurs) ont un nom sous la forme P(id) dans le jeu ? Comment resoudre cela ?
I can Login but when I try to join the server it kicks me.
After that this pop up:
(The password is ok)
Here you have the log and the console error.
TimelineLogs.log
I was just following the tutorial when I hit a roadblock, I was installing AS3 and media1 was missing.
It all happened when I tried to nano the file and it wasn't there.
I went from directory to directory trying to find it and it wasn't there, I honestly couldn't find it anywhere, It may just be me being dumb and not being able to find it or it might have disappeared.
I just bought a domain just for this and I can't wait to host my own cpps, the guild is well written and pretty good and the code hasn't made me pull my hair out yet.
Hello, i can't connect to the server. My penguin gets disconnect by this error :
'' ERROR | [WS:Gravity] <Penguin #1 on 3724>, AS3p need more than 1 value to unpack ''
Here is the full trace log :
DEBUG | [WS:Gravity] [SEND] <Penguin #0 on 3724>, AS3p
DEBUG | [WS:Gravity] [RECV] <Penguin #0 on 3724>, AS3p
DEBUG | [WS:Gravity] [SEND] <Penguin #0 on 3724>, AS3p
INFO | [WS:Gravity] <Penguin #0 on 3724>, AS3p Disconnected Reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
]
INFO | [WS:Gravity] Built new protocol for user#0
DEBUG | [WS:Gravity] [SEND] <Penguin #1 on 3724>, AS3p
DEBUG | [WS:Gravity] [RECV] <Penguin #1 on 3724>, AS3p
DEBUG | [WS:Gravity] [SEND] <Penguin #1 on 3724>, AS3p
DEBUG | [WS:Gravity] [RECV] <Penguin #1 on 3724>, AS3p
DEBUG | [WS:Gravity] [SEND] <Penguin #1 on 3724>, AS3p v$WJ-4U'2]]>
DEBUG | [WS:Gravity] [RECV] <Penguin #1 on 3724>, AS3p
ERROR | [WS:Gravity] <Penguin #1 on 3724>, AS3p need more than 1 value to unpack
INFO | Penguin ASync-Refresh-ing : Penguin - $Ensei, Forced - False
INFO | Penguin ASync-Refresh-ing : Penguin - $Ensei, Forced - False
INFO | Penguin ASync-Refresh-ing : Penguin - $Ensei, Forced - False
INFO | Penguin ASync-Refresh-ing : Penguin - $Ensei, Forced - False
INFO | Penguin ASync-Refresh-ing : Penguin - $Ensei, Forced - False
INFO | Penguin ASync-Refresh-ing : Penguin - $Ensei, Forced - False
INFO | Penguin ASync-Refresh-ing : Penguin - $Ensei, Forced - False
INFO | Penguin ASync-Refresh-ing : Penguin - $Ensei, Forced - False
INFO | Penguin ASync-Refresh-ing : Penguin - $Ensei, Forced - False
INFO | Penguin ASync-Refresh-ing : Penguin - $Ensei, Forced - False
INFO | Penguin ASync-Refresh-ing : Penguin - $Ensei, Forced - False
INFO | Penguin ASync-Refresh-ing : Penguin - $Ensei, Forced - False
INFO | Penguin ASync-Refresh-ing : Penguin - $Ensei, Forced - False
INFO | Penguin ASync-Refresh-ing : Penguin - $Ensei, Forced - False
WARNING | Discarding Penguin Object: <Penguin #0 on 3724> : <Penguin #0 on 3724>, AS3p
INFO | [WS:Gravity] <Penguin #1 on 3724>, AS3p Disconnected Reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
]
WARNING | Discarding Penguin Object: <Penguin #1 on 3724> : <Penguin #1 on 3724>, AS3p
I can not enter the Puffle Berry Mall, the Skatepark and the Puffle Wild.
Nothing errors in console.
Everything is in the crumbs.
Whenever I attempt to run DatabasePort.py from the terminal I get the following error:
Anyone know how to fix?
Thanks!
i got this error when launching setup.py idk what to do
CRITICAL | Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 501, in errback
self._startRunCallbacks(fail)
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks
self._runCallbacks()
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1475, in gotResult
_inlineCallbacks(r, g, status)
--- <exception caught here> ---
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/sources/Timeline/Timeline/Server/Music.py", line 46, in setup
tracks = yield MusicTrack.find(where = ['deleted = 0'])
File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 250, in inContext
result = inContext.theWork()
File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>
inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/usr/local/lib/python2.7/dist-packages/twistar/dbconfig/mysql.py", line 26, in _runInteraction
return adbapi.ConnectionPool._runInteraction(self, interaction, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 460, in _runInteraction
conn = self.connectionFactory(self)
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 36, in __init__
self.reconnect()
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 76, in reconnect
self._connection = self._pool.connect()
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 427, in connect
conn = self.dbapi.connect(*self.connargs, **self.connkw)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py", line 193, in __init__
super(Connection, self).__init__(*args, **kwargs2)
exceptions.TypeError: an integer is required
CRITICAL |
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/sources/Timeline/Timeline/Server/Music.py", line 46, in setup
tracks = yield MusicTrack.find(where = ['deleted = 0'])
File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 250, in inContext
result = inContext.theWork()
File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>
inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/usr/local/lib/python2.7/dist-packages/twistar/dbconfig/mysql.py", line 26, in _runInteraction
return adbapi.ConnectionPool._runInteraction(self, interaction, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 460, in _runInteraction
conn = self.connectionFactory(self)
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 36, in __init__
self.reconnect()
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 76, in reconnect
self._connection = self._pool.connect()
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 427, in connect
conn = self.dbapi.connect(*self.connargs, **self.connkw)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py", line 193, in __init__
super(Connection, self).__init__(*args, **kwargs2)
TypeError: an integer is required
if it helps im on ubuntu 16.04 and all the required installs unless i forgot something
Thanks
I've followed the guide for setting up/running flex.py completely by when I try to run Flex.py it throws this error.
I'm using Windows powershell and this error happens on running with admin and without and running timeline via localhost.
PS C:\Windows\system32> cd C:\Users\user\Documents\CPSERVER\TimeFlex
PS C:\Users\user\Documents\CPSERVER\TimeFlex> python Flex.py
Traceback (most recent call last):
File "Flex.py", line 8, in <module>
from Session import *
File "C:\Users\user\Documents\CPSERVER\TimeFlex\Session.py", line 3, in <module>
from core import *
File "C:\Users\user\Documents\CPSERVER\TimeFlex\core.py", line 2, in <module>
from flask_caching import Cache
File "C:\Python27\lib\site-packages\flask_caching\__init__.py", line 412
nonlocal source_check
^
SyntaxError: invalid syntax
im questing possiblity create new world blizzar and change name
Hi there!
I've had some issues creating the database earlier on, because I am starting fresh and not from an old database I tried to import the supplied SQL file into the database. This resulted in many troubling errors starting from:
DROP TRIGGER IF EXISTS `penguins_OnInsert`;
CREATE TRIGGER `penguins_OnInsert` BEFORE INSERT ON `penguins` FOR EACH ROW IF NEW.`swid` IS NULL OR NEW.`swid` = '' THEN
SET NEW.`swid` = CONCAT('{', uuid(), '}');
END IF
;
CREATE TRIGGER `penguins_AfterUpdate` AFTER UPDATE ON `penguins` FOR
I've fixed this by changing this to the following:
DROP TRIGGER IF EXISTS `penguins_OnInsert`;
DELIMITER $$
CREATE TRIGGER `penguins_OnInsert` BEFORE INSERT ON `penguins`
FOR EACH ROW
BEGIN
IF NEW.`swid` IS NULL OR NEW.`swid` = '' THEN
SET NEW.`swid` = CONCAT('{', uuid(), '}');
END IF;
END$$
This runs just fine, however when the import continues it got stuck on many other places as well (Procedures)
So instead of using the sql file to import I found a copy of the old database in your other branch and worked around it by using the DatabasePort.py and making the script setup the new database. This runs fine un-till it get's to IMPORT_PUFFLE_FROM_CP_STRUCT.
I can see nearly everything is created this time and I'm manually importing the three tables that I miss which are bans, care_items, memberships and penguins.
Can you confirm that ^^^ is how the DB should look?
So far so good.
Now when I start the server it works fine un-till it needs to contact the DB.
It sets up the DB pool correctly and can connect just fine.
But when it starts using functions like e.g. (SetSensei)
It suddenly is incapable of establishing the connection?
I'm using the following:
Windows Server 2012 Standard
Redis for windows
MySQL
Python 2.7
Below a list of modules:
Please let me know if you need any more info.
Already set up Firebase, but whenever I try to login using Google, it just says "Unable to login. Please relogin. Signin status: Signed-Out", and I can't make an email account, because the Sign Up button does nothing
EDIT: The previous issue has been sorted out by adding my server's ip to the host variable at the bottom of Flex.py, but now I am getting multiple other issues, including "auth.failed: database error", "database.error: error verifying user", "OperationalError: Column 'swid' cannot be null"
Timeline Logger::Initiated
Starting MySQL DB Pool... @root:timeline
MySQL Database pool setup successfully
Loaded 4 Plugin(s) : Commands, LoginNotification
Player Commands Active!
Login Notification activated!
Firebase initiated
Join(j) Packet handlers initiated!
Login Server::Login initiated!
World Server::Login initiated!
Loaded a fresh set of 28 module(s) in Timeline.Handlers
Loading modules in: Timeline.Handlers
Loaded a fresh set of 8 module(s) in Timeline.PacketHandler
Loading modules in: Timeline.PacketHandler
[LS:Login] Timeline Factory Started!
[LS:Login] Running: Login
[LS:Login] Maximum users: 299
[WS:Gravity] Timeline Factory Started!
[WS:Gravity] Running: Gravity
[WS:Gravity] Maximum users: 299
[WS:Gravity] [Crumbs::Item] Loaded 17 Color Items
[WS:Gravity] [Crumbs::Item] Loaded 1186 Head Items
[WS:Gravity] [Crumbs::Item] Loaded 225 Face Items
[WS:Gravity] [Crumbs::Item] Loaded 311 Neck Items
[WS:Gravity] [Crumbs::Item] Loaded 1529 Body Items
[WS:Gravity] [Crumbs::Item] Loaded 538 Hand Items
[WS:Gravity] [Crumbs::Item] Loaded 315 Feet Items
[WS:Gravity] [Crumbs::Item] Loaded 389 Pin Items
[WS:Gravity] [Crumbs::Item] Loaded 377 Photo Items
[WS:Gravity] [Crumbs::Item] Loaded 36 Award Items
[WS:Gravity] [RoomHandler] Loaded a total of 81 Room(s)
[WS:Gravity] [RoomHandler] Loaded 5 Arcade(s)
[WS:Gravity] [RoomHandler] Loaded 42 Game(s)
[WS:Gravity] [RoomHandler] Loaded 6 Multiplayer(s)
[WS:Gravity] [RoomHandler] Loaded 81 Place(s)
Card Jitsu Initiated
Card Jitsu Fire Initiated
FindFour Tables Loaded
Mancala Tables Loaded
Sled Racing' Tracks Initiated
TreasureHunt Tables Loaded
[WS:Gravity] [Crumbs:Post] Loaded 34 Postcard(s)
[WS:Gravity] [Crumbs::Igloo] Loaded 96 Igloo(s)
[WS:Gravity] [Crumbs::Igloo] Loaded 1384 Furniture(s)
[WS:Gravity] [Crumbs::Igloo] Loaded 24 Floor(s)
[WS:Gravity] [Crumbs::Igloo] Loaded 24 Location(s)
[WS:Gravity] [Crumbs::Puffle] Loaded 40 Type of Puffle(s)
[WS:Gravity] [Crumbs::Puffle] Loaded 40 Puffle item(s)
[WS:Gravity] [Crumbs::Stamps] Loaded 352 Stamp(s)
[WS:Gravity] [Crumbs::Stamps] Loaded Stampbook cover details
[WS:Gravity] [Crumbs::Cards] Loaded 509 Card(s)
[WS:Gravity] [Crumbs::Avatar] Loaded 28 Avatar(s)
Engine starting on 6112
Starting factory LoginAS3p+AS2p:1#0
[LS:Login] Login listening on 127.0.0.1:6112
Engine starting on 9875
Starting factory GravityAS3p+AS2p:100#0
[WS:Gravity] Gravity listening on 127.0.0.1:9875
[LS:Login] (Redis) Setting redis data...
[LS:Login] (Redis) Setup memcache data successful!
[WS:Gravity] (Redis) Setting redis data...
Error executing method - setSensei : an integer is required[exceptions.TypeError: an integer is required in File "C:\Python27\lib\site-packages\MySQLdb\connections.py", line 193, in init]
*--- Failure #8 ---
C:\Python27\lib\site-packages\twisted\internet\defer.py:501: errback(...)
C:\Python27\lib\site-packages\twisted\internet\defer.py:568: _startRunCallbacks(...)
C:\Python27\lib\site-packages\twisted\internet\defer.py:654: _runCallbacks(...)
C:\Python27\lib\site-packages\twisted\internet\defer.py:1475: gotResult(...)
[Capture of Locals and Globals disabled (use captureVars=True)]
--- ---
C:\Python27\lib\site-packages\twisted\internet\defer.py:1416: _inlineCallbacks(...)
C:\Python27\lib\site-packages\twisted\python\failure.py:512: throwExceptionIntoGenerator(...)
C:\Users\maxry\Desktop\Timeline\Timeline\Handlers\Games\CardJitsu\CardJitsu.py:22: setSensei(...)
C:\Python27\lib\site-packages\twisted\internet\defer.py:1416: _inlineCallbacks(...)
C:\Python27\lib\site-packages\twisted\python\failure.py:512: throwExceptionIntoGenerator(...)
C:\Users\maxry\Desktop\Timeline\Timeline\Handlers\Games\CardJitsu\CardJitsu.py:102: checkForSensei(...)
C:\Python27\lib\site-packages\twisted\python\threadpool.py:250: inContext(...)
C:\Python27\lib\site-packages\twisted\python\threadpool.py:266: (...)
C:\Python27\lib\site-packages\twisted\python\context.py:122: callWithContext(...)
C:\Python27\lib\site-packages\twisted\python\context.py:85: callWithContext(...)
C:\Python27\lib\site-packages\twistar\dbconfig\mysql.py:26: _runInteraction(...)
C:\Python27\lib\site-packages\twisted\enterprise\adbapi.py:460: runInteraction(...)
C:\Python27\lib\site-packages\twisted\enterprise\adbapi.py:36: init(...)
C:\Python27\lib\site-packages\twisted\enterprise\adbapi.py:76: reconnect(...)
C:\Python27\lib\site-packages\twisted\enterprise\adbapi.py:427: connect(...)
C:\Python27\lib\site-packages\MySQLdb_init.py:81: Connect(...)
C:\Python27\lib\site-packages\MySQLdb\connections.py:193: init(...)
[Capture of Locals and Globals disabled (use captureVars=True)]
exceptions.TypeError: an integer is required
*--- End of Failure #8 ---
[WS:Gravity] (Redis) Setup memcache data successful!
Error executing method - setSensei : an integer is required[exceptions.TypeError: an integer is required in File "C:\Python27\lib\site-packages\MySQLdb\connections.py", line 193, in init]
*--- Failure #13 ---
C:\Python27\lib\site-packages\twisted\internet\defer.py:501: errback(...)
C:\Python27\lib\site-packages\twisted\internet\defer.py:568: _startRunCallbacks(...)
C:\Python27\lib\site-packages\twisted\internet\defer.py:654: _runCallbacks(...)
C:\Python27\lib\site-packages\twisted\internet\defer.py:1475: gotResult(...)
[Capture of Locals and Globals disabled (use captureVars=True)]
--- ---
C:\Python27\lib\site-packages\twisted\internet\defer.py:1416: _inlineCallbacks(...)
C:\Python27\lib\site-packages\twisted\python\failure.py:512: throwExceptionIntoGenerator(...)
C:\Users\maxry\Desktop\Timeline\Timeline\Handlers\Games\CardJitsu\CardJitsu.py:33: setSensei(...)
C:\Python27\lib\site-packages\twisted\internet\defer.py:1416: _inlineCallbacks(...)
C:\Python27\lib\site-packages\twisted\python\failure.py:512: throwExceptionIntoGenerator(...)
C:\Users\maxry\Desktop\Timeline\Timeline\Database\DB.py:267: db_init(...)
C:\Python27\lib\site-packages\twisted\python\threadpool.py:250: inContext(...)
C:\Python27\lib\site-packages\twisted\python\threadpool.py:266: (...)
C:\Python27\lib\site-packages\twisted\python\context.py:122: callWithContext(...)
C:\Python27\lib\site-packages\twisted\python\context.py:85: callWithContext(...)
C:\Python27\lib\site-packages\twistar\dbconfig\mysql.py:26: _runInteraction(...)
C:\Python27\lib\site-packages\twisted\enterprise\adbapi.py:460: runInteraction(...)
C:\Python27\lib\site-packages\twisted\enterprise\adbapi.py:36: init(...)
C:\Python27\lib\site-packages\twisted\enterprise\adbapi.py:76: reconnect(...)
C:\Python27\lib\site-packages\twisted\enterprise\adbapi.py:427: connect(...)
C:\Python27\lib\site-packages\MySQLdb_init.py:81: Connect(...)
C:\Python27\lib\site-packages\MySQLdb\connections.py:193: init(...)
[Capture of Locals and Globals disabled (use captureVars=True)]
exceptions.TypeError: an integer is required
*--- End of Failure #13 ---
Hi, this isn't an issue but didn't know of a way to get in touch with you guys.
I've recently come across this project and I love what y'all are doing!
I used to code CPPS servers in PHP back in the prime days of the Rile5 forums. 2011-2015
I have had gotten redemption servers to fully work (Treasure Books, Golden Cards, DS game code, Campaign codes) and also game data saving and retrieving to work (Puffle Cannon uses this)
With a little luck I have found my old source files!
Would love to hear from you as I am not a highly proficient Python programmer but would really like to give my input :)
Hello, sorry not sure where to post but what types of specs should I be looking for for a couple of friends (max 10) (I just want to do it for fun).
Thank you,
Mitch
Nothing errors in console
[deleted]
I currently have it on a private server, I don't understand who I'm supposed to link it to my domain as all the https://times-0.github.io/docs show is
'Then, you add Two CNAME records. one for play subdomain, another for media1/media (AS3/AS2) subdomain. Make sure they look similar to this and save the settings'
Which makes no sense.
I don't understand how I'm supposed to link it to my domain. Because Cloudflare requires a Target for the traffic to be transferred to and I don't think I'm supposed to put valid22.pw.
I can't seem to login into the game with the test penguin- or any. Redis is running.
The full version of AS3 mediaserver is broken, only the micro version works and the AS2 mediaserver doesn't work unless i use the wayback machine to download it.
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-dImAwq/mysql-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-dImAwq/mysql-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-cuYMOj
cwd: /tmp/pip-install-dImAwq/mysql-python/
Complete output (10 lines):
sh: 1: mysql_config: not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-dImAwq/mysql-python/setup.py", line 17, in <module>
metadata, options = get_config()
File "setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "setup_posix.py", line 25, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
On Ubuntu 20.04.1
When attempting to install MySQLdb by doing 'sudo pip install MySQL-Python' I get the above error - I looked around and it seems like it's no longer supported/usable? I have tried updating setup tools but it changes nothing.
On the readme under requirements it says that you can use an alternative connector? It also lists mysql-connector-python, so I went and installed that - then it said to change line 31 of init.py in the Database folder in timeline. It could be me missing something - but I dont see any easy to change variable in there to direct it to mysql-connector-python instead of MySQLdb
Thanks to anyone who can help
play.localhost isnt working..
Clicking the "Play CPPS" button takes me to a blank page with "Relogin the game" in the top left, and nothing else. It asked me for permission to use Flash the first time, but it doesn't do anything anymore
EDIT: Forgot to mention, there are no errors in my browsers console
hello< i need your discord
Hello,
I've been trying to set up a Timeline server and everything seems to be correct (ports are available and open, MariaDB server is online and all Python libraries are installed). Whenever I open the console and it starts both AS2 and AS3 default login and world servers, a twisted error appears.
Here's the log
DEBUG | Timeline Logger::Initiated
INFO | Starting MySQL DB Pool... @username:database
INFO | MySQL Database pool setup successfully
INFO | Loaded 4 Plugin(s) : Commands, LoginNotification
DEBUG | Player Commands Active!
INFO | Login Notification activated!
INFO | Loading modules in: Timeline.Handlers
**INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc7ad9e60> will retry in 2 seconds
INFO | Stopping factory <txredisapi.RedisFactory instance at 0x7f6bc7ad9cb0>**
DEBUG | Sensei has been born!
DEBUG | Join(j) Packet handlers initiated!
DEBUG | Login Server::Login initiated!
DEBUG | World Server::Login initiated!
INFO | Loaded a fresh set of 26 module(s) in Timeline.Handlers
INFO | Loading modules in: Timeline.PacketHandler
INFO | Loaded a fresh set of 8 module(s) in Timeline.PacketHandler
INFO | Starting factory <txredisapi.RedisFactory instance at 0x7f6bc405f998>
INFO | [LS:Login] Timeline Factory Started!
INFO | [LS:Login] Running: Login
INFO | [LS:Login] Maximum users: 299
INFO | Starting factory <txredisapi.RedisFactory instance at 0x7f6bc406e3b0>
INFO | [WS:Gravity] Timeline Factory Started!
INFO | [WS:Gravity] Running: Gravity
INFO | [WS:Gravity] Maximum users: 299
INFO | [WS:Gravity] [Crumbs::Item] Loaded 17 Color Items
INFO | [WS:Gravity] [Crumbs::Item] Loaded 1186 Head Items
INFO | [WS:Gravity] [Crumbs::Item] Loaded 225 Face Items
INFO | [WS:Gravity] [Crumbs::Item] Loaded 311 Neck Items
INFO | [WS:Gravity] [Crumbs::Item] Loaded 1529 Body Items
INFO | [WS:Gravity] [Crumbs::Item] Loaded 538 Hand Items
INFO | [WS:Gravity] [Crumbs::Item] Loaded 315 Feet Items
INFO | [WS:Gravity] [Crumbs::Item] Loaded 389 Pin Items
INFO | [WS:Gravity] [Crumbs::Item] Loaded 377 Photo Items
INFO | [WS:Gravity] [Crumbs::Item] Loaded 36 Award Items
INFO | [WS:Gravity] [RoomHandler] Loaded a total of 81 Room(s)
INFO | [WS:Gravity] [RoomHandler] Loaded 81 Place(s)
INFO | [WS:Gravity] [RoomHandler] Loaded 6 Multiplayer(s)
INFO | [WS:Gravity] [RoomHandler] Loaded 5 Arcade(s)
INFO | [WS:Gravity] [RoomHandler] Loaded 42 Game(s)
DEBUG | Card Jitsu Initiated
DEBUG | Card Jitsu Fire Initiated
DEBUG | FindFour Tables Loaded
INFO | [WS:Gravity] [Crumbs:Post] Loaded 34 Postcard(s)
DEBUG | Mancala Tables Loaded
DEBUG | Sled Racing' Tracks Initiated
INFO | [WS:Gravity] [Crumbs::Igloo] Loaded 96 Igloo(s)
INFO | [WS:Gravity] [Crumbs::Igloo] Loaded 1384 Furniture(s)
INFO | [WS:Gravity] [Crumbs::Igloo] Loaded 24 Floor(s)
INFO | [WS:Gravity] [Crumbs::Igloo] Loaded 24 Location(s)
DEBUG | TreasureHunt Tables Loaded
INFO | [WS:Gravity] [Crumbs::Puffle] Loaded 40 Type of Puffle(s)
INFO | [WS:Gravity] [Crumbs::Puffle] Loaded 40 Puffle item(s)
INFO | [WS:Gravity] [Crumbs::Stamps] Loaded 352 Stamp(s)
INFO | [WS:Gravity] [Crumbs::Stamps] Loaded Stampbook cover details
INFO | [WS:Gravity] [Crumbs::Cards] Loaded 509 Card(s)
INFO | Starting factory <txredisapi.RedisFactory instance at 0x7f6ba841f050>
INFO | [LS:Login AS2] Timeline Factory Started!
INFO | [LS:Login AS2] Running: Login AS2
INFO | [LS:Login AS2] Maximum users: 299
INFO | Starting factory <txredisapi.RedisFactory instance at 0x7f6ba8544c68>
INFO | [WS:Gravity AS2] Timeline Factory Started!
INFO | [WS:Gravity AS2] Running: Gravity AS2
INFO | [WS:Gravity AS2] Maximum users: 299
INFO | [WS:Gravity AS2] [Crumbs::Item] Loaded 17 Color Items
INFO | [WS:Gravity AS2] [Crumbs::Item] Loaded 1186 Head Items
INFO | [WS:Gravity AS2] [Crumbs::Item] Loaded 225 Face Items
INFO | [WS:Gravity AS2] [Crumbs::Item] Loaded 311 Neck Items
INFO | [WS:Gravity AS2] [Crumbs::Item] Loaded 1529 Body Items
INFO | [WS:Gravity AS2] [Crumbs::Item] Loaded 538 Hand Items
INFO | [WS:Gravity AS2] [Crumbs::Item] Loaded 315 Feet Items
INFO | [WS:Gravity AS2] [Crumbs::Item] Loaded 389 Pin Items
INFO | [WS:Gravity AS2] [Crumbs::Item] Loaded 377 Photo Items
INFO | [WS:Gravity AS2] [Crumbs::Item] Loaded 36 Award Items
INFO | [WS:Gravity AS2] [RoomHandler] Loaded a total of 81 Room(s)
INFO | [WS:Gravity AS2] [RoomHandler] Loaded 81 Place(s)
INFO | [WS:Gravity AS2] [RoomHandler] Loaded 6 Multiplayer(s)
INFO | [WS:Gravity AS2] [RoomHandler] Loaded 5 Arcade(s)
INFO | [WS:Gravity AS2] [RoomHandler] Loaded 42 Game(s)
INFO | [WS:Gravity AS2] [Crumbs:Post] Loaded 34 Postcard(s)
DEBUG | Card Jitsu Initiated
INFO | [WS:Gravity AS2] [Crumbs::Igloo] Loaded 96 Igloo(s)
DEBUG | Card Jitsu Fire Initiated
DEBUG | FindFour Tables Loaded
DEBUG | Mancala Tables Loaded
DEBUG | Sled Racing' Tracks Initiated
INFO | [WS:Gravity AS2] [Crumbs::Igloo] Loaded 1384 Furniture(s)
INFO | [WS:Gravity AS2] [Crumbs::Igloo] Loaded 24 Floor(s)
INFO | [WS:Gravity AS2] [Crumbs::Igloo] Loaded 24 Location(s)
INFO | [WS:Gravity AS2] [Crumbs::Puffle] Loaded 40 Type of Puffle(s)
INFO | [WS:Gravity AS2] [Crumbs::Puffle] Loaded 40 Puffle item(s)
INFO | [WS:Gravity AS2] [Crumbs::Stamps] Loaded 352 Stamp(s)
INFO | [WS:Gravity AS2] [Crumbs::Stamps] Loaded Stampbook cover details
DEBUG | TreasureHunt Tables Loaded
INFO | [WS:Gravity AS2] [Crumbs::Cards] Loaded 509 Card(s)
INFO | Engine starting on 6112
INFO | Starting factory Login<AS3p:1#0>
INFO | [LS:Login] Login listening on 127.0.0.1:6112
INFO | Engine starting on 9875
INFO | Starting factory Gravity<AS3p:100#0>
INFO | [WS:Gravity] Gravity listening on 127.0.0.1:9875
INFO | Engine starting on 6113
INFO | Starting factory Login AS2<AS2p:2#0>
INFO | [LS:Login AS2] Login AS2 listening on 127.0.0.1:6113
INFO | Engine starting on 9876
INFO | Starting factory Gravity AS2<AS2p:101#0>
INFO | [WS:Gravity AS2] Gravity AS2 listening on 127.0.0.1:9876
**INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc405fa28> will retry in 3 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc405fc68> will retry in 7 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc405fea8> will retry in 12 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc406b128> will retry in 8 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc406b368> will retry in 10 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc406b5f0> will retry in 9 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc406b878> will retry in 7 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc406bb00> will retry in 8 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc406bd88> will retry in 11 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc406e050> will retry in 6 seconds
INFO | Stopping factory <txredisapi.RedisFactory instance at 0x7f6bc405f998>
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc406e488> will retry in 2 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc406e7e8> will retry in 7 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc406e9e0> will retry in 10 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc406ec20> will retry in 7 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc406ee60> will retry in 9 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bb4193128> will retry in 8 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bb41933b0> will retry in 11 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bb4193638> will retry in 9 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bb41938c0> will retry in 8 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bb4193b48> will retry in 9 seconds
INFO | Stopping factory <txredisapi.RedisFactory instance at 0x7f6bc406e3b0>
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba841f2d8> will retry in 2 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba841f6c8> will retry in 6 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba827b248> will retry in 10 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba80ed3f8> will retry in 11 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba80ed758> will retry in 8 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba80edab8> will retry in 10 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba80ede18> will retry in 11 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba85441b8> will retry in 10 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba8544518> will retry in 9 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba8544878> will retry in 10 seconds
INFO | Stopping factory <txredisapi.RedisFactory instance at 0x7f6ba841f050>
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba8544d40> will retry in 2 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba8084050> will retry in 5 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba8084320> will retry in 10 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba8084560> will retry in 10 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba80847a0> will retry in 9 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba80849e0> will retry in 9 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba8084c68> will retry in 9 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba8084ef0> will retry in 8 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba83071b8> will retry in 7 seconds
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba8307440> will retry in 10 seconds
INFO | Stopping factory <txredisapi.RedisFactory instance at 0x7f6ba8544c68>
INFO | Starting factory <txredisapi.RedisFactory instance at 0x7f6bc7ad9cb0>
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc7ad9e60> will retry in 7 seconds
INFO | Stopping factory <txredisapi.RedisFactory instance at 0x7f6bc7ad9cb0>
INFO | Starting factory <txredisapi.RedisFactory instance at 0x7f6ba841f050>
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba841f2d8> will retry in 8 seconds
INFO | Stopping factory <txredisapi.RedisFactory instance at 0x7f6ba841f050>
INFO | Starting factory <txredisapi.RedisFactory instance at 0x7f6ba8544c68>
INFO | <twisted.internet.tcp.Connector instance at 0x7f6ba8544d40> will retry in 10 seconds
INFO | Stopping factory <txredisapi.RedisFactory instance at 0x7f6ba8544c68>
INFO | Starting factory <txredisapi.RedisFactory instance at 0x7f6bc406e3b0>
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc406e488> will retry in 9 seconds
INFO | Stopping factory <txredisapi.RedisFactory instance at 0x7f6bc406e3b0>
INFO | Starting factory <txredisapi.RedisFactory instance at 0x7f6bc405f998>
INFO | <twisted.internet.tcp.Connector instance at 0x7f6bc405fa28> will retry in 10 seconds
INFO | Stopping factory <txredisapi.RedisFactory instance at 0x7f6bc405f998>**
What I am referring to is marked in bold.
Is this normal? I think it may not be contacting correctly the Redis server (it's in the same machine, so I didn't change the 127.0.0.1 address on the /Server/Redis.py.)
Hi.
Looks like a small logic error on line 87 of Login.py
87: exist = (yield client.db_penguinExists('username', user)) if user != '$fire' and FIREBASE_INIT else True
This throws error from DB.py as it stills try to login even with an invalid penguin name.
If username !='$fire' and FIREBASE_INIT then is firebase is not initialised we will get 0 on this condition and set exist to true.
Can easily be fixed with:
exist = (yield client.db_penguinExists('username', user)) if (user != '$fire' and FIREBASE_INIT == 0) else True
Hello,
does this emulator still use Flash?
I need to make CPPS without it - how can I do so? Because I can't find any source online.
Thanks,
LikeManTV
Hello, my name is Gabriel, and I'm having 2 issues:
The first one is when i do "pyhton Flex.py". Here's a screenshot.
Traceback (most recent call last):
File "flex.py", line 8, in
from Session import *
File "C:\Users\henri\Desktop\TimeFlex-master\Session.py", line 3, in
from core import *
File "C:\Users\henri\Desktop\TimeFlex-master\core.py", line 2, in
from flask_caching import Cache
File "C:\Python27\lib\site-packages\flask_caching_init_.py", line 412
nonlocal source_check
^
SyntaxError: invalid syntax
The second one is when i have already started "start.py" at timeline master, and I try to go to "play.localhost". I just get to this screen:
Then, i go to the "Play" folder and i asks me to enable flash player and I just get a white screen:
When I go to the developer console, i got an error:
Sorry for bad english (I'm from Brazil)
Sorry for bringing problems to you....
Thanks for making a CPPS Emulator, u're making many people happy!
Any help is welcome. Thanks.
If anyone needs any more screenshots, let me know.
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.