EOSERV Forum > EO Server Building > cant anyone help trying to make a class quest
Page: << 1 >>
cant anyone help trying to make a class quest
Author Message
Post #202995 cant anyone help trying to make a class quest

Main

{

questname "Class Master"

version 1.0

}

State begin

{

desc "Talk to Wise Man"

 

action AddNpcText(8, "Hey there [name] the prophecy spoke of your name.");

action AddNpcText(8, "I'm here to unlock your true power. First you must decide the path you want to take");

action AddNpcText(8, "Choose Wisely for once you choosen you can never undo whats been done");

action AddNpcInput(8, 1, "Choose Path");

 

rule InputNpc(1) goto class

}

State class

{

desc "Talk to Wise Man"

 

action AddNpcInput(8, 1, "Make me a Druid");

action AddNpcInput(8, 2, "Make me a Defender");

action AddNpcInput(8, 3, "Make me a Hunter");

action AddNpcInput(8, 4, "Make me a Knight");

 

rule InputNpc(1) goto druid

rule InputNpc(2) goto defender

rule InputNpc(3) goto hunter

rule InputNpc(4) goto knight

}

State druid

{

action AddNpcText(8, "A Druid is a magicial being thats at his strongest when is filled with magic spells");

action AddNpcText(8, " Druid stats are 3(int) = att, 3(wis) = agi,eva 4(con)= def/hp");

action SetClass(1);

action End();

 

rule TalkedToNpc(8) goto defender

}

State defender

{

action AddNpcText(8, "A Defender is one who faith lies within great defence, For whom can get on massive damage an live to tell his tale");

action AddNpcText(8, "Defenders stats are 3(str) = att 4(agi) = acc 3(agi) = eva 2 (con) = def/hp

action SetClass(2);

action End();

 

rule TalkedToNpc(8) goto hunter

}

State hunter

{

action AddNpcText(8, "A Hunter is one who is cunning with his speed, accuracy, and evasion");

action AddNpcText(8, "A Hunter's stats are 3(int) = att 2(agi)= acc 3(agi) = eva 4(con) = def/hp");

action SetClass(3);

action End();

 

rule TalkedToNpc(8) goto knight

}

State knight

{

 

action AddNpcText(8, "A Knight is oine who fights with honor among all absolute power lies in strength an discipline, and is one with his blade at hand");

action AddNpcText(8, " A Knights stats are 2(str) = att 3(agi)= acc 4(agi) = eva 3(con) = def/hp");

action SetClass(4);

action End();

 

rule TalkedToNpc(8) goto end

}

State end

{

 

action End();

}


7 years, 6 weeks ago
Post #202997 Re: cant anyone help trying to make a class quest

What errors is it giving you? or is it just not working at all?

7 years, 6 weeks ago
Post #202998 Re: cant anyone help trying to make a class quest

saying line 46 where I have setclass(2)

7 years, 6 weeks ago
Post #202999 Re: cant anyone help trying to make a class quest
Plako posted: (19th Mar 2017, 03:37 am)

saying line 46 where I have setclass(2)


Line above is missing "); from it.
7 years, 6 weeks ago
Post #203000 Re: cant anyone help trying to make a class quest

yea I saw that to I fixed it but now when I choose the class I want say knight for instances I can't equip items to my paperdoll. I know it has something to do with my edit pub but I don't understand what, I could have done wrong. I change classes in formula. All I changed here was the numbers after class.0. etc. and I changed the names of each class in edit pub. Do I change the names in formula.ini aswell for it to work right. Like in edit pubs say for Druid which is in the second slot in edit pubs. name druid, sub class druid, attributes: stat table:1 then base stats which I don't think I need to list cause that cant be the problem

# Peasant
class.0.damage = 5 str /
class.0.accuracy = 5 agi /
class.0.evade = 5 agi /
class.0.defence = 5 con/

# Magic
class.1.damage = 3 int /
class.1.accuracy = 3 wis /
class.1.evade = 2 wis /
class.1.defence = 4 con /

# Rogue
class.2.damage = 3 str /
class.2.accuracy = 3 agi /
class.2.evade = 4 agi /
class.2.defence = 2 con /

# Archer
class.3.damage = 3 int /
class.3.accuracy = 2 agi /
class.3.evade = 3 agi /
class.3.defence = 4 con /

# Warrior
class.4.damage = 2 str /
class.4.accuracy = 3 agi /
class.4.evade = 4 agi /
class.4.defence = 3 con /

7 years, 6 weeks ago
Post #203007 Re: cant anyone help trying to make a class quest



You need to assign the stat table values from your formulas.ini, so as in the example, you are setting the magic class as stat table 1, and the rogue class as stat table 2, etc.

Further, 0 = the stat table that is used by default, so when players start they have no class or peasant if you have an entry 0 in your pub file, and they use stat table 0.

Also in your items pub file, set to the correct class number.

---
Host of a blacklisted server...
7 years, 6 weeks ago
Post #203008 Re: cant anyone help trying to make a class quest

sweet thanks I think I got it now

7 years, 6 weeks ago
Page: << 1 >>

EOSERV Forum > EO Server Building > cant anyone help trying to make a class quest