Plus Emulator Slot Machine Interaction

Rystbo

-Hotel Owner, -Customs Developer, -Arcturus
Apr 16, 2018
390
200
It's not called Items.cs, it's called Item.cs

Ya, item.cs i made a typo. lol but now when i add it for some reason its not recognizing it. the part that says interactorslots wont highlight in blue like the others. If i just add it and debug it doesn't work

 

JynX

Posting Freak
Feb 6, 2016
710
438
Ya, item.cs i made a typo. lol but now when i add it for some reason its not recognizing it. the part that says interactorslots wont highlight in blue like the others. If i just add it and debug it doesn't work

Are you using the InteractorSlots provided?
 

Rystbo

-Hotel Owner, -Customs Developer, -Arcturus
Apr 16, 2018
390
200
Yes, the one provided in the first step:

 

Zachariah

Active Member
Aug 26, 2017
177
78
Good release, I remember having this on our old hotel. Wasn't a big fan of how it shows you won and etc, never understood it. But besides that, props:up:
 

Hypothesis

Programmer
Jan 6, 2019
524
361
Dunno, users just said it would be cool lmao
Yeah, you could add this line
Code:
RoomUser User = Room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
Then use something like this instead of your whisper alert.
Code:
Room.SendMessage(new ChatComposer(User.VirtualId, "*SLOT MACHINE: " + SlotCard1 + " " + SlotCard2 + " " + SlotCard3 + " You have won: " + CreditsWon + " credits!*", 0, 1));
As said before, this is likely to cause spam central, but you could possibly add a longer cooldown to slots, also keep in mind, this is for R1 of Plus Emulator, so you may need to use SendPacket, instead of SendMessage, if you're using R2.
Thanks for using this addon!
 

Laynester

a bad bitch
Nov 7, 2018
304
422
Yeah, you could add this line
Code:
RoomUser User = Room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
Then use something like this instead of your whisper alert.
Code:
Room.SendMessage(new ChatComposer(User.VirtualId, "*SLOT MACHINE: " + SlotCard1 + " " + SlotCard2 + " " + SlotCard3 + " You have won: " + CreditsWon + " credits!*", 0, 1));
As said before, this is likely to cause spam central, but you could possibly add a longer cooldown to slots, also keep in mind, this is for R1 of Plus Emulator, so you may need to use SendPacket, instead of SendMessage, if you're using R2.
Thanks for using this addon!
Ive done this but it causes this error
You must be registered for see images attach
 
May 1, 2015
467
152
Huge fan of this, We honestly need more releases like this one.
If I had the time i'd be releasing something everyday to keep the community interesting and appealing to new users as it's unfortunately dying, which has been expected for a long time.
This is a great release which will keep gambling users around for a longer time period.
I'm a huge fan of the way you coded the odds, wouldn't change a thing with this release.

I applaud you, sir.
Great job.
 

Users who are viewing this thread

Top