Jump to content


Photo

Special Shop

Script shop customized shop special shop item shop itemshop point shop variable shop

  • Please log in to reply
28 replies to this topic

#1 Dastgir

Dastgir

    Advanced Member

  • Script Developers
  • 3340 posts
  • IRC Nickname:Dastgir
  • LocationIndia
  • Emulator:Hercules
  • Github:dastgir

Posted 15 May 2013 - 04:05 PM

http://herc.ws/board...screenshot&id=6

File Name: Special Shop
File Submitter: Dastgir Pojee
File Submitted: 15 May 2013
File Category: Source Modifications

As Per This Topic: http://herc.ws/board...hop/#entry21298
Example of usage:

For using ItemID x for buying Items

<map name>,<x>,<y>,<facing> itemshop <npc name> <spriteid>,<item_id><itemid>:<amount>,.....
This shop will use item id mentioned in the NPC.

For Using Variable for buying items

<map name>,<x>,<y>,<facing> pointshop <npc name> <spriteid>,"<variable_name>":"<variable_description>",<itemid>:<amount>,.....
Variable_Name will be deducted from your variable,and it will show variable_description when click npc.

Please See ScreenShot for More information.


NOTE:
Please Do Not Share without Credit.Please Do not Share this as Paid Service.

Click here to download this file

My Services: Click Here
Clientside Translation: Click HERE
If you like my work Please Click rep_up.png
btn_donateCC_LG.gif

Quick Donate Link: http://paypal.me/dherc


#2 Jezu

Jezu

    Advanced Member

  • Members
  • PipPipPip
  • 216 posts

Posted 16 May 2013 - 07:01 AM

File Name: Customized Shop-Needs Item
File Submitter: dastgirpojee
File Submitted: 15 May 2013
File Category: Source Modifications

I made this script from request : http://herc.ws/board...tomize-npc-shop/
Example of usage:

 

<map name>,<x>,<y>,<facing>,<item_id>    ishop    <npc name>    <spriteid>,<itemid>:<amount>,.....
This shop will use item id mentioned in the NPC.

NOTE:

Please Do Not Share without Credit.Please Do not Share this as Paid Service.

Click here to download this file

 

 

Thank you for this very useful diff addon Sir dastgir! This is really helpful, however, how to make the NPC will tell the required itemid even the character has no ItemID on the inventory of a character. 

 

If the character has no ItemID required, the NPC will tell 'You don't have enough Kafra Points' shown on the screenshot below, then  I summon TCG Card (7227), afterwards, the NPC is showing what is required ItemID. 

 

In short.

 

How to do to make this npc that will show the <item_ID> when you click even the character has no required ItemID. 

 

Thank you!!! /heh

 

Posted Image


Edited by Jezu, 16 May 2013 - 07:03 AM.

6sum80.gif


#3 ROServices

ROServices

    Advanced Member

  • Members
  • PipPipPip
  • 278 posts
  • LocationUnited States
  • Emulator:Hercules

Posted 16 May 2013 - 07:10 AM

Thanks dastgirpojee +10


"We Make Things Possible"

 

;)Services: ROServices   :wub:

If you like my work Please Click rep_up.png
DON'T STEAL OTHERS WORK AND CLAIM IT AS YOURS. 

 

1044824_678049298878656_1027510542_n.jpg
 


#4 M45T3R

M45T3R

    Advanced Member

  • Int'l Spanish Moderators
  • 584 posts
  • LocationSpaaaaaaace !!~
  • Emulator:Hercules
  • Github:M45T3Ryu

Posted 16 May 2013 - 12:02 PM

cool c:

Para los usuarios de la seccion en español traten de hacer cada pregunta en un nuevo post para mejorar asi la forma en la que otros encuentran respuesta.

Traduccion_zps51ade873.png


#5 Ragnar Lothbrok

Ragnar Lothbrok

    Advanced Member

  • Members
  • PipPipPip
  • 314 posts
  • LocationIn the Desert or Morocc
  • Emulator:Hercules

Posted 04 August 2013 - 11:54 AM

i used this one but i got this error

 

Attached File  ItemShop-May16diff.png   50.12K   46 downloads

Attached File  ItemShop-May.16diff.png   46.07K   41 downloads

 

How to fix this?


Edited by P r o p e r t i e s, 04 August 2013 - 11:55 AM.


#6 Dastgir

Dastgir

    Advanced Member

  • Script Developers
  • 3340 posts
  • IRC Nickname:Dastgir
  • LocationIndia
  • Emulator:Hercules
  • Github:dastgir

Posted 04 August 2013 - 01:03 PM

i used this one but i got this error

Posted Image ItemShop-May16diff.png
Posted Image ItemShop-May.16diff.png

