Bugs 0.16.0: please post your bug reports here

Do not post feature requests here, please.
Before posting bugs report check the Image Bug reporting help & guidelines
Forum rules
Do not post Features/Improvments request here (i.e : AI being stupid is not a bug, not being able to do a mulligan is not a bug, etc..etc..)
Before posting, please read the Bugs reporting guideline
Locked
wadledo
Posts: 12
Joined: Tue Dec 21, 2010 1:07 am

Re: Bugs 0.16.0: please post your bug reports here

Post by wadledo »

While playing Momir Basic, I start off with 14 cards, and then have to drop down to 7 at the end of my turn. Changing the Momir.txt file doesn't seem to do anything, and I'm using windows 7.
This does not happen in Hermit and Classic.
Zethfox
Posts: 3029
Joined: Thu Jun 10, 2010 11:28 pm

Re: Bugs 0.16.0: please post your bug reports here

Post by Zethfox »

compare to these please.
hidden
[INIT]
mode=mtg
[PLAYERS]
life:20
offerinterruptonphase=draw
auto=sethand:7
auto=@each my draw:draw:1
auto=maxPlay(land)1


#Lands Mana Rules
auto=lord(Plains|MyBattlefield) {T}:Add{W}
auto=lord(Island|MyBattlefield) {T}:Add{U}
auto=lord(Swamp|MyBattlefield) {T}:Add{B}
auto=lord(Mountain|MyBattlefield) {T}:Add{R}
auto=lord(Forest|MyBattlefield) {T}:Add{G}


#Mana Empties from manapool at the end of each phase
auto=@each untap:removeMana(*)
auto=@each upkeep:removeMana(*)
auto=@each draw:removeMana(*)
auto=@each firstmain:removeMana(*)
auto=@each combatbegins:removeMana(*)
auto=@each attackers:removeMana(*)
auto=@each blockers:removeMana(*)
auto=@each combatdamage:removeMana(*)
auto=@each combatEnds:removeMana(*)
auto=@each secondmain:removeMana(*)
auto=@each end:removeMana(*)
auto=@each cleanup:removeMana(*)

#reset Creature damage at the cleanup phase
auto=@each cleanup:all(*|myBattlefield) resetDamage
include mtg.txt
name=Momir Basic
unlock=prx_rimom
[INIT]
mode=momir
[PLAYERS]
life:24
auto=shuffle
auto=draw:7
let me know if anything in them is different from yours...
wadledo
Posts: 12
Joined: Tue Dec 21, 2010 1:07 am

Re: Bugs 0.16.0: please post your bug reports here

Post by wadledo »

The only difference is
hidden
[INIT]
mode=mtg
[PLAYERS]
auto=shuffle
auto=draw:7
life:20
offerinterruptonphase=draw
auto=sethand:7
auto=@each my draw:draw:1
auto=maxPlay(land)1
However, if I don't have that, then I don't start off with any cards in any of the user created story games.
I suppose I could simply change it whenever I want to switch from one to the other, but that seems inelegant.
wololo
Site Admin
Posts: 3728
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Bugs 0.16.0: please post your bug reports here

Post by wololo »

wadledo wrote: However, if I don't have that, then I don't start off with any cards in any of the user created story games.
This is because these user created campaigns need to be updated in order to be compatible with the latest version of wagic, i cant post the link because im on my phone, but i explained how to migrate those campaigns in the campaigns forum.
The question is, are you using a modified version of wagic and is this why you are having problems? What zeth posted is how your files should look like.
wadledo
Posts: 12
Joined: Tue Dec 21, 2010 1:07 am

Re: Bugs 0.16.0: please post your bug reports here

Post by wadledo »

wololo wrote:
wadledo wrote: However, if I don't have that, then I don't start off with any cards in any of the user created story games.
This is because these user created campaigns need to be updated in order to be compatible with the latest version of wagic, i cant post the link because im on my phone, but i explained how to migrate those campaigns in the campaigns forum.
The question is, are you using a modified version of wagic and is this why you are having problems? What zeth posted is how your files should look like.
I have
include mtg.txt
in all my rules.txt but it doesn't do anything without adding
auto=shuffle
auto=draw:7
to the mtg.txt.
Taking the shuffle and draw:7 out of mtg.txt causes there to be no cards in story mode, no clue why.
I haven't modified wagic in any other way, except for tweaking with the in game keybindings and adding the campaigns, and am using 0.16.0.

Edit: So, just on a whim I checked to see what would happen if I got rid of shuffle and draw:7 and tried to play momir, and I still get 14 cards.
Zethfox
Posts: 3029
Joined: Thu Jun 10, 2010 11:28 pm

Re: Bugs 0.16.0: please post your bug reports here

Post by Zethfox »

was your install wagic 16 copied over the top of the previous install?
wadledo
Posts: 12
Joined: Tue Dec 21, 2010 1:07 am

Re: Bugs 0.16.0: please post your bug reports here

Post by wadledo »

Nope, hadn't used wagic on this computer before.
wololo
Site Admin
Posts: 3728
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Bugs 0.16.0: please post your bug reports here

Post by wololo »

You're not the first one with this problem, there might be a bug somewhere in the way we parse the rules files... what bugs me is that none of the developers can't seem to repro the issue, but maybe this thread will help you?
viewtopic.php?f=12&t=3176
wololo
Site Admin
Posts: 3728
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Bugs 0.16.0: please post your bug reports here

Post by wololo »

ah, here's an idea:
make sure your file mtg.txt is really named "mtg.txt", and not "Mtg.txt", or "mtg.TXT", or "MTG.TXT"...
wadledo
Posts: 12
Joined: Tue Dec 21, 2010 1:07 am

Re: Bugs 0.16.0: please post your bug reports here

Post by wadledo »

wololo wrote:ah, here's an idea:
make sure your file mtg.txt is really named "mtg.txt", and not "Mtg.txt", or "mtg.TXT", or "MTG.TXT"...
Nope, no caps.
wololo wrote:You're not the first one with this problem, there might be a bug somewhere in the way we parse the rules files... what bugs me is that none of the developers can't seem to repro the issue, but maybe this thread will help you?
viewtopic.php?f=12&t=3176
*Cough*
4th post.
*cough*
Locked