Jump to content

[Guide] for L2 Shop


Recommended Posts

-###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]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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


  • Posts

    • Well my friend, I'm not going to stay here arguing anymore, because you won't give up and much less have the humility to accept something you did wrong, as you saw, I value the work of others, I know who really creates or even takes a block of code and does something better and different, but the subject here was about a guy, nicknamed Vraekar, who steals and SELLS interfaces as if they were his, and is that within your beliefs?, belief that if the guy creates something it has to be stolen and whoever stole it can profit from it?, that's what I'm talking about, you've fought a lot against this, and today you help a guy like that to do wrong, but anyway, you know what you're doing, I hope you reflect, the community knows who does and who helps the wrong. Stay with God, because six of the problems that go around.
    • You claim you thought I was a "serious" person before. Well, maybe you just never took the time to actually know me. People evolve, but I stay true to what I do and believe in. If you’re that hung up on what I’ve been doing, maybe it's time to stop speculating and start focusing on yourself. 🙂
    • Well, at least it's clear that you don't respect the work of others. Secondly, everyone knows that you code nothing. Your group has devs. known that you've asked for a lot of help and code exchange with some well-known BRs. there are chats and I can prove it, then don't come playing the good guy because you're not. So, Celestine, I'm not judging you. I'm saying that I know that your group helped vraekar steal the codes, and I have proof. In the past, I thought you were a serious, good-natured guy, but lately, you're a different person. Your text above speaks for you.
    • What I do or who I work with is none of your concern, and honestly, I couldn't care less. Lately, I've seen a lot of people trying to make a quick buck off scams, so let's not even mention names you wouldn't want them getting upset, right? 🙂  As for the projects I've been involved with, there's a server about to launch that I’m personally waiting for, and when it does, I’ll release the work publicly for free because people deserve better than what these so called "developers" are pushing. I’m not here to defend anyone, but if you had any real knowledge, you’d see how poorly written some of these scripts are. I’ve worked with Vraekar in the past, and I know for a fact he’s never sold anything I’ve created. So before you start running your mouth, ask yourself: why are you even juding me?
    • I didn't even want to touch on your name Celestine, but it took a while to want to protect it, right? But then I say, everyone knows that you and your group helped Vraekar in deobfuscating the interfaces, do you want me to post here the dates and videos of the releases of the OMG and Silence interfaces?, and then see Vraekar's?, do you want?, a blatant copy, even their variable names, the theft is blatant, and you who are an admin here at Max and say you are the right one, helped him decrypt and remove the code obfuscation, everyone knows that, and now you come and tell me that his code is not copied?, if you want I can put all the evidence here and this will be very ugly even for you, since those you helped Vraekar and the interface dev community know this, they know about the thefts, very ugly indeed my friend that you still come and tell such a lie.   ps. And just one more thing, did you say that all the code he wrote? you became a joker? Vraekar doesn't program a single line of code, the guy works as a data analyst, what he learned was to copy and paste ready-made codes, but he doesn't write a single line of code.
  • Topics

×
×
  • Create New...