Raised This Month: $ Target: $400
 0% 

Advanced Roll The Dice (v2.5 RC4)


Post New Thread Reply   
 
Thread Tools Display Modes
Striker
Senior Member
Join Date: Mar 2004
Location: Germany
Old 01-26-2007 , 11:16   Re: Advanced Roll The Dice - (Last Update: 05/01/2006)
Reply With Quote #321

Quote:
Originally Posted by sprayed View Post
The server never comes back up if i do that But i fixed the problem, i sent a message to support and they helped me out, thanks for the plugin
So you forgot to upload some files...
__________________
Striker is offline
Send a message via ICQ to Striker Send a message via MSN to Striker
Hatz
Member
Join Date: Jan 2007
Old 01-27-2007 , 23:39   Re: Advanced Roll The Dice - (Last Update: 05/01/2006)
Reply With Quote #322

is there a way to put your own sound files in for the plugin?

here is what i did to test it:

Code:
// Precache 21 Sounds
    precache_sound("ambience/zapmachine.wav");
    precache_sound("ambience/flameburst1.wav");
    precache_sound("ambience/thunder_clap.wav");
    precache_sound("buttons/blip2.wav");
    precache_sound("misc/gemido01.wav");
    precache_sound("misc/gemido02.wav");
    precache_sound("misc/gemido03.wav");
    precache_sound("misc/gemido04.wav");
    precache_sound("misc/chickenfucker.wav");
    precache_sound("misc/risamalo.wav");
    precache_sound("misc/kotosting.wav");
    precache_sound("misc/stinger12.wav");
    precache_sound("misc/teleport_out_01.wav");
    precache_sound("misc/bipbip.wav");
    precache_sound("misc/blade1.wav");
    precache_sound("misc/applause.wav");
    precache_sound("misc/risa.wav");
    precache_sound("misc/benny1.wav");
    precache_sound("misc/burp.wav");
    precache_sound("vox/_period.wav");
    precache_sound("scientist/scream21.wav");
    precache_sound("scientist/scream07.wav");
    










