•         

            

            

  • HyperFilter | DoS Protection | DDoS Protection | DoS Mitigation | DDoS Mitigation | AntiDoS | AntiDDoS | Proxy Shielding

Stone system

KORDON

Kayıtlı Üye
Katılım
19 Eylül 2013
Mesajlar
74
Dear community,



I worked on a "Stone System" by using EVT. What I created is an item called Stone of Lamia wich can be used to trade for a full plate +5 set and also can be "upgraded" (exally just replacing) with a 100 % rate.



Heres the EVT part:





View hidden content is available for registered users!




The database part for creating the Stone of Lamia (untradeable)



Kod:
INSERT INTO [ITEM] Values (900002000,'Stone of Lamia',97,17,0,0,0,0,0,1,1,150000,0,0,1,0,0,1,99,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)



Put this in the Quest_Talk_us:



Kod:
60000      I can exchange or upgrade armors for stones.

60001      Would you like to upgrade your armor or exchange stones for a new armor?

60003      What upgrade would you like to perform?

60009      Sorry, you don't have enough stones.



This in the Quest_Menu_us:

Kod:
60000     Stone exchange

60001     Exchange/Upgrade Full Plate Armor

60003     Close

60004     Upgrade my armor

60005     Purchase armor set [110 Stones]

60006     +5 to +6 [55 Stones]

60007     +6 to +7 [75 Stones]

60008     +7 to +8 [125 Stones]



This in Item_Org_us:



View hidden content is available for registered users!



And all theres left to do is link EVENT 61000 to an existing NPC or create your own NPC for it.

An easy way is adding it to proconsul instead of "New warrior's Mission".

This can be done by changing EVENT 7001 to the following:




Kod:
EVENT 7001 ; Proconsul

E SELECT_MSG 14301 7050 60000 61000 7821 7821 7002 7240 7701 7701 7551 7551 7621 7621 -1 -1 -1 -1 -1 -1 -1 -1

END





That's it. With this example it should be easy to do the same for chitin armors or whatever armor you like.



For (IamLegend)
 
Geri
Üst