Getting Started

Discussion of all aspects of the game engine, including development of new and existing features.

Moderators: Forum Moderators, Developers

Re: Getting Started

Postby Jagreen » July 31st, 2015, 6:09 pm

vultraz: i read both, i want help with EasyCoding(Improvements to AI) and NotSoEasyCoding(Data structures: Make the Lua state persistent)
Jagreen
 
Posts: 2
Joined: July 31st, 2015, 5:32 pm

Re: Getting Started

Postby shadowm » July 31st, 2015, 8:33 pm

bweep wrote:Is there any chance you will move to allow c++11 any time in the near future?

Official answer:

We will reevaluate the C++11/C++14 transition task at a later time depending on how many active engine developers can handle C++14 code (that’s in terms of their ability to work with it if someone were to flip the switch overnight and update a bunch of code), how many of them are stuck with IDEs and toolchains where the features we’ll use aren’t available (which features we’ll use is also TBD), and support availability across Wesnoth’s primary distribution platforms.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
I also made Wesnoth RCX, a team-color preview tool for artists and content creators.
Elsewhere: shadowmBlogFollow me on Twitter
User avatar
shadowm
Wesnoth.org Administrator
 
Posts: 6181
Joined: November 14th, 2006, 5:54 pm
Location: Chile

Re: Getting Started

Postby macabeus_br » August 1st, 2015, 12:28 am

I know the project more than five years, and only now I discovered that use Python! What a joy =P

But I got confused: seeing the folder "wesnoth/utils," there Perl among other things, language that did not mention.
It are old code that nobody else is interested, or are still used?
macabeus_br
Code Contributor
 
Posts: 14
Joined: March 28th, 2013, 5:44 pm

Re: Getting Started

Postby shadowm » August 1st, 2015, 12:45 am

data/tools/ contains wmllint and the other Python tools. There are some scripts in utils/ we use as well as other stuff that nobody has touched in ages, but for the most part they don’t need maintenance or fixes.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
I also made Wesnoth RCX, a team-color preview tool for artists and content creators.
Elsewhere: shadowmBlogFollow me on Twitter
User avatar
shadowm
Wesnoth.org Administrator
 
Posts: 6181
Joined: November 14th, 2006, 5:54 pm
Location: Chile

Re: Getting Started

Postby Limabean » August 1st, 2015, 5:24 pm

Well, I've been here long enough, so I guess it's about time I give something back. I know c++ and python reasonably well, although I have close to nil experience working on a project this large. I'd like to try improving/adding to the scenario editor. Who should I talk to about that?
When a scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong.
-Arthur C. Clarke-
User avatar
Limabean
 
Posts: 350
Joined: August 26th, 2008, 2:14 pm
Location: New Hampshire, USA

Re: Getting Started

Postby LordDemigod » August 5th, 2015, 4:14 pm

Hi.

I'm a C++ engine programmer currently working for Ubisoft and I have experience working with really large projects.
I found out that the project needs help through Hacker News - loved playing Wesnoth when I was younger so I would quite like to help if I can during my free time.
Right now I'm moving to a new house but after the weekend I can have a look at some tasks - anything in particular that's high priority at the moment?
LordDemigod
 
Posts: 1
Joined: August 5th, 2015, 4:08 pm

Re: Getting Started

Postby Elvish_Hunter » August 5th, 2015, 7:27 pm

Limabean wrote:I'd like to try improving/adding to the scenario editor. Who should I talk to about that?
If you asked one year ago, I'd have said "fabi". But now fabi is missing, and I have no idea about who may have any knowledge about the editor. You can try asking in #wesnoth-dev.
LordDemigod wrote:Right now I'm moving to a new house but after the weekend I can have a look at some tasks - anything in particular that's high priority at the moment?
Currently there is an ongoing attempt to move the game to SDL2.
Also, while this isn't a list of high priority tasks, from this post onwards there's a non-exhaustive list of stuff which shadowm, me and mattsc would like to see in Wesnoth.
Once again, feel free to appear on #wesnoth-dev and talk with the other devs as well :)
User avatar
Elvish_Hunter
Developer
 
Posts: 1360
Joined: September 4th, 2009, 2:39 pm
Location: Lintanir Forest...

Re: Getting Started

Postby macabeus_br » August 10th, 2015, 2:56 am

I am studying the source of Wesnoth. I'm concentrating on part of WML and Python, which is the most I have interest.
I would like to cooperate in this part of the game. I really find interesting write a new language =)

In wmlgrammar:
Code: Select all
self.datatypes = {
    "boolean": re.compile("^(yes|no|true|false|on|off)$"),
    # "character" : re.compile("^.$"),
    "float": re.compile("^(\\+|-)?[0-9]+(\.[0-9]*)?$"),
    "integer": re.compile("^(\\+|-)?[0-9]+$"),
    "string": re.compile(".*"),
    "tstring": re.compile(".*"),
}

These data should not be collected through the data/schema.cfg, in [schema]?
For what reason in the schema file string is ^[\d\w\s]*$ while in Python is .*?
Also found the following TODO:
Code: Select all
define="required identifier" #TODO: maybe require it to be uppercase?

I could implement this in the project?

Another question: what is tstring?