// WIN 100 CHICKENS
    if (Roll2 == 0)
    {
        if (get_prize_flags(PRIZE_BAD)&BAD_PRIZE_WINCHICKEN)
        {
            if(get_cvar_num("amx_dice_debug") != 0)
                log_amx("DEBUG (Advanced Roll the Dice): Roll=[0], Roll2=[%d] <%s>",Roll2, User);
            
            client_print(0,print_chat, "[AMXX] <Dice Dealer>  %s won 100 CHICKENS !!!", User);
            set_hudmessage(200,0,0, 0.03, 0.62, 2, 0.02, 5.0, 0.01, 0.1, 1);
            show_hudmessage(0,"%s is throwing chickens!!!", User);
            emit_sound(id,CHAN_ITEM, "misc/chickenfucker.wav", 1.0, ATTN_NORM, 0, PITCH_NORM);
            mod_spawn(id);
            set_task(GAMBLING_DELAY_TIME,"delay_gambling");
I've tried with both .wav and .mp3, btw can u use mp3?

Anyway, it doesnt work. I uploaded my own "chickenfucker.wav" file to

misc/sounds, the same fold for the original rtd sounds, then reset server and rolled till i got the 100 chickens. The originals work fine and are in the same folder, why arent mine working?

EDIT: found this in my console:


Error: server failed to transmit file 'sound/misc/chickenfucker.wav'
Missing RIFF/WAVE chunk

Last edited by Hatz; 01-27-2007 at 23:43.
Hatz is offline
l3l4ckl3l4d3X1X2
Junior Member
Join Date: Feb 2006
Old 01-28-2007 , 03:00   Re: Advanced Roll The Dice - (Last Update: 05/01/2006)
Reply With Quote #323

I am having some issues with 1.76c and this plugin. It seems that all of the speed enhancing and reducing awards/non awards. Any help?


EDIT: Old man works until you switch to your knife.

Last edited by l3l4ckl3l4d3X1X2; 01-28-2007 at 03:10.
l3l4ckl3l4d3X1X2 is offline
Hatz
Member
Join Date: Jan 2007
Old 01-30-2007 , 02:36   Re: Advanced Roll The Dice - (Last Update: 05/01/2006)
Reply With Quote #324

Nvm, they did load. Here is an altered roll the dice version i have with custom sounds. There are some dragonball z super saijin songs that play when god and invisible come, a rocky clip when he spawns the para, a soundclip of orochi iori powering up from capcom vs snk 2 for the win health prize, and a few other alterations. I also altered the text and name of some of the prizes, such as noclip is now Maverick and it pays the soundclip from top gun "you can be my wingman anytime." Be warned, profane language has been added...


Credit to the guy who originally made this, all i did was alter stupid text. I couldn't have written this, badass man.

Um ya, the upload isnt working, so i put it in filefront. Download here:

http://files.filefront.com/dice_stuf.../fileinfo.html



-Hatz
Hatz is offline
Hatz
Member
Join Date: Jan 2007
Old 02-03-2007 , 19:18   Re: Advanced Roll The Dice - (Last Update: 05/01/2006)
Reply With Quote #325

anyone know why this isnt playing sound, it's entered like every other sound and precached:

here are the lines:
Code:
// WIN HEALTH
    else if (Roll2 == 4)
    {
        if (get_prize_flags(PRIZE_GOOD)&GOOD_PRIZE_WINHEALTH)
        {
            if(get_cvar_num("amx_dice_debug") != 0)
                log_amx("DEBUG (Advanced Roll the Dice): Roll=[1], Roll2=[%d] <%s>",Roll2, User);
                
            new current_health = get_user_health(id);
            new new_health = current_health+200;
            
            if (new_health > 255)
                set_user_health(id,255);
            else
                set_user_health(id,new_health);
                
            client_print(0,print_chat, "[AMXX] <Dice Dealer>  %s has powered up to %d health!!!", User, get_user_health(id));
            
            set_hudmessage(200,0,0, 0.03, 0.62, 2, 0.02, 5.0, 0.01, 0.1, 1);
            show_hudmessage(0,"%s has powered up to %d health.",User, get_user_health(id));
            client_cmd(0,"spk misc/ioripowerup.wav");
            set_task(GAMBLING_DELAY_TIME,"delay_gambling");
        }
        else
        {
            bIsGambling = false;
            Roll2++;
            good_prizes(id,Roll2);
                
            return PLUGIN_HANDLED;
        }
    }

Code:
// WIN 50 CRABS
    else if (Roll2 == 10)
    {
        if (get_prize_flags(PRIZE_BAD)&BAD_PRIZE_WINCRABS)
        {
            if(get_cvar_num("amx_dice_debug") != 0)
                log_amx("DEBUG (Advanced Roll the Dice): Roll=[0], Roll2=[%d] <%s>",Roll2, User);
                
            if(get_cvar_num("amx_dice_monstermod") == 1)
            {
                
                client_print(0,print_chat, "[AMXX] <Dice Dealer>  OMG! 50 crabs are jumping out of %s ballsack! ", User);
                set_hudmessage(200,0,0, 0.03, 0.62, 2, 0.02, 5.0, 0.01, 0.1, 1);
                show_hudmessage(0,"%s has got crabs! EWWWWWW!!!", User);
                emit_sound(id,CHAN_VOICE, "misc/moan.wav", 1.0, ATTN_NORM, 0, PITCH_NORM);
            }
            else
            {
                client_print(0,print_chat, "[AMXX] <Dice Dealer>  OMG! 50 crabs are jumping out of %s ballsack!", User);
                set_hudmessage(200,0,0, 0.03, 0.62, 2, 0.02, 5.0, 0.01, 0.1, 1);
                show_hudmessage(0,"%s has got crabs! EWWWWWW!!!", User);
            }
                    
            mod_spawn2(id);
            set_task(GAMBLING_DELAY_TIME,"delay_gambling");
        }
        else
        {
            bIsGambling = false;
            Roll2++;
            bad_prizes(id,Roll2);
                        
            return PLUGIN_HANDLED;
        }
    }

Last edited by Hatz; 02-03-2007 at 19:20.
Hatz is offline
buggyglint1
Junior Member
Join Date: Oct 2006
Old 02-21-2007 , 23:27   Re: Advanced Roll The Dice - (Last Update: 05/01/2006)
Reply With Quote #326

Can you please add support for Gun Game plugin?
Like instead of gaining a level in war3ft mod you would gain a 2 levels for a good roll in gun game mod and lose 2 levels for bad roll.
These two plugins would be great together. Here is a code that
XxAvalanchexX
gave me for gaining levels.

Code is on this topic - http://forums.alliedmods.net/showthread.php?t=51597

Thanks
__________________


buggyglint1 is offline
Send a message via AIM to buggyglint1 Send a message via MSN to buggyglint1 Send a message via Yahoo to buggyglint1
buggyglint1
Junior Member
Join Date: Oct 2006
Old 02-25-2007 , 23:34   Re: Advanced Roll The Dice - (Last Update: 05/01/2006)
Reply With Quote #327

Ca anyone help me out here...?
__________________


buggyglint1 is offline
Send a message via AIM to buggyglint1 Send a message via MSN to buggyglint1 Send a message via Yahoo to buggyglint1
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-25-2007 , 23:38   Re: Advanced Roll The Dice - (Last Update: 05/01/2006)
Reply With Quote #328

Quote:
Originally Posted by buggyglint1 View Post
Ca anyone help me out here...?

http://forums.alliedmods.net/showthr...622#post444622


????!
__________________
Arkshine is offline
Dragon4048
Member
Join Date: Mar 2007
Old 03-15-2007 , 11:18   Re: Advanced Roll The Dice - (Last Update: 05/01/2006)
Reply With Quote #329

Quote:
Originally Posted by Striker View Post
Advanced Roll The Dice

Author: Striker (original plugin & idea by EJL)
Version: 2.5 RC 4
Release Date: 05/01/2006
Tested on: AMXX 1.71 (Linux)
Credits to: EJL, BreadDawson & DarkBeatz, MattOGM, Noizza, XxAvalanchexX, SilverTide
CVS: http://cvs.tcwonline.org/viewcvs.cgi...r/rollthedice/



Description:
This is another roll the dice plugin with some different and more advanced options.
There are gambling limits, admin controls, lots of FX and new features.

Just test it!

Required Modules:
- Fun
- Engine
- Counter-Strike
- CSX

Admin Cvars/Commands:
  • amx_dice <on|off>
    Type: COMMAMD
    Default: on
    Description: Turns dice games on or off
  • amx_dice_delay <180>
    Type: CVAR
    Default: 180
    Description: Sets the time players have to wait before gambling again
    (Set either in amxx.cfg or by amx_cvar command)
  • amx_dice_monstermod <1|0>
    Type: CVAR
    Default: 0
    Description: Enable/Disable Monstermod support
    (You need activate monstermod to use this option)
  • amx_dice_admin <1|0>
    Type: CVAR
    Default: 0
    Description: Enable/Disable amx_dice_delay for admins
    (use ADMIN_ACCESS to set the flag)
  • amx_dice_statictimes <1|0>
    Type: CVAR
    Default: 0
    Description: Switch between static- and random-times for prizes

    Use this CVARS when 'amx_dice_statictimes' is ENABLED (all times in seconds):
    • amx_dice_nightclubtime <seconds>
      Default: 15
      Description: Sets the prize-time of NightClub
    • amx_dice_slaptime <seconds>
      Default: 12
      Description: Sets the prize-time of Slap Disease
    • amx_dice_oldmantime <seconds>
      Default: 10
      Description: Sets the prize-time of Old Man
    • amx_dice_humanbombtime <seconds>
      Default: 15
      Description: Sets the prize-time of Human TimeBomb
    • amx_dice_drunkardtime <seconds>
      Default: 20
      Description: Sets the prize-time of Smoking Drunkard
    • amx_dice_nocliptime <seconds>
      Default: 10
      Description: Sets the prize-time of Noclip
    • amx_dice_godmodetime <seconds>
      Default: 15
      Description: Sets the prize-time of Godmode
    • amx_dice_zeusmodetime <seconds>
      Default: 20
      Description: Sets the prize-time of Zeusmode
    • amx_dice_lukeskywalkertime <seconds>
      Default: 20
      Description: Sets the prize-time of Luke Skywalker
    • amx_dice_racecartime <seconds>
      Default: 17
      Description: Sets the prize-time of Race Car
    • amx_dice_invisiblegodtime <seconds>
      Default: 17
      Description: Sets the prize-time of Invisible God
    • amx_dice_invisibletime <seconds>
      Default: 17
      Description: Sets the prize-time of Invisible Normal
    • amx_dice_wildridetime <seconds>
      Default: 3
      Description: Sets the prize-time of Wild Ride
  • amx_dice_debug <0>
    Default: 0
    Description: Enable/Disable Debug mode.
    • 0 - Debug mode disabled
    • 1 - Normal Debug mode
    • 2 - Advanced Debug Mode
  • amx_dice_playmode <1>
    Default: 1
    Description: Specify which team(s) are able to roll the dice.
    • 1 - ALL
    • 2 - Only T
    • 3 - Only CT
  • amx_dice_badprizes <abc..>
    Default: abcdefghijklm
    Description: Enable all BAD PRIZES you want.
    • a = Win 100 Chickens
    • b = Nightclub
    • c = Deadly Slap Disease
    • d = Burning
    • e = Wild Ride
    • f = Old Man
    • g = Human Timebomb
    • h = Smoking Drunkard
    • i = Lose XP
    • j = Bankrupt
    • k = Win 50 Crabs (or Monsters)
    • l = Hit by Lightning
    • m = Go Blind
  • amx_dice_goodprizes <abc..>
    Default: abcdefghijklm
    Description: Enable all GOOD PRIZES you want.
    • a = No Clip
    • b = Godmode
    • c = Zeusmode
    • d = Luke Skywalker
    • e = Win Health
    • f = Race Car
    • g = Invisible God
    • h = Invisible Normal
    • i = Win XP
    • j = Win Money
    • k = Full Equipment
    • l = Unlimited Ammo
    • m = Para Action (Rambo)
Client Commands:
say roll the dice
say rollthedice
say roll teh dice
say i feel lucky
say rtd
say dados
say suerte

Upcoming Release:
  • Advanced Roll the Dice v2.5 RC 5




Donload ist defekt kann das einer wieder richten breuchte mal das plugin
Dragon4048 is offline
Silent Sniper
Member
Join Date: May 2006
Location: UK
Old 03-18-2007 , 16:39   Re: Advanced Roll The Dice - (Last Update: 05/01/2006)
Reply With Quote #330

Is there any way i can use this for TFC
__________________
Silent Sniper
Silent Sniper is offline
Send a message via AIM to Silent Sniper
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode