NewGame FruitMachine GambleGame

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • djmoh
    Forum Member
    • Feb 2007
    • 46

    NewGame FruitMachine GambleGame

    Hey guys i was playing around with a Fruitmachine in AMS
    here i have a problem now...

    so you guys can profit from that..
    its free to edit for everyone, if you help me with it the source code is for you !

    i am having troubles with the cash result
    i need to give the player its winning (not in real life) to a Bank (Spaarbank = Dutch)

    srry for me to have the program all Dutch, i have no time to translate it..

    willekeurig = random
    spaarbank = Bank
    inzet = betting
    reset all = Button for resetting the inifile
    spin = spin
    voer geld in en spinnen maar = Place bet, and win !
    willekeurig nummer = random number

    well what i want is, i want it to work properly.
    I am having trouble with cashing the winning bets. you will find it on page Timer event. the winning must be payed off..
    it isnt working...

    its the lowest scripts on the Page.Timer.event.
    note it will be saying the name of fruits in Dutch..
    the most is english, script you will understand..



    if someone could help me i would be pleased
    Attached Files
  • Imagine Programming
    Indigo Rose Customer
    • Apr 2007
    • 4252

    #2
    Hey man, misschien moet je de *.apz plaatsen:P

    **Hey dude, maybe you should post the *.apz:P
    Bas Groothedde
    Imagine Programming :: Blog

    AMS8 Plugins
    IMXLH Compiler

    Comment

    • djmoh
      Forum Member
      • Feb 2007
      • 46

      #3
      How do i make a *.apz file ?

      hoop dat dit de goede is ..

      hop this is the right one !

      Comment

      • Imagine Programming
        Indigo Rose Customer
        • Apr 2007
        • 4252

        #4
        Bestand>Exporteer, kies lokatie en voila

        File > Export, pick location and voila
        Bas Groothedde
        Imagine Programming :: Blog

        AMS8 Plugins
        IMXLH Compiler

        Comment

        • Teqskater
          Forum Member
          • Apr 2007
          • 175

          #5
          Hahahahaha

          Hi im dutch too anyways. and i think i can fix it.
          Alright? But i have a problem with your export. its missing pretty much all images and sounds. maybe you can try to .rar the project from mijn_documenten/naam_project? would be nice

          Comment

          • Imagine Programming
            Indigo Rose Customer
            • Apr 2007
            • 4252

            #6
            Originally posted by Teqskater View Post
            Hi im dutch too anyways. and i think i can fix it.
            Alright? But i have a problem with your export. its missing pretty much all images and sounds. maybe you can try to .rar the project from mijn_documenten/naam_project? would be nice
            Gozer ik zei net... Bestand>Export.. dan make je eem *.apz file daar zit alles in... :P

            Backflash: File > Export... that's the fix..
            Bas Groothedde
            Imagine Programming :: Blog

            AMS8 Plugins
            IMXLH Compiler

            Comment

            • djmoh
              Forum Member
              • Feb 2007
              • 46

              #7
              You Dutchies

              Hier is hij dan eindelijk !!

              Finaly the *.apz is there ...!

              |
              \/
              Attached Files

              Comment

              • Teqskater
                Forum Member
                • Apr 2007
                • 175

                #8
                Code:
                Gozer ik zei net... Bestand>Export.. dan make je eem *.apz file daar zit alles in... :P
                
                Backflash: File > Export... that's the fix..
                15 Hours Ago 02:43 AM
                Oh man just read what i said. It didnt work so i asked if he could rar it instead because the export was corrupted for me (the one in the first post). I have a bit much experience with it. I created several games (not to big) with ams and some where even multiplayer. i posted one example in the example section a few weeks ago and anounced it but i dont think the file is moderated (yet).

                Now. i gonna check whats wrong with it and i come up with a fix. but i have to go. im back on mondays. Maybe we can mail? Or can i mail the fix?

                Ahh nice work mate. now the project works for me. i will come up with a fix soon.
                Last edited by Teqskater; 07-18-2008, 10:52 AM.

                Comment

                • Imagine Programming
                  Indigo Rose Customer
                  • Apr 2007
                  • 4252

                  #9
                  Code:
                  Oh man just read what i said. It didnt work so i asked if he could rar it instead because the export was corrupted for me
                  Maybe because it wasn't an Export ^_^' it was the plain am7 file... later on he exported it
                  Bas Groothedde
                  Imagine Programming :: Blog

                  AMS8 Plugins
                  IMXLH Compiler

                  Comment

                  • Teqskater
                    Forum Member
                    • Apr 2007
                    • 175

                    #10
                    Oh yeah. Omg that i didnt see that.

                    Well im fixing some bugs right now. Did a shitload off then and still a shitload to come. when im done i'll give you some advice and i hope that youll listen to it. because there are some things that you need to learn. but you are on the right path.

                    :yes

                    EDIT#1:

                    Fixed all bugs. adding some enhancements.

                    Time remaining: Aprox: 30 minutes to re-release
                    Last edited by Teqskater; 07-18-2008, 11:32 AM.

                    Comment

                    • Teqskater
                      Forum Member
                      • Apr 2007
                      • 175

                      #11
                      Done. See project file and my comments to see what i did change.
                      Oh. one thing that you get rid of for sure: Don't save variables to an INI file when you don't need to (fixed that to).

                      Some thing that i did fix and remember (for all fixes see project file comments):
                      Unnecessary usage of an inifile (fruit.ini)
                      Addcash function enhanced: use AddCash(ammount of cash here)
                      forgot convert cash string to number (fixed)
                      added testmode: set testmode = true if you want to test the winning part.
                      then you always win with the testmod object you have specified in testmode_object (for example testmode_object = "bar")

                      and some more that i dont remember.


                      EDIT#1: Please pm your email and i can help you some more.
                      Attached Files

                      Comment

                      • djmoh
                        Forum Member
                        • Feb 2007
                        • 46

                        #12
                        thanks matess your the best !!!

                        now i have to take a look at it...

                        i have another programming issue
                        somewhere on the forums its running now...

                        i want to build a script editor for a different lagnuage called event_scripts
                        it needs to have syntax highlight... i have ini file with all the word to highlight...

                        if someone know how to highlight text in an input, textbox, or rtf object...
                        please..

                        now i will take a look at the fruitmachine..:P

                        Comment

                        • Teqskater
                          Forum Member
                          • Apr 2007
                          • 175

                          #13
                          It's possible but you need the rich text object for it and place tags around words that need to be highlighted. that's the principle. i dont have time anymore but ill post a function someday here.
                          Oh yeah one thing about you scripting. When you have an error fix that error first BEFORE going on.

                          Hows the thing working right now?

                          Comment

                          • djmoh
                            Forum Member
                            • Feb 2007
                            • 46

                            #14
                            tanks again..

                            the thing is working like a sick pshyco fruitmachine..!!!

                            i a pleased to have it working, i will translate it to english and publish it as
                            an example on the example/samples forum !

                            so others can learn from it .

                            great man thanks again


                            ************************************************** *****

                            about the rtf object, it would be real nice if you can help me that...
                            i am building a script editor for rsd developement..(rapid scripting development)

                            the community for scripting the event_scripts is for the game counter strike source, there are a lot of beginners (or as they call them NOOBIES) that
                            need lots of help... this editor will do all the help !

                            thanks great programmers for helping me out again

                            Comment

                            • Teqskater
                              Forum Member
                              • Apr 2007
                              • 175

                              #15
                              Hey, just pm me your email and i add you to msn or something like that. i think i can help you with the syntax highlighter too. but i can only start in about a few days or so. im bussy working for the local TV station.

                              Comment

                              Working...
                              X