Haha! If you aint a noob you are able to figure out why it doesent start lmfao! :lol::lol:
- Martin
Printable View
Just stfu, this is a waste of time, i'll use a diff. emu
Roflmao, your the most fucking retarded shit i ever met.
What are the new features in this server?
And room bots doesn't work. My bot doesn't say anything!
Can anyone fix that?
http://www.plaatjesupload.nl/bekijk/...471026-190.png
Wow, everyone shut the hell up, Ur all newbs for not knowing how to set up a damn emu as well as not reading why should maritnmine have to read for all of you? just shut up!
I'm going to make an example of both of you...
First off, sick stop acting as if your a big shot, sickhotel sucks and is a laggy piece of shit. You have like 38 posts, you do not have the ballz to be flaming people.Code:Sick: Roflmao, your the most fucking retarded shit i ever met.
Wammanah: and u r the bigest n00b i ever met pl0x[/QUOTE]
Wammanah, you need to not call people noobs when in reality you are the noob, swearing and spelling noob like n00b makes you a retard. Go give your boyfriend a handjob and get some friends, or just stay away from this forum.
Ok now I'm probably going to get raped by a mod for telling you two to get lost, but it obviously needed to be said. Thats all bitches!
Oh and just for the record Wammanah if you translate what you said to normal english it says, "You are the largest new member on Ragezone I have ever met please." I find it funny that you said please and it's also funny that you have 4 posts and Sick has 38 but your calling him a noob.
Hi just wanted to make a post since I am an old timer. Not bickering you too..lol...Now my 30 day warning of not posting will go away.
Also thanks for the emu.
This server sucks!
- Roombots doesn't work
See my screens:
http://images.typo-hotel.nl/bot/vb.png
http://images.typo-hotel.nl/bot/hoi.png
http://images.typo-hotel.nl/bot/sql.png
Can anyone fix this? If that's fixed, than is the server perfect :D
Wow... do you people really think this is decent code at all?
Here is an example (first thing I looked at after downloading):
The original Holograph Emulator refreshClub (with HC Bug)
Now lets look at how this is done herePHP Code:internal void refreshClub()
{
int restingDays = 0;
int passedMonths = 0;
int restingMonths = 0;
DataRow dRow;
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
dRow = dbClient.getRow("SELECT months_expired,months_left,date_monthstarted FROM users_club WHERE userid = '" + userID + "' LIMIT 1");
}
if (dRow.Table.Columns.Count > 0)
{
passedMonths = Convert.ToInt32(dRow["months_expired"]);
restingMonths = Convert.ToInt32(dRow["months_left"]) - 1;
restingDays = (int)(DateTime.Parse(Convert.ToString(dRow["date_monthstarted"]), new System.Globalization.CultureInfo("en-GB"))).Subtract(DateTime.Now).TotalDays + 32;
_clubMember = true;
}
sendData("@Gclub_habbo" + Convert.ToChar(2) + Encoding.encodeVL64(restingDays) + Encoding.encodeVL64(passedMonths) + Encoding.encodeVL64(restingMonths) + "I");
}
Not only does this ignore the month and year part of the packet but it incredibly long compared to what is needed. It does solve the HC bug but is only partially better than just commenting it out!PHP Code:internal void refreshClub()
{
int restingDays = 0;
int passedMonths = 0;
int restingMonths = 0;
DataRow dRow;
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
dRow = dbClient.getRow("SELECT months_expired,months_left,date_monthstarted FROM users_club WHERE userid = '" + userID + "' LIMIT 1");
}
if (dRow.Table.Columns.Count > 0)
{
passedMonths = Convert.ToInt32(dRow["months_expired"]);
restingMonths = Convert.ToInt32(dRow["months_left"]) - 1;
string RawDatabaseData = Convert.ToString(dRow["date_monthstarted"]);
string[] DatabaseData = RawDatabaseData.Split('-');
int YearStarted = int.Parse(DatabaseData[2].Split(' ')[0]);
int DayBought = int.Parse(DatabaseData[0]);
int TodayDayOfMonth = DateTime.Today.Day;
int YearToday = DateTime.Now.Year;
int TodayMonthOfYear = DateTime.Now.Month;
int YearsSpent = YearToday - YearStarted;
int YearMonthsStarted = YearsSpent * 12;
int TheMonthWestarted = int.Parse(DatabaseData[1]);
int TotalDaysSinceBC = (((YearToday * 12) + TodayMonthOfYear) * 30) - TodayDayOfMonth;
int TotalDaysSinceBoughtAndBC = (((YearStarted * 12) + TheMonthWestarted) * 30) - DayBought;
restingDays = TotalDaysSinceBC - TotalDaysSinceBoughtAndBC;
_clubMember = true;
}
sendData("@Gclub_habbo" + Convert.ToChar(2) + Encoding.encodeVL64(restingDays) + Encoding.encodeVL64(passedMonths) + Encoding.encodeVL64(restingMonths) + "I");
}
The whole cause of the HC Bug is...
You can see my fix here: [TUT] Instructions on CORRECTLY fixing the "HC Bug" in Holograph Emulator (Non-TDP)
I found that fix from about 10 minutes debugging and a bit of google!
It was also released on this forum which nobody really paid attention to!
If you google "HC Bug" the top result is this [TUT] How to fix the HC Bug [TUT]
THIS JUST ERASES ALL HC DATA!
And anyway, as soon as someone buys HC on a day of the month greater than 12 they get it back!
But this is not about the HC Bug it is the fact that within 60 seconds of downloading I had found some code that is the equivalent of fixing a leaky radiator by making a giant radiator in the middle of the house and put all the water in that.
This is better than remove the radiator as the old favourite fix was but still, not by much.
I bet if I looked for the next hour I would find lots more things that are just plain wrong!
And why do people care more about things like PwnPeople(), PwnPeople2() and PwnPeople3() than fixing bugs (NO! COMMENTING IT OUT DOESN'T COUNT!)?
Not to mention that my Magic Tiles are used and I don't appear to see any credit to the creator.
Judging on previous examples of Maarten's code I expect lots of getColumns when they can be combined into a single getTable... the reason TDP took a while to do as I had to go though each one... NOT JUST FIND AND REPLACE!!!
Holograph is a bad base anyway but yeah... that is for another time maybe.
Anyway these are my views.
Judge a book by it's cover rating: 3.4/10
Estimated full rating: 2.7/10
You should have seen the original code for refreshing effects, 120 queries! Im glas I found that with ANTS =)
- Martin
Wow... I guess it's a good thing you helped.
I will be trying to imagine what you could do with 120 queries for the next 3 hours!
PHP Code:int someID = dbClient.getInt("SELECT id FROM table WHERE id = " + someID);
someID = dbClient.getInt("SELECT id FROM table WHERE id = " + someID);
someID = dbClient.getInt("SELECT id FROM table WHERE id = " + someID);
someID = dbClient.getInt("SELECT id FROM table WHERE id = " + someID);
someID = dbClient.getInt("SELECT id FROM table WHERE id = " + someID);
someID = dbClient.getInt("SELECT id FROM table WHERE id = " + someID);
someID = dbClient.getInt("SELECT id FROM table WHERE id = " + someID);
someID = dbClient.getInt("SELECT id FROM table WHERE id = " + someID);
someID = dbClient.getInt("SELECT id FROM table WHERE id = " + someID);
someID = dbClient.getInt("SELECT id FROM table WHERE id = " + someID);
someID = dbClient.getInt("SELECT id FROM table WHERE id = " + someID);
someID = dbClient.getInt("SELECT id FROM table WHERE id = " + someID);
someID = dbClient.getInt("SELECT id FROM table WHERE id = " + someID);
// And so on...
It hangs on for a long time :Starting caching of catalogue + items.
Here a photo of it:
http://forum.ragezone.com/attachment...1&d=1265644808
PS Who have vars for this?
Screenies of gameplay?
Is it just base and there needs to be coded?
like rooms, badges user interface, packets ect..
I agree you are a nooob, why call yourself HoloCMsick? Sick is not owned by you, as far as i know your not even staff and if you are, your probally kicked. And change your signature name.
^Lol thats so cecer1 xDQuote:
Wow... do you people really think this is decent code at all?
Here is an example (first thing I looked at after downloading):
The original Holograph Emulator refreshClub (with HC Bug)
all the links are broken so how do i download it.
reup please
---------- Post added at 03:50 PM ---------- Previous post was at 03:47 PM ----------
Lonks are broken :'( please reup :(