Page 1 of 1
Casino
Posted: 18 Jun 2013, 15:46
by Monomu
Hey all!
I played in tulim casino today and its quite nice place but I don't like I can only put few casino coins there. I think better is if I can put so much as I want. Maybe good should be make it like bank, there are few options but I can chose how much I want spend too.
Re: Casino
Posted: 18 Jun 2013, 15:56
by tux9th
the coin exchanger was disabled a while back because of a bug.
I have no idea if this bug has been fixed yet.
Re: Casino
Posted: 18 Jun 2013, 16:11
by Monomu
So this bug is here already about 2 years.

Re: Casino
Posted: 18 Jun 2013, 18:44
by Nard
There was no bug: it was a shop. I never understood the reason of the change. There is no possibility to use martingales so...
commit 2c07f14a13d1e1f88275bd12beded43706c53bae:
Changes: Price in item_db.txt, merchants Item ID changed to Name...
- price changes to reflect Lora Tay's crafting and the price of cotton cloth
- drops increased for cotton cloth
- casino coins removed from merchants
- several merchants changed to simple information scripts
- price changes based on merchant sell value
Code: Select all
-001-2.gat,32,67,0 shop MoneyChanger 124,503:10
+001-2.gat,32,67,0 script MoneyChanger 124,{
+ mes "[" + @npcname$ + "]";
+ mes "\"I used to exchange Casino Coins for cash, but the Wizard's Council shut me down. Now the casino only runs off Casino Coins currently in circulation.\"";
+ next;
+ mes "\"I heard that many a gambler wandered onto the Beach to the South West and through to the Snake Desert to the South East. If you want to find coins already in circulation, you might find some on the monsters there.\"";
+ close;
+}
Re: Casino
Posted: 19 Jun 2013, 19:27
by Nard
If this exploit has not been corrected it should be still possible to use it with other items with less benefit: when sold half the buy price (cake for example) it lets you a 33% benefit which is still rather comfortable :/ If it has been corrected there is no reason not to bring back the shop. Anyway it is possible to sell the coins through a script like hurnscald fountain or north tulimshar well which makes the trick uneffective.
Edit: 4144 says the bug was fixed. There is no reason not to bring the shop back. I commit it.
https://github.com/bh28/tmwa-server-dat ... fc34138f85
4144 wrote:Hi Nard,
This was fixed.
It was item duplication exploit. While in trade you change inventory and complete trade, after you get some modified number of items
Nard wrote:Привет 4144
Chayenne wrote:they were used to do this: [...]
Are you aware of this exploit? If yes do you know if it has been corrected on TMWa? In this case I suppose you corrected it on Evol
Friendly yours
Nard
Re: Casino
Posted: 19 Jun 2013, 23:11
by AnonDuck
IIRC all of those bugs were fixed *long* before the casino NPC was disabled. I have no idea why it was disabled or what the logic behind it was, but I do not believe it was because of this style of exploit.