How to fix this?

I dont think, this modify the packet, can you check the same shop with normal, instead of using ishop, use shop and see if it works.

Edited by dastgirpojee, 04 August 2013 - 01:05 PM.

My Services: Click Here
Clientside Translation: Click HERE
If you like my work Please Click rep_up.png
btn_donateCC_LG.gif

Quick Donate Link: http://paypal.me/dherc


#7 quesoph

quesoph

    Advanced Member

  • Members
  • PipPipPip
  • 565 posts
  • LocationPhilippines
  • Emulator:Hercules

Posted 04 August 2013 - 01:12 PM

As I remember there was a bug with this mod. It affects script cashshop.



#8 Dastgir

Dastgir

    Advanced Member

  • Script Developers
  • 3340 posts
  • IRC Nickname:Dastgir
  • LocationIndia
  • Emulator:Hercules
  • Github:dastgir

Posted 04 August 2013 - 05:31 PM

Will check into it.

My Services: Click Here
Clientside Translation: Click HERE
If you like my work Please Click rep_up.png
btn_donateCC_LG.gif

Quick Donate Link: http://paypal.me/dherc


#9 Ragnar Lothbrok

Ragnar Lothbrok

    Advanced Member

  • Members
  • PipPipPip
  • 314 posts
  • LocationIn the Desert or Morocc
  • Emulator:Hercules

Posted 05 August 2013 - 02:46 PM

anyone know how to fix that error?



#10 Dastgir

Dastgir

    Advanced Member

  • Script Developers
  • 3340 posts
  • IRC Nickname:Dastgir
  • LocationIndia
  • Emulator:Hercules
  • Github:dastgir

Posted 01 December 2013 - 04:14 AM

Updated to v1.2

now can use itemshop and pointshop option.


My Services: Click Here
Clientside Translation: Click HERE
If you like my work Please Click rep_up.png
btn_donateCC_LG.gif

Quick Donate Link: http://paypal.me/dherc


#11 Frost

Frost

    The Master of White Spaces

  • Script Developers
  • 632 posts
  • LocationPhilippines
  • Emulator:Hercules
  • Github:Jedzkie

Posted 05 December 2013 - 12:24 PM

hi dastgir, can i suggest a addition in your patch? can you add a stocks system? refer here in my post @ra http://rathena.org/b...-shop/?p=234723 thanks!


Posted Image


Don't forget to click Posted Image if i helped you!

#12 Dastgir

Dastgir

    Advanced Member

  • Script Developers
  • 3340 posts
  • IRC Nickname:Dastgir
  • LocationIndia
  • Emulator:Hercules
  • Github:dastgir

Posted 05 December 2013 - 04:20 PM

hi dastgir, can i suggest a addition in your patch? can you add a stocks system? refer here in my post @ra http://rathena.org/b...-shop/?p=234723 thanks!

Well its easy to make, but few thing want to discuss about it.
1) whats the use of it, because when npc is going to be reloaded , it will just bring the stock back(neither can store stock data in memory, as it will be cleared when server restart/reload), also cannot use sql since npc ids can differ when reload.
So if you want it like stock full when reload, ofcourse I can do it, just message here.

Or stock system can also be done via simple script, you can use scripts to make stock too.

My Services: Click Here
Clientside Translation: Click HERE
If you like my work Please Click rep_up.png
btn_donateCC_LG.gif

Quick Donate Link: http://paypal.me/dherc


#13 macroblitz

macroblitz

    Member

  • Members
  • PipPip
  • 22 posts

Posted 23 December 2013 - 04:55 PM

http://herc.ws/board...screenshot&id=6

File Name: Special Shop
File Submitter: Dastgir Pojee
File Submitted: 15 May 2013
File Category: Source Modifications

As Per This Topic: http://herc.ws/board...hop/#entry21298
Example of usage:

For using ItemID x for buying Items
<map name>,<x>,<y>,<facing>    itemshop    <npc name>    <spriteid>,<item_id><itemid>:<amount>,.....
This shop will use item id mentioned in the NPC.

For Using Variable for buying items

<map name>,<x>,<y>,<facing> pointshop    <npc name> <spriteid>,"<variable_name>":"<variable_description>",<itemid>:<amount>,.....
Variable_Name will be deducted from your variable,and it will show variable_description when click npc.

Please See ScreenShot for More information.


NOTE:
Please Do Not Share without Credit.Please Do not Share this as Paid Service.

Click here to download this file

can i ask how can i put this in my hercules server? should i put the codes manually? because i don't know the fastest way..



#14 Dastgir

Dastgir

    Advanced Member

  • Script Developers
  • 3340 posts
  • IRC Nickname:Dastgir
  • LocationIndia
  • Emulator:Hercules
  • Github:dastgir

