Rayvolution 
Journeyman

Posts: 135
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 1
Aetharia

|
(Solved!) Anyway to trick the client to skip the entire character creation process?
(07-24-2012 09:24 AM)Mordaunt Wrote: I'm not dissing the idea... far from it, I like it, it just needs a little tinkering...
As for the issue of a player deleting a character on the gump without your files:
Code:
[FUNCTION f_onaccount_login]
if !<serv.account.<args>.chars> //I have 0 players, create 5 of them
//code for creating the newplayers here
FOR 0 4
newnpc c_newplayer //CHARDEF of the "New Character"
new.go 2497, 2064 //Send NPC to "Character Creation Room"
new.account = <args> //Assign NPC to account logging in.
new.disconnect // "Disconnect" the NPC, if you don't do this the NPC, even though attached to the account, will wander around aimlessly in the room.
serv.log New Player <local._for> for Account <args> created // Log notification
ENDFOR
else
if (<serv.account.<args>.chars> < 5)
newnpc c_newplayer
serv.log making additional chars
new.go 2497, 2064
new.account = <args>
new.disconnect
endif
serv.log Chars already created // Log notification
endif
That way when they log in if they have less that whatever you have allowed the slots would refill with the new ones
hah, sorry. I didnt mean to come across negatively to you.  I knew you were for the idea, I just was very excited to show it off in action!
I was going to do a script in game that would do what you suggested, but I think your idea is much cleaner/better, so I'll go for that instead. Then, all I'll need to do in game is run a script that disconnects/removes the player currently logged in on command.
Something simple, along these lines:
.deletechar yes <password>
(Confirm screen), Click "yes".
Logout Character, and removes it.
When they log back in, your script launches and a new character is created.
![[Image: 4_Logo.png]](http://aetharia.com/public/style_images/4_Logo.png)
An MMORPG based on the Ultima Online engine.
Completely Custom Map, GUI, AI, Combat, Skills, Crafts, Art, Music and so much more.
http://aetharia.com - Home of Ambition!
|
|
07-24-2012 09:51 AM |
|
|