[Guide] How to make Cristmas Tree [Shop]
#1

Ok, Hallo world)) we need:

2 for client

2(thx Wizatek)

phpMyAdmin or Navicat

 

Open LCDS, go to client folder, and open mobAll_usa.lod

 

Search Merchant Geres (id 20) and click Copy2New

 

In 1 write Cristmas Tree, dont touch 2 field, is your new NPC ID, in motion in all fields write christmastree, and in 4 field write Data\Npc\Christmas_Tree\christmastree.smc, dont touch other fields!

 

Click File -> Save, and Export -> mobname_usa.lod

 

Ok, client complete, we need create NPC in database

#2

Open phpMyAdmin, go to newproject_data, and open t_npc

 

Click SQL, paste my code, write your new NPC ID, and click Go

Is my code:

INSERT INTO `t_npc` (`a_index`, `a_enable`, `a_family`, `a_skillmaster`, `a_flag`, `a_flag1`, `a_level`, `a_exp`, `a_prize`, `a_sight`, `a_size`, `a_move_area`, `a_attack_area`, `a_skill_point`, `a_descr`, `a_sskill_master`, `a_str`, `a_dex`, `a_int`, `a_con`, `a_attack`, `a_magic`, `a_defense`, `a_resist`, `a_attacklevel`, `a_defenselevel`, `a_hp`, `a_mp`, `a_attackType`, `a_attackSpeed`, `a_recover_hp`, `a_recover_mp`, `a_walk_speed`, `a_run_speed`, `a_skill0`, `a_skill1`, `a_skill2`, `a_skill3`, `a_item_0`, `a_item_1`, `a_item_2`, `a_item_3`, `a_item_4`, `a_item_5`, `a_item_6`, `a_item_7`, `a_item_8`, `a_item_9`, `a_item_10`, `a_item_11`, `a_item_12`, `a_item_13`, `a_item_14`, `a_item_15`, `a_item_16`, `a_item_17`, `a_item_18`, `a_item_19`, `a_item_percent_0`, `a_item_percent_1`, `a_item_percent_2`, `a_item_percent_3`, `a_item_percent_4`, `a_item_percent_5`, `a_item_percent_6`, `a_item_percent_7`, `a_item_percent_8`, `a_item_percent_9`, `a_item_percent_10`, `a_item_percent_11`, `a_item_percent_12`, `a_item_percent_13`, `a_item_percent_14`, `a_item_percent_15`, `a_item_percent_16`, `a_item_percent_17`, `a_item_percent_18`, `a_item_percent_19`, `a_minplus`, `a_maxplus`, `a_probplus`, `a_file_smc`, `a_motion_walk`, `a_motion_idle`, `a_motion_dam`, `a_motion_attack`, `a_motion_die`, `a_motion_run`, `a_motion_idle2`, `a_motion_attack2`, `a_scale`, `a_attribute`, `a_fireDelayCount`, `a_fireDelay0`, `a_fireDelay1`, `a_fireDelay2`, `a_fireDelay3`, `a_fireEffect0`, `a_fireEffect1`, `a_fireEffect2`, `a_fireObject`, `a_fireSpeed`, `a_name_usa`, `a_descr_usa`, `a_hit`, `a_dodge`, `a_magicavoid`) VALUES
(here your NPC ID, 1, -1, -1, 33620240, 0, 100, 0, 0, 0, 0, 0, 0, 0, ????????? ???? ??? ?????, -1, 10, 10, 10, 10, 10, 10, 10, 10, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, , , -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 85, 200000, 200000, 200000, 200000, 200000, 200000, 200000, 200000, 200000, 200000, 200000, 200000, 200000, 200000, 200000, 200000, 200000, 200000, 200000, 100000, 0, 12, 5999, Data\\Npc\\Christmas_tree\\christmastree.smc, christmastree, christmastree, christmastree, christmastree, christmastree, christmastree, christmastree, christmastree, 1, 0, 0, 0, 0, 0, 0, , , , 0, 0, Christmas tree, , 0, 0, 0);

And screen:

 

Or, if u like Navicat, open this -> your connect -> newproject_data, right click in mouse and click Console

 

Paste my code, edit your new NPC ID, and click Enter

 

Start server, and have fun)

Click Thanks if i help u ^^

 

Or how to make position for NPC too need guide?

#3

lol how to make lcep1 server with localhost???

when i try to import files it says that the files are to big? -_- help please

#4
use Navicat if u dont know how to edit configures for phpmyadmin, okay?

#5

why you edit new new npc.NPC 484 christmas tree right?

2

#6

original this NPC give error game-server, but game-server dont have itemdrop-scrypt for this npc

original this NPC give error game-server, but for use original need start original event, undestand?

#7
i know how its working.I had.Because i cant start event Smile thx anyway

#8
Its to hard for make it. Who can send me his SQL for the christmas tree ?

#9

lol102 special for u my 2 and 2

U need only change position and item for Christmas Tree (id 1189)

 

P.S. Other new 14 NPS in Juno complete and ready to work))

#10
thx, i hope it work Big Grin



Forum Jump:


Users browsing this thread: 1 Guest(s)