Posted 04 January 2014 - 06:25 AM

 

http://herc.ws/board...screenshot&id=6

File Name: Special Shop
File Submitter: Dastgir Pojee
File Submitted: 15 May 2013
File Category: Source Modifications

As Per This Topic: http://herc.ws/board...hop/#entry21298
Example of usage:

For using ItemID x for buying Items
<map name>,<x>,<y>,<facing>    itemshop    <npc name>    <spriteid>,<item_id><itemid>:<amount>,.....
This shop will use item id mentioned in the NPC.

For Using Variable for buying items

<map name>,<x>,<y>,<facing> pointshop    <npc name> <spriteid>,"<variable_name>":"<variable_description>",<itemid>:<amount>,.....
Variable_Name will be deducted from your variable,and it will show variable_description when click npc.

Please See ScreenShot for More information.


NOTE:
Please Do Not Share without Credit.Please Do not Share this as Paid Service.

Click here to download this file

can i ask how can i put this in my hercules server? should i put the codes manually? because i don't know the fastest way..

Well its now obsolute, since i have seen hercules changed the shop code, so you can use that.


My Services: Click Here
Clientside Translation: Click HERE
If you like my work Please Click rep_up.png
btn_donateCC_LG.gif

Quick Donate Link: http://paypal.me/dherc


#15 vBrenth

vBrenth

    Advanced Member

  • Members
  • PipPipPip
  • 328 posts
  • IRC Nickname:Zeira
  • LocationPhilippines
  • Emulator:Hercules
  • Github:vBrenth

Posted 26 March 2014 - 12:28 PM

Dastgir it is possible that you make plugin for this :D. it would be easier to people.



#16 Dastgir

Dastgir

    Advanced Member

  • Script Developers
  • 3340 posts
  • IRC Nickname:Dastgir
  • LocationIndia
  • Emulator:Hercules
  • Github:dastgir

Posted 26 March 2014 - 12:36 PM

Dastgir it is possible that you make plugin for this :D. it would be easier to people.

I won't be updating this, either won't recommend anyone also, since Hercules have its inbuilt new Shop System: http://herc.ws/board...as-patch-gifto/


My Services: Click Here
Clientside Translation: Click HERE
If you like my work Please Click rep_up.png
btn_donateCC_LG.gif

Quick Donate Link: http://paypal.me/dherc


#17 vBrenth

vBrenth

    Advanced Member

  • Members
  • PipPipPip
  • 328 posts
  • IRC Nickname:Zeira
  • LocationPhilippines
  • Emulator:Hercules
  • Github:vBrenth

Posted 26 March 2014 - 02:11 PM

Yeah you know i am having a problem and request see at the last posts on that link. I want to make a shop using 3001 ID and with 4 category on it, i failed alot of times o.O



#18 Dastgir

Dastgir

    Advanced Member

  • Script Developers
  • 3340 posts
  • IRC Nickname:Dastgir
  • LocationIndia
  • Emulator:Hercules
  • Github:dastgir

Posted 26 March 2014 - 03:35 PM

Make 4 Inivisible Trader NPC's

then make 1 new npc with list

prontera,150,150,5<tab>script<tab>Vote Shop<tab>,999,{mes "Select Category";switch(select("SHOP1:SHOP2")){    case 1:        openshop("Vote_SHOP1");        close;    case 2:        openshop("Vote_SHOP2");        close;}}-<tab>trader<tab>Vote_SHOP1<tab>-1,{//Some Stuff HERE}-<tab>trader<tab>Vote_SHOP2<tab>-1,{//Some Stuff HERE}

Haven't tested, but should work.


My Services: Click Here
Clientside Translation: Click HERE
If you like my work Please Click rep_up.png
btn_donateCC_LG.gif

Quick Donate Link: http://paypal.me/dherc


#19 vBrenth

vBrenth

    Advanced Member

  • Members
  • PipPipPip
  • 328 posts
  • IRC Nickname:Zeira
  • LocationPhilippines
  • Emulator:Hercules
  • Github:vBrenth

Posted 26 March 2014 - 04:41 PM

Yeah, i made it thanks :D



#20 javierlog08

javierlog08

    Advanced Member

  • Members
  • PipPipPip
  • 83 posts
  • Emulator:Hercules
  • Github:javierlog08

Posted 27 March 2014 - 04:01 PM

Dude, This will replace Z in zenys by any description that i want?
For example "Kafra Points" displays KP?







Also tagged with one or more of these keywords: Script, shop, customized shop, special shop, item shop, itemshop, point shop, variable shop

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


This topic has been visited by 573 user(s)