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
HELP needed
Author Message
WaW Admin Vixen
Apprentice
*

Posts: 1
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jun 2012
Reputation: 0



Post: #1
HELP needed
I need to do a wipe of my shard for houses, chars and items. Would rather do them one at time. Is there anyone who can tell me where I can find the information on how to do this. I have been on the computer all night looking for it and may be permanently cross-eyed.
(This post was last modified: 06-20-2012 05:08 AM by WaW Admin Vixen.)
06-20-2012 05:07 AM
Find all posts by this user Like Post Quote this message in a reply
dagger4k
Journeyman
*

Posts: 194
Likes Given: 1
Likes Received: 12 in 12 posts
Joined: Mar 2012
Reputation: 0



Post: #2
RE: HELP needed
base sphere directory

accounts:
sphereaccu.scp
the other files i believe are backups

save:
spherechars.scp
sphereworld.scp

You should just start from fresh TBH.
06-20-2012 02:08 PM
Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #3
RE: HELP needed
just to point you in the right direction

What you can do is make a function that sends an item to 1 1 10 <map here>
foritems 7648 (i think thats the map size)
if (<basid>==i_multi_'house type'>) || (<basid>==i_multi_'house type'>)
remove
endif
endfor

anytime im doing massive item removal i do a function similar. above is just a basic idea of what you want to accomplish. hope that helps
06-23-2012 07:28 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #4
RE: HELP needed
Vixen,

Easy code to do, I'll post up a quick fix for you off the top of my head, you might have to debug it:

Code:
[function wipe_multis_playerchars_nonstaticitems]
local.maxlooptimes=<serv.maxlooptimes>
serv.maxlooptimes=0
forinstances t_multi
foritems 32
  if (<serv.uid.<region.uid>.type>==t_multi)
   remove
  endif
endfor
endfor
forinstances t_multi_custom
foritems 32
  if (<serv.uid.<region.uid>.type>==t_multi_custom)
   remove
  endif
endfor
endfor
foritems 9999
if !( <attr> & attr_move_never ) && !( <attr> & attr_static )
  remove
endif
endfor
forchars 9999
if !(<npc>)
  remove 1
endif
endfor
serv.maxlooptimes=<local.maxlooptimes>
be sure to visit every mapplane and run this command since it only effects the map you choose to use it on.
(This post was last modified: 06-26-2012 10:44 AM by Skul.)
06-26-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 


Forum Jump:


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