It is currently 07 Aug 2025, 13:16
   
Text Size

Shandalar Clone

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Shandalar Clone

Postby 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

Postby 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
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Shandalar Clone

Postby Rob Cashwalker » 08 Sep 2010, 04:09

I just uploaded the file again, see if it's working now

http://www.mediafire.com/?yuxhtxq99wpxnaq
The Force will be with you, Always.
User avatar
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

Postby 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
User avatar
lord of 13
DEVELOPER
 
Posts: 79
Joined: 06 Jan 2010, 01:36
Has thanked: 0 time
Been thanked: 0 time

Re: Shandalar Clone

Postby 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
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Shandalar Clone

Postby 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;
     }
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.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Shandalar Clone

Postby 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
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Shandalar Clone

Postby 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!
Attachments
screenshot_01.jpg
Found Treasure!
'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.
User avatar
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

Postby friarsol » 08 Sep 2010, 15:20

DennisBergkamp wrote:
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;
     }
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.
While that might be your intention I don't think this math is quite right.
I think you need
Code: Select all
while (xp >= 1000 * level)
instead 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.
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

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

Postby 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
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Shandalar Clone

Postby Rob Cashwalker » 08 Sep 2010, 16:10

no, I just re-uploaded what I downloaded.
The Force will be with you, Always.
User avatar
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

Postby 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
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Shandalar Clone

Postby DennisBergkamp » 08 Sep 2010, 16:54

friarisol wrote:
DennisBergkamp wrote:
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;
     }
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.
While that might be your intention I don't think this math is quite right.
I think you need
Code: Select all
while (xp >= 1000 * level)
instead 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.
So at 1000 you'll hit level 2, then at 2000 you'll hit level 3. Then 4000 you'll hit level 4. Etc
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.)
Whether this is gaining levels too slow (in terms of balance), I don't know...
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Shandalar Clone

Postby Bog Wraith » 08 Sep 2010, 16:56

Rob Cashwalker wrote:no, I just re-uploaded what I downloaded.
That explains the tokens situation.

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.
User avatar
Bog Wraith
Global Mod 1 (Ret)
 
Posts: 1108
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 425 times
Been thanked: 153 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 13 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 13 users online :: 0 registered, 0 hidden and 13 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 13 guests

Login Form