|
Post by Pav on Sept 7, 2013 3:57:07 GMT
Basically put in webl plan and b2g fight plan comes out. It will work with round condition too. Webl veterans do any of you have full list of commands in webl fightplan? There is a lot more variation in those plans. Like i remember you can do opp=1 or opponent=1 or opponent=tired and it all meant the same thing. same as warning=0 and warn=0, etc. Does anyone have full list of conditions?
|
|
|
Post by punchy on Sept 7, 2013 7:24:19 GMT
That would be amazing and would definitely attract more Weblers. I think there is a list somewhere UGI has a lot of the guides saved so he might have it...
|
|
|
Post by bullan on Sept 7, 2013 10:23:26 GMT
Sounds fantastic , this game just gets ever better . My one question would be - are WEBL plans with things that aren't in B2G (yet ? ) likely to translate at all ? Things like the "round" conditional or "if mystuns > histuns" etc ? That and lines that simply have more than 3 conditional checks . Apologies if am jumping the gun ( may well be ) , but not sure how far along the process is and am interested ( even if I have hit the 100 FP limit ages ago ) .
|
|
|
Post by Pav on Sept 7, 2013 13:00:38 GMT
I am definitely getting "round" translated. Forgot about mystuns histuns but it should be doable too. I just need a list of webl commands, surprisingly difficult to find it anywhere.
|
|
|
Post by llecha on Sept 7, 2013 21:20:14 GMT
All I know:
+ - * = > < >= =< ()
endurance endurance_percent
opponent opp
strong 2 tired 1 weak exhausted 0
the following two lines are identical
opponent is strong opp = 2
then not or
the following two lines are identical
if not (opponent = weak) then if opponent = strong or opponent = tired then
mystuns hisstuns
hisknockdowns myknockdowns
hiscuts mycuts
if warnings = 0 then cheat 5/10!/5
round score towel
roundslost roundswon
if decision_won is true then
The last one is a very rarely used condition. Also very rarely: hisknockdowns myknockdowns and not
fight_lost is not being recognized by parcer nowadays
is changes to = automaticly sometimes
Some examples:
if endurance_percent > (opp * 33) + 34 then
4) if endurance_percent > 100 - ( (round - 1) * 3) and score < - 1 then 8/8/4 (inside)
|
|
|
Post by llecha on Sept 7, 2013 21:38:12 GMT
And it does not want to eat your WARN )))
|
|
|
Post by Pav on Sept 7, 2013 22:46:51 GMT
All I know: + - * = > < >= =< ()
endurance endurance_percent
opponent opp
strong 2 tired 1 weak exhausted 0the following two lines are identical opponent is strong opp = 2 then not orthe following two lines are identical if not (opponent = weak) then if opponent = strong or opponent = tired then mystuns hisstuns
hisknockdowns myknockdowns
hiscuts mycutsif warnings = 0 then cheat 5/10 !/5 round score towel
roundslost roundswonif decision_won is true then The last one is a very rarely used condition. Also very rarely: hisknockdowns myknockdowns and notfight_lost is not being recognized by parcer nowadays is changes to = automaticly sometimes Some examples: if endurance_percent > (opp * 33) + 34 then 4) if endurance_percent > 100 - ( (round - 1) * 3) and score < - 1 then 8/8/4 (inside) this is great, thanks man
|
|
|
Post by llecha on Sept 7, 2013 23:05:28 GMT
I don't know, maybe it'd be easier to make your parcer understand both kinds of plans- B2G's and Webl's?
There are just minor differences between them: like stamina = endurance_percent, 4H/8!/8 = 0/20-H/40-!/40. There can't be no taunts in WeBL's plans and no zero round conditions, they are being put with 1) after main body of FP.
Hmmm... guess it won't be easy though.
|
|
|
Post by llecha on Sept 7, 2013 23:21:08 GMT
if decision_lost = true then
also works. though nobody uses it
|
|
|
Post by Pav on Sept 8, 2013 13:48:03 GMT
I don't know, maybe it'd be easier to make your parcer understand both kinds of plans- B2G's and Webl's? There are just minor differences between them: like stamina = endurance_percent, 4H/8!/8 = 0/20-H/40-!/40. There can't be no taunts in WeBL's plans and no zero round conditions, they are being put with 1) after main body of FP. Hmmm... guess it won't be easy though. No, its not easy. If I can translate it I can use the parser afterwards. The problem is I fully expect that some lines I will not be able to translate, so I would like for managers to see the translation first and make changes.
|
|
|
Post by Pav on Sept 12, 2013 18:57:48 GMT
I put early version of converter in. It should be able to handle simpler fight plans. It is in the Fight Plan menu. Not comparing stamina and stuns between fighters yet. This would also require me to change my parser.
|
|
|
Post by llecha on Sept 13, 2013 20:23:15 GMT
It works!
|
|