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
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #15
(Solved!) Anyway to trick the client to skip the entire character creation process?
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

[Image: 2nis46r.jpg]
(This post was last modified: 07-24-2012 09:27 AM by Mordaunt.)
07-24-2012 09:24 AM
Visit this user's website 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? - Mordaunt - 07-24-2012 09:24 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: 1 Guest(s)