/*
* Figures out if a string contains another string
* @return the result.
*/
final public function Contains($haystack, $needle){
return strpos($haystack, $needle);
}
..?
I'm not sure if you're a 'beginner', but your script lacks any structure. I don't see any classes, OOP, etc. I'm not sure how far you want this project to go.. but if it's 'far' I suggest you learn PHP from a reliable source(php.net, w3school, etc) because who ever taught you PHP is doing it wrong.
CBA to write up some big description so if you don't know what it is google the name I do have a few youtube videos up. Yes this is an uber edit.
Open sourced and you can get the database(Is it there..?) at http://github.com/Makarovich/lifeCMS
The folder is very dirty with experiments of mine...
Emulating for and made by experts.
DuckEmulator got:
- Compitable client R63+
- Errorlogger
- Config setting with GUI
- HelpBrowser
- DatabaseManager from Project Butterfly R63+.
- Stable structure
- Will be Open Source.
- Complete from Scratch.
Pictures:
GUI...
There is a lot of things you need to play with in Messages\Requests\Navigator.CS
Here is a you may want to look at.
private void GetRecentRooms() { if (!(Session.GetHabbo().Rank > 5)) return...
I really hope that the 90% of you RP Developers (10% = Me, Sleddy, Aaron, Shorty) learn some caching. You don't really need any queries in the command if you cache it first..