Page 1 of 2

Scripters needed

Posted: Thu Jul 19, 2007 2:43 pm
by martin
We urgently are searching for scripters who help us to make Illarion more interesting and vivid. Scripts are responsible for many different features such as fighting, NPCs, potions, magic system and magical items, expanding wildfires and so on.
What we can provide for you is
1) A good (english) documentation of the scripting language
2) Full time help/guidance by experienced scripters who can be reached nearly at any time of the day
3) A lot of working scripts serving as examples
4) A testserver where you can test your scripts
5) No payment

What we require is
1) You should have fun developing things
2) You don't necessarily have to be a programmer or have programming experience (it's a good thing if you do have experience, but if not that's okay as well, as long as you're interested to learn something)
3) A little analytical thinking
4) Interest in Illarion and it's surrounding and technical aspect
5) You should have enough time to help us (if you're able to spend 10 minutes per month for learning to script/scripting, you shouldn't apply)

If you're interested, please reply here and tell us if you have programming experience or not.

Martin

Posted: Thu Jul 19, 2007 3:00 pm
by Miklorius
Maybe... I will look at the LUA example script I got long ago from nitram and see if I am able to understand it resp. to do something by myself (my programming skills are quite non-existing).

Is the documentation freely accessable?
How many active scripters are there at the moment?

PS: At least I could check scripts etc. for correct text spelling (german).

Posted: Thu Jul 19, 2007 3:35 pm
by abcfantasy
I'm interested in helping.

I learned Pascal (eww) at school, and taught myself some C# at home. Recently, I've been learning Lua and I know the basic syntax, and just started learning about tables.

That's all I guess. I've decided to learn Lua in hopes to help illarion : )

Posted: Thu Jul 19, 2007 3:44 pm
by martin
You can find the docu here:
http://illarion.org/~martin/scripting/luadocu.pdf

Martin

Posted: Thu Jul 19, 2007 4:01 pm
by Juniper Onyx
YES!!

I would love to help with scripting.

I learned programming in college and some visual Basic.

I speak English, but I have a passing knowledge of German.

I would like to see better descrpitions of items, and places, bugs fixed, and NPC's corrected.

I'd love to help.

Posted: Thu Jul 19, 2007 5:28 pm
by abcfantasy
Okay, so I read through the documentation, understood quite some few things, and maybe other things are just a little harder.

What's the next step?

Thanks.

Posted: Thu Jul 19, 2007 5:34 pm
by martin
Oh, we wait until we get some responses and will then contact all of you.

Meanwhile, here's a sample script which is how the actual strong healing potion is working. Nitram was kind enough to make some comments (everything that stands after -- in a line) to make it more understandable.

Look through it.
http://illarion.org/~martin/potion.txt

Martin

Posted: Thu Jul 19, 2007 5:52 pm
by martin
If you don't understand something, try to look it up in the docu.
If you still don't understand it, just ask one of us.

Martin

Posted: Thu Jul 19, 2007 5:59 pm
by Nikolaus
I am also interested to help with scripting,
but I don´t have any programming experience (But enough time to learn it).

Nikolaus

Posted: Thu Jul 19, 2007 6:10 pm
by Haniel Raynn
I might be of some help. I've got a couple years worth of Java experience and I know several scripting languages (Javascript and ASP mostly). I also know a little C#. LITTLE. :D I'd be completely new to Lua, but I think it might be fun.

Posted: Thu Jul 19, 2007 6:19 pm
by pharse
I´m also interested.
I learned Pascal in school, but I had no usage for this knowledge so it declined... but I have that "analytical thinking" you require ;)

Posted: Thu Jul 19, 2007 6:57 pm
by Lance Thunnigan
I've been around Illa a long time, and I'm always looking for new ways to contribute to the community so I'll offer my help here as well.

I have alot of time on my hands right now, seeing as school doesn't start for about a month.
I don't have experience in the LUA language, but with the free time I have, I can dedicate it to learning.

From the looks of it in the example script, it doesn't seem hard.

~Lance~

Posted: Thu Jul 19, 2007 7:47 pm
by Nitram
Those who think that they understand the example script and the Illarion Lua Documentation should contact martin or me.

We have a small task for you to write, to see what you are able to do.

Nitram

Posted: Thu Jul 19, 2007 11:34 pm
by Korm Kormsen
please explain:
User:talkLanguage(CCharacter.say, CPlayer.german, "#me verschüttet den Trank.");
User:talkLanguage(CCharacter.say, CPlayer.english, "#me spills the potion.");
that is clear, i think.

but here:
"Die Flasche zerbricht.",
"The bottle breaks.");
how does the program know, which language to use?

and please send me the test.

korm

