-
Posts
16 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by cosmin24hd
-
-
Link dead, please.
-
How to get rid of this line?
-
UP* any solution?
-
P Skill (NPC) Quest + Secondary skills, enjoy
1. P-Skill for NPC =>
quest skill begin state start begin when 20094.chat."Skills" begin say_title(mob_name(npc.get_race())..":") say("Hello "..pc.name) say("What abilities you need?....[ENTER][ENTER][ENTER][ENTER]") local s = select ("M","G","P","Exit") if s==1 then sk=20 skill = "M" limita=30 bani=1000000 elseif s==2 then sk=30 skill = "G" limita=60 bani=10000000 elseif s==3 then sk=59 skill = "P" limita=90 bani=50000000 end say_title(mob_name(npc.get_race())..":") say("Hello "..pc.name) say("You have choosed "..skill.."") say("to continue you need ") say("Level: "..limit.."[ENTER]Yang:"..yang.."") say("Wanna continue?[ENTER](c) M2Dev") if select("Da","Nu")==1 then if pc.get_level() >=limit and pc.get_gold() >= yang then pc.changegold ( -yang ) table.foreachi(special.active_skill_list[pc.get_job()+1][pc.get_skill_group()],function(r,skill) pc.set_skill_level(skill,sk) end) end elseif pc.get_level() < limit then say_title(mob_name(npc.get_race())..":") say("Hello "..pc.name) say("You choosed your skills "..skill.."") say("but you don't have the necessary level ("..limit..")") say("comeback when you grow up.") elseif pc.get_gold() < yang then say_title(mob_name(npc.get_race())..":") say("Hello "..pc.name) say("You have choosed your skills"..skill.."") say("but you don't have enough gold ("..yang..")") say("come back when you have enough money.") end end end end[/spoiler]
2. Part 2, for secondary skills
state start begin when 50512.use begin say_title("P-Skill Script:") say("Hello "..pc.name) say("Choose what abilities you want....[ENTER][ENTER][ENTER][ENTER]") local s = select ("M","G","P","Secondary","Exit") if s==1 then sk=20 skill = "M" limita=30 bani=1000000 elseif s==2 then sk=30 skill = "G" limita=60 bani=10000000 elseif s==3 then sk=59 skill = "P" limita=90 bani=50000000 elseif s==4 then sk=59 skill = "Secondary" limita=90 bani=50000000 end say_title("P-Skill Script:") say("Hello "..pc.name) say("You have choosed your skills "..skill.."") say("To continue you need level ") say("Nivelul: "..limit.."[ENTER]Yang:"..yang.."") say("Wanna continue?[ENTER](c) M2Dev") if select("Yes","No")==1 then if pc.get_level() >=limit and pc.get_gold() >= yang then pc.changegold ( -yang ) if skill=="Secundare" then pc.set_skill_level(121 ,59) pc.set_skill_level(122 ,2) pc.set_skill_level(123 ,59) pc.set_skill_level(124 ,59) pc.set_skill_level(125 ,59) pc.set_skill_level(126 ,59) pc.set_skill_level(127 ,59) pc.set_skill_level(128 ,59) pc.set_skill_level(129 ,59) pc.set_skill_level(130 ,30) pc.set_skill_level(131 ,59) pc.set_skill_level(132 ,59) pc.set_skill_level(133 ,59) pc.set_skill_level(134 ,59) pc.set_skill_level(135 ,59) pc.set_skill_level(136 ,59) pc.set_skill_level(137 ,59) elseif skill=="G" or skill=="M" or skill=="P" then table.foreachi(special.active_skill_list[pc.get_job()+1][pc.get_skill_group()],function(r,skill) pc.set_skill_level(skill,sk) end) end end elseif pc.get_level() < limita then say_title("P-Skill Script:") say("Hello "..pc.name) say("You have choosed your skills "..skill.."") say("but you don't have the necessary level("..limit..")") say("Come back when you grow.") elseif pc.get_gold() < yang then say_title("P-Skill Script:") say("Hello "..pc.name) say("You have choosed your skills "..skill.."") say("but you don't have enough yang ("..yang..")") say("come back when you got them.") end end end end
Limit = Level Limit
Yang = Necessary yang
The quest isn't tested and made by me so it can have some bugs but you can easy deal with them as long as you modify logically.
-
-
@clean
-
Dracula: The Untold - 10/10
-
what ist the Password and User on mysql.
1. Open PuTTY and log in as
User: root Password dev
2.
Type cd /var/db
3
tar zxvf inscarnium_db.tar.gz
After this follow the next steps =>
1 Go to
/etc/rc (FileZilla)
2
Edit rc.conf and add last line mysql_args="--skip-grant-tables --skip-networking"
3
/usr/local/etc/rc.d/mysql-server restart
4
mysql -u root mysql
5
UPDATE user SET Password=PASSWORD('New Password') WHERE USER='root';
6
FLUSH PRIVILEGES;
7
exit;
8
Edit again rc. conf and delete the line mysql_args="--skip-grant-tables --skip-networking"
8
/usr/local/etc/rc.d/mysql-server restart
9
mysql_upgrade -p --force => the password you've set above
10
Login to MySQL with your password.
- 2
- 2
- 3
-
Taken 3 - 10/10
-
https://www.youtube.com/watch?v=znWMx6MmePo
-
Solved all my problems, thanks !
-
Well sounds good but if you want an unique server you also need 3d artists + designers and it's kinda hard because they you have to pay someone for unique stuff ^^
-
Guys i'm using Windows 7 Ultimate (idk if any SP, SP is for XP) . Well, just gimme a good Visual Basic to edit source files.
Greetings!
-
1. Google 'metin2 source code' or 'metin2 source kraizy.tgz'
2.
For game & db use the VM with BSD 9.2 and g++
For client binary use VS2008 + SP1 ( full support for Windows XP [all SP] )
Thanks a lot, any tutorial about how to compile the source?
EDIT1: got this annoying error o.o
https://metin2.download/picture/iE1jRsqk378MK4Nl7dlUKJRtUkifnsvr/.png
-
Hello, I have few questions here
1. Where can I get the untouched ymir src (uncompiled) ?
2. Which program is better to compile the source after?
Thanks
mobs/bosses
in Community Support - Questions & Answers
Posted
Hello, anyone knows how to remove the way bosses (like King Wubba/Chief Orc/Death Reaper all of them) are pushing you when they hit?