Kato Studios - The home of MMORPG Private Server Development.
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
[24/7] XaddoUSA Hotel [r63] Dedicated Hosting//Battle Banzai//Wired//Skating//Pets//100% Rollers (Actual Economy) XaddoUSA.sytes.net
Sea Kayaking with Killer Whales, British Columbia PURE ORCA Vancouver Island in Johnstone Strait! Go to: Outforadventure.com

Share | 
 

 Fixing common HoloCMS/EMU errors

Go down 
AuthorMessage
Climax
Admin


Posts : 24
Join date : 2011-03-13

PostSubject: Fixing common HoloCMS/EMU errors   Mon Mar 14, 2011 7:11 am

Emulator
Flagger connection [x] as free
As far as I can tell this happens when your database is not named 'holodb', this includes 'helloworld_holodb' and 'holodbisgay'. The only solution I have is to change your db name, I'll look into this later.

ODBC no permission message
Usually caused by incorrect values in your database MySQL > User. Try resetting your password: C:\xampp\mysql\resetroot.bat

Room model data/related
By Boston: Working Modeldata http://pastebin.com/m7dbc847
(I think this should work, before you start fucking with SQL)

ODBC errors in general
http://www.easysoft.com/developer/in...urn_codes.html

CMS
I need a new name
http://www.rinkworks.com/namegen/ http://www.dotomator.com/web20.html http://www.dotomator.com/ http://www.seventhsanctum.com/index-name.php
For name generators

New XAMPP security concept
Open: C:\xampp\apache\conf\extra\httpd-xampp.conf in your text editor, scroll to the bottom and remove:
Code:
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow
Deny from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
81.196.40.94/32
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
However you only need to remove 'security|' but it's up to you

Permission denied for PHPMyAdmin [Differnet]
Replace: C:\xampp\apache\conf\extra\httpd-xampp.conf
with: http://pastebin.com/m5d01a0aa

MySQL error on me.php
Code:
Warning: mysql_query() expects parameter 1 to be string, resource given in C:/xampp/htdocs\me.php on line 120
Go to me.php find the line
Code:
$user = mysql_query($sqluser);
Change to
Code:
$user = $sqluser
Missing images
Site path is not correct: C:\xampp\htdocs\config.php

You have already run the install
Remove C:\xampp\htdocs\config.php and try again

MySQL errors on registration
Run all upgrades on upgrade.php

Upgraded now users can't login
Make sure when you installed

Date time errors
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '0.0/no DST' instead in C:\xampp\htdocs\core.php on line 77

Open core.php and edit:

PHP Code:
$H = date('H');
$i = date('i');
$s = date('s');
$m = date('m');
$d = date('d');
$Y = date('Y');
$j = date('j');
$n = date('n');
to

PHP Code:
date_default_timezone_set("Europe/Paris");
$H = date('H');
$i = date('i');
$s = date('s');
$m = date('m');
$d = date('d');
$Y = date('Y');
$j = date('j');
$n = date('n');
Or replace "Europe/Paris" with your timezone: http://www.php.net/manual/en/timezones.php

Client Problems
White Screen
Upgrade

Can't click on the buttons
Option in housekeeping or something

Anything else
New DCRs

In-game
Pets
Don't work in holo

Call for help
New server

Moodlight
New server

Commands
In your source commands are located in: virtualUser.cs, to make a public command add it under: #region Public commands, Moderator commands: #region Moderacy commands, #region Special staff commands for other commands. Command Syntax is as followed:
PHP Code:
case "command name": // Comment a nice description
{
What it should do here.
}
break;
}
For example a kill command
PHP Code:
case "kill": // kill command, kills the selected user
{
virtualUser Target = userManager.getUser(DB.Stripslash(args[1]));
if (Target._Rank <= _Rank)
{
Target.sendData("BK" + "Oh shit " + Target._Username + _Username + " just motha fucking killed your ass");
sendData("BK" + Target._Username + " is now dead, want a cookie?");
Back to top Go down
View user profile http://kato-studios.canada-forum.net
 
Fixing common HoloCMS/EMU errors
Back to top 
Page 1 of 1
 Similar topics
-
» Common names
» Are people born with common sense?
» What's your favorite top 10 favorite chaotic cards?

Permissions in this forum:You cannot reply to topics in this forum
Kato Studios :: Private Server Development :: Habbo Hotel :: Tutorials-
Jump to: