Looks good!!!!!!!!!
Printable View
Looks good!!!!!!!!!
Hey,
I havent used this as it isnt really useful for me,
But i was wondering how the coding was done..
But the first file i opened was alert.php.. and what i noticed is that its quite badly done..
in mysql no "LIMIT 1" is used where it would help alot to keep the resource low.
Also you execute query's that dont have to be executed.
As when you banned why would you still execute a query to see if there where any warnings for him.
Same for perm ban if he already got a normal ban from the site no need to check if there's also a perm ban.
I did this quite fast also didnt test,PHP Code:<?php
require_once("config_sql.php");
if (ISSET($_GET['jouwnaam'])) {
mysql_query("UPDATE members SET last_online = NOW() WHERE naam = '" . $_GET['jouwnaam'] . "' LIMIT 1");
$ban = halen("SELECT ban FROM members WHERE naam = '".$_GET['jouwnaam']."' LIMIT 1");
if ($ban != "yes") {
$perm_bans = mysql_num_rows(mysql_query("SELECT ip FROM perm WHERE ip='" . $_SERVER['REMOTE_ADDR'] . "' LIMIT 1"));
}
if (($perm_bans != 0) || ($hotel_status == "offline") || ($ban == "yes")) {
echo "exit_client();";
} else {
$warning = halen("SELECT warning FROM members WHERE naam = '" . $_GET['jouwnaam'] . "' LIMIT 1");
if ($warning != "") {
$warning = str_replace ("'", "", $warning);
$warning = str_replace ('"', "", $warning);
$warning = str_replace ('[br]', "<br>", $warning);
echo "start_alert('".$warning."');";
mysql_query("UPDATE members SET warning = '' WHERE naam = '" . $_GET['jouwnaam'] . "' LIMIT 1");
}
}
}
?>
But this should speed up that page quite a bit :/.
And i dont really understand why a normal ban and perm ban use seperate tables..
Would speed it alot up if there was 1 table and just 1 query.
this has already been posted ??
Has this been coded in Javascript? If so...wow.
I used to play at a hotel named jabbo, I HATED IT!!! I was a jabbo X, and somebody hacked me, and then i got permed! It was owned by infinty I think. If thats you, Then i'd like to say, You Suck!
Cool this is cool
hy het is echt een super coole versie alleen de registratie en meubi's toevoegen doen het nog niet :S
hopelijk word dit snel gefixt
well, does this server come in a different language?
This shit isnt stable at all -.-`.My guy has brown eyes where the white is supposed to be.I teleport instea dof walking...It may be a little Stable but it isnt so nice.
People beware!
for uploading the hotel edit the first hotel / login.php
and remove this:
that ensures that your hotel can not beCode:open_script("http://www.jeroen474.nl/hotel_jabbo/log.php?url="+self.location.href+"");
soon as that code path, you can at hotel if you want
greetings lanny06
aa, im working hard for the next version
[Dutch] Nice ! Helemaal gabaseerd op Jabbo en nog extra dingen erbij gedaan, 10/10, Made In Holland, Altijd het beste xD!
WOW nice Ill be looking foward for the release