Moohrple Saatoori
- Joined
- Sep 8, 2011
- Messages
- 822
- Reaction score
- 129
demo?
Idea :
I don't know if you can do such things, but maybe add something to control the server?
Like turning off the server, restarting the server.
Disconnect people, ban people, edit character data such as hair, eyes, money in storage and inventory.
Idea :
I don't know if you can do such things, but maybe add something to control the server?
Like turning off the server, restarting the server.
Disconnect people, ban people, edit character data such as hair, eyes, money in storage and inventory.
Yeah that would be awesome. Problem is, if I implement this - almost no one will be able to use it because they wouldn't know how to code it in their own server source. :/That would require a connection to the server, something like an API. It's actually a goal of mine in my Destiny emulator, making it really advanced so there would be a world list with channels and then you can select a character and do actions to it. It's web so you can also control it with your mobile phone even when you're away. Quite useful.
That would require a connection to the server, something like an API. It's actually a goal of mine in my Destiny emulator, making it really advanced so there would be a world list with channels and then you can select a character and do actions to it. It's web so you can also control it with your mobile phone even when you're away. Quite useful.
Yeah that would be awesome. Problem is, if I implement this - almost no one will be able to use it because they wouldn't know how to code it in their own server source. :/
I had this idea for a long time for when i ever start my own private server.
But i would write my own source first.
It would be a great site.
Well, starting a private server isn't easy and it requires knowledge anyway.
Also, you could write a tutorial on how to code the connection with the server with the release.
But you could still add such things as character edit since the data is stored in a DB?
Here is a list of what you could add :
Online shop editor (Database)
Online PNPC creation
Online Account edit for admins
Online Character edit for admin
Online shop database for users (So they can see what shops are available)
Actually just try to build anything you can with the available data.
Maybe not everyone will like these features but you should allow them to enable/disable some functions.
Edit :
Try to add a permission function aswel if you can, so the admin can select which group can use the functions on the site such as character/account edit.
Or maybe the admin/supergm should be allowed to edit shops without being able to get to the other functions such as character edit.
This is what you can do with permissions.
@Redicated the reason why you don't see a webserver doing anything related to editing in-game content (such as transferring items, changing hairstyles, etc) is because you do not want a webserver to interfere with a database which is being used by a gameserver. Which is basic knowledge, but GhostSnyper gave me a little bit more information on this subject. You want these changes to be done by the gameserver, because the gameserver has got the correct and a whole different approach of dealing with the request than a webserver.
Of course it would theoretically work if you edit hairstyles and faces if the user is logged out via a webserver, but the best thing would be to let the requests/actions run via the gameserver.
This is awesome. I'm creating something as well (will create a development thread later), but it's a pain in the butt knowing there is no single CMS using composer atm (afaik) or using a modular framework (symfony). May this CMS be completed, I might reconsider re-creating my upcoming development(release) for Laravel compatibility.
@Redicated the reason why you don't see a webserver doing anything related to editing in-game content (such as transferring items, changing hairstyles, etc) is because you do not want a webserver to interfere with a database which is being used by a gameserver. Which is basic knowledge, but GhostSnyper gave me a little bit more information on this subject. You want these changes to be done by the gameserver, because the gameserver has got the correct and a whole different approach of dealing with the request than a webserver.
Of course it would theoretically work if you edit hairstyles and faces if the user is logged out via a webserver, but the best thing would be to let the requests/actions run via the gameserver.
Yes, that is possible. You can connect to your gameserver via sockets which would make this possible.Wow.. i didn't know this tho
But that means that it wouldn't be a problem IF requests are sent to an API of the gameserver which will handle these requests right?
Just like client & server.
Or am i wrong with this?
No, I'm creating an online marketplace (dev thread later). It's OOP but no frameworks are being used so it can be easily copied & pasted in an existing CMS. However, I really wanted to use a normal MVC structure and make it modular so it can be implemented using composer. Anyway, it's really tough since I will have to do some JAVA coding as well. Create a socket (using SSL, thanks GhostSnyper!), communicate with the gameserver and let the gameserver handle the requests. However, it has to be cross-source compatible.. so I better pray the functions to transfer items and mesos are the same for every OdinMS based source....Are you planning to work on a MapleStory CMS or a general/other game one?
Anyway, what you just said is very simple, when you're editing this data in the Database directly (or through a website that touches the Database), these edits might be overridden.
When the GameServer queries the Db for some Data (such as Account data), it creates an object to hold and manipulate it, as well as caching it in memory instead of querying for that data again and again.
Then, the server manipulates this data as needed, all the while - the edits are being served from memory and not from the Database.
When the need to save it arise, the server then extract the information from the selected Account object (or any other object that represents the data in question) and saves it as a whole, in other words - every change to this data inside the database - will not be applied because the server is saving the new values that are taken from an object in the memory, are saved instead.
A basic example of this would be the LoggedIn column.
When you're logged-in in-game, you can set your account's loggedin column to offline (represented as a 0, which means stateless-offline, other values are 1 - for loginserver, 2 for channelserver-ingame), and it will let you in most sources to login into the same account even if the account is logged in (because it checks against the database, instead of checking the object in memory), but it will not destroy the existing Account object that represents the real logged-in user, in other words - it will not disconnect or otherwise affect, the online user, thus why the requirement of logging-off before attempting to make changes such as this (or Voting for that matter).
I can't help but to notice something...
Is that Bootstrap 2.x???
I think this belongs into the development subforum as this isn't as a discussion anymore.