Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Accounts
#1
I have been messing around with the code for how to make the account saved to the client you use, and can't quite figure it out. And not sure if this should be a tut request; but I have noticed in acouple of source codes that there is a new typrec, called accountrec, what exactly is that for?
Reply
#2
well the accountrec on the server (in every ms source, unless it's renamed) is mainly used for temporary variables... but you wouldn't want to save your player information on the client. if you did then players could easily modify their accounts whenever they relogged into the game.
Reply
#3
Well my idea was to make it so the (which ever or whoevers) game the players could change there own sprite, like to encourage artistism of pixel sprites; to make it so the client side only saves the sprite and it's number.
Reply
#4
i guess you could do that, but unless people constantly sent you an updated sprites.bmp, they would be the only ones who saw their "custom" sprite anyways.
Reply
#5
You raise a really good point, but do you think it possible that a code could be written that everytime you log on to the server it takes the sprites from your Sprites.bmp and loads them in as a file named Custom.bmp(1-whatever amount of people make there custom sprites)?
Reply
#6
That would probably cause a lot of stress on the server.
Maybe just make a section in your forums for people to submit their own sprites for future spritesheet updates :\
Reply
#7
You mean a forum page that the people can post thier images and then take thier images and update their player profile with them once you make another sprite update?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)