Jump to content

Sonic

Members
  • Posts

    34
  • Joined

  • Last visited

Posts posted by Sonic

  1. Excuse me, but where can i change the minimal player needed to start the game?

     

    Erm, search for these lines:

    force_3-3,14,22,3 script RED TEAM PARTY 793,{
    OnInit:
    waitingroom "Red Team",6,"OnWarpToArea",5;
    enablewaitingroomevent;
    end;
     
    OnWarpToArea:
    warp "quiz_02",334,362;
    disablewaitingroomevent;
    end;
    }
     
    force_3-3,25,22,3 script BLUE TEAM PARTY 109,{
    OnInit:
    waitingroom "Blue Team",6,"OnWarpToArea1",5;
    enablewaitingroomevent;
    end;
     
    OnWarpToArea1:
    warp "quiz_02",334,362;
    disablewaitingroomevent;
    end;
    }

     

     

    The RED highlighted number means the minimum player needed to start the game. (default is 5)

    The BLUE highlighted number = RED number + 1.

     

    Hope it helps =)

  2. can you add a part wherein if it lacks players at the end of the time given before the start of the poringsoccer they will be warped to savemap or prontera.

     

    Thanks for your idea.

     

    Correct me if I am wrong, you mean that when people warped to force_3-3 map during waiting room and if lack players at the end time they will warped back to prontera right?

     

    If so,

    poringsoccerv3.txt

    15 seconds for them to enter to the chat room, if not will be warped back to prontera.

     

    I will soon update the main post to make easier for everyone.

    Thanks!

    • Upvote 1
  3. Sorry for the late reply, to make this event automated, simply just replace the sonicxxx to the time:

    sonicxxx:
        announce "[ Poring Hoster ]: Poring Soccer Event has just started!!!",bc_all;
        sleep 3000;
        announce "[ Poring Hoster ]: For those who wants to register, please make two party of 5 players each.",bc_all;
        sleep 2500;

     

    to

     

     

    OnMinute30:

        announce "[ Poring Hoster ]: Poring Soccer Event has just started!!!",bc_all;
        sleep 3000;
        announce "[ Poring Hoster ]: For those who wants to register, please make two party of 5 players each.",bc_all;

        sleep 2500;

     

     

     

    OnMinuteXX - XX is the number of minute it start every hour.

    There are also OnHour, OnClock

     

    http://rathena.org/wiki/Timers_(Scripting)

     

     

  4.  

    Error @ Line 1779

    parse_syntax: unexpected 'case'
    

    Go to line 1779,

     

             dispbottom "No help at the moment. Wait "+((.helpdelay - gettimetick(2)) + 1)+" seconds.";
    }
         close;

     

    Change to

                  dispbottom "No help at the moment. Wait "+((.helpdelay - gettimetick(2)) + 1)+" seconds.";

        close;
    }

     

  5. anyone have a mirror for data,map and sprites? i'm not registered to the eathena  board :(

     

     

    re upload the map here!

     

     

    bump reupload the ball2.gat map

    bump

     

    Okay, Here it is:

    Map

    data.rar

     

    Sprite

    sdata.rar

     

    Database

    database.rar

     

    why poring soccer hoster npc doens't appear after load ? any body can explain ?

     

    to anyone that wants the map ball2 , just message me.

    Hmm? try @reloadscript

     

    Please report any bug or error found,

    Thank you!

    • Upvote 1
    • MVP 1
  6. go to src/config/renewal.h 

    find: 

     

     

    /// renewal cast time
    /// (disable by commenting the line)
    ///
    /// leave this line to enable renewal casting time algorithms
    /// cast time is decreased by DEX * 2 + INT while 20% of the cast time is not reduced by stats.
    /// example:
    /// on a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a
    /// "fixed cast time" which can only be reduced by specialist items and skills
    #define RENEWAL_CAST
    

    add a "//in front of the   #define RENEWAL_CAST

     

    Then, compile it and done

  7. Hello everyone! I'm Back!

    Yea I know I have been disappear from eathena/rathena world for a long time..(busy)

     

    Currently, I have some free time so I plan to remodify back my old script.

     

    So here it is, Poring Soccer v3!

     

    Nothing much though, just some modifications for small or medium size server:

     

    =========v3 (Non-Pvp system)==================
    //= Added absolute defense system for 15 secs in Field Assistance Npc
    //= Ball will travel in random distance depends on your luck
    //= Added random effects triggered when click on the ball
    //= Added special effect when scored goal
    //= Fixed waitingroom bug
    ==============================================

    For you guys wondering where is the old v2 scripts and the required files (maps, sprites, datas), here it is:

    http://www.eathena.ws/board/index.php?showtopic=252815

     

    Well, enjoy!  /no1

    Report any bugs you find, thank you!

    poringsoccerv3.txt

    • Upvote 1
  8. ---------------------------------------------------------------------------------------------------------------------------------------------

    ====== Update: 12/17-2011: Fixxed Restaurant & Virtual Password Scripts ======

    ---------------------------------------------------------------------------------------------------------------------------------------------

    Fixxed Mediafire.com link, also removed those lines I forgot to remove in the Restaurant v1.0 script.

    Virtual Password v1.2(.1):

    Modified the Security Question & Answer and added a few features.

    Tested and working perfectly.

    Just a short attention please:

    //Able to call that via doevent "VSPLogin::OnVSPLogin";
    OnVSPLogin:
    //OnPCLoginEvent, but the one above is if you have multiplie OnPCLoginEvents,
    //to prevent queue usage of events. Just add the "doevent" in your controller and it should work D:.
    //OnPCLoginEvent:

    If you have more than 1 OnPCLoginEvents, and didn't increase that limit in "src/map/map.h" > #define MAX_EVENTQUEUE

    I suggest, not needed, to use "doevent "VSPLogin::OnVSPLogin;" in a other OnPCLoginEvent, well I use something like this:

    -	script	EventManager	-1,{
    end;
    
    OnPCLoginEvent:
    doevent "VSPLogin::OnVSPLogin";
    callfunc "GMLogin";
    end;
    
    OnPCLogoutEvent:
    callfunc "GMLogout";
    end;
    }

    If you increased it comment the "OnVSPLogin" line and uncomment the "OnPCLoginEvent" below.^^

    ---------------------------------------------------------------------------------------------------------------------------------------------

    ============= Added 1 New NPC: Character Manager for Test Servers ==========

    ---------------------------------------------------------------------------------------------------------------------------------------------

    Also added this sweet NPC, which is supposed to be used on Test Servers only.

    Or at least iif only GMs are given access to. :)

    Read more in the 1st post.

    Regards,

    Chris

    Oh okay =).

  9. I just noticed something.

    The restaurant script is different in google code and pastebin (since the mediafire link is down)

    Pastebin is start from:

    goto OnInit;
    R_Start:
    

    while google code is without it.

    Not sure which is the right one, well now im trying the google code.

    Edited: Oh! Google code script works fine without error =)

    Ps: I didn't edit anything xD

  10. I love all scripts! <3

    Oh hey, there is an error with the restaurant v1.0 script but its debugged i think..

    [Error]: script_rid2sd: fatal error ! player not attached!

    [Debug]: Function: mes (1 parameter):

    [Debug]: Data: variable name='.n$' index=0

    [Debug]: Source (NPC): Restaurant Manager at prontera (165,161)

    Any idea to make it no error shows?

×
×
  • Create New...