It is currently 08 Jul 2021, 01:10
   
Text Size

Community Wad

Moderators: Xander9009, CCGHQ Admins

Re: Community Wad

Postby Kithkin » 05 Apr 2015, 14:18

sunds wrote:Hi, I have an issue about "Dash" ability in FRF. Sometimes it works correctly, sometimes doesn't.
For example, I have a mardu scout and pay 2 mana to dash it. But at this moment, bug makes AI opponent tap an untapped land.(It seems that bug can't be triggered if all lands of AI opponent are tapped.)So the mardu scout comes into battlefield with summoning sickness, no haste, can't attack. And at the end of my turn, mardu scout returns to my hand.
Confirmed. That seems to be a general problem with Dash. And it does not always happen.
BTW, why not put card_ui_text of FRF into CW?
e.g. [CARD_QUERY_MARDU_SCOUT_DASH_COST]. Custom text is missing on most of the cards.
User avatar
Kithkin
 
Posts: 456
Joined: 21 Feb 2014, 07:12
Location: Cologne, GERMANY
Has thanked: 11 times
Been thanked: 56 times

Re: Community Wad

Postby nivmizzet1 » 05 Apr 2015, 17:52

[lua] [string "MEGRIM_CW_189904_TITLE (RESOLUTION_TIME_ACTION)~0x00000531"]:2: attempt to index a nil value
nivmizzet1
 
Posts: 613
Joined: 21 Mar 2013, 10:10
Has thanked: 100 times
Been thanked: 23 times

Re: Community Wad

Postby zysron » 06 Apr 2015, 21:17

why the fluck is the sync doing this?!?

| Open
Source: \Program Files\Alienware\SupportAssist\images\icons\png\64_64
Dest: C:\Program Files (x86)\Steam\SteamApps\common\Magic 2014\\Program Files\Alienware\SupportAssist\images\icons\png\64_64
(54) ReplaceDifferent is finished.
(54) ReplaceDifferent is firing.
Source: \Program Files\Alienware\SupportAssist\images\icons\png\72_72
Dest: C:\Program Files (x86)\Steam\SteamApps\common\Magic 2014\\Program Files\Alienware\SupportAssist\images\icons\png\72_72
(54) ReplaceDifferent is finished.
(54) ReplaceDifferent is finished.
(54) ReplaceDifferent is finished.
(54) ReplaceDifferent is firing.
Source: \Program Files\Alienware\SupportAssist\images\img16_16
Dest: C:\Program Files (x86)\Steam\SteamApps\common\Magic 2014\\Program Files\Alienware\SupportAssist\images\img16_16


this is not anything to do with the wad?!?
and i'm not telling it to go to these places
| Open
[Settings]
Debug=0
Log=1
GoogleDriveCoreFolder=C:\Users\%%%%%%\Google Drive\Community Wad\Community Wad Core\DATA_DLC_COMMUNITY_CORE
GoogleDriveArtFolder=C:\Users\%%%%%%\Google Drive\Community Wad\Community Wad Art
GameFolder=C:\Program Files (x86)\Steam\SteamApps\common\Magic 2014
SyncCore=2
SyncArt=1
CheckDelay=43200
SleepTime=40000


obviously my user name isnt %%%%%%


according to the logg file this thing has been alll the hell over my computer!
zysron
 
Posts: 101
Joined: 13 Mar 2015, 09:02
Has thanked: 0 time
Been thanked: 2 times

Re: Community Wad

Postby Xander9009 » 06 Apr 2015, 21:32

I've never seen anything like that. It looks like it seems to think that your program files folder is INSIDE your game folder.

C:\Program Files (x86)\Steam\SteamApps\common\Magic 2014\\Program Files\Alienware\SupportAssist\images\icons\png\72_72
That in particular is showing your program files folder in your game folder. Unfortunately, I have no idea how to fix something like that...

Actually, something that MIGHT work: erase your folders and type. You can copy/paste "GoogleDriveCoreFolder=", "GoogleDriveArtFolder=" and "GameFolder" from here, but do NOT copy/paste your folder paths from here or from the file. You can copy/paste them from the address bar when you open the folder, though. Delete the ENTIRE line so there is no space between Log="1" and SyncCore="2".

If I have to guess, what's happening is that when it obtains the folder paths, it doesn't manage to erase the "system variables" from the end of the line. I discovered that the end of the path has some paths after the visible path which I attempted to and thought I'd succeeded at removing. The problem is that they're invisible and only show up in certain editors. AHK, the language it's coded in, didn't have a way to detect them, though. I hope it didn't cause too much trouble. Exactly which tool are you using? I want to make replace it with a version that doesn't do this.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2905
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 121 times
Been thanked: 444 times

Re: Community Wad

Postby zysron » 06 Apr 2015, 21:52

the community wad sync tool
zysron
 
Posts: 101
Joined: 13 Mar 2015, 09:02
Has thanked: 0 time
Been thanked: 2 times

Re: Community Wad

Postby Xander9009 » 06 Apr 2015, 22:05

zysron wrote:the community wad sync tool
Then that's not the problem and I have no idea. Community Wad Sync.exe doesn't use the auto-folder retrieval that had the issue I was talking about. It uses a straight-up folder-select which is handled in a native function.

Even so, I added in a check for \\. If that always appears in the messed up path, then it'll prevent the issues. If you can't test it because it's causing problems, let me know and I'll make a "Safety" option which pretends to run.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2905
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 121 times
Been thanked: 444 times

Re: Community Wad

Postby sweetLu » 07 Apr 2015, 01:37

I wasn't able to reproduce the dash bug. Are you positive it only happens when the opponent taps their mana? That could be an artifact of using the manual mana mod and not have anything to do with this bug. When I did my tests I was testing dash cards only in the vanilla game so it may be some other approximation causing the bug. Or I just wasn't able to reproduce it.

I also didn't get any script errors for Megrim. Nonetheless I added a check for TriggerObject equaling nil which is what I think would have caused that error.

For Chance Encounter, it uses a trigger value of COIN_FLIP_WIN for "whenever you win a coin flip" which I do not think is a real trigger. I think the only way to make this type of card would be to recode all coin flip cards to account for when you flip a coin and who wins in some kind of data chest. Then have cards like Chance Encounter check the data chest for changes every time a spell or ability resolves. Sorry but I'm not about to take on that task. Does anyone else have any better ideas? In the meantime Chance Encounter should probably be removed from the community wad.
sweetLu
 
Posts: 181
Joined: 16 Jul 2014, 01:24
Has thanked: 21 times
Been thanked: 22 times

Re: Community Wad

Postby nivmizzet1 » 07 Apr 2015, 08:14

How can I upload fixes so they'll be added to the CW?

I feel at the moment that sometimes when I fix a card and upload it, it doesn't replace the original card and never makes it into the WAD.

Lately I've been deleting the original card and adding the fixed card, but I'm assuming there's a much better way.
nivmizzet1
 
Posts: 613
Joined: 21 Mar 2013, 10:10
Has thanked: 100 times
Been thanked: 23 times

Re: Community Wad

Postby sweetLu » 07 Apr 2015, 10:13

That's how I've been doing it. Not sure if there is a better way. When I check a card out to modify it, I delete it right away. That way when I'm done making changes and testing I should have waiting long enough.I'm hesitant to make a large number of changes at once.
sweetLu
 
Posts: 181
Joined: 16 Jul 2014, 01:24
Has thanked: 21 times
Been thanked: 22 times

Re: Community Wad

Postby sunds » 07 Apr 2015, 10:19

Hi, sweetLu. I experience bug in revenge mode. My deck is 147024_STAMPEDING_HORDES_FRF_INTRO from CW decks.
For example I fight with Garruk. (Not only Garruk, but other charactors would happen.)
In my turn, Garruk has two tapped lands and a Garruk's companion, and I have 2 lands in battlefield. So I dash mardu scout, and Garruk don't block. Everything is ok.
Then it is Garruk's turn, and he casts a land and a Kalonian Tusker, so only a land isn't tapped.
Now my turn again, I dash mardu scout again, and bug appears. When mardu scout is still in stack, that land of Garruk is tapped suddenly, of cource Garruk

casts nothing. Then mardu scout comes into battlefield with summoning sickness.
I'm sure the bug can be reproduced.
sunds
 
Posts: 48
Joined: 05 Apr 2015, 12:51
Has thanked: 3 times
Been thanked: 4 times

Re: Community Wad

Postby RiiakShiNal » 07 Apr 2015, 10:36

sweetLu wrote:I wasn't able to reproduce the dash bug. Are you positive it only happens when the opponent taps their mana? That could be an artifact of using the manual mana mod and not have anything to do with this bug. When I did my tests I was testing dash cards only in the vanilla game so it may be some other approximation causing the bug. Or I just wasn't able to reproduce it.
Likely, the dash bug is related to dash looking for a card to enter the battlefield, but not checking that the card is the card it is supposed to be. So when a manual mana card is tapped for mana and its token enters the battlefield it gets the dash effects instead of the card that is supposed to get it. Though this is just an educated guess without actually looking at the code.

sweetLu wrote:For Chance Encounter, it uses a trigger value of COIN_FLIP_WIN for "whenever you win a coin flip" which I do not think is a real trigger. I think the only way to make this type of card would be to recode all coin flip cards to account for when you flip a coin and who wins in some kind of data chest. Then have cards like Chance Encounter check the data chest for changes every time a spell or ability resolves. Sorry but I'm not about to take on that task. Does anyone else have any better ideas? In the meantime Chance Encounter should probably be removed from the community wad.
COIN_FLIP_WIN is not a trigger, it is used for checking return values from FlipCoin(). There are two ways to deal with this:
  1. Deal with it like you thought, through recoding all coin flip cards to store the results in a data chest, then after ability/spell resolution check the chest for changes.
  2. Or recode all coin flip cards to fire triggers that aren't used for the states like TRIGGER_ROLLED_CHAOS and TRIGGER_ROLLED_PLANESWALK. Then trigger off of those for the effects.

Option 1 is generally the more recommended option as the number of unused triggers is very limited and another modder may have used them for something else which could cause conflicts.
RiiakShiNal
Programmer
 
Posts: 2160
Joined: 16 May 2011, 21:37
Has thanked: 74 times
Been thanked: 483 times

Re: Community Wad

Postby sweetLu » 07 Apr 2015, 12:08

Regarding dash, that would make sense. I'll have to review the code and add the manual mana wad to my testing folder. Thanks for the input.
sweetLu
 
Posts: 181
Joined: 16 Jul 2014, 01:24
Has thanked: 21 times
Been thanked: 22 times

Re: Community Wad

Postby zysron » 07 Apr 2015, 12:12

is there any easy way to pull cards from 2013? or do i have to unpack all those wads till i find the ones i want?

i know many cards in there are not in the community wad(i dont know why other than that its 'already available' and 'resource management') so if i took the time ... should i add them to the community wad (isit possible) or does someone else want to?
zysron
 
Posts: 101
Joined: 13 Mar 2015, 09:02
Has thanked: 0 time
Been thanked: 2 times

Re: Community Wad

Postby sweetLu » 07 Apr 2015, 12:39

Do you mean from cards from Dotp 2013? Cards coded for DotP 2013 are not directly portable to DotP 2014. Some will require modifications to work on the 2014 engine.

If you are referring to a 2014 mod of the cards in 2013 (I know of at least two), Xander only added mods to the CW if he got approval from the author. Even then the cards will require some tweaks to use the community wad conventions.

If they are cards for the 2014 engine that you would like in the CW I'd suggest learning all the appropriate CW conventions and adding them yourself or requesting specific cards in this thread
sweetLu
 
Posts: 181
Joined: 16 Jul 2014, 01:24
Has thanked: 21 times
Been thanked: 22 times

Re: Community Wad

Postby MasterXploder7 » 07 Apr 2015, 19:29

Sage of Hours extra turn ability only works with 6 +1/+1 counters instead of 5
"Hate is an everlasting wellspring from which it is eternally sustained." - Nirkana Revenant
MasterXploder7
 
Posts: 288
Joined: 18 Jan 2014, 10:55
Has thanked: 25 times
Been thanked: 10 times

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 4 guests


Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 10 minutes)
Most users ever online was 1922 on 07 Jun 2021, 06:01

Users browsing this forum: No registered users and 4 guests

Login Form