save skin
#1

anyone help me with save skin? i want so when new player register after register they can pick anyskin. then when they they log off and then log back on, they just have to log in and they will automatic spawn. how can i do that?
Reply
#2

man you should have grouped these questions together.

anyways

your not telling use what command processor you use, what saving system you use?
It can be done many different ways,
are you just looking for a verbal description of the steps?
a code example?
a full system?

if you have no saving system i suggest going right to sqlite or mysql
and not messing about with ini files.
Reply
#3

i am using dudb right now. or i can use dini. whichever is easier and more eficiennt
Reply
#4

well dini is NOT the way to go,

iv never used dudb, i always just write my own but
if thats your user system then all you need todo is add the skin field.

when a user registers at your server allow them class selection,
and after they spawn save the skin.

when they login set their spawn info along with their last saved skin.
and force them to spawn in the OnPlayerRequestClass
Reply
#5

okay thanks. how can i force them to skip Onplayerrequestclass?

I have the other codes. i just need this^
Reply
#6

use SetSpawnInfo
and SpawnPlayer

in the OnPlayerRequestClass callback
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)