Manalink update 2009-03-11
The latest Manalink updates are posted here.
PLEASE DO NOT BUMP OLD UPDATES!
PLEASE DO NOT BUMP OLD UPDATES!
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
Re: Manalink update 2009-03-11
by HarryPitfall » 12 Mar 2009, 13:46
Jatill, can you full decode the targeting call? If you do, wiki is a good place do put the information... like what each parameter do!
- HarryPitfall
- AI Programmer
- Posts: 175
- Joined: 31 May 2008, 00:14
- Has thanked: 1 time
- Been thanked: 3 times
Re: Manalink update 2009-03-11
by jatill » 12 Mar 2009, 14:00
I've only decoded a couple. Maybe this weekend instead of making new cards I'll spend some time trying to decode more of them. That will be helpful when we get around to turning it into c codeHarryPitfall wrote:Jatill, can you full decode the targeting call? If you do, wiki is a good place do put the information... like what each parameter do!
Apps by jatill: http://www.slightlymagic.net/wiki/Other_Apps_by_jatill
Re: Manalink update 2009-03-11
by jatill » 12 Mar 2009, 15:03
So I figured out equipment, mostly.
Here are the issues I couldn't address:
1) I can make it so that you can only equip on your main phase, but I don't know how to make it sorcery speed.
2) The equipment doesn't actually appear to be attached to the creature. Not a big deal.
3) If the creature dies in response to equip, the equipment still unattaches from the original creature. I'm guessing some kind of check could be done here, I just didn't spend the time trying to figure it out.
I put my notes on what I did in the wiki. If anyone wants to pursue this, I can give them my source code too. Just let me know.
Here are the issues I couldn't address:
1) I can make it so that you can only equip on your main phase, but I don't know how to make it sorcery speed.
2) The equipment doesn't actually appear to be attached to the creature. Not a big deal.
3) If the creature dies in response to equip, the equipment still unattaches from the original creature. I'm guessing some kind of check could be done here, I just didn't spend the time trying to figure it out.
I put my notes on what I did in the wiki. If anyone wants to pursue this, I can give them my source code too. Just let me know.
Apps by jatill: http://www.slightlymagic.net/wiki/Other_Apps_by_jatill
Re: Manalink update 2009-03-11
by HarryPitfall » 12 Mar 2009, 15:06
I'll read on wiki... don't worry... i did mulldrifter based on your notes... also, there is a esi+xx that make the card attached to other...
Equipment is like a aura that stays in play...
Equipment is like a aura that stays in play...
- HarryPitfall
- AI Programmer
- Posts: 175
- Joined: 31 May 2008, 00:14
- Has thanked: 1 time
- Been thanked: 3 times
Re: Manalink update 2009-03-11
by jatill » 12 Mar 2009, 15:10
I just update my notes to add a couple missing steps. I wrote the original notes before I tried to make one, and the new notes once I succeeded.HarryPitfall wrote:I'll read on wiki... don't worry... i did mulldrifter based on your notes... also, there is a esi+xx that make the card attached to other...
Equipment is like a aura that stays in play...
Edit: I also plopped out the skp on the wiki.
Apps by jatill: http://www.slightlymagic.net/wiki/Other_Apps_by_jatill
Re: Manalink update 2009-03-11
by Draggamor » 13 Mar 2009, 00:54
Attention advanced programmers!!!
I sadly found out that the Magic.exe file only allows 2000 cards.
I was introducing cards in the manalink.csv file like a wildgoose, by the 2118th card, I had need of testing one card.
The game don't even opens. I had to cut it down to 2000; sad but true.
If someone can crack this out please do so. Make it like 30000
I sadly found out that the Magic.exe file only allows 2000 cards.
I was introducing cards in the manalink.csv file like a wildgoose, by the 2118th card, I had need of testing one card.
The game don't even opens. I had to cut it down to 2000; sad but true.
If someone can crack this out please do so. Make it like 30000
Re: Manalink update 2009-03-11
by Snacko » 13 Mar 2009, 07:58
There are different initialization data stored that depend on the ids shandalar has a limit to id 1500. Probably there are such hardcoded limits in magic too.
Re: Manalink update 2009-03-11
by mathusalem » 13 Mar 2009, 09:34
30000 ??? do we need 30 000 cards, the real life game currently has 10000 and that includes all the cards we don't want like Kamigawa..... I hope that was just a typoDraggamor wrote:Attention advanced programmers!!!
If someone can crack this out please do so. Make it like 30000
Well if there is a 2000 limit we are going to have to make some choices. but that leaves around 400 more cards which, leaves space for quite a few great cards still.
and to be honest, if I compare the game the way it is supposed to be with what it has been changed into (which was beyond hope only a little time ago) I don't feel any frustration.
-
mathusalem - Posts: 459
- Joined: 24 Feb 2009, 21:00
- Has thanked: 6 times
- Been thanked: 4 times
Re: Manalink update 2009-03-11
by jatill » 13 Mar 2009, 12:19
In your experience, is this problem solved easily, or are we likely to be stuck with the 2000 limit?Snacko wrote:There are different initialization data stored that depend on the ids shandalar has a limit to id 1500. Probably there are such hardcoded limits in magic too.
Apps by jatill: http://www.slightlymagic.net/wiki/Other_Apps_by_jatill
Re: Manalink update 2009-03-11
by jatill » 13 Mar 2009, 12:38
Well, that does help. In windows, I still getLoneFox wrote:Does it work if you replace do_binject function in build.pl with this? ...
ld: cannot perform PE operations on non PE output file
And on unix I get
Compiling functions/count_graveyard.c (start address 0x4E9564)
cc1: Invalid option `arch=i586'
cc1: Invalid option `preferred-stack-boundary=2'
Any idea how to fix either of these problems? Or is Snacko working on a fix already?
Apps by jatill: http://www.slightlymagic.net/wiki/Other_Apps_by_jatill
Re: Manalink update 2009-03-11
by 0rion79 » 14 Mar 2009, 10:54
I've just posted my last mod into a new thread. Who's the next??
I will edito the Wiki to remove my name from the modders list.
I will edito the Wiki to remove my name from the modders list.
-
0rion79 - Posts: 1520
- Joined: 24 Feb 2009, 18:33
- Location: Italy
- Has thanked: 94 times
- Been thanked: 61 times
Re: Manalink update 2009-03-11
by mathusalem » 14 Mar 2009, 12:14
Jatill is next with some serious goodies ! exploration, Nantucko husk, pattern of rebirth, rancor, Nocol Bolas, Archbound ravager.... we're going to make a whole lot of new decks !
-
mathusalem - Posts: 459
- Joined: 24 Feb 2009, 21:00
- Has thanked: 6 times
- Been thanked: 4 times
Re: Manalink update 2009-03-11
by jatill » 14 Mar 2009, 12:57
That is the question I usually ask myself when adding cards... "will this make a new deck available?"mathusalem wrote:Jatill is next with some serious goodies ! exploration, Nantucko husk, pattern of rebirth, rancor, Nocol Bolas, Archbound ravager.... we're going to make a whole lot of new decks !
Apps by jatill: http://www.slightlymagic.net/wiki/Other_Apps_by_jatill
43 posts
• Page 3 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 36 guests