The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(Solved!) Anyway to trick the client to skip the entire character creation process?
Author Message
Rayvolution
Journeyman
*

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

Aetharia

Post: #16
(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. Wink 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]
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
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
(Solved!) Anyway to trick the client to skip the entire character creation process? - Rayvolution - 07-24-2012 09:51 AM
flamethrower - darksun84 - 02-18-2013, 08:18 AM
RE: flamethrower - sagitariuz2 - 02-18-2013, 11:49 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)