What's wrong here?
Code: Select all
macabeus@macabeusacer ~/ApenasMeu/wesnoth/data/tools $ python wmlvalidator /home/macabeus/.local/share/wesnoth/1.13/data/add-ons/A_Simple_Addon/_main.cfg -p /home/macabeus/ApenasMeu/wesnoth/data
(/home/macabeus/.local/share/wesnoth/1.13/data/add-ons/A_Simple_Addon/_main.cfg:6) Attribute '[campaign] description's value should be tstring, found: Some text about my campaign!
...

Code: Select all
...
[campaign]
...
  description= _ "Some text about my campaign!"
...



Sorry my bad English.
macabeus_br
Code Contributor
 
Posts: 14
Joined: March 28th, 2013, 5:44 pm

Re: Getting Started

Postby GunChleoc » August 10th, 2015, 12:11 pm

I think "tstring" is a translatable string: http://www.wesnoth.org/devdocs/classt__string.html
User avatar
GunChleoc
Translator
 
Posts: 386
Joined: September 28th, 2012, 7:35 am

Re: Getting Started

Postby Elvish_Hunter » August 11th, 2015, 9:27 am

macabeus_br wrote:These data should not be collected through the data/schema.cfg, in [schema]?
For what reason in the schema file string is ^[\d\w\s]*$ while in Python is .*?
Unfortunately, I didn't yet examine these files (I'm currently busy with the three main tools wmllint, wmlscope and wmlindent, plus their dependencies, and then I'll have to try working on wmllint-1.4 and trackplacer too), so I don't know what's going on there, or what's wmlgrammar's purpose. I'm afraid that, at least for now, you're on your own, sorry :(
macabeus_br wrote:Another question: what is tstring?
tstring is short for "translatable string". They're marked by adding an underscore before them, so I suspect that the tstring regexp may be wrong (it doesn't take the underscore in account, an being in a dictionary there's no guarantee that it'll be accessed before the catch-all string data type - perhaps OrderedDict will be a better choice).
However, as I said, currently I have no insights in this tool, but someone else may know something more about it (shadowm or, perhaps, Sapient?).
User avatar
Elvish_Hunter
Developer
 
Posts: 1360
Joined: September 4th, 2009, 2:39 pm
Location: Lintanir Forest...

Re: Getting Started

Postby Dinosaur » August 11th, 2015, 11:45 pm

Hello, I just noticed your call for help. And since I have been playing around with this wonderful game for the last 10 years or so I thought I should at least try to help. I chose the Handle (userid) "Dinosaur" because that is the term that came to be used to describe old Mainframe systems programmers back in the 80's. I began my career in Data Processing in 1971 as a computer operator on an IBM 1401. (this was a no Operating system machine with punch card input. (As I remember, the machine stood about 5 feet high, 8 feet long, was 3 feet deep and had about 8k in memory.) Since then, up until I retired ten years ago, I have held every Job in this field from Operations, to Applications development, to Systems programming, Design Engineering and Data Center Management.

I have ancient experience with many programing languages. Including Assembler, Fortran, Cobol, Lots of Basic, and even Pascal to name just a few. I also worked with Data base design and am familiar with SQL etc. But even though I have ample experience it is all now completely dated. The terminology used today has evolved and left me behind.

My experience with Wesnoth source code has been limited to local modifications. I tailor game play to my own preferences in order to speed up play. There is nothing I dislike more that moving only 5 steps at a time. Then having to wait 20 mins for the ai to figure out its moves. But that's just me. I suppose it would be best a this point, just, to hang around the forum and offer my two cents where I can.

I am looking forward to sharing the love of this project with you all.
- Scott Johnson
Dinosaur
 
Posts: 14
Joined: August 11th, 2015, 9:59 pm

Re: Getting Started

Postby macabeus_br » August 12th, 2015, 1:24 am

Elvish_Hunter, a few more questions and stuff.

I think pages on the wiki as this is outdated... they actually are?
What can I do?
macabeus_br
Code Contributor
 
Posts: 14
Joined: March 28th, 2013, 5:44 pm

Re: Getting Started

Postby Elvish_Hunter » August 13th, 2015, 7:16 pm

macabeus_br wrote:I think pages on the wiki as this is outdated... they actually are?
Talk about ancient stuff! :shock: That page was made shortly after I got commit access - I didn't even know that it existed... But the page itself doesn't explain clearly what tool is it; perhaps it's wmlvalidator? If so, feel free to try working on it, as nobody else is currently doing it.
As for the page itself, perhaps you can ask vultraz if it's worth keeping it, moving it in some other category or deleting it.
User avatar
Elvish_Hunter
Developer
 
Posts: 1360
Joined: September 4th, 2009, 2:39 pm
Location: Lintanir Forest...

Re: Getting Started

Postby vultraz » August 13th, 2015, 9:29 pm

If EH thinks it's useless now, it looks like it can be deleted or filed away.
Creator of Shadows of Deception (for 1.12) and co-creator of the Era of Chaos (for 1.12/1.13).
SurvivalXtreme rocks!!!
What happens when you get scared half to death...twice?
User avatar
vultraz
Community Manager
 
Posts: 820
Joined: February 7th, 2011, 12:51 pm
Location: Dodging Daleks

Re: Getting Started

Postby macabeus_br » August 14th, 2015, 2:02 am

It's all right. I will study more and see about WML and wmlvalidator script.

The original script's developer disappeared? There is no way to contact her to dispel doubts with him?
macabeus_br
Code Contributor
 
Posts: 14
Joined: March 28th, 2013, 5:44 pm

PreviousNext

Return to Coder’s Corner

Who is online

Users browsing this forum: No registered users and 4 guests