I thought I'd just share that groups weren't added until 2 years after the release of R38tt1:
You must be registered to see links
the old group is only the badge with the name and a simple info window
You must be registered to see links
(the info window is same of PHX)
You must be registered to see links
You must be registered to see links
Also, @Glaceon why not r63 2010? the UI is cool and have wireds, quests and much more things xD
You must be registered to see links
Phoenix != 2010, lol...Just run Phoenix. The biggest reason of Aurora it's because we don't have great v38 (Habbo Beta) emulators. We even got a single working emulator.
Also because of the nostalgia. v34 - v38 are a lot more tangible for now (since Shockwave it's dead) rather than v1 - v30 ..., I personally prefer the v22 - v28 versions.. But it's hard to make some Schockwave hotel right now.
So Habbo Beta also was a great nostalgia.
the old group is only the badge with the name and a simple info window
You must be registered to see links
(the info window is same of PHX)
You must be registered to see links
You must be registered to see links
Also, @Glaceon why not r63 2010? the UI is cool and have wireds, quests and much more things xD
You must be registered to see links
You're wrong. But I will not discuss with you. I think you was 8 or 9 in 2010, or something like that so you wouldn't really remember..Phoenix != 2010, lol...
Habbo beta is same thing of 2010 but with no wireds, he also could do a r58 (first wireds), is exactly same ui of beta
btw, he could do a websocket system to create wireds in html5 xD (i'm saying to add wireds cos i've created lots of retros with this version and users just stay if have rollers, wireds and stacktile (i did the stacktile in html5))
He is not wrong, you really have no idea...You're wrong. But I will not discuss with you. I think you was 8 or 9 in 2010, or something like that so you wouldn't really remember..
Just run Phoenix. The biggest reason of Aurora it's because we don't have great v38 (Habbo Beta) emulators. We even got a single working emulator.
Also because of the nostalgia. v34 - v38 are a lot more tangible for now (since Shockwave it's dead) rather than v1 - v30 ..., I personally prefer the v22 - v28 versions.. But it's hard to make some Schockwave hotel right now.
So Habbo Beta also was a great nostalgia.
man, i've worked with these versions for 3 years (2014 - 2017), i'm know what i'm sayingYou're wrong. But I will not discuss with you. I think you was 8 or 9 in 2010, or something like that so you wouldn't really remember..
[COLOR=#cc7832][B]if [/B][/COLOR](auth()->[COLOR=#ffc66d]user[/COLOR]()->[COLOR=#ffc66d]avatars[/COLOR]()->[COLOR=#ffc66d]count[/COLOR]()==[COLOR=#6897bb]0[/COLOR]) {
[COLOR=#cc7832][B]return [/B][/COLOR]redirect()->[COLOR=#ffc66d]route[/COLOR]([COLOR=#6a8759]'avatar-show'[/COLOR])[COLOR=#cc7832];
[/COLOR]}
[COLOR=#cc7832][B]if [/B][/COLOR](is_null(auth()->[COLOR=#ffc66d]user[/COLOR]()->[COLOR=#9876aa]avatar[/COLOR])) {
[COLOR=#cc7832][B]return [/B][/COLOR]redirect()->[COLOR=#ffc66d]route[/COLOR]([COLOR=#6a8759]'avatar-chooser'[/COLOR])[COLOR=#cc7832];
[/COLOR]}
[COLOR=#cc7832][B]return [/B][/COLOR][COLOR=#9876aa]$next[/COLOR]([COLOR=#9876aa]$request[/COLOR])[COLOR=#cc7832];[/COLOR]
[COLOR=#cc7832][B]public function [/B][/COLOR][COLOR=#ffc66d]avatar[/COLOR]() {
[COLOR=#cc7832][B]return [/B][/COLOR][COLOR=#9876aa]$this[/COLOR]->[COLOR=#ffc66d]hasOne[/COLOR](\App\Avatar::[COLOR=#9876aa][I]class[/I][/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'player_id'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'id'[/COLOR])->[COLOR=#ffc66d]whereCurrent[/COLOR]([COLOR=#6a8759]'1'[/COLOR])[COLOR=#cc7832];
[/COLOR]}
[COLOR=#cc7832][B]public function [/B][/COLOR][COLOR=#ffc66d]avatars[/COLOR]() {
[COLOR=#cc7832][B]return [/B][/COLOR][COLOR=#9876aa]$this[/COLOR]->[COLOR=#ffc66d]hasMany[/COLOR](\App\Avatar::[COLOR=#9876aa][I]class[/I][/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'player_id'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'id'[/COLOR])[COLOR=#cc7832];
[/COLOR]}
[COLOR=#cc7832][B]<?php
[/B][/COLOR][COLOR=#cc7832][B]
[/B][/COLOR][COLOR=#cc7832][B]namespace [/B][/COLOR]App\Http\Controllers[COLOR=#cc7832];
[/COLOR][COLOR=#cc7832]
[/COLOR][COLOR=#cc7832][B]use [/B][/COLOR]App\Avatar[COLOR=#cc7832];
[/COLOR][COLOR=#cc7832][B]use [/B][/COLOR]Illuminate\Http\Request[COLOR=#cc7832];
[/COLOR][COLOR=#cc7832]
[/COLOR][COLOR=#cc7832][B]class [/B][/COLOR]AvatarController [COLOR=#cc7832][B]extends [/B][/COLOR]Controller {
[COLOR=#cc7832][B]public function [/B][/COLOR][COLOR=#ffc66d]showForm[/COLOR]() {
[COLOR=#cc7832][B]return [/B][/COLOR]view([COLOR=#6a8759]'pages.avatar.create'[/COLOR])[COLOR=#cc7832];
[/COLOR][COLOR=#cc7832] [/COLOR]}
[COLOR=#cc7832][B]public function [/B][/COLOR][COLOR=#ffc66d]nameCheck[/COLOR](Request [COLOR=#9876aa]$request[/COLOR]) {
[COLOR=#cc7832][B]if [/B][/COLOR]([COLOR=#9876aa]$request[/COLOR]->[COLOR=#9876aa]ajaxAct [/COLOR]!== [COLOR=#6a8759]"check_habbo_name"[/COLOR]) {
[COLOR=#cc7832][B]return [/B][/COLOR]response([COLOR=#6a8759]'0'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6897bb]200[/COLOR])[COLOR=#cc7832];
[/COLOR][COLOR=#cc7832] [/COLOR]}
[COLOR=#9876aa]$validate [/COLOR]= validator([COLOR=#9876aa]$request[/COLOR]->[COLOR=#ffc66d]all[/COLOR]()[COLOR=#cc7832], [/COLOR][
[COLOR=#6a8759]'habbo_name' [/COLOR]=> [COLOR=#6a8759]'required'[/COLOR][COLOR=#cc7832],
[/COLOR][COLOR=#cc7832] [/COLOR]])[COLOR=#cc7832];
[/COLOR][COLOR=#cc7832]
[/COLOR][COLOR=#cc7832] [/COLOR][COLOR=#cc7832][B]if [/B][/COLOR]([COLOR=#9876aa]$validate[/COLOR]->[COLOR=#ffc66d]fails[/COLOR]()) {
[COLOR=#cc7832][B]return [/B][/COLOR]response([COLOR=#6a8759]'0'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6897bb]200[/COLOR])[COLOR=#cc7832];
[/COLOR][COLOR=#cc7832] [/COLOR]}
[COLOR=#9876aa]$avatarExists [/COLOR]= Avatar::[COLOR=#ffc66d][I]whereUsername[/I][/COLOR]([COLOR=#9876aa]$request[/COLOR]->[COLOR=#9876aa]habbo_name[/COLOR])->[COLOR=#ffc66d]count[/COLOR]()>[COLOR=#6897bb]0[/COLOR][COLOR=#cc7832];
[/COLOR][COLOR=#cc7832]
[/COLOR][COLOR=#cc7832] [/COLOR][COLOR=#cc7832][B]if [/B][/COLOR]([COLOR=#9876aa]$avatarExists[/COLOR]) {
[COLOR=#cc7832][B]return [/B][/COLOR]response([COLOR=#6a8759]'0'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6897bb]200[/COLOR])[COLOR=#cc7832];
[/COLOR][COLOR=#cc7832] [/COLOR]}
[COLOR=#cc7832][B]return [/B][/COLOR]response([COLOR=#6a8759]'1'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6897bb]200[/COLOR])[COLOR=#cc7832];
[/COLOR][COLOR=#cc7832] [/COLOR]}
[COLOR=#cc7832][B]public function [/B][/COLOR][COLOR=#ffc66d]create[/COLOR](Request [COLOR=#9876aa]$request[/COLOR]) {
[COLOR=#9876aa]$validate [/COLOR]= validator([COLOR=#9876aa]$request[/COLOR]->[COLOR=#ffc66d]all[/COLOR]()[COLOR=#cc7832], [/COLOR][
[COLOR=#6a8759]'username' [/COLOR]=> [COLOR=#6a8759]'required'[/COLOR][COLOR=#cc7832],
[/COLOR][COLOR=#cc7832] [/COLOR][COLOR=#6a8759]'figure' [/COLOR]=> [COLOR=#6a8759]'required'[/COLOR][COLOR=#cc7832],
[/COLOR][COLOR=#cc7832] [/COLOR][COLOR=#6a8759]'gender' [/COLOR]=> [COLOR=#6a8759]'required'[/COLOR][COLOR=#cc7832],
[/COLOR][COLOR=#cc7832] [/COLOR]])[COLOR=#cc7832];
[/COLOR][COLOR=#cc7832]
[/COLOR][COLOR=#cc7832] [/COLOR][COLOR=#cc7832][B]if [/B][/COLOR]([COLOR=#9876aa]$validate[/COLOR]->[COLOR=#ffc66d]fails[/COLOR]()) {
abort([COLOR=#6897bb]404[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]"Temp. error handling"[/COLOR])[COLOR=#cc7832];
[/COLOR][COLOR=#cc7832] [/COLOR]}
[COLOR=#9876aa]$avatar [/COLOR]= Avatar::[COLOR=#ffc66d][I]create[/I][/COLOR]([
[COLOR=#6a8759]'player_id' [/COLOR]=> auth()->[COLOR=#ffc66d]user[/COLOR]()->[COLOR=#9876aa]id[/COLOR][COLOR=#cc7832],
[/COLOR][COLOR=#cc7832] [/COLOR][COLOR=#6a8759]'username' [/COLOR]=> [COLOR=#9876aa]$request[/COLOR]->[COLOR=#9876aa]username[/COLOR][COLOR=#cc7832],
[/COLOR][COLOR=#cc7832] [/COLOR][COLOR=#6a8759]'figure' [/COLOR]=> [COLOR=#9876aa]$request[/COLOR]->[COLOR=#9876aa]figure[/COLOR][COLOR=#cc7832],
[/COLOR][COLOR=#cc7832] [/COLOR][COLOR=#6a8759]'gender' [/COLOR]=> [COLOR=#9876aa]$request[/COLOR]->[COLOR=#9876aa]gender[/COLOR][COLOR=#cc7832],
[/COLOR][COLOR=#cc7832] [/COLOR][COLOR=#6a8759]'motto' [/COLOR]=> [COLOR=#6a8759]'I | Aurora'[/COLOR][COLOR=#cc7832],
[/COLOR][COLOR=#cc7832] [/COLOR][COLOR=#6a8759]'sso_ticket' [/COLOR]=> [COLOR=#6a8759]''[/COLOR][COLOR=#cc7832],
[/COLOR][COLOR=#cc7832] [/COLOR][COLOR=#6a8759]'current' [/COLOR]=> [COLOR=#cc7832][B]true[/B][/COLOR][COLOR=#cc7832],
[/COLOR][COLOR=#cc7832] [/COLOR]])[COLOR=#cc7832];
[/COLOR][COLOR=#cc7832]
[/COLOR][COLOR=#cc7832] [/COLOR][COLOR=#cc7832][B]if [/B][/COLOR](!is_null([COLOR=#9876aa]$avatar[/COLOR])) {
Avatar::[COLOR=#ffc66d][I]where[/I][/COLOR]([COLOR=#6a8759]'created_at'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'<'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#9876aa]$avatar[/COLOR]->[COLOR=#cc7832]created_at[/COLOR])
->[COLOR=#cc7832]wherePlayerId[/COLOR](auth()->[COLOR=#ffc66d]user[/COLOR]()->[COLOR=#9876aa]id[/COLOR])
->[COLOR=#ffc66d]update[/COLOR]([
[COLOR=#6a8759]'current' [/COLOR]=> [COLOR=#cc7832][B]false
[/B][/COLOR][COLOR=#cc7832][B] [/B][/COLOR]])[COLOR=#cc7832];
[/COLOR][COLOR=#cc7832] [/COLOR][COLOR=#cc7832][B]return [/B][/COLOR]redirect()->[COLOR=#ffc66d]route[/COLOR]([COLOR=#6a8759]'me-page'[/COLOR])[COLOR=#cc7832];
[/COLOR][COLOR=#cc7832] [/COLOR]}
[COLOR=#cc7832][B]return [/B][/COLOR][COLOR=#6a8759]"error"[/COLOR][COLOR=#cc7832];
[/COLOR][COLOR=#cc7832] [/COLOR]}
}
Thanks for the great introduction, @Glaceon. Jesus, been ages since IWarfare, huh? Ha...
Aaaaanyways, hello there Aurora fans!
The avatar creation is my current master piece (current!)
I'm using a middleware to check whether the current player has an avatar as its current and whether is has one at all.
Code:[COLOR=#cc7832][B]public function [/B][/COLOR][COLOR=#ffc66d]avatar[/COLOR]() { [COLOR=#cc7832][B]return [/B][/COLOR][COLOR=#9876aa]$this[/COLOR]->[COLOR=#ffc66d]hasOne[/COLOR](\App\Avatar::[COLOR=#9876aa][I]class[/I][/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'player_id'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'id'[/COLOR])->[COLOR=#ffc66d]whereCurrent[/COLOR]([COLOR=#6a8759]'1'[/COLOR])[COLOR=#cc7832]; [/COLOR]} [COLOR=#cc7832][B]public function [/B][/COLOR][COLOR=#ffc66d]avatars[/COLOR]() { [COLOR=#cc7832][B]return [/B][/COLOR][COLOR=#9876aa]$this[/COLOR]->[COLOR=#ffc66d]hasMany[/COLOR](\App\Avatar::[COLOR=#9876aa][I]class[/I][/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'player_id'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'id'[/COLOR])[COLOR=#cc7832]; [/COLOR]}
[COLOR=#cc7832][B]public function [/B][/COLOR][COLOR=#ffc66d]avatar[/COLOR]() {
[COLOR=#cc7832][B]return [/B][/COLOR][COLOR=#9876aa]$this[/COLOR]->[COLOR=#ffc66d]hasOne[/COLOR](Avatar::[COLOR=#9876aa][I]class[/I][/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'player_id'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'id'[/COLOR])->[COLOR=#ffc66d]whereCurrent[/COLOR]([COLOR=#6a8759]'1'[/COLOR])[COLOR=#cc7832];
[/COLOR]}
[COLOR=#cc7832][B]public function [/B][/COLOR][COLOR=#ffc66d]avatars[/COLOR]() {
[COLOR=#cc7832][B]return [/B][/COLOR][COLOR=#9876aa]$this[/COLOR]->[COLOR=#ffc66d]hasMany[/COLOR](Avatar::[COLOR=#9876aa][I]class[/I][/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'player_id'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'id'[/COLOR])[COLOR=#cc7832];
[/COLOR]}
Nice project both of u (any new progress?)
Was wondering wouldnt you be able to use the avatar class like this ?
Code:[COLOR=#cc7832][B]public function [/B][/COLOR][COLOR=#ffc66d]avatar[/COLOR]() { [COLOR=#cc7832][B]return [/B][/COLOR][COLOR=#9876aa]$this[/COLOR]->[COLOR=#ffc66d]hasOne[/COLOR](Avatar::[COLOR=#9876aa][I]class[/I][/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'player_id'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'id'[/COLOR])->[COLOR=#ffc66d]whereCurrent[/COLOR]([COLOR=#6a8759]'1'[/COLOR])[COLOR=#cc7832]; [/COLOR]} [COLOR=#cc7832][B]public function [/B][/COLOR][COLOR=#ffc66d]avatars[/COLOR]() { [COLOR=#cc7832][B]return [/B][/COLOR][COLOR=#9876aa]$this[/COLOR]->[COLOR=#ffc66d]hasMany[/COLOR](Avatar::[COLOR=#9876aa][I]class[/I][/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'player_id'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'id'[/COLOR])[COLOR=#cc7832]; [/COLOR]}
You will made with SSO for v9 ? , i re-made a CMS from 2006 using zabboweb and Holograph...