Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate

Primary tabs

  • View
  • Collections
  • Comments(active tab)
  • Followers
  • Friends
  • Favorites
You now have to copy not only
Tuesday, June 11, 2013 - 17:49

(Deleted)

 

The list I see for new
Tuesday, June 11, 2013 - 17:17

The class list for new characters comes from:

mods/fantasycore/engine/classes.txt

To see Warrior instead of Brute, just override classes.txt.

Pur

 (Main Branch)

 

The following changes to
Wednesday, June 5, 2013 - 19:35

The following changes to MenuStatBar::render() fixes the issue with big numbers.  Note that one goes in each orientation section, one using bar_pos.w and the other bar_pos.h

       else bar_length = (1.0 * stat_cur) * (1.0*bar_pos.w) / (1.0*stat_max);

       else bar_length = (1.0 * stat_cur) * (1.0*bar_pos.h) / (1.0*stat_max);

Pur

P.S. I just realized the current download is still 0.18 so these fixes may already be in 0.19.  :P  To check, just go to a saved game save and change xp to 2000000000 (2 Billion).  Then to check the overflow issue, set the miners to give 100000000 XP (100 Million) and go kill a few.

Ding!  Level 17!
Wednesday, June 5, 2013 - 19:32

Ding!  Level 17!

LOL

That's what you get when you add the following to CampaignManager::rewardXP

    hero->xp += (amount * (100 + hero->effects.bonus_xp)) / 100;
    if (hero->xp < 0) hero->xp = std::numeric_limits<int>::max();    /* added */
    hero->refresh_stats = true;

and of course the include at the top:

    #include <limits>

If it's already fixed then just ignore me.

Pages

  • « first
  • ‹ previous
  • 1
  • 2
  • 3