1 decade ago by Mash
Hi,
I've just bought a copy of impactjs, and I cant get weltmeister.html to load.
Sorry I'm a bit newby when it comes to web stuff so it might be something really simple!
Ive tried a fresh copy of the library, and also the one included in jumpnrun source. This is the error I get on the console (firefox):
[22:43:41.595] Unknown property 'xtext-transform'. Declaration dropped. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:19
[22:43:41.595] Unknown property 'xborder-bottom'. Declaration dropped. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:20
[22:43:41.595] Error in parsing value for 'background'. Declaration dropped. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:406
[22:43:41.595] Error in parsing value for 'background'. Declaration dropped. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:408
[22:43:41.595] Unknown pseudo-class or pseudo-element '-webkit-scrollbar'. Ruleset ignored due to bad selector. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:481
[22:43:41.595] Unknown pseudo-class or pseudo-element '-webkit-scrollbar-button'. Ruleset ignored due to bad selector. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:482
[22:43:41.595] Unknown pseudo-class or pseudo-element '-webkit-scrollbar-button'. Ruleset ignored due to bad selector. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:484
[22:43:41.596] Unknown pseudo-class or pseudo-element '-webkit-scrollbar-track-piece'. Ruleset ignored due to bad selector. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:485
[22:43:41.596] Unknown pseudo-class or pseudo-element '-webkit-scrollbar-thumb'. Ruleset ignored due to bad selector. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:486
[22:43:41.716] no element found @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/api/glob.php?glob[]=lib%2Fgame%2Fentities%2F*.js&nocache=0.9282034550376073:21
[22:43:41.717] uncaught exception: Failed to load entity list via glob.php: SyntaxError: JSON.parse: unexpected character
<?php
require_once( 'config.php' );
$globs = is_array($_GET['glob']) ? $_GET['glob'] : array($_GET['glob']);
$files = array();
foreach( $globs as $glob ) {
$pattern = WM_Config::$fileRoot . str_replace( '..', '', $glob );
$currentFiles = glob( $pattern );
if( $currentFiles !== false ) {
$files = array_merge( $files, $currentFiles );
}
}
$fileRootLength = strlen( WM_Config::$fileRoot );
foreach( $files as $i => $f ) {
$files[$i] = substr( $f, $fileRootLength );
}
echo json_encode( $files );
?>
[22:43:41.718] uncaught exception: Unresolved (or circular?) dependencies. Most likely there's a name/path mismatch for one of the listed modules or a previous syntax error prevents a module from loading:
weltmeister.weltmeister (requires: weltmeister.edit-entities)
weltmeister.edit-entities (requires: weltmeister.entities)
Please help! BTW, the actual jumpnrun game runs perfectly from source, its just the editor I cant get to load.
I've just bought a copy of impactjs, and I cant get weltmeister.html to load.
Sorry I'm a bit newby when it comes to web stuff so it might be something really simple!
Ive tried a fresh copy of the library, and also the one included in jumpnrun source. This is the error I get on the console (firefox):
[22:43:41.595] Unknown property 'xtext-transform'. Declaration dropped. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:19
[22:43:41.595] Unknown property 'xborder-bottom'. Declaration dropped. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:20
[22:43:41.595] Error in parsing value for 'background'. Declaration dropped. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:406
[22:43:41.595] Error in parsing value for 'background'. Declaration dropped. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:408
[22:43:41.595] Unknown pseudo-class or pseudo-element '-webkit-scrollbar'. Ruleset ignored due to bad selector. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:481
[22:43:41.595] Unknown pseudo-class or pseudo-element '-webkit-scrollbar-button'. Ruleset ignored due to bad selector. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:482
[22:43:41.595] Unknown pseudo-class or pseudo-element '-webkit-scrollbar-button'. Ruleset ignored due to bad selector. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:484
[22:43:41.596] Unknown pseudo-class or pseudo-element '-webkit-scrollbar-track-piece'. Ruleset ignored due to bad selector. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:485
[22:43:41.596] Unknown pseudo-class or pseudo-element '-webkit-scrollbar-thumb'. Ruleset ignored due to bad selector. @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/weltmeister.css:486
[22:43:41.716] no element found @ file:///Users/Mash/Downloads/jumpnrun/jumpnrun/lib/weltmeister/api/glob.php?glob[]=lib%2Fgame%2Fentities%2F*.js&nocache=0.9282034550376073:21
[22:43:41.717] uncaught exception: Failed to load entity list via glob.php: SyntaxError: JSON.parse: unexpected character
<?php
require_once( 'config.php' );
$globs = is_array($_GET['glob']) ? $_GET['glob'] : array($_GET['glob']);
$files = array();
foreach( $globs as $glob ) {
$pattern = WM_Config::$fileRoot . str_replace( '..', '', $glob );
$currentFiles = glob( $pattern );
if( $currentFiles !== false ) {
$files = array_merge( $files, $currentFiles );
}
}
$fileRootLength = strlen( WM_Config::$fileRoot );
foreach( $files as $i => $f ) {
$files[$i] = substr( $f, $fileRootLength );
}
echo json_encode( $files );
?>
[22:43:41.718] uncaught exception: Unresolved (or circular?) dependencies. Most likely there's a name/path mismatch for one of the listed modules or a previous syntax error prevents a module from loading:
weltmeister.weltmeister (requires: weltmeister.edit-entities)
weltmeister.edit-entities (requires: weltmeister.entities)
Please help! BTW, the actual jumpnrun game runs perfectly from source, its just the editor I cant get to load.