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-nmm6 (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-nmm6 (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-nmm6 (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
I am almost ashamed to ask this: Player/Char deleting
Author Message
Joe Loop
Apprentice
*

Posts: 23
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0



Post: #1
I am almost ashamed to ask this: Player/Char deleting
Hey.

My server has been running since 2006.
It has been down the last few months due to i was scripting a new level and race system, and some more stuff.

I want to keep my world spawned and decorated as it is, i just want to delete all players that ever exsisted on it.

i know this is a noobish question, but i never had to do it, so which files do i have to delete/empty?

Deleting the files in the /accounts folder, does not do the trick, characters seems to be stored more places, i guess sphereworld or something like that, but just want to make sure before i erase all my work Smile
07-02-2013 05:45 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

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



Post: #2
RE: I am almost ashamed to ask this: Player/Char deleting
go to the /saves folder and wipe spherechars.scp

[Image: 2nis46r.jpg]
07-02-2013 07:07 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Joe Loop
Apprentice
*

Posts: 23
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0



Post: #3
RE: I am almost ashamed to ask this: Player/Char deleting
Thanks...

But it does not work, tried that to .. all caharcters are still there.
And if i delete all the backup-save files in /save folder (those named sphereb01c and so on) it wont startup....

Are the characters saved in those backup files as well somehow? (i got backup ..of the backups... so they are easy restored, i just wanna get rid of all those goddamn accounts Big Grin )
(This post was last modified: 07-03-2013 02:39 AM by Joe Loop.)
07-03-2013 02:23 AM
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: #4
RE: I am almost ashamed to ask this: Player/Char deleting
Try this
PHP Code:
[FUNCTION removeplayer]
REF1=<uid>
FORPLAYERS 6144
    
if <REF1> != <uid// this prevents to remove yourself, if you remove yourself function stop!
        
serv.log Removing <name>
        
remove 1 //1 enables players removal.
    
endif
ENDFOR 

I don't know by the way how much is reliable Big Grin
07-03-2013 03:36 AM
Find all posts by this user Like Post Quote this message in a reply
Joe Loop
Apprentice
*

Posts: 23
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0



Post: #5
RE: I am almost ashamed to ask this: Player/Char deleting
Worked like a charm! thanks!
07-03-2013 04:12 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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