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
Auto account PHP web
Author Message
escribano
Journeyman
*

Posts: 170
Likes Given: 16
Likes Received: 32 in 23 posts
Joined: Nov 2012
Reputation: 2

Dragon Shard

Post: #4
RE: Auto account PHP web
All u gotta do is a table, where u need to store ACCOUNT and PASSWORD of the new account

Create a Invis Stone that on=@Timer calls the db.query to execute a query and add the new accounts Smile

Code:
ON=@Timer
db.connect
db.query "select * from accounts where created=0"
if (<eval <db.row.numrows>> >= 1)
    for x 0 <eval <db.row.numrows>-1>
        serv.account add <db.row.<eval <dlocal.x>>.login> <db.row.<eval <dlocal.x>>.pass>
        serv.log Account created: <db.row.<eval <dlocal.x>>.login>
        db.query "update accounts set created=1 where id=<db.row.<eval <dlocal.x>>.id>"
    endfor
endif
timer 300
return 1

See yah!

UltimaPHP - OpenSource Ultima Online Server v0.1-pre-alpha under development, we need help!
12-29-2012 03:34 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Auto account PHP web - admin_teclis - 12-24-2012, 11:03 PM
RE: Auto account PHP web - admin_teclis - 12-28-2012, 11:53 PM
RE: Auto account PHP web - Shaklaban - 12-29-2012, 01:00 AM
RE: Auto account PHP web - escribano - 12-29-2012 03:34 PM
RE: Auto account PHP web - Darkyhood - 12-31-2012, 08:31 AM
RE: Auto account PHP web - admin_teclis - 01-02-2013, 04:26 AM
RE: Auto account PHP web - admin_teclis - 01-05-2013, 11:55 PM
RE: Auto account PHP web - Ultima One - 01-07-2013, 01:04 PM
RE: Auto account PHP web - TopCat - 11-03-2015, 12:07 AM
RE: Auto account PHP web - Sharlenwar - 01-07-2013, 08:34 PM
RE: Auto account PHP web - Ultima One - 01-07-2013, 10:35 PM
RE: Auto account PHP web - admin_teclis - 01-09-2013, 12:07 AM
RE: Auto account PHP web - htid4life - 01-09-2013, 01:59 AM
RE: Auto account PHP web - Ultima One - 01-09-2013, 11:53 AM

Forum Jump:


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