I urgently need the syntax of catalog items!
Updated thread, posted picture of console. (here)
Also been keeping catalogue up-to-date :)
http://img405.imageshack.us/img405/460/annat.png
Printable View
I urgently need the syntax of catalog items!
Updated thread, posted picture of console. (here)
Also been keeping catalogue up-to-date :)
http://img405.imageshack.us/img405/460/annat.png
omg looks awsome good luck with this :)
Nice emulator , nice to see somebody using ION again but a while ago i found out something about ION that makes the process of the emulator more faster but it takes up to much RAM so i don't recommend using it but ill look for the documentation i made of it and send it to you if i found it , if not i'll tell you and i personally think that you should not work on the cms yet you can make the client of cource but working on the cms will interfere your work with the emulator
Sorry for bad english im dutch :p
Talking and shouting works :)
I like my work being as neat as possible so here is a snippet for you guise..
http://pastebin.com/56T05AJh
http://imageshack.us/m/20/6826/talkyshoutyh.png
Looks nice, but no filter & chatlog handler on it? Jeez..
Good to see you're still working on this!
Nice emulator
Offtopic: Hey zak babe
Your code sucks, your a pathetic excuse for a developer. You have made no real progress whatsoever and some code in your cms has been blatently ripped from HoloCMS and PHPRetro. I suggest you go read the php tutorials at W3Schools Online Web Tutorials before you even attempt to code a cms. This could be taken down in seconds, as you've left many flaws within your code which completely broadens the range of attacks that could be used against this so called 'cms'.
Good luck with this.
Have you actually looked at the CMS source? It's pretty fucking bad.
Best of luck on the Emulator though, hopefully your C# is better than your PHP. I remember working on Deltar back when it was new, on HybridCore with Shorty and Nillus. Fun times. It never really got too far because of the retarded blocking Nillus was using on everything to keep it absolutely thread-safe (there were much better ways of doing things), but it was fun all the same.
I haven't looked at the emulator source (I'm assuming it wasn't released - and that's why, I cba to scroll back all the pages) - but if you're avoiding the blocking, you're going to have another uberEmulator on your hands. It won't be stable and it'll throw deadlocks everywhere. No watcher thread could possibly keep up with it.
Welp, good luck with the project, but I suggest you leave the CMS to someone who can actually code PHP. :rolleyes:
Is there any new updates coming from this? Or is it as slow as James project. Don't get me wrong, I love James project, just not the speed that it is progressing at.
In my opinion, get someone who actually knows concepts to code your Content Management System. Find someone who is in the middle of developing one that you trust and want to partner with or get a new person to develop one.
"Ion doesn't use switch cases meaning it runs faster :P"
What? Just because there aren't switch cases it runs faster? You do realize that statement makes no sense, Holograph runs faster / much more stable than Uber and Uber "doesn't use switch cases". Just one little thing doesn't make a server faster, it's how the whole thing comes together in the end. Just spending money on hardware you don't need doesn't make it faster either, it means you've got the money to spend to support a server that wastes resources.
/Development Rant
Anyway, you defined what 'OSS' means but you didn't write it anywhere in your thread at all, it was in the title previously, but it isn't anymore. Also, MySQL isn't a client feature, it's a server side feature, as in the server connects to it, the client is not even aware of the database the server uses, only that it sends data and receives data and acts upon data received, I consider it a 'Core' feature along with sockets, and a debug system (Logging.cs).
He is doing great, I have been tracking this and he has made a lot of progress.
I ranted about you listing MySQL as a client feature, because people think the database is part of the client for whatever reason. E.g. when you tell someone you're coding a V13 server they automatically call it a 'Flat File' and think it's slow and buggy, but Woodpecker is MySQL and it has way less bugs than any other v13 server out there.
^ I'm sorry, and ima let you finish, but USA111's flatfile server was THE BEST EMULATOR OF ALL TIMEZ.
In all honestly a database such as MySQL is quite simply a flatfile with an efficient backend management server. MySQL is all comprised of static files that get read and written to, high-load servers often can't handle it on normal platter drives, thus the invention of higher RPM drives. While I'll agree POORLY WRITTEN flatfile handling is much less efficient, if done right a flatfile-based backend can be faster and more powerful than ref'ing MySQL for queries constantly. It's essentially a local cache, that doesn't need any caching.
Woodpecker was better off as a MySQL server though, and it is clearly superior. Even the simple release of Ion with a v13 environment was better suited for it's purpose than anything ever written and released in Visual Basic 6.
As for "How nillus would have wanted it" with Ion, all queries were blocked originally, and they were assigned to their own individual class. Shit broke when Roy started throwing query structure into random files. There was no handling for if rows didn't exist or were corrupt (when reading or in the db themselves) and it started throwing "deadlocks" - the corruption of improper null handling.
I suppose any true blocking is better than the uberEnvironment though. Best'aluck. If you ever need any help, I'm well versed w/ Ion as a framework - I worked a lot on it back when it was simply Ion, no Deltar, no uberEnvironment, no silly rewrites.
Thread has been updated, with latest features (Check the thread here)
- Public rooms now can enter
- I cache room ids per user instead of raping the mysql server
- 18 rooms have been added
- Alot of recoding has made things faster IMHO
TO DO?
- Load figure in public rooms
- Start proper walking and talking :)
Infobus Park
http://img12.imageshack.us/img12/7830/87577934.png
Chinese Place
http://img192.imageshack.us/img192/7093/56529407.png
Lido - beware of AIDS
http://img225.imageshack.us/img225/6273/44584113.png
Newbie Lobby
http://img189.imageshack.us/img189/4360/59654909.png
Pizzeria
http://img17.imageshack.us/img17/2615/49748460.png
Its pretty fucking intense.
Well, now you need to code public room furni & public room user entering ;)
Anyways, goodjob, mind sharing some code snippets? And do you cache the heightmaps etc?
Your 9th lifetime saying Good Job? :P
The room user entering works very much indeed, all that needs done is public items and making that user visible.
I don't see the need to cache the height map or model since I only need to load it once for each user who enters a room.
Here is the snippet you requested, for entering a public room
PHP Code:private void OpenConnectionMessageCompose()
{
//Remove garbage
Request.PopWiredInt32();
//Public room ID
int id = Request.PopWiredInt32();
using (DatabaseClient dbClient = AleedaEnvironment.GetDatabase().GetClient())
{
dbClient.AddParamWithValue("id", id);
DataRow dRow = dbClient.ReadDataRow("SELECT * FROM public_rooms WHERE id = @id");
Response.Initialize(ResponseOpcodes.RoomReady); // AE
Response.AppendString((string)dRow["model"]);
Response.AppendInt32(0);
SendResponse();
//Checks if user is already in there, if so, deletes him!
ContainsRoomID(Session.GetHabbo().Username);
//Add user to Dictionary, Username being the key and the room id being the value
Room.Add(Session.GetHabbo().Username, Convert.ToUInt32(id));
//If it contains the type (private, public) get rid of it
ContainsType(Session.GetHabbo().Username);
//Add the room if the room is public (it is)
Type.Add(Session.GetHabbo().Username, "public");
Response.Initialize(ResponseOpcodes.Bf); // Bf
Response.AppendString("/client/public/" + Convert.ToString(dRow["model"]) + "/0");
SendResponse();
}
}
Public rooms are limited (also if you have 50-60 etc), so I really don't understand why don't you want to cache them: if you use a MYSQL connection every time an user enters a room, then you'll have lots of memory usage more than caching data!
But then, if you think yours is still the better choice, I really suggest you to change that query, because, in this case, there is no need to get ALL the row (using *): in fact you only use the "model" column, so, you should just get it. I know these suggestions may seem stupid etc (and in fact they are, if you think to a limited-number-of-users server), but if you want to build an high-scalable one, even the most stupid thing may cause you problems :D
- Alex
Oh another mistake there. :P
Should really be
It won't be released until it's absolutely perfect (As I don't want any harsh crticisim, but you have done it in a nice way) :DCode:string Model = dbClient.ReadString("SELECT model FROM public_rooms WHERE id = @id");
Public room items :D
http://img857.imageshack.us/img857/5472/2itens.png
---------- Post added at 10:03 AM ---------- Previous post was at 10:00 AM ----------
I need the ones for the infobus park since Habbo doesn't have it in there navigator :P
infobus items:
Code:cubicb_chairQDPCIRAHc1219cubico_chairSDPCIJHd1315cubicb_chairSCQCIJHL1319lightpoleSDQCIHHd1320cubicb_chairPEQCIRAHL149lightpoleQBRCKHHA152loungey_chairJSCKPAHd1514cubicb_chairRCSCIPAHc1519cubico_chairSDSCIPAHB162loungey_tableJPDKHHA167loungey_chairSAPDKJHB168loungey_tablePBPDKJHA169loungey_chairQBPDKRAHd1613cubicb_chairQCPDIJHd1614cubicb_chairRCPDIRAHC1619orangeSDPDIHHA172loungey_chairJQDKHHA177loungey_chairSAQDKJHB178loungey_tablePBQDKJHA179loungey_chairQBQDKRAHd1719cubicb_chairSDQDIJHC182orangeJRDKHHd1814cubicb_chairRCRDIPAHK192bardesqueJSDKHHK202bardesqueJPEKIHb203bar_chairKPEKRAHL209lightpoleQBPEKHHd2014cubicb_chairRCPEIHHd2019cubicb_chairSDPEIJHc2020cubico_chairPEPEIRAHK212bardesqueJQEKIHb213bar_chairKQEKRAHd2119cubicb_chairSDQEIHHK222bardesqueJREKIHb223bar_chairKREKRAHL2216lightpolePDREIHHc2218cubico_chairRDREIHHK232bardesqueJSEKIHb233bar_chairKSEKRAHK242bardesqueJPFKIHb243bar_chairKPFKRAHK252bardesqueJQFKJ
Here you are, From my uberdb :p
Code:QDHC00cornerchair2HHHPAHB01cornerchair1IHHPAHA02chair1JHHPAHA03chair1KHHPAHH05table1QAHHPAHE06chair1lineRAHHPAHA07chair1SAHHPAHF08chair1frontendPBHHPAHJ010hububarRBHHPAHB10cornerchair1HIHJHA20chair1HJHJHA30chair1HKHJHA40chair1HPAHJHF50chair1frontendHQAHJHI53table2KQAHPAHD55modchairQAQAHHHI58table2PBQAHPA
---------- Post added at 02:26 AM ---------- Previous post was at 02:25 AM ----------
Uhm, Davidaap Grrrr
Whoa, who just let out a can of joopieass!
Always wanted to say that
Posted via Mobile Device