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
server trigger question / account info question
Author Message
Rattlehead
Master
**

Posts: 290
Likes Given: 3
Likes Received: 8 in 6 posts
Joined: Jun 2012
Reputation: 8



Post: #1
server trigger question / account info question
ok, first, i would like to ask, why is it that there was never any ARG included for a password in f_onaccount_create??
(yes i know that you can catch it using serv.account.<ARGS>.password) i just feel that it would has been a little easier on the devs is all, maybe think about including it in newer versions, just a suggestion Wink

and that kinda ties in to my next question, i know there is someway i can catch it with a loop, but im kinda rusty cus its been so long, i want to catch each CHARUID of each character on the account on each login, but i notice that all the characters are referred to using the same keyword, ex.

CHARUID=01e45
CHARUID=01e52
CHARUID=01e7a
CHARUID=01e6b
CHARUID=01e88

so, how would i go about catching all of the info from these with a loop?

serv.account.<ARGS>.charuid is obviously only going to pull the first in the list, i cant think of a good way to cycle through all of them, or for that matter how to even get the second one oO

and yes, i tried to search a bit, couldnt find anything tho Sad
03-29-2013 02:32 PM
Find all posts by this user Like Post Quote this message in a reply
Rattlehead
Master
**

Posts: 290
Likes Given: 3
Likes Received: 8 in 6 posts
Joined: Jun 2012
Reputation: 8



Post: #2
RE: server trigger question / account info question
let me make an edit to this, you cannot get the password in such a way as i posted above, it gives an error 'cant resolve <serv.account.xxxxx.password>'

same with a couple other server triggers. . . .
03-29-2013 05:20 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: server trigger question / account info question
try with serv.account.<args>.char.n.uid where n is the nth character
(This post was last modified: 03-29-2013 07:59 PM by darksun84.)
03-29-2013 07:55 PM
Find all posts by this user Like Post Quote this message in a reply
Rattlehead
Master
**

Posts: 290
Likes Given: 3
Likes Received: 8 in 6 posts
Joined: Jun 2012
Reputation: 8



Post: #4
RE: server trigger question / account info question
ill give it a try and see what i come up with man, thx!
03-30-2013 08:40 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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