View Single Post
  #3  
Old 04-22-2002, 08:47 AM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

Yea that extra stuff is why my new zones are all skeletons. I just fill them with temp values for the time being till I go back and clean it up.

Here is part of my macro, The complete text is in the attachment posted below. This is for the text editor ultraedit www.ultraedit.com

Code:
InsertMode
InsertMode
ColumnModeOff
HexOff
Top
Find RegExp "%?:[0-9]+*^p"
Replace All ""
Find RegExp "*'s corpse*^p"
Replace All ""
Find RegExp "*unknown*^p"
Replace All ""
Find RegExp " :name(spawnID)*^p"
Replace All ""
Find RegExp "?:^([a-zA-Z#!_'`^-]+^)[0-9]++([0-9]+):^([0-9]+^):^([0-9-]+^),^([0-9-]+^),^([0-9-]+^):[0-9.]+:[0-9.]+:^([a-z]+^):[0-9.]+:[a-zA-Z_#0-9'`]++([0-9]+)"
Replace All "^1 ^6 ^2 101 2 0 1 Skeleton 1 11 Warrior 0 1 ^3 ^4 ^5"
Find RegExp "?:^([a-zA-Z#!_'`^-]+^)[0-9]++_p[et]++[0-9]++([0-9]+):^([0-9]+^):^([0-9-]+^),^([0-9-]+^),^([0-9-]+^):[0-9.]+:[0-9.]+:^([a-z]+^):[0-9.]+:[a-zA-Z_#0-9'`]++([0-9]+)"
Replace All "^1_pet ^6 ^2 101 2 0 1 Skeleton 1 11 Warrior 0 1 ^3 ^4 ^5"
Find RegExp "%#"
Replace All ""
Find RegExp "%!"
Replace All ""
Find MatchWord "rivervale"
Replace All "Rivervale"
The unknown data I replaced with temp values so the spawns work. Then I work on getting the info correct. I only posted the one zone name, but you get the idea. I also find opening it into excel to be usefull, that is how I apply the formula I use for HP values.
Reply With Quote