Jump to content
  • 0

Problem (Bug?) with all types of ****shop


Phenomena

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  10/31/12
  • Last Seen:  

If your ZENY parameter lower than VALUE for purchase in itemshop, pointshop you will never buy an item and message like "You don't have enough Zeny..." will always appear.

prontera,156,181,4	script	Testing Shop	900,{
	callshop "testing_shop",1;
	end;
}

-	pointshop	testing_shop	-1,#TESTINGVAR,501:1,502:5,503:10,504:15

For example:

  • Your game character has 100 #TESTINGVAR point.
  • As you can see, all prices below your character's #TESTINGVAR value.

Modulating:

  • Your character has 0 Zeny:
    • You cannot buy any item from shop list
  • Your character has 5 Zeny:
    • You can buy only items 501 and 502 from shop list
  • Your character has 20 Zeny:
    • You can buy all items from shop list

Is any ways to fix it or it's src bug with permanent issue?

Thank you!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

I'm not quite sure what you are indenting to explain, but as far as I understood, you want to use the #TESTINGVAR as "permission" to use this shop and as an identifier which items will be listed.

 

Just so you know the var you used, #TESTINGVAR will be used as currency instead of Zeny.

 

Basically says instead of zeny and variable will be used as currency, like an dynamic shop.

 

Regards,

Chris

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  10/31/12
  • Last Seen:  

I'm not quite sure what you are indenting to explain, but as far as I understood, you want to use the #TESTINGVAR as "permission" to use this shop and as an identifier which items will be listed.

 

Just so you know the var you used, #TESTINGVAR will be used as currency instead of Zeny.

 

Basically says instead of zeny and variable will be used as currency, like an dynamic shop.

 

Regards,

Chris

 

No, you don't understand my question at all. I mean, it doesn't matter what type of currency you are using, it can be neither #VARIABLES or ITEM_ID. The point is: if your currency LOWER then your ZENY value (i don't understand sense of making this behavior for public...) you can't buy items, again:

You have shop with currency #VARIABLE, you will pay for goods with #VARIABLE, BUT!!! and again BUT if your ZENY LOWER then price of the item - you will never buy it.

It's looks like additional checking for a ZENY, but after purchase you will lose only your currency, not zeny.

Btw, maybe it's not a script bug, but it's a source bug, so i asking moderate team redirect this topic to source section or in a bug list.

Thank you!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Ah now I understand, sorry.

Well if I think it's and source bug when I look at it like you explained.

 

Good luck :P.

 

Regards,

Chris

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...