Jump to content

Recommended Posts

Posted

-###Eftiaksa ena guide gia to pws na ftiaxeis ena shop sto opio vazeis oti item 8eleis gt exo psaksei to forum dn exo dei kati kai me exoun rotisei kapies fores pws na valw ena item p.x sto GM shop pou pira apo edw sto MxC-###

 

 

Genika 8a xriastei(genika :) ):

ena HTML(kata kapion tropo edw einai ta ''logia,ta grammata'' pou vlepete otan kanete click panw tou),ena XML (to opio perilamvanei ta item pou 8a pouliountai otan patas click na agoraseis kai ta item pou 8a xriazontai gia na ta pareis p.x agorazw Spirit Ore xrisimopoiontas adena) kai tin aparetiti douleia pou 8a xriastei gia na ftiaxoume to new shop tin database mas.

 

 

A) Database(Navicat)

1)Pigente sto Table 'npc' kai pigente stin teleftea selida tou table aftou.Katw aristera 8a deite ena stavro pou leei Insert Record.Pathste to

2)twra 8a perasoume ta stoixeia tou NPC.stin proti stili(NPC ID) valte ena ID to opio dn iparxei..(p.x 44444)

3)stin defteri kartela(TemplateID diladi i eksoteriki emfanisi tou NPC) valte ena ID apo ta idi iparxonta..

4)gia na eimaste sigouroi stin triti kartela(ServerSideName) valte 1

5)tetarti kartela (Title) einai o titlos pou 8a exei to NPC mesa sto game..valte oti 8elete..

6)stin kartela class valte NPC.a_trader_Fdarkelf(gia dark elf ama 8elete gia kapio allo kante me pm)

7)oi epomenes 2 karteles collision height kai collision radius einai oi diastaseis tou NPC kata kapion tropo. valte oti na nai pros to paron(ee valte as poume 20 sto ena kai 40 sto allo) kai molis mpeite game 8a deite an dn sas aresoun oi diastaseis

8)oles oi epomenes karteles apo level ews runspd..einai ta statistika tou NPC ..dn mas endiaferoun afta...Shop ftiaxnoume..

9)stis epomenes karteles faction_ID ews absorb level min dinete simasia .afiste ta kena kai telos stin teleftea kartela valte LAST_HIT

 

B) o NPC perastike ston server twra pame na ftiaxoume to keimeno pou 8a exei kai to pou 8a mas parapempei otan clickaroume na agorasoume kati:

1)pernoume ena HTML file apo ena allo shop (data/html/merchant/ekei einai ola ta HTML arxeia gia ola ta shop tou l2)na sas dwsw egw ena paradeigma edw:

 

 

<html>

<body>

<center>

<img src="L2UI_CH3.herotower_deco" width=256 height=32><br>

<center><tr><td><font color="FF40FF">to onoma tou shop sas edw</font></tr></td><br>

</center>

<a action="bypass -h npc_%objectId%_Multisell xxxxx"><font color="8000C0">yyyyy</font>   </a><br>

<br>

<img src="L2UI_CH3.herotower_deco" width=256 height=32><br>

<font color="FF0000">Edw valte as poume to onoma tou server sas sini8os afto vazoun.</font>

</body>

</html>

 

(ekei pou leei xxxxx 8a einai to onoma tou multisell arxeiou pou 8a ftiaksete eseis argotera)

(ekei pou leei yyyyy 8a einai to keimeno pou 8elete na leei diladi afto pou 8a vazete na poulaei... p.x Buy Weapon)

 

afto edw to HTML code pou sas edwsa apothiksefte to me to idio onoma pou einai to ID tou NPC pou valate(an eixate valei 44444 sto navicat onomaste to 44444)

 

C) tora to multisell....parte ena multisell code(data/multisell)....diladi 8a pate se ena multisell pou sas einai axristo as poume ta potion sto grocery store kai 8a kanete delete oti exei mesa kai 8a perasete afto to code gia to paradigma mas(se XML einai grammena ta multisell):

 

<?xml version='1.0' encoding='utf-8'?>

<list>

  <item id="1">

    <ingredient id="xxxx" count="kkkk" enchant="0"/>

    <production id="yyyy" count="1" enchant="0"/>

  </item>

 

<item id="2">

    <ingredient id="xxxx" count="kkkk" enchant="0"/>

    <production id="yyyy" count="gggg" enchant="0"/>

  </item>

 

<item id="3">

    <ingredient id="xxxx" count="kkkk" enchant="0"/>

    <production id="yyyy" count="gggg" enchant="0"/>

  </item>

 

lipon afto edw einai to multisell gia na sell gia paradigma dragonic bow,arcana mace,forgotten blade(eseis oti 8elete vazete egw paradigma fernw).prosekste an kanete diaforetiko paradigma apo mena(ego ta paradigmata ta ferno gia na katanoisete tin diadikasia kai meta eseis ftiaxte oti shop 8elete) na kitakste afto pou leei item id=''1'',item id=''2'',item id=''3'' einai to posa items 8a poulaei to shop..dld emeis eipame 3 weapon 8a poulaei opote exoume 3 ID..ama eixame 15 items na sell 8a vazate pros ta katw me ari8mitiki seira 1,2,3... klp klp

 

