[Dev] [SA:MP] [GM] DWM Funmode (Complete new mode)

Page 3 of 3 FirstFirst 123
Results 31 to 39 of 39
  1. #31
    Alpha Member bramdebouvere is offline
    MemberRank
    Aug 2006 Join Date
    BelgiumLocation
    2,409Posts
    ok, but people got to enter rz

    by the way, thanks for comment :p but remember that the released file isn't the newest one (its a base)

    Added a lottery.
    Each 15 minutes a random number between 1 and 60 will be drawn. If you have the right number, you win the jackpot.
    5 minutes before a random number will be picked, an announcement will appear on the screen, and from that moment you can do /lotto [number], untill the lottery is done, and restarting, then its again 10 minutes waiting, then announcement,...
    Last edited by Junkers; 30-07-09 at 03:40 PM.

  2. #32
    Evil Scottish Overlord Junkers is offline
    LegendRank
    May 2007 Join Date
    United KingdomLocation
    8,216Posts

    Re: [Dev] DWM Funmode (Complete new mode)

    You've really gotta stop double, triple and quadriple posting man :/ Surprised you haven't been infracted for it.

    On the other hand, your gamemode is coming on quite nicely ^^

  3. #33
    Alpha Member bramdebouvere is offline
    MemberRank
    Aug 2006 Join Date
    BelgiumLocation
    2,409Posts

    Re: [Dev] DWM Funmode (Complete new mode)

    Sorry

    its not my meaning to double-post.. i just think things that happen a day later can have a new post.. if any mod wants to merge my posts then he can =p

    And thx at 2nd comment

    Ok, todays work:

    -Fixed a little bug in the /lotto command
    -Added cars in san fierro and los santos and little towns . now there should be cars everywhere

  4. #34
    Account Upgraded | Title Enabled! Demonsmind is offline
    MemberRank
    Apr 2005 Join Date
    USALocation
    226Posts

    Re: [Dev] DWM Funmode (Complete new mode)

    This sounds really nice bram :) Good job
    Money drops - <-- ^_^
    and the automatic lotto, NICE!

  5. #35
    Alpha Member bramdebouvere is offline
    MemberRank
    Aug 2006 Join Date
    BelgiumLocation
    2,409Posts

    Re: [Dev] DWM Funmode (Complete new mode)

    Thanks demons

    ok todays work(i was a little lazy today, i needed a lil entertainement, so i didn't do a lot - also i had a lot of other stuff to do):

    -Fix a glitch in the /lotto command
    -added /suicide command, wich will make you explode (or the car where you are in)

  6. #36
    Proficient Member AngryCat is offline
    MemberRank
    Jun 2007 Join Date
    *care*Location
    196Posts

    Re: [Dev] DWM Funmode (Complete new mode)

    Cool, sounds great!
    Any new updates?

  7. #37
    Alpha Member bramdebouvere is offline
    MemberRank
    Aug 2006 Join Date
    BelgiumLocation
    2,409Posts
    soon, kinda busy atm, continuing tomorrow maybe (if i get the time)

    fixed 2 bugs:
    -Possible glitch in the lotto
    -Typing mistake that could mess up the whole registration - login system (this bug wasn't in the released version)

    added objects for a skyroad (wich will be used as event)


    I can't test now =/ there are some problems with san andreas on my pc, in both vista and xp.. hope to find a solution fast

    k, i managed to fix the prob.

    What i did now:
    -added skyroad event (including cars) , also tested

    Im making an additional configuration file, just for the gamemode

    This to enable everyone to adjust settings, disable events, objects, messages, etc. without having to know pawn code

    Just started it, so couldn't do a lot yet :p

    There will be a file "DWMconfig.ini"
    it will be easy to configure:
    Code:
    //
    //
    // DWM Funmode Standard Config
    vehiclesenabled=1        //enables vehicles on the server
    jamieobjectsenabled=1        //enables stunt objects made by Jamie  thanks
    //
    //
    //
    //
    // DWM Funmode Event System Config
    //
    lottery_event_on=1        //enable lottery event switch
    lotteryminprize=20        //minimum lotto price (20 = 20000)
    lotterymaxprize=80        //maximum lotto price (80 = 80000)
    //
    //
    //
    skyroad_event_on=1        //enables skyroad event
    //
    all settings with enabled are 0 or 1 (0 = disabled, 1 = enabled)

    i will continue this feauture later, ill go get some sleep now :p


    Oh, maybe, later.. we might also use this feature to use different modes in 1 Gamemode (for example DM and TDM can be perfect in 1 gamemode, with a switch like this for example: "Game=2 //1=TDM , 2=DM")

    Grtz

    made antimoneyhack that will warn all online admins (not kick/ban)
    if anyone wants to check the code for possible glitches, bugs, errors, its allowed :p
    please report any problems with this code to me

    Code:
    public moneycheck()
    {
        KillTimer(moneychecktimer);
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i))
            {
                if(safelogged[i]==0 && logged [i]==1)//check to see if player just logged in
                {
                    safelogged[i]=1;
                    ignoremoneycheck[i]=1;
                }
                if(logged[i]==1 && adminlevel[i]>=1)//check if its an admin
                {
                    ignoremoneycheck[i]=1;
                }
                
                
                if(ignoremoneycheck[i]==0)
                {
                    money2[i]=GetPlayerMoney(i);
                    if((money2[i]-money1[i])>=100000)
                    {
                        new hackername[50];
                        GetPlayerName(i,hackername,sizeof(hackername));
                        new message[256];
                        format(message, sizeof(message), "[HACKSHIELD] %s made more then 100K in 5 seconds. Possible Cheat", hackername);
                        SendMessageToAdmins(COLOR_LIGHTBLUE,message);
                        format(message, sizeof(message), "[HACKSHIELD] Use '/check %s' to check his stats.", hackername);
                        SendMessageToAdmins(COLOR_LIGHTBLUE,message);
                    
                    }
                }
                
                
            }
        }
        
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            ignoremoneycheck[i]=0;
        }
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            money1[i]=money2[i];
        }
        
        moneychecktimer = SetTimer("moneycheck",5000,1);
        return 1;
    }
    Yo guyz :drinks_no

    made some more easy-to-config stuff

    i made a little system that sends random messages provided in msg.ini ingame each X minutes.

    Configuration in DWMconfig.ini:
    Code:
    /////////////////////////////////////////////////////////////////////////////
    // AutoMessage System Config ////////////////////////////////////////////////
    /////////////////////////////////////////////////////////////////////////////
    automsg=1            //enables automatic random messages (msg.ini)
    msgtime=5            //time between each message (in minutes)
    /////////////////////////////////////////////////////////////////////////////
    /////////////////////////////////////////////////////////////////////////////
    Configuration in msg.ini:
    Code:
    /////////////////////////////////////////////////////////////////////////////
    //DWM Funmode by bram debouvere                                            //
    //All rights reserved                                                      //
    /////////////////////////////////////////////////////////////////////////////
    //This file is used to set the messages that can be sent automaticly       //
    //each X minutes. A random message will be selected                        //
    /////////////////////////////////////////////////////////////////////////////
    //Do not use any special characters - or it might crash                    //
    /////////////////////////////////////////////////////////////////////////////
    msg1=Thanks for playing this server
    msg2=Do not forget to check out www.ragezone.com
    msg3=Message3
    msg4=Message4
    msg5=Message5
    msg6=Message6
    msg7=Message7
    msg8=Message8
    msg9=Message9
    msg10=Message10
    .. like you can see everything will be easy to configure




    oh, and maybe i might release a beta soon (if i have some time.. i can't promise anything, i really have lots of work atm :punch: )
    Last edited by bramdebouvere; 26-04-11 at 12:01 AM.

  8. #38
    Evil Scottish Overlord Junkers is offline
    LegendRank
    May 2007 Join Date
    United KingdomLocation
    8,216Posts

    Re: [Dev] DWM Funmode (Complete new mode)

    Why have you got all the forward slashes to comment stuff when you can easily use /* */ ?

  9. #39
    Alpha Member bramdebouvere is offline
    MemberRank
    Aug 2006 Join Date
    BelgiumLocation
    2,409Posts
    well when you see the whole config file it looks a lil better .. the slashes don't need to be there, just VERY simple lay-out, to bring a lil structure (looks better in notepad xD)

    but indeed they don't really NEED to be there..if you think its better to remove them and just use plain text, then ill remove it


    oh by the way, anyone has some suggestions?

    Yo everyone

    after a lil brake im back :P

    yesterdayevening and today ive been busy with making a DM minigame for DWM funmode
    there might still be some bugs in it, i can't be sure, because i cannot test everything alone.. thats why i will probably release a beta of the files soon so people can test them.

    So about the DM event: Minigun Madness (yeh sry that name isn't very original)

    How it works:
    -2 minutes before the start there will be an announcement ( then players can start signing up - 500$ cost)
    -When the 2 minutes are over all the players that signed up will be teleported to the event spot, and they will all get a minigun (if you are in the event, the antihack wil not kick you for using a minigun)
    -You all fight to death
    -The last player left wins 10000$

    This event is pure DM, that also means the Teams don't work here, so you can shoot your teammates too in here ;-)

    Configuration in DWMconfig.ini:
    dm1event=1 //enables minigun minigame
    timebetweendm1=10 //the amount of time between minigun minigame
    // (must be bigger then 8 !)
    dm1cost=5 //the price to enter minigun madness (5=500)
    dm1prize=100 //the prize you can win in minigun madness (100 = 10000)
    I think thats all i wanted to say :P

    All suggestions are welcome

    Ok, i have fixed and added some more stuff:
    -Fixed 2 bugs regarding the Minigun Madness event
    -Added bomb shop in the los santos ammu nation (/buybombs)
    -Added 2 other commands to use bombs
    -Now /suicide uses a bomb too
    -Fixed bug with "/rules" - it made the server crash
    -Added killing spree messages (up to 50 kills - if you get more then that in a row.. dAmn :p)
    Last edited by Junkers; 30-07-09 at 03:45 PM.



Page 3 of 3 FirstFirst 123

Advertisement