It is currently 26 Apr 2024, 04:47
   
Text Size

Manalink update 2009-03-11

The latest Manalink updates are posted here.
PLEASE DO NOT BUMP OLD UPDATES!

Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins

Re: Manalink update 2009-03-11

Postby 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

Postby jatill » 12 Mar 2009, 14:00

HarryPitfall 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!
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 code :)
jatill
DEVELOPER
 
Posts: 2118
Joined: 24 Feb 2009, 16:35
Has thanked: 5 times
Been thanked: 17 times

Re: Manalink update 2009-03-11

Postby 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.
jatill
DEVELOPER
 
Posts: 2118
Joined: 24 Feb 2009, 16:35
Has thanked: 5 times
Been thanked: 17 times

Re: Manalink update 2009-03-11

Postby 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... ;)
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

Postby jatill » 12 Mar 2009, 15:10

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... ;)
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.

Edit: I also plopped out the skp on the wiki.
jatill
DEVELOPER
 
Posts: 2118
Joined: 24 Feb 2009, 16:35
Has thanked: 5 times
Been thanked: 17 times

Re: Manalink update 2009-03-11

Postby 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 8-[
User avatar
Draggamor
 
Posts: 43
Joined: 24 Feb 2009, 16:57
Has thanked: 11 times
Been thanked: 4 times

Re: Manalink update 2009-03-11

Postby 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.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: Manalink update 2009-03-11

Postby mathusalem » 13 Mar 2009, 09:34

Draggamor wrote:Attention advanced programmers!!!

If someone can crack this out please do so. Make it like 30000 8-[
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 typo :wink:
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.
User avatar
mathusalem
 
Posts: 459
Joined: 24 Feb 2009, 21:00
Has thanked: 6 times
Been thanked: 4 times

Re: Manalink update 2009-03-11

Postby jatill » 13 Mar 2009, 12:19

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.
In your experience, is this problem solved easily, or are we likely to be stuck with the 2000 limit?
jatill
DEVELOPER
 
Posts: 2118
Joined: 24 Feb 2009, 16:35
Has thanked: 5 times
Been thanked: 17 times

Re: Manalink update 2009-03-11

Postby jatill » 13 Mar 2009, 12:38

LoneFox wrote:Does it work if you replace do_binject function in build.pl with this? ...
Well, that does help. In windows, I still get
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?
jatill
DEVELOPER
 
Posts: 2118
Joined: 24 Feb 2009, 16:35
Has thanked: 5 times
Been thanked: 17 times

Re: Manalink update 2009-03-11

Postby 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.
User avatar
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

Postby mathusalem » 14 Mar 2009, 12:14

Jatill is next with some serious goodies :P ! exploration, Nantucko husk, pattern of rebirth, rancor, Nocol Bolas, Archbound ravager.... we're going to make a whole lot of new decks ! :D
User avatar
mathusalem
 
Posts: 459
Joined: 24 Feb 2009, 21:00
Has thanked: 6 times
Been thanked: 4 times

Re: Manalink update 2009-03-11

Postby jatill » 14 Mar 2009, 12:57

mathusalem wrote:Jatill is next with some serious goodies :P ! exploration, Nantucko husk, pattern of rebirth, rancor, Nocol Bolas, Archbound ravager.... we're going to make a whole lot of new decks ! :D
That is the question I usually ask myself when adding cards... "will this make a new deck available?"
jatill
DEVELOPER
 
Posts: 2118
Joined: 24 Feb 2009, 16:35
Has thanked: 5 times
Been thanked: 17 times

Previous

Return to Patches

Who is online

Users browsing this forum: No registered users and 36 guests


Who is online

In total there are 36 users online :: 0 registered, 0 hidden and 36 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 36 guests

Login Form