Jump to content

Shiodevs

Members
  • Posts

    50
  • Joined

  • Last visited

Posts posted by Shiodevs

  1. Have you enabled it in core.h?

    // Uncomment to enable VIP system.
    #define VIP_ENABLE <---?
    

    Have you edited the following?

    • Update your SQL table with upgrade_20131118.sql?
    • added any custom additions with VIP?
  2. Okay so

    1. if normal account = no msg where? On Login?
    2. You said if the acccount is a GM Account it says: So Don't use a GM Account?

    Try to elaborate more... No Msg i don't think is anything to do with this. That may be totally client side relation.

     

    Okay so i have some questions?

    • What account lvl is VIP?
    • Are you / Have you edited the group level?
    • Does it work normally with lvl 0 / 99 account?
  3. //= MvP Rank Improved v1.0
    //= ---
    //= This Rank will count every MvP you kill,
    //= to be more clear, will count every mob
    //= defined inside the array ".mobid[0]",
    //= so, if you add the poring ID will count in the rank
    //= you can modify and ad miniBoss because this array
    //= only have all MvPs, that's the idea, only MvPs...
    //= ---
    -	script	Rank MvP	-1,{
    OnInit: // Script Configuration
    setarray .mobid[0],1511,1647,1785,1630,1399,1039,1874,2068,1272,1719,1046,1389,1112,1115,1957,1418,1871,1252,1768,1086,1688,1646,
    				1373,1147,1059,1150,1956,2022,1087,1190,1038,1157,1159,1502,1623,1650,1583,1708,1312,1751,1685,1648,1917,1658; // MvP Ids
    set .a, 0; // Broadcast who killed the MvP and wich MvP and wick Map [0 Off - 1 On]
    set $@top, 10; // Max. Top Rank (Hihgly recommended between 5~10, more maybe bug the server (limited variables)
    end;
    
    OnNPCKillEvent: // Script execution
    for (set .@c, 0; .@c < getarraysize(.mobid); set .@c, .@c + 1)
    	if (killedrid == .mobid[.@c])
    		set .@s, 1; // If a MvP
    if (!.@s) end;
    if (.a) // If announce On
    	announce "The user [" +strcharinfo(0) +"] has killed a [" +getmonsterinfo(killedrid,0) +"] in the map [" +strcharinfo(3) +"]",bc_blue|bc_all;
    set MvP, MvP + 1;
    callfunc ("MvPRank",MvP,strcharinfo(0));
    end;
    } // End Script
    
    prontera,147,166,3	script	MvP Ranking	857,{
    mes "[ MvP Rank Top " +$@top +" ]";
    for (set .@c, 0; .@c < $@top; set .@c, .@c + 1)
    	mes "^996600" +(.@c + 1) +"^000000: ^006699" +getd("$topmvp" +.@c +"$") +"^000000 with ^00AA00" +getd("$topmvp" +.@c) +"^000000 MvP killed.";
    close;
    } // End if
    
    function	script	MvPRank	{
    set @mvptotal, getarg(0);
    set @nomb$, getarg(1);
    for (set .@c, 0; .@c < $@top; set .@c, .@c + 1) {
    	if (@mvptotal >= getd("$topmvp" +.@c)) {
    		if (strcharinfo(0) == getd("$topmvp" +.@c +"$")) {
    			setd "$topmvp" +.@c, @mvptotal;
    			setd "$topmvp" +.@c +"$", @nomb$;
    			return;
    		} else {
    			if (getd("$topmvp" +(.@c + 1) +"$") == "") {
    				setd "$topmvp" +.@c, @mvptotal;
    				setd "$topmvp" +.@c +"$", @nomb$;
    				return;
    			} else {
    				setd "$topmvp" +(.@c + 1), getd("$topmvp" +.@c);
    				setd "$topmvp" +(.@c + 1) +"$", getd("$topmvp"+.@c+"$");
    				setd "$topmvp" +.@c, @mvptotal;
    				setd "$topmvp" +.@c +"$", @nomb$;
    				return;
    			} // End if
    		} // End if
    	} // End if
    } // End loop
    return;
    } // End function
    
    

    Here you go  =D. Credit = ??

  4. 
    

    prontera,165,197,3 script PvP Warper 97,{

    mes "[PvP Warper]";

    mes "Hello, Would you like to PvP?.";

    menu "Bring it on!",L_Yes,"No Thanks.",L_No;

    L_Yes:

    mes "[PvP Warper]";

    mes "Which PvP Arena do you want to enter?";

    menu "PvP Arena 1 [" + getmapusers("guild_vs3") + " / 50]",L1,

    "PvP Arena 2 [" + getmapusers("guild_vs5") + " / 50]",L2,

    "PvP Free For All [" + getmapusers("pvp_y_1-2") + " / 50]",L3;

    L1:

    if (getmapusers("guild_vs3") > 49) goto Lsorry;

    warp "guild_vs3",0,0;

    close;

    L2:

    if (getmapusers("guild_vs5") > 49) goto Lsorry;

    warp "guild_vs5",0,0;

    close;

    L3:

    if (getmapusers("pvp_y_1-2") > 49) goto Lsorry;

    warp "pvp_y_1-2",0,0;

    close;

    Lsorry:

    mes "[PvP Warper]";

    mes "Sorry but this PvP Arena is full, maybe you could try another one.";

    close;

    L_No:

    close2;

    OnInit:

    delwaitingroom;

    waitingroom "PvP Warper",0;

    }

    //mapflags

  5. Disable packet obfuscation in /src/config/core.h

    /// Comment to disable the official packet obfuscation support.
    /// When enabled, make sure there is value for 'packet_keys' of used packet version or
    /// defined 'packet_keys_use' in db/[import/]packet_db.txt.
    /// This requires PACKETVER 2011-08-17 or newer.
    //#define PACKET_OBFUSCATION
    
    
×
×
  • Create New...