roncodes / cloudrealms-1

The first and original cloudrealms game engine
GNU Affero General Public License v3.0
0 stars 1 forks source link

Still have yet to be able to even see this in action Lol... #1

Open ghost opened 11 years ago

ghost commented 11 years ago

. / /////////////////////////////////////////////////////////////////////////////////// $mode=$_GET[mode]; session_start(); if(!isset($_SESSION['is_logged_in'])) { Header('location: login.php'); } else { include('classes/mmorpg.class.php'); $mmorpg = new MMORPG(); $location = $_GET[location]; // grabs current location include('includes/connect.php'); // connects game to database include('includes/load_player_data.php'); // grabs all player and character data into easy vars include('interface/header.php'); // loads scripts and interface include('chat.php'); // handles chat server include('includes/post_handler.php'); //handles all post to game index include('includes/location_handler.php'); // handles the games locations and towns, and loads towns and locations data // include('includes/sounds.php'); // handles game sounds include('interface/notifications.php'); // displays in-game notifications if($mode!='battle'){ include('interface/user_box.php'); // displays players info box char data and user data } if($mode=='battle'){ include('interface/battle.php'); // displays battle mode } else { include('interface/game_canvas.php'); // displays game canvas } include('includes/battle_handler.php'); // handles engaged battles and maybe more if($mode=='battle'){ include('interface/user_box.php'); // displays players info box char data and user data } include('interface/toolbox.php'); // loads global chat and game tools icons include('interface/windows.php'); // handles all windows include('interface/events_handler.php'); // handles all windows include('includes/quest_handler.php'); //handles quest functions and active quest conditions include('includes/close_db.php'); // works to close all database connections include('interface/footer.php'); // end scripts } ?>

I have been keeping up with CR for quite some time now and have still had absolutely no luck in getting it to actually come up lol, I get this error now.. Everything is set up the right way, DB, Permissions.. everything.. I am starting to think that this just does not work at all.

bels commented 11 years ago

Well, it looks like user creation is just completely missing. The character creation bits seem to be there. I think user creation is supposed to take place in https://github.com/theprestig3/Cloudrealms1/blob/master/classes/user.class.php at the createUser() function but it is blank. I think if that was there things would work a little better. I get the loading screen but that's is far as I can get because when I hand jam in a user things don't load correctly. I am assuming there needs to be more to user creation than just a user being added to the users table. Maybe the author has a working copy of that class and then hopefully things would work as he intended.

roncodes commented 11 years ago

All of CR1 is incomplete and a mess, but anyone is more than welcome to contribute fixes, refactors and more code to the project. My main focus has been Cloudrealms2, and I hardly have time to work on either, but CR2 is my priority over this.