Shandalar Clone
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Shandalar Clone
by friarsol » 08 Sep 2010, 03:41
It seems like you killed Mediafire Dennis. I guess I'll have to wait until we get the next one up on a different upload service to check it out.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Shandalar Clone
by timmermac » 08 Sep 2010, 03:57
Is there a guide to how much XP is required to level?
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Shandalar Clone
by lord of 13 » 08 Sep 2010, 04:11
Not inclined to work for me.
><><><><><><><
Currently developing Mindgames, for playing a rules-enforced game of MtG.
RECENT PROJECTS
->XMLScript
->Zwiel Platformer
Currently developing Mindgames, for playing a rules-enforced game of MtG.
RECENT PROJECTS
->XMLScript
->Zwiel Platformer
-
lord of 13 - DEVELOPER
- Posts: 79
- Joined: 06 Jan 2010, 01:36
- Has thanked: 0 time
- Been thanked: 0 time
Re: Shandalar Clone
by timmermac » 08 Sep 2010, 04:22
Mediafire does not respond.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Shandalar Clone
by DennisBergkamp » 08 Sep 2010, 05:20
timmermac wrote:Is there a guide to how much XP is required to level?
- Code: Select all
//calc level from XP:
public static int getLevelFromXP(int xp)
{
int level = 1;
while (xp >= 1000)
{
xp -= level * 1000;
level++;
}
return level;
}
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Shandalar Clone
by timmermac » 08 Sep 2010, 14:56
cool... thanks.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Shandalar Clone
by Bog Wraith » 08 Sep 2010, 15:12
Got the newer file from the now active Mediafire link, copied the adventure_questData file from my previous version and began exploring.
After walking around a bit, I got to this really cool pop up window.
This game is just so much fun!
Loving this more & more with every encounter, village and surprise like this!
After walking around a bit, I got to this really cool pop up window.
This game is just so much fun!
Loving this more & more with every encounter, village and surprise like this!
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
-
Bog Wraith - Global Mod 1 (Ret)
- Posts: 1108
- Joined: 28 May 2008, 22:40
- Location: Shandalar
- Has thanked: 425 times
- Been thanked: 153 times
Re: Shandalar Clone
by friarsol » 08 Sep 2010, 15:20
While that might be your intention I don't think this math is quite right.DennisBergkamp wrote:timmermac wrote:Is there a guide to how much XP is required to level?So, at 1000 xp you hit level 2, at 3000 xp you hit level 3, at 6000 xp you hit level 4, 10,000 xp is level 5, etc.
- Code: Select all
//calc level from XP:
public static int getLevelFromXP(int xp)
{
int level = 1;
while (xp >= 1000)
{
xp -= level * 1000;
level++;
}
return level;
}
I think you need
- Code: Select all
while (xp >= 1000 * level)
So at 1000 you'll hit level 2, then at 2000 you'll hit level 3. Then 4000 you'll hit level 4. Etc
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Shandalar Clone
by Bog Wraith » 08 Sep 2010, 15:29
Token art is still not appearing in duels. I've checked the tokens file and have seen files for birds, wolves, etc., but they don't show up while playing. I tried switching to different pets before and encounter but the result is the same. I did copy some of the missing token files from an earlier version into the folder & I also checked the icon folder which I think houses the AI quest opponents pics.
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
-
Bog Wraith - Global Mod 1 (Ret)
- Posts: 1108
- Joined: 28 May 2008, 22:40
- Location: Shandalar
- Has thanked: 425 times
- Been thanked: 153 times
Re: Shandalar Clone
by timmermac » 08 Sep 2010, 15:51
Are their any differences between what was posted last night and what was posted on Monday?
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Shandalar Clone
by Rob Cashwalker » 08 Sep 2010, 16:10
no, I just re-uploaded what I downloaded.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Shandalar Clone
by timmermac » 08 Sep 2010, 16:15
So far, I like it.... I think I may hold off on playing more until there are more opponents, though, as I've faced each non-castle/quest opponent at least twice.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Shandalar Clone
by DennisBergkamp » 08 Sep 2010, 16:54
Are you saying this is not right in terms of balance, or math? I'm pretty sure the math is right (you will hit level 3 at 3000, level 4 at 6000, etc.)friarisol wrote:While that might be your intention I don't think this math is quite right.DennisBergkamp wrote:timmermac wrote:Is there a guide to how much XP is required to level?So, at 1000 xp you hit level 2, at 3000 xp you hit level 3, at 6000 xp you hit level 4, 10,000 xp is level 5, etc.
- Code: Select all
//calc level from XP:
public static int getLevelFromXP(int xp)
{
int level = 1;
while (xp >= 1000)
{
xp -= level * 1000;
level++;
}
return level;
}
I think you needinstead of your current conditional. You gain a level as soon as your XP hits 1000, and sometimes send your XP into negative levels while you increment your level early.
- Code: Select all
while (xp >= 1000 * level)
So at 1000 you'll hit level 2, then at 2000 you'll hit level 3. Then 4000 you'll hit level 4. Etc
Whether this is gaining levels too slow (in terms of balance), I don't know...
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Shandalar Clone
by Bog Wraith » 08 Sep 2010, 16:56
That explains the tokens situation.Rob Cashwalker wrote:no, I just re-uploaded what I downloaded.
Dennis, could you label each release with a version # or some thing like it?
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
-
Bog Wraith - Global Mod 1 (Ret)
- Posts: 1108
- Joined: 28 May 2008, 22:40
- Location: Shandalar
- Has thanked: 425 times
- Been thanked: 153 times
Who is online
Users browsing this forum: No registered users and 29 guests