tora na eksigisoume ti einai to to ka8ena apo ta grammata pou evala

to xxxx to yyyy to kkkk kai to gggg dn 8a ta valete eseis..ta evala egw gia na sas eksigiso..lipon to ingedient ID einai afto pou xriazetai gia na pareis to item...as poume gold bar as poume(dld ekei pou exw valei egw to xxxx 8a valete to ID twn gold bar)

to kkkk diladi to count tou ingredient ID einai posa gold bar 8a xriazesai gia na pareis to weapon(as poume 5 gold bar gia to dragonic bow)..production ID einai to item pou 8a agoraseis esi dinontas tis gold bar..(diladi to yyyy einai to ID tou dragonic bow sto paradigma mas) kai to count einai posa dragonic bow 8a pareis...ee logika 1 to afinoun to gggg oloi

 

afou teliosate kante save to XML arxeio kai metonomaste to se ena monadiko ari8mo.....thimithite afton ton ari8mo..as poume 15555

 

D)pigente twra sto HTMl arxeio kai ekei pou leei :

 

<a action="bypass -h npc_%objectId%_Multisell xxxxx"><font color="8000C0">yyyyy</font>   </a><br>

<br>        ekei pou leei xxxxx valte ton ari8mo tou multisell pou valate emeis valame 15555 sto paradigma

 

kante sto save!!!!!

mpeite ston server kante RR kai meta molis ksanampeite kante spawn to NPC : //spawn 44444 (to ID pou valame sto paradigma mas)

 

 

 

-###guyz peite tis gnomes sas kai peite an exw ksexasei tpt giati kapia simeia ta egrapsa me biasini alla eftyxws iparxei to modify button..fysika 8a krathsw to post updated kai 8a to kanw oso to kalitero ginetai kai emfanisiaka kai stis odigies###-

 

 

 

 

                                         [move]Good Luck[/move]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Posted

To guide einai metrio, dld tha mporouses na valeis kai perissoteres fwtos, kai genika na eksigiseis kalutera, na fainetai kalutera sto mati...Telos pantwn mpravo gia tin douleia sou

Posted

entaksei gia photos twra...na bgalw dld ta HTMl kai ta XMl pistevo einai efkolo...an vevea dw pws to zitoun 8a valw..pragmati kapia simeia 8a ta eksigisw kalitera gt ekana biastika kapia simeia an kai to guide dn einai gia entelws newbie admins

  • 3 months later...
  • 5 weeks later...
  • 7 months later...
Guest
This topic is now closed to further replies.


  • Posts

    • IMPORTANT INFO: In a few days, I will switch to completely new code, written from scratch with a new download system, patch building and management system. The Updater will become true 2026 code with "foolproof systems". I'm going to create a Discord server for customers to request new ideas and features. FIRST CUSTOMERS ARE ALREADY USING THE NEW UPDATER ON LIVE SERVERS! Watch this topic for upcoming info because the new updater is around the corner! Yes, you can still use self-update on the previous updater! No, the new updater won't be compatible with the old patch system! A new build is required, but players who already have game files won't have to download the entire patch again! New templates and updates to existing templates are coming soon! Sneak peek:  
    • i used guytis IL project and source. i found in his project there are 3 Client version source... 1,CliExt_H5   --->this one cant be compiled in VS2005,i did know why..is it for H5 client? 2,CliExtNew  --->this one is IL version ,but when i compiled it and use it.player cant login game,MD5Checksum wrong.i check the source code,but not found any hints. 3,L2Server    --->this one for HB client?im not sure...   so my question is what are the differences between these three versions of cliext.dll?how can i fix the issue of the MD5Checksum not matching problem?   01/29/2026 21:04:11.366, [CCliExt::HandleCheckSum] Invalid Checksum[1130415144] vs [-721420287] packet[dd] len[29] sum[2698] key[30] HWID[] Account[]! 01/29/2026 21:04:11.366, SocketLimiter::UserSocketBadunknownprotocol 11111111111 01/29/2026 21:04:11.366, [usersocket]unknown protocol from ip[113.137.149.115]!      
    • ## [1.4.1] - 2026-01-29   ### ✨ New Features - **Short Description**: Server owners can add a short tagline (up to 240 characters) on the server info page, under the "Online" status. It appears in the server list (By Votes) for VIP, Gold VIP, and Pinned servers so players see a brief summary at a glance.   ### 🔄 Improvements - **Server Info Page**: Description field is limited to 3000 characters with a character counter; the textarea is vertically resizable. A second **Save Changes** button was added at the bottom (after the description) for easier saving. - **Server Name**: In My Servers → Edit, the server name is read-only and can no longer be changed (avoids accidental changes and naming conflicts). - **Server Rows (By Votes)**: Short descriptions wrap correctly and no longer affect row height; long text is clipped to two lines so the list stays tidy and consistent.   ---
    • @Celestine  sorry for mu question , and post it's to old but i want to ask  ?   do you have uncrypted interface x dat of this interface? i want to add custom autofarm button but when i open it with xdat say file seems  to be  encrypted. thanks!
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..