|
Battlemod v2
Fenrir.Jarrin
Server: Fenrir
Game: FFXI
Posts: 83
By Fenrir.Jarrin 2013-06-03 17:27:15
i must of did something wrong with color settings and all i see whenever i cast a spell is the following:
windower4\/addons/battlemod/genric_helpers.lua:133: attempt to concatenate local 'color' (a nil value)
i have all color setting set to 0 so it will use the original game color settings. any idea what i've done wrong and how to correct it?
thanks
Disregard: I figured it out. Awesome addon btw tyvm :)
Phoenix.Terasan
Server: Phoenix
Game: FFXI
Posts: 85
By Phoenix.Terasan 2013-06-03 18:17:15
I get the same errors whenever I load up battlemod, I get spammed with concatenation errors, I booted up the windower loader and got a newer version I think? Still doesn't work though, sadly. Any help would be appreciated.
Fenrir.Jarrin
Server: Fenrir
Game: FFXI
Posts: 83
By Fenrir.Jarrin 2013-06-03 19:00:22
the way i fixed it is to completely delete the battlemod folder (copy your specific job filters to your desktop temporarily if you dont want to redo them all) and simply re-download a fresh version of battlemod. the colors.xml file looks very different from the one that was in my initial download. re-adjust your settings the way you want it and you should be good to go.
Lakshmi.Byrth
VIP
Server: Lakshmi
Game: FFXI
Posts: 6137
By Lakshmi.Byrth 2013-06-04 07:20:54
I wish I could explain what causes this or how to fix it, but I cannot replicate it. I would just go with Jarrin's solution.
Shiva.Paulu
Server: Shiva
Game: FFXI
Posts: 776
By Shiva.Paulu 2013-06-04 07:40:52
the way i fixed it is to completely delete the battlemod folder (copy your specific job filters to your desktop temporarily if you dont want to redo them all) and simply re-download a fresh version of battlemod. the colors.xml file looks very different from the one that was in my initial download. re-adjust your settings the way you want it and you should be good to go. I had to do this to remove the nil errors I was getting the other week. Seemed like the original battlemod folders were being funky with my bm2.
Funky is the technical term!
Fenrir.Quedari
Server: Fenrir
Game: FFXI
Posts: 16
By Fenrir.Quedari 2013-06-04 16:24:44
Guess I'm having the same issue as everyone else. Battlemod worked just fine last night, but a friend was telling me his didn't work anymore. Log in today and I get
Lua error: ...am Files\Windower4\addons\battlemod\generic_helpers.lua:57: attempt to call global 'S' (a nil value)
and it wouldn't load at all. Deleting the whole folder and redownloading did not fix.
edit: When my friend was trying to fix his last night, I 7zipped my whole battlemod folder and sent it to him because I was too lazy to pick out the single files he wanted. The generic_helpers.lua got updated when I logged on today, but the one in my 7z did not, so I copied it back over my battlemod folder and now battlemod will load.
Bismarck.Cailyn
Server: Bismarck
Game: FFXI
Posts: 4
By Bismarck.Cailyn 2013-06-04 16:27:46
Guess I'm having the same issue as everyone else. Battlemod worked just fine last night, but a friend was telling me his didn't work anymore. Log in today and I get
Lua error: ...am Files\Windower4\addons\battlemod\generic_helpers.lua:57: attempt to call global 'S' (a nil value)
and it wouldn't load at all. Deleting the whole folder and redownloading did not fix.
Having the same issue myself since the update this afternoon.
Quetzalcoatl.Skeith
Server: Quetzalcoatl
Game: FFXI
Posts: 9
By Quetzalcoatl.Skeith 2013-06-04 16:53:06
I'm having this issue also. Sad cat.
[+]
Quetzalcoatl.Dova
Server: Quetzalcoatl
Game: FFXI
Posts: 567
By Quetzalcoatl.Dova 2013-06-04 16:58:07
Quetzalcoatl.Skeith said: »I'm having this issue also. Sad cat. No idea how lua stuff works or anything but I just deleted that S on the line and haven't crashed or anything yet so ya...
Fenrir.Quedari
Server: Fenrir
Game: FFXI
Posts: 16
By Fenrir.Quedari 2013-06-04 17:12:02
I tried that, but then Line71 gave me an error and it still wouldn't load :(
Ragnarok.Gunit
Server: Ragnarok
Game: FFXI
Posts: 370
By Ragnarok.Gunit 2013-06-04 17:33:58
the way i fixed it is to completely delete the battlemod folder (copy your specific job filters to your desktop temporarily if you dont want to redo them all) and simply re-download a fresh version of battlemod. the colors.xml file looks very different from the one that was in my initial download. re-adjust your settings the way you want it and you should be good to go. Tried this and fixed nothing :/
Quetzalcoatl.Skeith
Server: Quetzalcoatl
Game: FFXI
Posts: 9
By Quetzalcoatl.Skeith 2013-06-04 17:48:36
Quote: local ignore_fields = S{'german','french','japanese','index','recast','fr','frl','de','del','jp','jpl'}
If you remove the S from this line of the code (line 57), BattleMod loads up fine, for me that is. Also, Dova is my hero.
Ragnarok.Gunit
Server: Ragnarok
Game: FFXI
Posts: 370
By Ragnarok.Gunit 2013-06-04 17:52:56
Quetzalcoatl.Skeith said: »Quote: local ignore_fields = S{'german','french','japanese','index','recast','fr','frl','de','del','jp','jpl'}
If you remove the S from this line of the code (line 57), BattleMod loads up fine, for me that is. Also, Dova is my hero. That worked thanks
edit: btw its in the generic_helpers file
Fenrir.Quedari
Server: Fenrir
Game: FFXI
Posts: 16
By Fenrir.Quedari 2013-06-04 18:28:21
My bad, I erased the whole line lol. Seems I know less about lua than Dova XD
Leviathan.Arcon
VIP
Server: Leviathan
Game: FFXI
Posts: 660
By Leviathan.Arcon 2013-06-04 18:34:34
There's a "require 'sets'" missing at the top. Removing S may load fine, but it may only cause errors during gameplay later on, because various other things in the code rely on it. (Specifically, the :contains() function called will no longer work.)
By Kiriyak 2013-06-04 18:42:59
what skeith said above worked perfect for me, and ty Gunit for folder location!
Lakshmi.Byrth
VIP
Server: Lakshmi
Game: FFXI
Posts: 6137
By Lakshmi.Byrth 2013-06-04 18:48:35
Sorry, pushed the fix. I was using that line to cut down on battlemod's memory footprint (9MB -> 6MB). It shouldn't have any impact on actual gameplay if you deleted it.
Lakshmi.Byrth
VIP
Server: Lakshmi
Game: FFXI
Posts: 6137
By Lakshmi.Byrth 2013-06-06 09:49:30
Alright, these are the known issues/etc. with 2.17:
Quote: Additional Features:
* The "__damage" colors don't do anything, but have been left in the settings file for potential future uses.
* Somehow add a filter for monsters that you are currently fighting?
* Filter for "gains the effects of" messages
* Try and integrate SE's chat filters into this.
* Add past tense status effects to the resources somehow. - In progress
* Combine damage from attack rounds into the same line
* Consider a filter specifically for enspells/sambas. - Condense enspells into damage.
* There is no filter for when a charmed player is attacking another player?
LuaCore or Hook related problems:
* Using //bm colortest and then expanding your chat log on small window size clients (640x480) can cause crashes? (Your guess is as good as mine, but this is a problem proportional to the number of color codes used)
* Many usable weapons do not show up due to next() corruption issues? -- work-around implemented (thanks Arcon!)
Battlemod problems:
* Condense settings don't really work when they're turned to false. (Consider reinstating the colorful setting?). - I have forgotten what this means.
* Healing additional effects show up if healing is set to true, though they probably shouldn't.
* Find out if there's any way to differentiate absorbing TP moves from TP moves that happen to heal you. - There isn't, afaik.
* Damage to Luopans may not be filtered properly?
* Blocks elemental balance messages when you change your moghouse furniture?
* Pet filter is still imperfect and it is unclear why.
* Multi-AE condensation does not work for status effects.
* Is multi-shadow condensation working?
Potentially fixed or unable to replicate:
* "{{player}} falls to the ground" gets doubled up
* Dispel TP moves on others/alliance/party/self
* Seigan+3E shows "Mob anticipates attack" sometimes still?
If you are having an issue that is not on the list, it is not a known issue and you should tell me about it.
Lakshmi.Eyrhika
Server: Lakshmi
Game: FFXI
Posts: 764
By Lakshmi.Eyrhika 2013-06-06 10:11:15
Is there any way that when I update it won't overwrite the filters I set? Seems like each time I go back through and have to reset them the way I like them. Also, I am at work so I can't check, is there a way to disable multi attacks showing the combined damage? Not sure why but I prefer to see each one individually. Overall small things, so if it isn't possible its fine. Love the addon!
Server: Odin
Game: FFXI
Posts: 7
By Odin.Lilaea 2013-06-06 10:16:03
I noticed that when a cleave attack misses the formatting changes a bit, e.g.
Quote: AOE 0 → PlayerA
AOE 258 → PlayerB
Kalasutrax → PlayerC
AOE 0 → PlayerD (It doesn't display here but there's also a double space between the enemy name and the arrow on the third line.)
Meanwhile, I'm still unable to see anyone missing regular hits with <melee>true</melee> and <misses>false</misses> for me/party/alliance.
As usual, thanks for all your excellent work~
Phoenix.Thorbean
Server: Phoenix
Game: FFXI
Posts: 397
By Phoenix.Thorbean 2013-06-10 20:04:00
Great addon! Loving it so far.
Had an error pop up tonight in SSR2, not sure if it's been said here already.
Fighting ramparts + fomor (possibly DRK's, but can't remember exactly) and hasting/curing at the time. Popped up 7 times, all on floor 3:
/addons/battlemod/event_action.lua:362: bad argument#1 to 'add_to_chat' (number expected, got string)
Cerberus.Ustav
Server: Cerberus
Game: FFXI
Posts: 1043
By Cerberus.Ustav 2013-06-10 20:55:27
I'm getting this error
Lua error: C:/Program Files/Windower4//addons/libs/xml.lua:273: attempt to perform arithmetic on field 'isempy'( a nil value)
{{ I dont' know how to do the other "/" D=}} everytime I /lua l battlemod
Phoenix.Thorbean
Server: Phoenix
Game: FFXI
Posts: 397
By Phoenix.Thorbean 2013-06-10 21:27:11
One other thing, i cant seem to filter anything monsters do.
in the monsters section:
<me> <!-- He's targeting you! -->
<melee>true</melee>
<ranged>true</ranged>
<damage>true</damage>
<healing>true</healing>
<misses>true</misses>
<readies>true</readies>
<casting>true</casting>
<all>true</all>
</me>
Even set like that, I get repeated miss messages/damage messages. Tried multiple variations but having no luck so far.
[+]
Phoenix.Thorbean
Server: Phoenix
Game: FFXI
Posts: 397
By Phoenix.Thorbean 2013-06-11 20:29:09
Found the ability causing the error:
/addons/battlemod/event_action.lua:362: bad argument#1 to 'add_to_chat' (number expected, got string)
Pops up whenever Carnal Nightmare is used by Fomors.
Lakshmi.Byrth
VIP
Server: Lakshmi
Game: FFXI
Posts: 6137
By Lakshmi.Byrth 2013-06-12 07:50:51
Okay, going to have to figure out why misses are not always misses.
The TP move is fixed. Someone PMed me that it also happened with Tenebrous Mist.
Server: Phoenix
Game: FFXI
Posts: 105
By Phoenix.Rizzspeed 2013-06-13 01:03:08
ok, quick question.
when you do dmg, there's a number in parentheses after the dmg number on occasion, what does this number represent?
i quickly scanned this thread and didn't see this discussed or else i missed it.
While doing hundred fists on the Volatile Matamata, i got a 128128 Crit with a [3] after it and it seems suspicious as we're not supposed to break the 99,999 dmg barrier. My dmg isn't matching up with my wife's log, she doesn't use battlemod. Our numbers are completely different.
I'm obviously missing something. I just have no clue what it is.
Server: Lakshmi
Game: FFXI
Posts: 406
By Lakshmi.Vlorsutes 2013-06-13 01:09:00
Phoenix.Rizzspeed said: »ok, quick question.
when you do dmg, there's a number in parentheses after the dmg number on occasion, what does this number represent?
i quickly scanned this thread and didn't see this discussed or else i missed it.
While doing hundred fists on the Volatile Matamata, i got a 128128 Crit with a [3] after it and it seems suspicious as we're not supposed to break the 99,999 dmg barrier. My dmg isn't matching up with my wife's log, she doesn't use battlemod. Our numbers are completely different.
I'm obviously missing something. I just have no clue what it is.
That's number of hits in the attack round I believe, and then the damage shown is the cumulative amount.
So say you landed 3 hits for 50 dmg a piece, it'd be 150 [3] after it.
Server: Phoenix
Game: FFXI
Posts: 105
By Phoenix.Rizzspeed 2013-06-13 01:22:27
i see.
Thank you for the explanation.
So i see in the settings that condense battle is set to true.
i'm assuming that setting it to false will change that so that i'll see every attack. That should clear up some things lol.
By duos 2013-06-14 17:55:32
Hello,
Is there anyway to filter out "Unable to cast spell at this time" and "an error occurs" messages ?
Server: Bahamut
Game: FFXI
Posts: 264
By Bahamut.Lilsanchez 2013-06-14 18:03:57
How do you load and unload the battlemod ingame so I can see some real time changes. //load //unload isn't working for it.
OH GOD! I CAN SEE FOREVER! - You need to change your filters (battlemod/data/filters/filter-<job>.xml). I have intentionally set it up so that the default filters are all-off because I figure it's worse if you miss messages that you were expecting than if you see things you weren't expecting. See the "Settings Files" part of the Readme below.
In anticipation of a lot of people having problems with this, I have made this thread to answer questions. First, here is the Readme file:
Readme said: Author: Byrth
Version: 2.0
Date: 13/4/13
Battlemod, packet version
Abbreviation: //bm
Commands:
* help - shows a menu of these commands in game
* colortest - Shows the 509 possible colors for use with the settings file
* reload - Reloads the settings file
* unload - unloads Battlemod
* condensebuffs - Condenses Area of Effect buffs, Default = True
* condensebattle - Condenses battle logs according to your settings file, Default = True
* cancelmulti - Cancles multiple consecutive identical lines, Default = True
* oxford - Toggle use of oxford comma, Default = True
* commamode - Toggle comma-only mode, Default = False
* targetnumber - Toggle target number display, Default = True
* colorful - Colors the output by alliance member, Default = True
Purpose: To allow chat log customization.
Installation Instructions (from the Windower 4 Launcher):
* 1 Start your copy of Windower 4 and select the "Addons" menu up top in the Launcher.
* 2 Click the icon next to "Battlemod"
* 3 Log in to the game!
* 4 Alter the settings as you wish. ("//bm colortest" will let you see the color options and )
* 5 If you have changed the settings, you can use "//bm reload" to load them in game.
Settings Files:
The settings files for battlemod are composed of 3 to 25 xml files (depending on how much you like unique filters). XML files can be opened with Notepad, edited, and saved. If you are going to "Save As..." an xml from Notepad, be sure to change "Text Documents (.txt)" to "All Files" file type and make sure the file ends in ".xml"
* data/settings.xml - contains basic flags that control the features of the program.
* data/colors.xml - contains all the color codes relevant to the program, which can be adjusted using colors from the colortext command.
* filters/filters.xml - contains the chat filter settings and is explained more thoroughly therein.
* filters/filters-<job>.xml - Several examples are provided, but these are specific filter files that will load for your individual jobs. You can use this to, for instance, make sure your healing jobs can always see damage taken (by unfiltering the <monsters></monsters> section or make sure your zerg jobs don't have to see the entire alliance's damage spam.
Known Issues:
* Counters, Spikes, and Retaliations are the wrong color for some reason.
* The "__damage" colors don't do anything, but have been left in the settings file for potential future uses.
* Using //bm colortest and then expanding your chat log on small window size clients (640x480) can cause crashes. (Your guess is as good as mine)
* AoE buffs only use the first message response, so if it has no effect on the user then it will appear to have no effect on everyone even if it did.
* The settings files are much larger and more complicated than v1. (Sorry, it's because there's more options)
* This plugin bypasses and renders invalid all chat filters other than its own.
Secondly, Battlemod attempts to re-create every interaction message (event_action) and other battle messages (event_action_message). I have been testing it for two weeks, but I have not done everything and (more importantly) I do not use every job. There are three major probable and unknown errors:
1) Battle text is showing up as say-color. - This means that I did not see the message while testing battlemod.
2) I'm blocking a message that should display. - This could be anything from your Time remaining in Dynamis to your Mandau's Enpoison effect.
3) I'm failing to display something properly. - If you see ${field} in your text, if something is missing, if the spacing is weird, etc.
If you find an error, please tell me:
1) What the exact text was (if possible)
2) What color it should be (Grey, Yellow, etc.) if the color was wrong
3) If there's an error in the console, the exact line number and message.
These add_to_chat colors are blocked by battlemod:
These ones are blocked:
20,21,22,23,24,25,26,28,29,31,32,33,35,36,40,41,42,43,44,50,51,52,56,57,59,60,69,64,65,67,69,81,85,90,91,100,101,102,104,105,106,110,111,112,114,122,163,164,168,171,175,177,183,185,186,191
|
|