• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows Is there a better way to remove certain ids with sublime text or notepad ++?

johnsamir

Advanced OT User
Joined
Oct 13, 2009
Messages
924
Solutions
6
Reaction score
155
Location
Nowhere
Hello I'm removing non existen ids from monster pack with sublime text 3 i searched in monster folder for example id 7591 in find result windows appears something like this:
Lua:
C:\Users\Slim\Desktop\TFS-8.0-GLOBAL\data\monster\Minotaurs\execowtioner.xml:
   45          <item id="5878" chance="14000"/>                    <!-- minotaur leather -->
   46          <!-- execowtioner mask -->
   47:         <item id="7591" chance="9600"/>                        <!-- great health potion -->
   48          <item id="7590" chance="8400"/>                        <!-- great mana potion -->
   49          <item id="2666" chance="6600"/>                        <!-- meat -->

C:\Users\Slim\Desktop\TFS-8.0-GLOBAL\data\monster\Minotaurs\minotaur amazon.xml:
   54          <item id="5878" chance="19000"/>                    <!-- minotaur leather -->
   55          <!-- cowbell -->
   56:         <item id="7591" chance="9800"/>                        <!-- great health potion -->
   57          <item id="7590" chance="9800"/>                        <!-- great mana potion -->
   58          <item id="12428" countmax="2" chance="7800"/>        <!-- minotaur horn -->
and the number lines containg the id ex¨: number 56 47 are highlighted in red for now i have to select with mouse click these lines and then press ctrl + in order to get it deleted. is there a way to simply instantly delete this highlighted lines number without the need to select said line?
EDIT : i was not removing lines at all and now i realized, is there an easier way to remove these or commit these lines?
thank
 
Last edited:
Back
Top