Snippet A betting system on arena type duels

Troll-Brain

You can change this now in User CP.
Reaction score
85
not that i am againt changing the 12 actions for the 5 time just isnt that tomato toemato[so you know what i mean i added the e]?
You still don't understand it's like use X + 1 + 1, instead of X + 2.
Also at least you need to add a condition, the case i did mentionned is still possible.
 

CaptDeath

New Member
Reaction score
103
and if i say i like redundency cause thats natures backup system?
is this what you mean?
Player - Player 1 (Red) types a chat message containing (Substring(-bet , 1, 5)) as A substring
to
Player - Player 1 (Red) types a chat message containing -bet as A substring
 

Troll-Brain

You can change this now in User CP.
Reaction score
85
and if i say i like redundency cause thats natures backup system?
is this what you mean?
Player - Player 1 (Red) types a chat message containing (Substring(-bet , 1, 5)) as A substring
to
Player - Player 1 (Red) types a chat message containing -bet as A substring

Just test it, you will see that you need the condition i said ...
And so for the events, yes do it
 

CaptDeath

New Member
Reaction score
103
yeah so lets see just this one trigger has 12*6 changes thats 72 changes just for the events :( ok ill update soon
 

Romek

Super Moderator
Reaction score
964
> Lol less than 24 hours ..
Doesn't matter. He didn't double post anyway.

> so any comments from some one whos actually used this?
I don't really see how it's even usable.
You just type -bet [All your gold], -w and -p. Then you have loads of gold. o_O

And add that condition, even Troll, who was against it is now for it. :p
 

CaptDeath

New Member
Reaction score
103
Ughh
its for an arena if you opened the fing map it explicitly states you need to change the win and payment trigger :p
and i changed it to what you wanted if you read the updated triggers
 

Romek

Super Moderator
Reaction score
964
Instead of making the user have to change it, why don't you make a periodic event, where a random player which gambled would be chosen, and would win. maybe make it so it won't work if there are less than 4 gamblers (If there are, then just refund the money).
At least this way, the user would (probably) just have to change the timeout, if anything. Instead of having to mess around with the events of the other triggers.
 

CaptDeath

New Member
Reaction score
103
well the idea behind this is you import this and change it around cause it said arena betting system
well when hero x goes up to fight hero b to the death you get the otion to bet on the fight and the people who bet on the winner gets paid now how bout you tell me how in the hell i could set it up so all youd have to do is import
 

Romek

Super Moderator
Reaction score
964
Well, you'd obviously be required to change it if you're going to make a map like that.
But I'm guessing the majority of users would just want a periodic "lottery" type thing. So set it up to do that, and make it easy to modify.
Most systems and snippets probably need to be configured for certain users. But they should all still 'be usable' after a simple import.
 

CaptDeath

New Member
Reaction score
103
i was working on a gamble trigger but it didnt want to work but ill see what i can do
 

SerraAvenger

Cuz I can
Reaction score
234
> did you read my post?^^
No, because you didn't read my one which explains why you're wrong.


I don't think you're trying to understand me.
The Substring does nothing more than the normal "-bet " would do. It's just a waste of space, and an extra function call. A condition is required to avoid people typing "329847-bet ". If you don't believe me, try it with simple "Game - Display Text" actions.

Can't you just stop using "as a substring" ?
 

Romek

Super Moderator
Reaction score
964
Can't you just stop using "as a substring" ?
Stop using it altogether?
No, obviously he can't...

And he's stopped using it in the event now, incase you didn't realise. (If that's what you meant)
 

CaptDeath

New Member
Reaction score
103
if there was no as a substring then it would only fire on
(-bet ) and then there wouldn't be an amount bet
and i didnt stop i just removed my redundancy in having it get the substing twice so i added a condition which that alone made the map .25 of a kb smaller w00t now its like 12kbs
 

Ryuu

I am back with Chocolate (:
Reaction score
64
All right, all right, all right.
I don't really understand the point of the system.

What does -bet, -w and -p do?
 

CaptDeath

New Member
Reaction score
103
well its for a hero arena and you change the -w and -p triggers cause you change that for konwing when you side of the arena one -w and then when you pay them -p you chnage those in your map cause there is no way i could set that up universally but the -w, and -p cmds are they to see that it works just needs to be adjuster case by case
 

emjlr3

Change can be a good thing
Reaction score
395
you need to add odds in too, which dynamically update based on betting trends ;)
 

emjlr3

Change can be a good thing
Reaction score
395
in RL, betting trends effect betting odds

if there is 5-1 odds against something, and I bet for it, and win, I get 5x my money.

however, if lots of ppl start betting that way, the odds change, and may move to 4-1
 

emjlr3

Change can be a good thing
Reaction score
395
you called this a system...
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/
  • The Helper The Helper:
    I think we need to add something to the bottom of the front page that shows the Headline News forum that has a link to go to the News Forum Index so people can see there is more news. Do you guys see what I am saying, lets say you read all the articles on the front page and you get to the end and it just ends, no kind of link for MOAR!
  • The Helper The Helper:
    Happy Wednesday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top