Posted: Thu Jul 19, 2007 11:42 pm
by pharse
I also asked this.

InformNLS is a function in the base_common.lua which looks like

Code: Select all

function InformNLS( User, textInDe, textInEn )    
    if User:getPlayerLanguage(  ) == 0 then
        User:inform( textInDe );
    else
        User:inform( textInEn );
    end
end
so use for Informs in both langs always InformNLS but for e.g. forced emotes use talkLanguage.

thx @ Nitram

Posted: Thu Jul 19, 2007 11:47 pm
by Korm Kormsen
also ist da eine generelle anweisung. danke, kapiert.

Posted: Fri Jul 20, 2007 1:49 am
by falco1029
How dare you delete my post? Fine, I'l ldo it without causing trouble...

Anyway, if i can get everything organized, i may start scripting. That's basically all i said.

Posted: Mon Jul 23, 2007 5:24 pm
by Gildon de Vymont
Er. I don't know if I am still a scripter or not, but I'm glad to come back once I'm back from Iran. The reason I didn't do much was that I was a bit confused on what I was really supposed to do after the test you had given us, as noone would really give me any jobs, so...

If I could come back again, it would be great... Would I have to take the test again as well?

Posted: Tue Jul 24, 2007 11:45 am
by Ardian
I am also willing to help.
I know a little C++ and Pascal and I started a few days ago with Lua.

Ardian

Posted: Tue Jul 24, 2007 4:53 pm
by Alatar
send me your real name, your nickname (for internal logins, guess "ardian"), and only your crypted password (http://illarion.org/shared/crypt.php) your like to have via pm.

And contact martin to get an introduction.

Posted: Fri Sep 28, 2007 1:39 pm
by Korm Kormsen
somebody please explain the meaning of:
"boolean"
"int"
"void"

thank you

(kann auch in deutsch sein)

Posted: Fri Sep 28, 2007 1:44 pm
by Pellandria
boolean ist glaub ich allgemein für true und false Befehle.
int sollte integer heißen, ganzzahlige Zahlen werden damit berechnet, weiss aber leider nicht mehr den Bereich.
hmm void ist mir gerade entfallen ; ).

Posted: Fri Sep 28, 2007 1:47 pm
by Banduk
boolean - logischer Wert 0/1 TRUE/FALSE ... hat nur 2 Stati, kann theoretisch mit einem Bitt dargestellt werden
int - integer - Ganzzahl gibt es in verschiedenen Längen je nach Sprache und Compiler
void - leer - gar kein Variablentyp, wird verwendet für Funktionen, die einen Typ haben müssen aber eigentlich keinen brauchen

Posted: Fri Sep 28, 2007 1:52 pm
by pharse
I think you mean the words in italic in front of the functions. Those describe the value that the function returns, e.g. boolean (true or false), int (integer -> whole-numbered) or void (this function returns nothing)

if there is anything different from void, use it like this:

written in lua docu: boolean [character]:isInRangeToPosition(posStruct [Position],int [distance])

example script: isPlayerNearbyTree = User:isInRangeToPosition(TreePos, 3)


So if the User is nearby the Tree at [TreePos], actually in range of 3 fields, the function returns true. This value is stored in the variable isPlayerNearbyTree

Posted: Fri Sep 28, 2007 2:22 pm
by martin
Banduk wrote:nur 2 Stati
Der Plural von Status ist Status (allerdings mit langem u, also Statuuuus).

Martin

Posted: Fri Sep 28, 2007 2:52 pm
by Korm Kormsen
@ alle,

danke, kapiert/thanks, got it.

Posted: Tue Oct 02, 2007 3:10 pm
by Korm Kormsen
ich geb auf.
hab mir das Lua tutorial reingezogen, hab das pdf von martin durchgeackert.
fazit: in der mir zur verfuegung stehenden zeit werd ich das wohl nicht meistern koennen.
(da lern ich lieber weiter ueber sphere)

Posted: Tue Oct 16, 2007 1:35 am
by Evan Ross
I have absolutely zero programming experiance, But I would be more then willing to learn, and help out with Illarion, I have about 4 hours a day that I can help out with scripting once I learn how to do it.

Posted: Tue Oct 16, 2007 8:03 am
by Nitram
It will be hard with no experience to learn Lua itself. But we basically made the new npc language for persons like you who are willing to help, but don't know any programming languages. Did you allready had a look on it?

http://illarion.org/community/forums/vi ... hp?t=25012

Nitram

Posted: Sat Oct 20, 2007 10:28 am
by Boruk
I currently design, code and run a MUD in Java, so LUA is not that hard for me. I come here for the break I need from being the admin on my own text-based game.

If you have specific systems you want designed or coded feel free to PM me. I would love to give something back to you fine folks that run (and play) this game.