Yupi Emulator updated. See Github for new changes/commits.
Edit: Can someone merge comments? Thanks!
Printable View
Yupi Emulator updated. See Github for new changes/commits.
Edit: Can someone merge comments? Thanks!
Are you gonna update the structure still that much so users could lose still their items?
Huh i really don't know that depends how many changes i will do in database.
But i think in items_rooms, catalog_items, catalog_furnitures i will do little changes.
maybe in catalog_pages can be more changes.
In catalog_items, catalog_furnitures, items_rooms i will only correct types, remove unnecessary fields, optimize, etc.
Maybe in groups_*, items_groups, items_* (except items_rooms), pets_*, server_*, users_*, moderat(or/ion)_*, navigator_* is where more changes can happen.
Achievements i think i finished.
You can follow the development in TeamViewer, entering in the ID in my signature.
Working at Camera:
http://i.imgur.com/ht3JWt8.png
http://i.imgur.com/pn0bweL.png
http://i.imgur.com/cQRfee4.png
http://i.imgur.com/LOFf2w5.png
Also doing other commit today, with some Pets fixes, now pets doesn't walk infinitely (Avatar Statusses).
Also i will upload a complete all-in-one SWF,Client,Etc. pack.
Is that the same script for the azure camera? If so did azure have not fixed the wallpapers and floor texture correctly aligned?
Exactly. I created the Azure Camera script. But sadly the PhP doesn't includes by default ImageMagick, so the PhP inbuilt Image manipulation library doesn't has a function to 3D Polygon Distortion.
Soo yes, wallpaper and floorpaper textures aren't aligned, sadly.
Solution: Install ImageMagic
Problem: Will be most harder to non advanced users use the Camera Script.
PS: I didn't created a script to extract Pet Assets. Will create monday.
But thanks for replying.
I kow your camera script already has this problem fixed.
Still live on teamviewer??
Yeah i know.. Camera is a pain in a ass haha
Btw, i know how make the distortion work, i only cant do it working in PhP without ImageMagic.
One of my tentative was create manually the function that do that. But didn't worked.
My idea was calculate the angle that the texture may be aligned, and create a pixel reassign, basically transform the image in a matrix (array) where every pixel is a coordinate, and reassign the coordinates with the respective angle.
Didn't worked soo good..
Other thing is the room door. The right coordinate of Y isn't gived, so i calculated Pitagoras with X,Z
Do u have any idea?
Commited Yupi.
Now show message if has invalid SSO key, and not a cast error.
The cast error was because if not get a user data, they return a boolean and not DataRow.
Is it that good enough to use on a public hotel? I also saw this four buggs the previous time i checked this:
1. Chatlogs where gone after reload room
2. Room crashes when you reload a room with a bot in it
3. Wired where not 100%
4. Mod tools where not 100%
Are these fixed yet (number 1 and 2 are the most important)?
1. This bug doesn't exists, check you MySQL strict mode.
2. This bug was already fixed. I tried several :unload/:reload with two bots in the room and pets, also after restarting the emulator.
Again this can bee you MySQL configuration set.
Remembering: each "all-in-one" web server, like XAMPP, WAMPP, MAMP has each different MySQL configuration.
Also i don't recommend MySQL Community Edition for Habbo because the default configuration wasn't made for Habbo.
I'm using successfully Yupi with MAMP.
(MAMP is for Windows and OS X)
This is in the Sprint, and in the issue list.
I will follow the order of what is more necessary.
Also i don't know what is this bug of wired that you are saying.
Also i know MOD tools isn't finished. If you see the issues will see what i know is bug and what i will do, already you can comment in the issue giving feedback/ideas/suggestions.
Particularly you can give me screenshots, because i don't know so much is the mod tools in Habbo.com, i mean what need to happen for each type of reporting.
Example: i report a user in a certain type of report, i need to know what boxes, etc. need to be opened.
Because the ServerCamera isn't made to be accessed from Browser. Only the emulator need to Access ServerCamera.
Read the error: Invalid jSON data. Maybe because you didn't gave any jSON.. The Emulator makes the request and give the properly jSON.
As i said in Release thread. You only need change all the urls from all the settings
(external_variables, client.php, other.ini, main.ini) the other things are already done.
See the Documentation of Server Camera.
You didn't need configure anything.
What you want accessing the server camera file? A random Image appearing? (maybe i will do that to laugh when people create funiest threads in help section about what is this image. Or about the error of invalid furniture data.)
Cheers,
This isn't a preview url guy. This is the URL that the emulator uses to create room thumbnail image.
Stop talking these things. Seriously, i don't like people posting issues in a development thread. We have Help section, also this isn't a bug. You need READ the message BEFORE post a question.
You need think only a little, to understand that the urls that is in a settings file of an emulator is only a url to the emulator access, yeah?
Sorry if i'm being rude, but please don't create unnecessary troubles with questions that aren't really questions. If you read the readme and documentation of server camera will see all the explanations.
The most bugs of the community the own community creates. So first read the manual.
Cheers,
Also gives error 500, because server camera need php 5.5+ (recommended PhP 5.6)
I'm still trying to figure out, why @Dominic is saying this if i created Azure Camera, and the developers of azure after i left, didn't continued the camera. You can only say the "i'm still have not figured out" if you already coded that. You really don't know how this is hard to code. I'm sorry but is the truth, also @The General has some problems with the algorithm, the fact is Habbo Camera appear be easy, in fact needs to be, but the way how Habbo does the Camera is hard. (Not saying the problem is the jSON) but think a little, how hard is recreate an entire room based on the assets name and positions? Also the room coordinates (the room model) need to be created with the data that is given in the jSON. We don't know how Habbo officially makes the Habbo Camera Server, know it is in Node.js, but we don't know how ever they get the assets.. If need extract everything? (Because the Actual Habbo-Imaging Script that is in RaGEZONE also extracts all Habbo Avatar assets, for own Habbo-Imaging. Also Habb Badge we did in this way, also now Server Camera i'm doing the same. Maybe they have a way to directly get the asset from SWF without extract.. Maybe?) The fact is we trying to emulate the hole thing. Door coordinates isn't given right (i tried using pitagoras), we don't know in which case the Z coordinate is used and for what is used (for the floorpaper and wallpaper is totally useless), it's really hard do a 3D image distortion, needing to distort every pixel from a frame-set of wallpaper/floorpaper (because is repeated) for each part of the room, because the direction (angle) of the wallpaper/floorpaper need to follow the wall angle. And this isn't polygon rotate or 2D rotate. The Wallpaper/Floorpaper fill exactly the area, but without the correct angle. Soo, is more hard that you think. Languages like C# aren't so Web friendly as the way of do all this. See the explanation above.
Also my focus isn't code camera in C# now, is follow the milestones. After the mainly issues, i will see if i do that. Also C# is good for Image Manipulation, but is really bad make every Snapshot of the camera (the way how the camera gets assets) will only make emulator probably use high cpu or ram, with only one photo. Need consider that the emulator will need to read the json, get the assets, create the image and save in the Host, think, how the Emulator that isn't in the Web Host, will upload a file to a web host remotely.. That can be a huge security issue.
If u know, Sulake Server Camera isn't in the Habbo Emulator, they use Node.js Applet that is the Server Camera.
PHP Libraries such ImageMagick are awesome, other like gifcycle too. The built in are messy. You need understand PhP is a Web Language also Interpreter so is really important that PhP has good Image libraries.
Your argument is inconsistent, you're not giving me any argument to prove it or say you way to do more efficient!
Will do any difference you saying that you didn't figured out how i'm still using php for that? Please, this is so much sarcasm.. If you want to i stop to using PhP, give suggestions, valid arguments to be more constructive and really help, because an argument without solution or only a empty criticism helps nothing..
So, please stop argument in my thread if you don't have anything to collaborate.
Sorry for this useless post, but I've seen an Hotel with working Camera. I only tried it "superficially", for me it's working... maybe it takes a screen of webpage, I don't know.
If this can be useful, mp me and I'll send you link... :S
Sent from my iPhone using Tapatalk
Hey guys,
I have a problem with my client
my client loaded to 59% and then is he noting to do
How to fix this?
Screenshot by Lightshot
You can already send me a PM.
- - - Updated - - -
Stopped in 59%?
Which RELEASE folder are u using? The Folder with end 347? Remember that also can be wrong port/ip
When freezes on 59% can be:
1. Wrong IP Address / Port from Emulator in Client
2. External_Variables isn't configured correctly for base things.
When freezes on 68% can be:
1. Found a listening socket in the correspondent ip:port but the socket responses anything (maybe connected to wrong software)
2. External_Flash_Texts file doesn't exists
3. Other External_Variables bad configuration
When freezes on 76% can be:
1. Wrong SSO Code
2. Wrong RELEASE version
3. Any error issued on Login Attempt
4. Same as Variables/Texts
When Loads 100% an immediately gives DC (in case of my pack only stay in 100%)
1. Emulator disconnected you abrutely because an error
2. Client didn't found furnidata.xml
3. Client didn't found figuremap.xml
4. External_Variables/Texts error
When Loads 100%, enter and you Avatar stays blank and you can do nothing more (Some cases gives DC, except my pack)
1. You're not using a valid PRODUCTION gordon folder (Dance1,2,3,4.swf, HabboAvatarActions.xml, EffectsMap.xml)
2. Other things
if you are smart you do f12 and check the console errors :)
i use this folder PRODUCTION-201510201205-42435347
use this (new production): PRODUCTION-201601012205-226667486
Check btw your extern variables because the url's are litte bit messy :$
Commited
- Improved HandlePurchase
- Fixed Some Queries
- Fixed Monster Plant Planting
- Fixed Some Pet Speeches
- Continued Database Cleaning
- Started Pet Breeding Rewriting
- Continued Pet Rewriting
- Cleaned more Code
- Continued core Refactoring
I going in to my client and i press on f12 and then
this
Screenshot by Lightshot
How can i fix this??
and my client.php
Screenshot by Lightshot
Hello,
Very good project i test that !
But.. Work if i have a database with AzureSharp?
EDIT: Where is the .exe please?
Please, read the entire thread, and do not questions that are already answered. See release section, will see emulator and cms.
No, if you see the release threads or read the main post of this thread will see that you can ONLY use the Emulator database, not other.
This is a DEVELOPMENT thread, why .exe?
This emulator is under development. Only source code, you need build. And every day has new updates. Please read the pages of the thread and not repeat questions.
Asking to @CodeDragon create a official help thread where i can put Basic questions/answers and FAQ for the CMS/Emulator/SWF/Etc.
Also i'm asking to you CodeDragon if you can clean the dev threads and release threads. And delete the Help Posts, or in a way say to using the help thread.
Thanks! Also if other mod such like @Vaulient @Droppy @Shorty wanna do that, i will be glad.
I have al checked and noting to help.
My client.php
Screenshot by Lightshot
I have al localhost in my domain changed
i have the port 30000 for the emu and client
And i have localhost changend in my domain= external_variables
i dont now what the problem is i have this in my console from chrome
Screenshot by Lightshot
Who can help me?
And how can i fix that sso ticket? ;$
Dont know if its a bugg, but im taking a picture with no furni within it, and i get this error, which says im using too much furni on the picture. (PHP 5.6 & NGINX):
http://i.prntscr.com/8daa2058be134cf...e3a11ee811.png
What is wrong with people, one release and your developmemt thread became a help thread.
@ovflowd good luck with surviving this help attack. XD
Sent from my HTC One using Tapatalk
the screenis arent on english since im not home right now i want to know if its possible to get other lang's?
See the crash LOG. You forgot to put SSO TICKET.
This client isn't made for any CMS as i explained. USE the PRODUCTION...347 folder, like is pre-configured in SWF.
This client.php is for Development usage, so to use, go in your database, in table users, change the field auth_ticket, from your user to something, can be anything, like "chocolate", save,
and open yoursite/client.php?t=the_ticket_that_you_putted , in this case client.php?t=chocolate
I already explained that.
If you want to use in a CMS, you need put your's CMS client.php, because this client.php doesn't save any SSO_ticket in database.
- - - Updated - - -
I Will upload screenies in English. The Screenies are old ;)
- - - Updated - - -
Wuut. That is weird. The image uri is broken. Can send a valid URL?
http://forum.ragezone.com/f333/camer...check-1091336/ if you can check my toppic i fix some of the things but its dont work ;p
wtf..
I'm saying i get forbidden when try to access your lightshot url.
- - - Updated - - -
NGINX is like APACHE? what the holly f... you said o.o
Some considerations: https://www.digitalocean.com/communi...considerations
I really like nginx to be used like as git repository, or for assets host (static content) nginx is really good to manage cache/data/requests.
But Nginx doesn't have natively php support. Is a piss try to do this, and the perfomance is really different.
Nginx is better that Apache? in some points yeah. But only the reason of nginx is better in some points, that doesn't really means that is better to use PhP.
Nginx is funny, in my concept NGINX wasn't made for web sites but for web services, and web apps. Develop xitty php codes in Nginx, noah.
Gitlab uses nginx for hes Web Protocol.
Reason: Gitlab community isn't a CMS, is the new "concept" of web service/web app.
What's the difference: search it.
Apache is more home made. But can be power full with correct configuration. Like MySQL is a good hammer, but not good for all solutions.
Try think Google using MySQL..
Try think IoT using MySQL, noah...
..
Live now on TeamViewer
I get this error when im entering the client: Registered Game Critical Exception. the client loads and stops at 76
Pushed Multiple Commits, Day: 14 to day 20. (this month)
Commited in Yupi.
Commited on Yupi (has 2 hours)
Commited to Yupi
- - - Updated - - -
Commited Again
A little think in Yupi give me cancer, for every item moved, updated Yupi updates in database ENTIRE items from the room and maybe as far i can see, every room o.o Is really annoying.
I wouldn't hardcode 127.0.0.1 in as a valid mus socket ip, you never know if there is a shell uploaded to the server or someone has access to the server and uploads some sort of tool. These are potentially threads but will less likely happen.
Also, you've made a interface folder while you put abstract or internal classes in there, this is a bit confusing since interfaces aren't the same as an abstract class. An internal class can only be used by the same project and will not go outside of the project. This is not an interface.
That's just an excuse for making it not be so bad, there are many case senarios that you don't want to have it open for 127.0.0.1. I just want to point out that he should make this fully configurable for everyone, I know he is adding it to prevent noobs from screwing up.
Yeah, but i didn't finished the PSR writing. I only separated some things in other folders to avoid these MIX.
But i will redo the folder structure.
MUS isn't coded in Yupi. i forgot removing the configuration settings of mus in config file.
- - - Updated - - -
Commited to Yupi.
See changes in OP.
I'm putting commit details in this Post: http://forum.ragezone.com/f331/yupi-...5/#post8545795 (#3)
- - - Updated - - -
Reason of changing the base of Asynchronous File Appender from RollingFileAppender to FileAppender:
1. As the emulator have multiple threads, RollingAppender only allows one open instance of file stream, locking the file. When other thread/void from the Emulator call's the Log Manager, the Lock is endless, waiting the first stream close (only on Log Manager Dispose).
2. So changed to Normal File Appender, using Asynchronous creating a Queue with the Errors, dumping they only on Emulator Shutdown.
This is good because we don't want a stream opening every time in Emulator Execution, opening stream for append text in the file increase the pause of thread execution, increasing the chances of some thread crashing.
3. Also is good put the logs only in shutdown because to fix any error you need edit source code and shut down emulator.
That was a noob-friendly explain and really condensed.
Its time to fix the known issues :)
and then MUS Socket adding !!
:DDD im so excited
@ovflowd
OP, when updating thread, instead of sending "commited again", I request for you to add what have you commited, unless it's only bump and post count.
Tell what you have updated. Even though, I know that you're updating the changelog post ( http://forum.ragezone.com/f331/yupi-...5/#post8545795 ) it would be for the better interest from the people around to know what are you doing at the moment instead of only bumping it.
@ovflowd
claudio, the time is coming to fix the known issues.
Juice, first stability, later features. I have a life '-'
Commited to Yupi.
See: http://forum.ragezone.com/f331/yupi-...5/#post8545795
For Commit Details.
Commited. Adding Commit Log in few min.
Commited to Yupi
See changelog here: http://forum.ragezone.com/f331/yupi-...5/#post8545795
Commited to Yupi.
Commited to Yupi.
Congratz with your 75 commits on GitHub! Party :D
It's 83, in branch "nio" :D
Hey ovflowd i have problemes why Quests as not working? have patch? thanks alot.
Quests aren't coded and Disabled. And will not be code. Since Habbo is in process to remove Quests. And only remain Achievements.
Also in Puhekupla are news that Achievement System will be rewrote..
People sorry for having no commits.
i'm trying to change the Socket System based in a NIO and Reacting Socket System.
I switched to Helios.io (helios-io in github)
That is really good! But i can't figure out to work.
You can see my progress in "NIO" branch from my Github.
http://i.imgur.com/g6i7R16.png
Observation: These logs are only for test
The weird thing is the OnReceive isn't being called! So i can't even send Cross Domain Policy Request! And when i try send Directly gives error to.
Reason of rewriting Socket System. See the differences in "Master" branch and "NIO" Branch.
Also i'm rewriting GameClient System and Packet System.
The fucking InitialPacketParser and the 1000000x Delegates was removed.
@CodeDragon does you have any idea what can be?
See the source code of Yupi in branch "nio"...
(Folder: Yupi/Net/Connection)
Commited to Yupi!. New Design in Github.
Quests aren't coded and Disabled. And will not be code. Since Habbo is in process to remove Quests. And only remain Achievements.
Also in Puhekupla are news that Achievement System will be rewrote..
where you get that news from? i checked Puhekupla.. i can't find it?
I saw some times ago, that in a new variable of externa_variables maybe the Achievement System will change. (Is in Puhekupla Forums) not an Article.
The Quests System will be disabled IN YUPI. I'm not saying will be On Habbo. I think will, because the rewards from Quests are disabled. And no one actually do any quests (only few people that want achievement points in any way)...
Hmm, I hope they remove the quest shit, it's really big shit I mean... You do 9999 quests for 1 achievement point. C'mon Habbo.
But ok, you almost reached 100 commits on GitHub LOL XD.
Repo Readme and License Markdown Files Updated! https://github.com/sant0ro/Yupi
People Helios-io Framework will be abandoned from Yupi Emulator.
Microsoft Azure's Team is developing a new NET Framework (not .NET, but System.Net) called DotNetty, based in Java's Netty Idea.
You can see it here: https://github.com/Azure/DotNetty
I will start implementating it on Yupi this week maybe.
Reason of leave Helios-io, is the author is depreceating the development since he went to DotNetty Team.
Also Helios-io 1.6 has a lot of Buffer Memory Allocation Problems, one of these does an OutOfRange Byte[] Buffering when try to Handle a Big 2K RSA Packet. And the loveable RC4 Byte to ASCII Symbols. Since Helios natively Convets to UTF-8 the Packets.. (Why!!!)
Promissing great updates at Yupi.
Stupid question but how do I execute the emulator ;s
Only VS2015.
Commited to Yupi yesterday and Today.
Continued NIO Codification.
Will he recast the database? Can we already use these resources for a long-term retro ? @ovflowd
Yes i will Recast. The Actual Database probably will change a lot of things, so not.
--------
1. Big Commit to Yupi (1021) changes, Changed Entire Structure.
2. See how is going Progress wth new NIO:
http://i.imgur.com/gDkaQtv.png
- - - Updated - - -
I'm Happy to SAY that YUPI is Fianlly Ready for Usage!
The Rewrite of Entire Connection System is Done! I see a lot of performance Gains.
See Commit Details.
Since Master to the new Default Branch i did more tha 70 Commits. With more that 2.000 Changes.
I expect that you're loving that.
Commited.
I said the Socket System is ready for use.
Commited to Yupi.
- - - Updated - - -
(Yeah i wrote different thing, but the answer was a update about the Socket System Screenie..)
Looks like a good development, always refreshing to see something different in habbo.
Good luck!
Commited to Yupi.
Also the Commit Info are in http://forum.ragezone.com/f331/yupi-...5/#post8545795
Before say stupid things. Read.
Hello @ovflowd a question when it would do this in emulator?
http://i.imgur.com/Z7gJqGK.pnghttp://i.imgur.com/RCdx0jN.png
As this is a Feature and a really useless feature, since everyone that plays habbo retro server already played Habbo. The Tutorial is useless. (in terms of giving HC and Credits).. But futurely will be coded as a "Retro Introduction" were the second screen has a brief about the Habbo Retro Server. Also the Speeches from the Bot and his Look/Name/Actions will be customizable, since Bot System from Yupi is Dynamic.
@ovflowd once again made a commit to github!