devolution

Author Topic: General Discussion  (Read 3813690 times)

0 Members and 3 Guests are viewing this topic.

Offline lamoli

  • Hero Member
  • *****
  • Posts: 553
Re: General Discussion
« Reply #8490 on: September 28, 2016, 01:42:14 AM »
Whats strange is without the test file it was working fine did i miss something to along with it ?

Ok nm.. working now but interface is messed up in some places like slave market..( but its alright for what i need so far)

Meaning since you changed to git i never was able to pull an update and make it work i always need to erase and clone the whole thing lol

After first next day on player profile checking finance i get this error:(resumed)

  File "game/library/screens/mc_profile.rpy", line 833, in <module>
    taxes = hero.fin.get_total_taxes(days)
  File "game/library/characters/classes - characters.rpy", line 523, in get_total_taxes
    for girl in char.girls:
  File "game/library/characters/classes - characters.rpy", line 1197, in __getattr__
    raise AttributeError(msg % (key, self.__class__.__name__))
AttributeError: 'girls' is neither a gamestat nor an attribute of Player
« Last Edit: September 28, 2016, 02:32:48 AM by lamoli »

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: General Discussion
« Reply #8491 on: September 28, 2016, 07:21:27 AM »
Yeap, Xela created finance screen and slave market long time ago, before we even knew what kind of concept we want. And never updated since then because they should be updated after more important modules will be finished, and also because we never use them even for testing.

If git returns a specific error when you try to pull changes, post it here. Most likely you have wrong settings in Git extensions, assuming that you use it like we do.
« Last Edit: September 28, 2016, 10:11:17 AM by DarkTl »

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: General Discussion
« Reply #8492 on: September 28, 2016, 05:54:49 PM »
Meaning since you changed to git i never was able to pull an update and make it work i always need to erase and clone the whole thing lol

Why? We can help you setting up software and add you to dev team if you also want to push code (anyone can pull from open repo).

=====>>>
Do you copy files to new folder? Deleting old stuff every time? Taxes should be disabled completely, it's odd that you get that error.
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: General Discussion
« Reply #8493 on: September 30, 2016, 05:12:57 AM »
How to increase max value of a stat via code?

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: General Discussion
« Reply #8494 on: September 30, 2016, 12:45:21 PM »
How to increase max value of a stat via code?

There is no method because it's almost always hardcoded so you need to access the dicts directly, something like:

Code: [Select]
char.stats.max["charisma"] += 100
char.stats.lvl_max["charisma"] += 100
Like what we're doing?

Offline cursed

  • Newbie
  • *
  • Posts: 5
Re: General Discussion
« Reply #8495 on: October 01, 2016, 03:22:21 PM »
Hi , is there a way to play the ver. under development using something like SVN ?

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: General Discussion
« Reply #8496 on: October 01, 2016, 07:49:23 PM »
No, there is nothing that is setup as a coherent game at the moment.
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: General Discussion
« Reply #8497 on: October 02, 2016, 07:26:06 AM »
An attempt to create a list of chars with specific tags
Quote
                choices = []
                for i in chars.values():
                    if i not in hero.chars and not i.arena_active and i.location in ["city", "girl_meets_quest"] and i not in gm.get_all_girls() and i.has_image(has_tags):
                        choices.append(i)
Quote
  File "game/library/screens/locations/swimming_pool.rpy", line 4, in script
    $ gm.enter_location(has_tags=["pool", "sfw"], curious_priority=False)
  File "game/library/screens/locations/swimming_pool.rpy", line 4, in <module>
    $ gm.enter_location(has_tags=["pool", "sfw"], curious_priority=False)
  File "game/library/interactions/classes - interactions (GM).rpy", line 347, in enter_location
    cell = GmCell(self.label_cache, **kwargs)
  File "game/library/interactions/classes - interactions (GM).rpy", line 42, in __init__
    if i not in hero.chars and not i.arena_active and i.location in ["city", "girl_meets_quest"] and i not in gm.get_all_girls() and i.has_image(has_tags):
  File "game/library/characters/classes - characters.rpy", line 3367, in has_image
    imgset = tagdb.get_imgset_with_all_tags(tags)
  File "game/library/classes - tags.rpy", line 115, in get_imgset_with_all_tags
    pathset = self.get_imgset_with_tag(tag)
  File "game/library/classes - tags.rpy", line 103, in get_imgset_with_tag
    imgpathset = self.tagmap[tag]
TypeError: unhashable type: 'RevertableList'
I dunno what to do at this point  ::)

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: General Discussion
« Reply #8498 on: October 02, 2016, 10:56:59 AM »
An attempt to create a list of chars with specific tagsI dunno what to do at this point  ::)

Unpack the tags instead of passing the list:

i.has_image(has_tags) ==> i.has_image(*has_tags)
Like what we're doing?

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: General Discussion
« Reply #8499 on: October 02, 2016, 11:05:01 AM »
Quote
(before beta) An ability to freely add and remove available matrix areas (while outside of the matrix) depending on conditions, like flags. So if you don't need a certain area anymore you can hide it, and vice versa.

We will do this by passing a list of ids we wish to hide as we call the poly-matrix screen.

Quote
(optional, maybe after beta) an ability to add one or more areas with a preset size and form, but random coordinates. Will be useful for random stuff like finding items.

Does the shape actually matter? We can do this two ways:

1) We create a simple rectangular mouse area and randomly align it.

2) We allow polygons of any shape, you'll draw them at the center and specify offsets that will be applied to every point. This one is a lot harder due to how screens are coded in Ren'Py and I don't see any advantage as opposed to a rect?
Like what we're doing?

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: General Discussion
« Reply #8500 on: October 02, 2016, 11:32:44 AM »
Post-Alpha of shooting range: https://www.youtube.com/watch?v=4wZhf3TQV6M&feature=youtu.be

Tis getting a bit better :)
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: General Discussion
« Reply #8501 on: October 02, 2016, 12:09:08 PM »
Does the shape actually matter? We can do this two ways:

1) We create a simple rectangular mouse area and randomly align it.

2) We allow polygons of any shape, you'll draw them at the center and specify offsets that will be applied to every point. This one is a lot harder due to how screens are coded in Ren'Py and I don't see any advantage as opposed to a rect?
Only size matters. I'm going to use only simple rectangular areas for random matrix anyway, but it's hard to tell what is the best size without trying out.

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: General Discussion
« Reply #8502 on: October 02, 2016, 12:11:06 PM »
Post-Alpha of shooting range: https://www.youtube.com/watch?v=4wZhf3TQV6M&feature=youtu.be

Those gray wall textures are super depressing, but the animation is awesome  :)

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: General Discussion
« Reply #8503 on: October 02, 2016, 12:11:54 PM »
Only size matters. I'm going to use only simple rectangular areas for random matrix anyway, but it's hard to tell what is the best size without trying out.

Ok, I'll take the entire issue out today or tomorrow. 2) has been ready for weeks but I haven't pushed yet cause after updating just a few lines per day here and there, some stuff broke down in a  weird way that I need to trace to it's source.
Like what we're doing?

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: General Discussion
« Reply #8504 on: October 02, 2016, 12:15:27 PM »
Those gray wall textures are super depressing, but the animation is awesome  :)

The whole game is very dark... it really, really goes badly with the "hentai" edge. But I didn't pick the setting, I am planning to insist on something much, much brighter and "breezier" for the next design, just got to get this one "out of the way" first.
Like what we're doing?