Page 7 of 8

Re: General XML/LUA Editing Findings

PostPosted: 13 Jul 2010, 17:20
by Epiphany
Good point! I forgot it's meant to be a counter.

But still it should've worked shouldn't it? Regardless of whether it's a -1/-1 counter or just -1/-1?

Thanks though, mate!

Re: General XML/LUA Editing Findings

PostPosted: 13 Jul 2010, 17:38
by Yanna
Uresti wrote:well i posted about the 10th card limit few days ago...nobody read my posts!! :cry:

Also there is an hidden method called GetconvertedManaCost. So you could possibly use this :
local TargetCardConvertedManaCost = Object():GetTargetCard:GetconvertedManaCost
you can do that doing:
Object():GetFilter():SetConvertedCostMin()

Can you share the method you used to extract the Variables and functions from the exe? i tried with and Hex when game came out without susses

Sorry I must have missed that you posted the card limit before, it seems we're digging the same way with the code...

The way i've found to have a peek at the exe is this :
- Download XVI32, it's a powerfull free hex editor (but if you have one you prefer that's the same)
- Search for a known string, like for example, Library_GetTop

You will be in the area where 'built-in' functions are indexed. It's just a matter of scanning the whole thing and check if some functions don't sound familiar... Like, Library_GetNth :)

Epiphany wrote:Oh ok, about to get some sleep but tomorrow I'll have a look at getting things more organised. :)

Where are you guys based by the way? Just wondering if our time zones ever match! :)
France ^^ Yeah don't tell me about world cup we suck i know :)

Back on topic, I'm about to have a working haunting echoes again, Thought the card is now much more complex (using 2 spell abilities and 2 triggered abilities, so 4 abilities). Right now it works perfect on me ( :shock: ) and just removes opponent's graveyard cards... But It looks it's getting close.

Re: General XML/LUA Editing Findings

PostPosted: 13 Jul 2010, 17:43
by Epiphany
Yanna wrote:France ^^ Yeah don't tell me about world cup we suck i know :)

Back on topic, I'm about to have a working haunting echoes again, Thought the card is now much more complex (using 2 spell abilities and 2 triggered abilities, so 4 abilities). Right now it works perfect on me ( :shock: ) and just removes opponent's graveyard cards... But It looks it's getting close.
Hehe, I'm actually English but have moved to Estonia. England didn't do much better than France! Except we didn't have to send anyone home. ;)

I love France, which part are you in?

Good luck with the haunting echoes! :)

Re: General XML/LUA Editing Findings

PostPosted: 13 Jul 2010, 18:08
by Uresti
Anyone have tried to make a Silence ?

that simple code causes a crash in the game
<FILTER>
return GreenSpell() <----just trying with a color
</FILTER>
<EFFECT>
Subject():CantBePlayed()
</EFFECT>

France ^^ Yeah don't tell me about world cup we suck i know :)
You dont know what suck is until you know FMF (Mexican Football Federation) those guys really sux!! :)
But still it should've worked shouldn't it? Regardless of whether it's a -1/-1 counter or just -1/-1?
I dont think so. you are trying to ADD a negative value, besides it must be a counter :)

Re: General XML/LUA Editing Findings

PostPosted: 13 Jul 2010, 18:15
by Epiphany
Uresti wrote:Anyone have tried to make a Silence ?

that simple code causes a crash in the game
<FILTER>
return GreenSpell() <----just trying with a color
</FILTER>
<EFFECT>
Subject():CantBePlayed()
</EFFECT>
That sounds like a really tough one because I should imagine that effect can only really work as a static ability but instants can't be static. I'll have a play around with it later myself.
I dont think so. you are trying to ADD a negative value, besides it must be a counter :)
Oh well, it's working now anyways! :) Thanks for pointing it out to me.

Re: General XML/LUA Editing Findings

PostPosted: 13 Jul 2010, 19:17
by Yanna
Epiphany wrote:Good luck with the haunting echoes! :)
Thanks, you must have brought me luck ! Because guess what ? It's done now :lol:

Ok, there's two minor bugs but they shouldn't affect gameplay that much :
1°) You don't get to see opponent's hand. I didn't code it as it's already messy when it shows a whole deck of cards. Could be implemented thought
2°) Any land will skip the 'remove' thingy. Originally, only nonbasic lands should avoid the remove. This could be fixed with a better filter, but no luck so far...

On the bright side :
- You don't have to select cards anymore, it understands it has to remove everything in graveyard and corresponding in library.
- No matter how many cards need to be removed, it won't stop at 10... I just ran a test (with the annoyings Glimpse the Unthinkable and Traumatize) and sucessfully removed the AI's whole deck ^^

On my release page i'll put a code fix to turn haunting echoes into the real thing.

BTW, i've learned much with this. Now ability zones, forced_skip and triggers make more sense. We ought to write some things about how it all interacts !

Re: General XML/LUA Editing Findings

PostPosted: 13 Jul 2010, 20:52
by Huggybaby
WIKI! ;) :)

Re: General XML/LUA Editing Findings

PostPosted: 13 Jul 2010, 21:11
by Epiphany
Which reminds me...

I forgot to mention, I've added this page http://www.slightlymagic.net/wiki/Duels ... neswalkers

and linked it from the front of the wiki too.

Re: General XML/LUA Editing Findings

PostPosted: 13 Jul 2010, 21:45
by Huggybaby
That looks awesome, thanks man!

Re: General XML/LUA Editing Findings

PostPosted: 13 Jul 2010, 21:53
by Uresti
Awesome!!! congratz for your work!

Re: General XML/LUA Editing Findings

PostPosted: 13 Jul 2010, 22:33
by Yanna
Wow this is very nice ! Much appreciated, and thanks huggybaby (and the crew) for the hosting.

Dotp modding is entering a new age :)

Re: General XML/LUA Editing Findings

PostPosted: 14 Jul 2010, 02:46
by Uresti
YEAH!!!!!!!!! i just finished Capsize now cards with buyback can be done, just one issue buyback cost cant be tracked for Memory Crystal purposes

APPLAUSE!!

Re: General XML/LUA Editing Findings

PostPosted: 14 Jul 2010, 06:00
by Epiphany
Uresti wrote:YEAH!!!!!!!!! i just finished Capsize now cards with buyback can be done, just one issue buyback cost cant be tracked for Memory Crystal purposes

APPLAUSE!!
Woohoo! How's it done? :) :) :)

Re: General XML/LUA Editing Findings

PostPosted: 14 Jul 2010, 06:24
by Uresti
Sorry you must wait until my next release :)

Re: General XML/LUA Editing Findings

PostPosted: 14 Jul 2010, 06:26
by Huggybaby
Now that's what I call showmanship. :mrgreen: